]> git.mjollnir.org Git - s9y.git/commitdiff
BP: entries.tpl now uses date format set in the theme options for sticky entries...
authoryellowled <yellowled>
Mon, 1 Oct 2007 08:06:46 +0000 (08:06 +0000)
committeryellowled <yellowled>
Mon, 1 Oct 2007 08:06:46 +0000 (08:06 +0000)
templates/bulletproof/entries.tpl

index 95fe196362d2034c7fb4a083944086903ee12bfe..ad5325665d76648315600def4d55cf5a56ade9a4 100644 (file)
@@ -35,7 +35,7 @@
                             {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>
+                            <a href="{$entry.link}">{if $dategroup.is_sticky}{$entry.timestamp|@formatTime:$template_option.date_format} {/if}{$entry.timestamp|@formatTime:'%H:%M'}</a>
                         {/if}
 
                         {if $template_option.footercomments == 'true'}
                             {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>
+                            <a href="{$entry.link}">{if $dategroup.is_sticky}{$entry.timestamp|@formatTime:$template_option.date_format} {/if}{$entry.timestamp|@formatTime:'%H:%M'}</a>
                         {/if}
                     </div>
                 {/if}
                             {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>
+                                <a href="{$entry.link}">{if $dategroup.is_sticky}{$entry.timestamp|@formatTime:$template_option.date_format} {/if}{$entry.timestamp|@formatTime:'%H:%M'}</a>
                         {/if}
 
                         {if $template_option.footercomments == 'true'}