From 4e63373d4ed17be36e3024ebdb447e3f4e24c00e Mon Sep 17 00:00:00 2001 From: donchambers Date: Sun, 18 Nov 2007 17:45:02 +0000 Subject: [PATCH] BP: added classes and changed structure of entries_archives.tpl and entries_summary.tpl. Also changed serendipity_Entry_Date padding to margin. --- templates/bulletproof/entries_archives.tpl | 38 ++++++++++++---------- templates/bulletproof/entries_summary.tpl | 30 ++++++++++++----- templates/bulletproof/info.txt | 2 +- templates/bulletproof/style.css | 4 ++- 4 files changed, 45 insertions(+), 29 deletions(-) diff --git a/templates/bulletproof/entries_archives.tpl b/templates/bulletproof/entries_archives.tpl index 2eae4ca..f3bf652 100644 --- a/templates/bulletproof/entries_archives.tpl +++ b/templates/bulletproof/entries_archives.tpl @@ -1,23 +1,25 @@ {serendipity_hookPlugin hook="entries_header"}
-

{$CONST.ARCHIVES}

- {foreach from=$archives item="archive"} -

{$archive.year}

- {foreach from=$archive.months item="month"} - - {/foreach} - {/foreach} +

{$CONST.ARCHIVES}

+ {foreach from=$archives item="archive"} +
+

{$archive.year}

+ {foreach from=$archive.months item="month"} + + {/foreach} +
+ {/foreach}
diff --git a/templates/bulletproof/entries_summary.tpl b/templates/bulletproof/entries_summary.tpl index 86e5640..01fd44c 100644 --- a/templates/bulletproof/entries_summary.tpl +++ b/templates/bulletproof/entries_summary.tpl @@ -1,14 +1,26 @@ {serendipity_hookPlugin hook="entries_header"}
-

{$CONST.TOPICS_OF} {$dateRange.0|@formatTime:"%B, %Y"}

-
- {foreach from=$entries item="entries"} - {foreach from=$entries.entries item="entry"} -

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

- {$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} -
+

{$CONST.TOPICS_OF} {$dateRange.0|@formatTime:"%B, %Y"}

+
+ {foreach from=$entries item="entries"} + {foreach from=$entries.entries item="entry"} +
+

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

+ +
+ {if $template_option.footerauthor == 'true'} + {$CONST.POSTED_BY}
{$entry.author}
+ {/if} + {if $template_option.footercategories == 'true'} + {if $entry.categories} + {$CONST.IN} {foreach from=$entry.categories item="entry_category" name="categories"}{$entry_category.category_name|@escape}{if not $smarty.foreach.categories.last}, {/if}{/foreach} + {/if} + {/if} +
+
+ {/foreach} + {/foreach} +