From: donchambers Date: Sun, 14 Oct 2007 23:01:42 +0000 (+0000) Subject: BP: entries_summary.tpl now uses date format set in theme options. Also added styles... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2d8fec43270d84ff626f20ebbe5a3360ae780caa;p=s9y.git BP: entries_summary.tpl now uses date format set in theme options. Also added styles for archive_summary and archive_summary_title to style.css for better visual separation between summary entries. --- diff --git a/templates/bulletproof/entries_summary.tpl b/templates/bulletproof/entries_summary.tpl index 19f327f..4abbcf9 100644 --- a/templates/bulletproof/entries_summary.tpl +++ b/templates/bulletproof/entries_summary.tpl @@ -5,7 +5,7 @@ {foreach from=$entries item="entries"} {foreach from=$entries.entries item="entry"}

{$entry.id} - {$entry.title|truncate:80:" ..."}

- {$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}. {$CONST.POSTED_BY} {$entry.author} {if $entry.categories} {$CONST.IN} {foreach from=$entry.categories item="entry_category" name="categories"}{$entry_category.category_name|@escape} {/foreach}{/if}
+ {$entry.timestamp|@formatTime:$template_option.date_format}. {$CONST.POSTED_BY} {$entry.author} {if $entry.categories} {$CONST.IN} {foreach from=$entry.categories item="entry_category" name="categories"}{$entry_category.category_name|@escape} {/foreach}{/if} {/foreach} {/foreach} diff --git a/templates/bulletproof/style.css b/templates/bulletproof/style.css index 1bd3ad4..6f78e0e 100644 --- a/templates/bulletproof/style.css +++ b/templates/bulletproof/style.css @@ -159,6 +159,13 @@ ul.archives_row li { font-size: 80%; } +.archive_summary_title { + margin: 0; +} + +.archive_summary { + margin-bottom: 10px; +} /*** s9y image manager ***/ .serendipity_imageComment_center,