From: donchambers Date: Sun, 18 Nov 2007 17:44:23 +0000 (+0000) Subject: BP: added classes and changed structure of entries_archives.tpl and entries_summary... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=020c6131988a19a42a753f6b2bf3613cca968a9b;p=s9y.git BP: added classes and changed structure of entries_archives.tpl and entries_summary.tpl. Also changed serendipity_Entry_Date padding to margin. --- 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} +