[pLog-svn] r1338 - templates/trunk/Soft-Green

jondaley at devel.plogworld.net jondaley at devel.plogworld.net
Mon Mar 7 01:23:12 GMT 2005


Author: jondaley
Date: 2005-03-07 01:23:12 +0000 (Mon, 07 Mar 2005)
New Revision: 1338

Modified:
   templates/trunk/Soft-Green/post.template
Log:
postCategoryLink is deprecated.  I think lots of templates use this method, so there will have to be lots of changes.  The wiki should be changed, since it is recommending the use of postCategoryLink

Modified: templates/trunk/Soft-Green/post.template
===================================================================
--- templates/trunk/Soft-Green/post.template	2005-03-06 22:21:38 UTC (rev 1337)
+++ templates/trunk/Soft-Green/post.template	2005-03-07 01:23:12 UTC (rev 1338)
@@ -7,10 +7,7 @@
  {$locale->tr("posted_by")} 
  <a href="{$url->postUserLink($postOwner)}">{$postOwner->getUsername()}</a>
 
-({foreach name=categories from=$post->getCategories() item=postCategory}
-	<a href="{$url->postCategoryLink($post)}">{$postCategory->getName()}</a>
-{if !$smarty.foreach.categories.last}, {/if}
-{/foreach})
+({foreach name=categories from=$post->getCategories() item=postCategory}<a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}{/foreach})
  :: 
 {if $post->getCommentsEnabled()}
 <a href="{$url->postPermalink($post)}">{$locale->tr("comments")|capitalize}




More information about the pLog-svn mailing list