Update of /cvsroot/php-blog/serendipity/templates/default
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5518/templates/default
Modified Files:
entries.tpl
Log Message:
make sticky entries show the full date
Index: entries.tpl
===================================================================
RCS file: /cvsroot/php-blog/serendipity/templates/default/entries.tpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- entries.tpl 19 Nov 2004 11:06:07 -0000 1.2
+++ entries.tpl 24 Nov 2004 10:37:53 -0000 1.3
@@ -40,7 +40,12 @@
{if $entry.categories and count($entry.categories) > 0}
{$CONST.IN} {foreach from=$entry.categories item="category"}<a href="{$serendipityHTTPPath}{$serendipityRewritePrefix}{$CONST.PATH_CATEGORIES}/{$category.categoryid}-{$category.category_name|@makeFilename}">{$category.category_name|@escape}</a> {/foreach}
{/if}
- {$CONST.AT} <a href="{$entry.link}">{$entry.timestamp|@formatTime:'%H:%M'}</a>
+
+ {if $dategroup.is_sticky}
+ {$CONST.ON}
+ {else}
+ {$CONST.AT}
+ {/if} <a href="{$entry.link}">{if $dategroup.is_sticky}{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY} {/if}{$entry.timestamp|@formatTime:'%H:%M'}</a>
{if $entry.has_comments}
{if $use_popups}
|