[pLog-svn] r1781 - plog/branches/plog-1.0.1/templates/summary
jondaley at devel.plogworld.net
jondaley at devel.plogworld.net
Thu Apr 7 22:39:44 GMT 2005
Author: jondaley
Date: 2005-04-07 22:39:43 +0000 (Thu, 07 Apr 2005)
New Revision: 1781
Modified:
plog/branches/plog-1.0.1/templates/summary/recent.template
Log:
xhtml compliance. don't show RSS feeds, since they are broken, if there isn't any data.
Modified: plog/branches/plog-1.0.1/templates/summary/recent.template
===================================================================
--- plog/branches/plog-1.0.1/templates/summary/recent.template 2005-04-07 22:39:21 UTC (rev 1780)
+++ plog/branches/plog-1.0.1/templates/summary/recent.template 2005-04-07 22:39:43 UTC (rev 1781)
@@ -1,5 +1,9 @@
<h4>{$locale->tr("summary_latest_posts")}
-<a href="{$url->getRssUrl()}?summary=1"><img src="{$url->getUrl("/imgs/rss_logo_small.gif")}" alt="RSS" /></a>
+ {if $posts}
+ <a href="{$url->getRssUrl()}?summary=1">
+ <img src="{$url->getUrl("/imgs/rss_logo_small.gif")}"
+ alt="RSS" /></a>
+ {/if}
</h4>
{foreach from=$posts item=post}
{include file="summary/post.template"}
More information about the pLog-svn
mailing list