From 0a2c894aba656456bc7ff8a88d5ead93c9775670 Mon Sep 17 00:00:00 2001 From: real_nowhereman Date: Sat, 2 Jan 2010 15:53:12 +0000 Subject: [PATCH] removed unnecessary email field, made date output in RSS crossplatform (via date('r')) --- fp-interface/sharedtpls/comment-rss.tpl | 4 ++-- fp-interface/sharedtpls/rss.tpl | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fp-interface/sharedtpls/comment-rss.tpl b/fp-interface/sharedtpls/comment-rss.tpl index acb3451..d69f214 100644 --- a/fp-interface/sharedtpls/comment-rss.tpl +++ b/fp-interface/sharedtpls/comment-rss.tpl @@ -9,7 +9,7 @@ {$the_comment_link} Copyright {$smarty.now|date_format:"$Y"}, {$flatpress.author} - {$flatpress.email} ({$flatpress.author}) + {*{$flatpress.email} ({$flatpress.author})*} {$fp_config.locale.lang} @@ -26,7 +26,7 @@ {$the_comment_link}#{$id} {$name} - {$date|date_format:"%a, %d %b %Y %H:%M:%S %z"} + {'r'|date:$date} diff --git a/fp-interface/sharedtpls/rss.tpl b/fp-interface/sharedtpls/rss.tpl index bc57ab4..1820b98 100755 --- a/fp-interface/sharedtpls/rss.tpl +++ b/fp-interface/sharedtpls/rss.tpl @@ -5,7 +5,7 @@ {$flatpress.www} Copyright {$smarty.now|date_format:"$Y"}, {$flatpress.author} - {$flatpress.email} ({$flatpress.author}) + {*{$flatpress.email} ({$flatpress.author})*} {$fp_config.locale.lang} FlatPress @@ -19,8 +19,8 @@ {if ($categories)} {/if} {$id|link:post_link} - {$flatpress.email} ({$flatpress.author}) - {$date|date_format:"%a, %d %b %Y %H:%M:%S %z"} + {*{$flatpress.email} ({$flatpress.author})*} + {'r'|date:$date} {$id|link:comments_link} {foreach from=$enclosure item=encl}