[pLog-svn] r1594 - templates/trunk/reic1

jondaley at devel.plogworld.net jondaley at devel.plogworld.net
Wed Mar 23 22:23:47 GMT 2005


Author: jondaley
Date: 2005-03-23 22:23:47 +0000 (Wed, 23 Mar 2005)
New Revision: 1594

Modified:
   templates/trunk/reic1/searchresults.template
Log:
 removed duplicate categories tag for posts with multiple categories

Modified: templates/trunk/reic1/searchresults.template
===================================================================
--- templates/trunk/reic1/searchresults.template	2005-03-23 22:23:37 UTC (rev 1593)
+++ templates/trunk/reic1/searchresults.template	2005-03-23 22:23:47 UTC (rev 1594)
@@ -10,8 +10,10 @@
     
       {assign var=article value=$result->getArticle()}
       <h3 class="title"><a href="{$url->postPermalink($article)}">{$article->getTopic()}</a></h3>
-  <div class="posted">{foreach name=categories from=$article->getCategories() item=articleCategory}
-    {$locale->tr("categories")}: <a href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+  <div class="posted">
+  {$locale->tr("categories")}: 
+  {foreach name=categories from=$article->getCategories() item=articleCategory}
+    <a href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
   {/foreach}</div>    
   
 




More information about the pLog-svn mailing list