From ed4c76916cd0f2c62af25bdaeecbd2b9a8dbfa3b Mon Sep 17 00:00:00 2001 From: Matthias Mees Date: Sun, 2 May 2010 08:53:59 +0000 Subject: [PATCH] BP: Edited entries_summary.tpl to generate a valid definition list in XHTML. --- templates/bulletproof/entries_summary.tpl | 6 ++++-- templates/default/feed_2.0.tpl | 1 - templates/default/feed_atom0.3.tpl | 1 - templates/default/feed_atom1.0.tpl | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/templates/bulletproof/entries_summary.tpl b/templates/bulletproof/entries_summary.tpl index 01fd44c1..4caec09c 100644 --- a/templates/bulletproof/entries_summary.tpl +++ b/templates/bulletproof/entries_summary.tpl @@ -5,8 +5,9 @@ {foreach from=$entries item="entries"} {foreach from=$entries.entries item="entry"}
-

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

- +
{$entry.title|truncate:80:" ..."}
+ + {if $template_option.footerauthor == 'true' or $template_option.footercategories == 'true'}
{if $template_option.footerauthor == 'true'} {$CONST.POSTED_BY}
{$entry.author}
@@ -17,6 +18,7 @@ {/if} {/if}
+ {/if}
{/foreach} {/foreach} diff --git a/templates/default/feed_2.0.tpl b/templates/default/feed_2.0.tpl index 80643b83..a0af1bc1 100644 --- a/templates/default/feed_2.0.tpl +++ b/templates/default/feed_2.0.tpl @@ -9,7 +9,6 @@ xmlns:content="http://purl.org/rss/1.0/modules/content/" {$namespace_display_dat}> - {$channel_display_dat} {$metadata.title} {$metadata.link} {$metadata.description} diff --git a/templates/default/feed_atom0.3.tpl b/templates/default/feed_atom0.3.tpl index ba72bab8..e564effa 100644 --- a/templates/default/feed_atom0.3.tpl +++ b/templates/default/feed_atom0.3.tpl @@ -8,7 +8,6 @@ xmlns:admin="http://webns.net/mvcb/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"> - {$channel_display_dat} diff --git a/templates/default/feed_atom1.0.tpl b/templates/default/feed_atom1.0.tpl index c3d070e0..335b4a2a 100644 --- a/templates/default/feed_atom1.0.tpl +++ b/templates/default/feed_atom1.0.tpl @@ -8,7 +8,6 @@ xmlns:admin="http://webns.net/mvcb/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"> - {$channel_display_dat}