From 2d8fec43270d84ff626f20ebbe5a3360ae780caa Mon Sep 17 00:00:00 2001
From: donchambers <donchambers>
Date: Sun, 14 Oct 2007 23:01:42 +0000
Subject: [PATCH] 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.

---
 templates/bulletproof/entries_summary.tpl | 2 +-
 templates/bulletproof/style.css           | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

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"}
          <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>
+         {$entry.timestamp|@formatTime:$template_option.date_format}. {$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>
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,
-- 
2.39.5