Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Lang constants for permalinks to comments.

  • Loading branch information...
commit c0bf2485c60771658fdd63a496360227ec4849cd 1 parent 4fec1b4
Matthias Mees authored
View
2  UTF-8/lang_de.inc.php
@@ -6,6 +6,8 @@
// Sprachkonstanten
@define('TWOK11_NAV_TITLE', 'Navigation');
@define('TWOK11_PAG_TITLE', 'Pagination');
+@define('TWOK11_PLINK_TEXT', 'Link');
+@define('TWOK11_PLINK_TITLE', 'Permanenter Link zu diesem Kommentar');
@define('TWOK11_PLACE_NAME', 'z.B. John Doe');
@define('TWOK11_PLACE_MAIL', 'z.B. mail@example.org');
@define('TWOK11_PLACE_URL', 'z.B. http://example.org');
View
2  UTF-8/lang_en.inc.php
@@ -6,6 +6,8 @@
// Lang constants
@define('TWOK11_NAV_TITLE', 'Navigation');
@define('TWOK11_PAG_TITLE', 'Pagination');
+@define('TWOK11_PLINK_TEXT', 'Link');
+@define('TWOK11_PLINK_TITLE', 'Permanent link for this comment');
@define('TWOK11_PLACE_NAME', 'i.e. John Doe');
@define('TWOK11_PLACE_MAIL', 'i.e. mail@example.org');
@define('TWOK11_PLACE_URL', 'i.e. http://example.org');
View
4 comments.tpl
@@ -1,3 +1,5 @@
+{assign var="plinktext" value=$CONST.TWOK11_PLINK_TEXT}
+{assign var="plinktitle" value=$CONST.TWOK11_PLINK_TITLE}
{foreach from=$comments item=comment name="comments"}
<article id="c{$comment.id}" class="serendipity_comment{if $entry.author == $comment.author} serendipity_comment_author_self{/if} {cycle values="odd,even"} {if $comment.depth > 8}commentlevel-9{else}commentlevel-{$comment.depth}{/if}">
<h4>{if $comment.url}<a href="{$comment.url}">{/if}{$comment.author|@default:$CONST.ANONYMOUS}{if $comment.url}</a>{/if} {$CONST.ON} <time datetime="{$comment.timestamp|@formatTime:'%Y-%m-%dT%H:%M:%S%z'}" pubdate>{$comment.timestamp|@formatTime:$template_option.date_format}</time>:</h4>
@@ -11,7 +13,7 @@
</div>
<footer>
- <a class="comment_source_trace" href="#c{$comment.id}">#{$comment.trace}</a>
+ <a class="comment_source_trace" href="#c{$comment.id}" title="{$plinktitle}">{$plinktext}</a>
{if $entry.is_entry_owner}
| <a class="comment_source_ownerlink" href="{$comment.link_delete}" title="{$CONST.COMMENT_DELETE_CONFIRM|@sprintf:$comment.id:$comment.author}">{$CONST.DELETE}</a>
{/if}
View
2  lang_de.inc.php
@@ -6,6 +6,8 @@
// Sprachkonstanten
@define('TWOK11_NAV_TITLE', 'Navigation');
@define('TWOK11_PAG_TITLE', 'Pagination');
+@define('TWOK11_PLINK_TEXT', 'Link');
+@define('TWOK11_PLINK_TITLE', 'Permanenter Link zu diesem Kommentar');
@define('TWOK11_PLACE_NAME', 'z.B. John Doe');
@define('TWOK11_PLACE_MAIL', 'z.B. mail@example.org');
@define('TWOK11_PLACE_URL', 'z.B. http://example.org');
View
2  lang_en.inc.php
@@ -6,6 +6,8 @@
// Lang constants
@define('TWOK11_NAV_TITLE', 'Navigation');
@define('TWOK11_PAG_TITLE', 'Pagination');
+@define('TWOK11_PLINK_TEXT', 'Link');
+@define('TWOK11_PLINK_TITLE', 'Permanent link for this comment');
@define('TWOK11_PLACE_NAME', 'i.e. John Doe');
@define('TWOK11_PLACE_MAIL', 'i.e. mail@example.org');
@define('TWOK11_PLACE_URL', 'i.e. http://example.org');
Please sign in to comment.
Something went wrong with that request. Please try again.