From 7be050e1e271b369511970bcd7f41c2d4f4473e8 Mon Sep 17 00:00:00 2001 From: Matthias Mees Date: Mon, 15 Oct 2012 08:36:10 +0200 Subject: [PATCH] Updated 2k11 to v1.2.3. --- templates/2k11/comments.tpl | 4 +-- templates/2k11/comments_by_author.tpl | 19 ++++++++++++ templates/2k11/entries.tpl | 8 ++--- templates/2k11/entries_summary.tpl | 2 +- templates/2k11/index.tpl | 4 +-- templates/2k11/info.txt | 2 +- templates/2k11/js/2k11.min.js | 8 ++--- templates/2k11/lang_de.inc.php | 1 + templates/2k11/lang_en.inc.php | 1 + .../plugin_commentsearch_searchresults.tpl | 2 +- templates/2k11/plugin_staticpage.tpl | 4 +-- .../2k11/plugin_staticpage_searchresults.tpl | 2 +- templates/2k11/style.css | 29 +++++-------------- 13 files changed, 47 insertions(+), 39 deletions(-) create mode 100644 templates/2k11/comments_by_author.tpl diff --git a/templates/2k11/comments.tpl b/templates/2k11/comments.tpl index a1b1d1b0..5b356fd1 100644 --- a/templates/2k11/comments.tpl +++ b/templates/2k11/comments.tpl @@ -1,8 +1,8 @@ {foreach from=$comments item=comment name="comments"}
8}commentlevel-9{else}commentlevel-{$comment.depth}{/if}">
- {if $comment.url}{/if}{$comment.author|@default:$CONST.ANONYMOUS}{if $comment.url}{/if} {$CONST.ON} : - {if $comment.spice_twitter_name} + {if $comment.url}{/if}{$comment.author|@default:$CONST.ANONYMOUS}{if $comment.url}{/if}{if $comment.spice_twitter_name and not $comment.spice_twitter_followme} (@{$comment.spice_twitter_name}){/if} {$CONST.ON} : + {if $comment.spice_twitter_name && $comment.spice_twitter_followme} diff --git a/templates/2k11/comments_by_author.tpl b/templates/2k11/comments_by_author.tpl new file mode 100644 index 00000000..83323bca --- /dev/null +++ b/templates/2k11/comments_by_author.tpl @@ -0,0 +1,19 @@ +

{$CONST.COMMENTS}

+{foreach from=$comments_by_authors item="entry_comments"} + +{/foreach} +{if $footer_info or $footer_prev_page or $footer_next_page} + +{/if} +{serendipity_hookPlugin hook="comments_by_author_footer" hookAll="true"} diff --git a/templates/2k11/entries.tpl b/templates/2k11/entries.tpl index 84cff412..60da5581 100644 --- a/templates/2k11/entries.tpl +++ b/templates/2k11/entries.tpl @@ -5,14 +5,14 @@

{$entry.title}

- +
{if $entry.categories}{foreach from=$entry.categories item="entry_category"}{if $entry_category.category_icon}{$entry_category.category_name|@escape}{/if}{/foreach}{/if} {$entry.body} {if $entry.has_extended and not $is_single_entry and not $entry.is_extended} - {$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$entry.title} + {$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$entry.title} {/if}
{if $entry.is_extended} @@ -78,7 +78,7 @@

{$CONST.TRACKBACKS}

- + {serendipity_printTrackbacks entry=$entry.id}
@@ -131,7 +131,7 @@ {/if} {/foreach} {if $footer_info or $footer_prev_page or $footer_next_page} -