Skip to content

Commit

Permalink
fixed entries_summary.tpl due to Smarty3 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
ophian committed Oct 26, 2013
1 parent 0234909 commit 0da5bdd
Show file tree
Hide file tree
Showing 17 changed files with 71 additions and 63 deletions.
12 changes: 7 additions & 5 deletions GreenMile/entries_summary.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
<div class='serendipity_date'>{$CONST.TOPICS_OF} {$dateRange.0|@formatTime:"%B, %Y"}</div>

<div class="serendipity_entry">
{foreach from=$entries item="entries"}
{foreach from=$entries.entries item="entry"}
<div class="archive_summary"><h4 class="archive_summary_title">{$entry.id} - <a href="{$entry.link}">{$entry.title|truncate:80:" ..."}</a></h4>
{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}. {$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {if $entry.categories} {$CONST.IN} {foreach from=$entry.categories item="category" name="categories"}<a href="{$category.category_link}">{$category.category_name|@escape}</a>{/foreach}{/if}</div>
{/foreach}
{foreach from=$entries item="sentries"}
{foreach from=$sentries.entries item="entry"}
<div class="archive_summary">
<h4 class="archive_summary_title">{$entry.id} - <a href="{$entry.link}">{$entry.title|truncate:80:" ..."}</a></h4>
{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}. {$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {if $entry.categories} {$CONST.IN} {foreach from=$entry.categories item="category" name="categories"}<a href="{$category.category_link}">{$category.category_name|@escape}</a>{/foreach}{/if}
</div>
{/foreach}
{/foreach}

<div class='serendipity_pageFooter' style="text-align: center">
Expand Down
4 changes: 2 additions & 2 deletions Sagittarius-A/entries_summary.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<h2 class="pagetitle">{$CONST.TOPICS_OF} {$dateRange.0|@formatTime:"%B, %Y"}</h2>

<div class="post">
{foreach from=$entries item="entries"}
{foreach from=$entries.entries item="entry"}
{foreach from=$entries item="sentries"}
{foreach from=$sentries.entries item="entry"}
<h3 class="summary_title"><a href="{$entry.link}">{$entry.title}</a></h3>

<small>{$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> &bull; {$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}{if $entry.categories} &bull; {$CONST.CATEGORY}: {foreach from=$entry.categories item="entry_category" name="categories"}<a href="{$entry_category.category_link}">{$entry_category.category_name|@escape}</a>{if not $smarty.foreach.categories.last}, {/if}{/foreach}{/if}</small>
Expand Down
4 changes: 2 additions & 2 deletions andreas06/entries_summary.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

<div class="serendipity_entry">
<ul>
{foreach from=$entries item="entries"}
{foreach from=$entries.entries item="entry"}
{foreach from=$entries item="sentries"}
{foreach from=$sentries.entries item="entry"}
<li><a href="{$entry.link}">{$entry.title|default:$entry.id}</a>
<div class="summary_posted_by">{$CONST.POSTED_BY} <span class="posted_by_author">{$entry.author}</span> {$CONST.ON} <span class="posted_by_date">{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}</span></div></li>
{/foreach}
Expand Down
8 changes: 4 additions & 4 deletions andreas08/entries_summary.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

<div class="serendipity_entry">
<ul>
{foreach from=$entries item="entries"}
{foreach from=$entries.entries item="entry"}
<li><a href="{$entry.link}">{$entry.title}</a>
<br />{$CONST.POSTED_BY} {$entry.author} {$CONST.ON} {$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}</li>
{foreach from=$entries item="sentries"}
{foreach from=$sentries.entries item="entry"}
<li><a href="{$entry.link}">{$entry.title}</a>
<br />{$CONST.POSTED_BY} {$entry.author} {$CONST.ON} {$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}</li>
{/foreach}
{/foreach}
</ul>
Expand Down
12 changes: 7 additions & 5 deletions axcur/entries_summary.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
<div class='serendipity_date'>{$CONST.TOPICS_OF} {$dateRange.0|@formatTime:"%B, %Y"}</div>

<div class="serendipity_entry">
{foreach from=$entries item="entries"}
{foreach from=$entries.entries item="entry"}
<div class="archive_summary"><h4 class="archive_summary_title">{$entry.id} - <a href="{$entry.link}">{$entry.title|truncate:80:" ..."}</a></h4>
{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}. {$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {if $entry.categories} {$CONST.IN} {foreach from=$entry.categories item="entry_category" name="categories"}<a href="{$entry_category.category_link}">{$entry_category.category_name|@escape}</a>{/foreach}{/if}</div>
{/foreach}
{foreach from=$entries item="sentries"}
{foreach from=$sentries.entries item="entry"}
<div class="archive_summary">
<h4 class="archive_summary_title">{$entry.id} - <a href="{$entry.link}">{$entry.title|truncate:80:" ..."}</a></h4>
{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}. {$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {if $entry.categories} {$CONST.IN} {foreach from=$entry.categories item="entry_category" name="categories"}<a href="{$entry_category.category_link}">{$entry_category.category_name|@escape}</a>{/foreach}{/if}
</div>
{/foreach}
{/foreach}

<div class='serendipity_pageFooter' style="text-align: center">
{serendipity_hookPlugin hook="entries_footer"}</div>
7 changes: 3 additions & 4 deletions bex01/entries_summary.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@

<div class="serendipity_entry">
<ul>
{foreach from=$entries item="entries"}
{foreach from=$entries.entries item="entry"}
<li><a href="{$entry.link}">{$entry.title}</a>
<br />{$CONST.POSTED_BY} {$entry.author} {$CONST.ON} {$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}</li>
{foreach from=$entries item="sentries"}
{foreach from=$sentries.entries item="entry"}
<li><a href="{$entry.link}">{$entry.title}</a><br />{$CONST.POSTED_BY} {$entry.author} {$CONST.ON} {$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}</li>
{/foreach}
{/foreach}
</ul>
Expand Down
7 changes: 3 additions & 4 deletions greenway/entries_summary.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@

<div class="serendipity_entry">
<ul>
{foreach from=$entries item="entries"}
{foreach from=$entries.entries item="entry"}
<li><a href="{$entry.link}">{$entry.title}</a>
<br />{$CONST.POSTED_BY} {$entry.author} {$CONST.ON} {$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}</li>
{foreach from=$entries item="sentries"}
{foreach from=$sentries.entries item="entry"}
<li><a href="{$entry.link}">{$entry.title}</a><br />{$CONST.POSTED_BY} {$entry.author} {$CONST.ON} {$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}</li>
{/foreach}
{/foreach}
</ul>
Expand Down
12 changes: 6 additions & 6 deletions i3theme/entries_summary.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<h2>{$CONST.TOPICS_OF} {$dateRange.0|@formatTime:"%B, %Y"}</h2>

<ul class="posts">
{foreach from=$entries item="entries"}
{foreach from=$entries.entries item="entry"}
<li><h3><a rel="bookmark" href="{$entry.link}" title="Permanent link: {$entry.title}">{$entry.title}</a></h3>
<p>{$CONST.POSTED_BY} {$entry.author} {$CONST.ON} {$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}</p>
</li>
{/foreach}
{foreach from=$entries item="sentries"}
{foreach from=$sentries.entries item="entry"}
<li><h3><a rel="bookmark" href="{$entry.link}" title="Permanent link: {$entry.title}">{$entry.title}</a></h3>
<p>{$CONST.POSTED_BY} {$entry.author} {$CONST.ON} {$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}</p>
</li>
{/foreach}
{/foreach}
</ul>

Expand Down
12 changes: 7 additions & 5 deletions kamouflage/entries_summary.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
<div class='serendipity_date'>{$CONST.TOPICS_OF} {$dateRange.0|@formatTime:"%B, %Y"}</div>

<div class="serendipity_entry">
{foreach from=$entries item="entries"}
{foreach from=$entries.entries item="entry"}
<div class="archive_summary"><h4 class="archive_summary_title">{$entry.id} - <a href="{$entry.link}">{$entry.title|truncate:80:" ..."}</a></h4>
{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}. {$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {if $entry.categories} {$CONST.IN} {foreach from=$entry.categories item="category" name="categories"}<a href="{$category.category_link}">{$category.category_name|@escape}</a>{/foreach}{/if}</div>
{/foreach}
{foreach from=$entries item="sentries"}
{foreach from=$sentries.entries item="entry"}
<div class="archive_summary">
<h4 class="archive_summary_title">{$entry.id} - <a href="{$entry.link}">{$entry.title|truncate:80:" ..."}</a></h4>
{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}. {$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {if $entry.categories} {$CONST.IN} {foreach from=$entry.categories item="category" name="categories"}<a href="{$category.category_link}">{$category.category_name|@escape}</a>{/foreach}{/if}
</div>
{/foreach}
{/foreach}

<div class='serendipity_pageFooter' style="text-align: center">
{serendipity_hookPlugin hook="entries_footer"}</div>
4 changes: 2 additions & 2 deletions mimbo/entries_summary.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<h2 class="pagetitle">{$CONST.TOPICS_OF} {$dateRange.0|@formatTime:"%B, %Y"}</h2>

<div class="post">
{foreach from=$entries item="entries"}
{foreach from=$entries.entries item="entry"}
{foreach from=$entries item="sentries"}
{foreach from=$sentries.entries item="entry"}
<h3 class="summary_title"><a href="{$entry.link}">{$entry.title}</a></h3>

<small>{$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> &bull; {$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}{if $entry.categories} &bull; {$CONST.CATEGORY}: {foreach from=$entry.categories item="entry_category" name="categories"}<a href="{$entry_category.category_link}">{$entry_category.category_name|@escape}</a>{if not $smarty.foreach.categories.last}, {/if}{/foreach}{/if}</small>
Expand Down
4 changes: 2 additions & 2 deletions mo3/entries_summary.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<h2 class="pagetitle">{$CONST.TOPICS_OF} {$dateRange.0|@formatTime:"%B, %Y"}</h2>

<div class="post">
{foreach from=$entries item="entries"}
{foreach from=$entries.entries item="entry"}
{foreach from=$entries item="sentries"}
{foreach from=$sentries.entries item="entry"}
<h3 class="summary_title"><a href="{$entry.link}">{$entry.title}</a></h3>

<small>{$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> &bull; {$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}{if $entry.categories} &bull; {$CONST.CATEGORY}: {foreach from=$entry.categories item="entry_category" name="categories"}<a href="{$entry_category.category_link}">{$entry_category.category_name|@escape}</a>{if not $smarty.foreach.categories.last}, {/if}{/foreach}{/if}</small>
Expand Down
20 changes: 11 additions & 9 deletions one_true_layout/entries_summary.tpl
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
{serendipity_hookPlugin hook="entries_header"}
<div class="serendipity_Entry_Date">
<div class='serendipity_date'>{$CONST.TOPICS_OF} {$dateRange.0|@formatTime:"%B, %Y"}</div>
<div class="serendipity_Entry_Date">
<div class='serendipity_date'>{$CONST.TOPICS_OF} {$dateRange.0|@formatTime:"%B, %Y"}</div>

<div class="serendipity_entry">
{foreach from=$entries item="entries"}
{foreach from=$entries.entries item="entry"}
<div class="archive_summary"><h4 class="archive_summary_title">{$entry.id} - <a href="{$entry.link}">{$entry.title|truncate:80:" ..."}</a></h4>
{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}. {$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {if $entry.categories} {$CONST.IN} {foreach from=$entry.categories item="entry_category" name="categories"}<a href="{$entry_category.category_link}">{$entry_category.category_name|@escape}</a> {/foreach}{/if}</div>
{/foreach}
<div class="serendipity_entry">
{foreach from=$entries item="sentries"}
{foreach from=$sentries.entries item="entry"}
<div class="archive_summary">
<h4 class="archive_summary_title">{$entry.id} - <a href="{$entry.link}">{$entry.title|truncate:80:" ..."}</a></h4>
{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}. {$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {if $entry.categories} {$CONST.IN} {foreach from=$entry.categories item="entry_category" name="categories"}<a href="{$entry_category.category_link}">{$entry_category.category_name|@escape}</a> {/foreach}{/if}
</div>
{/foreach}
{/foreach}
</div>
</div>
</div>

<div class='serendipity_pageFooter' style="text-align: center">
Expand Down
4 changes: 2 additions & 2 deletions pixel/entries_summary.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<h2 class="pageTitle">{$CONST.TOPICS_OF} {$dateRange.0|@formatTime:"%B, %Y"}</h2>

<dl id="archive-summary">
{foreach from=$entries item="entries"}
{foreach from=$entries.entries item="entry"}
{foreach from=$entries item="sentries"}
{foreach from=$sentries.entries item="entry"}
<dt><a href="{$entry.link}">{$entry.title}</a></dt>
<dd>{$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {$CONST.ON} {$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}</dd>
{/foreach}
Expand Down
4 changes: 2 additions & 2 deletions plus9/entries_summary.tpl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{serendipity_hookPlugin hook="entries_header"}
<h2 class="archive">{$CONST.TOPICS_OF} {$dateRange.0|@formatTime:"%B, %Y"}</h2>

{foreach from=$entries item="entries"}
{foreach from=$entries.entries item="entry"}
{foreach from=$entries item="sentries"}
{foreach from=$sentries.entries item="entry"}
<h2><a href="{$entry.link}" rel="bookmark">{$entry.title}</a></h2>

<div class="meta group">
Expand Down
4 changes: 2 additions & 2 deletions splat/entries_summary.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<div id="entry_mid">
<div class="serendipity_entry_body">
<ul>
{foreach from=$entries item="entries"}
{foreach from=$entries.entries item="entry"}
{foreach from=$entries item="sentries"}
{foreach from=$sentries.entries item="entry"}
<li><a href="{$entry.link}">{$entry.title}</a>
<div class="summary_posted_by">{$CONST.POSTED_BY} <span class="posted_by_author">{$entry.author}</span> {$CONST.ON} <span class="posted_by_date">{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}</span></div></li>
{/foreach}
Expand Down
4 changes: 2 additions & 2 deletions truth/entries_summary.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

<div class="serendipity_entry">
<ul>
{foreach from=$entries item="entries"}
{foreach from=$entries.entries item="entry"}
{foreach from=$entries item="sentries"}
{foreach from=$sentries.entries item="entry"}
<li><a href="{$entry.link}">{$entry.title}</a>
<br />{$CONST.POSTED_BY} {$entry.author} {$CONST.ON} {$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}</li>
{/foreach}
Expand Down
12 changes: 7 additions & 5 deletions xkur/entries_summary.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
<div class='serendipity_date'>{$CONST.TOPICS_OF} {$dateRange.0|@formatTime:"%B, %Y"}</div>

<div class="serendipity_entry">
{foreach from=$entries item="entries"}
{foreach from=$entries.entries item="entry"}
<div class="archive_summary"><h4 class="archive_summary_title">{$entry.id} - <a href="{$entry.link}">{$entry.title|truncate:80:" ..."}</a></h4>
{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}. {$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {if $entry.categories} {$CONST.IN} {foreach from=$entry.categories item="entry_category" name="categories"}<a href="{$entry_category.category_link}">{$entry_category.category_name|@escape}</a>{/foreach}{/if}</div>
{/foreach}
{foreach from=$entries item="sentries"}
{foreach from=$sentries.entries item="entry"}
<div class="archive_summary">
<h4 class="archive_summary_title">{$entry.id} - <a href="{$entry.link}">{$entry.title|truncate:80:" ..."}</a></h4>
{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}. {$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {if $entry.categories} {$CONST.IN} {foreach from=$entry.categories item="entry_category" name="categories"}<a href="{$entry_category.category_link}">{$entry_category.category_name|@escape}</a>{/foreach}{/if}
</div>
{/foreach}
{/foreach}

<div class='serendipity_pageFooter' style="text-align: center">
Expand Down

0 comments on commit 0da5bdd

Please sign in to comment.