[pLog-svn] r1348 - in plog/trunk/templates: blueish grey standard
standard-with-plugins
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Tue Mar 8 13:00:24 GMT 2005
Author: oscar
Date: 2005-03-08 13:00:24 +0000 (Tue, 08 Mar 2005)
New Revision: 1348
Modified:
plog/trunk/templates/blueish/header.template
plog/trunk/templates/grey/header.template
plog/trunk/templates/standard-with-plugins/searchresults.template
plog/trunk/templates/standard/searchresults.template
Log:
replaced {$url->postCategoryLink($post)} with {$url->categoryLink($postCategory)} as the former has been deprecated
Modified: plog/trunk/templates/blueish/header.template
===================================================================
--- plog/trunk/templates/blueish/header.template 2005-03-08 12:57:14 UTC (rev 1347)
+++ plog/trunk/templates/blueish/header.template 2005-03-08 13:00:24 UTC (rev 1348)
@@ -16,4 +16,4 @@
<body>
<div id="banner">
<h1><a href="{$url->blogLink()}">{$blog->getBlog()}</a></h1><span class="description">{$blog->getAbout()}</span>
- </div>
+ </div>
\ No newline at end of file
Modified: plog/trunk/templates/grey/header.template
===================================================================
--- plog/trunk/templates/grey/header.template 2005-03-08 12:57:14 UTC (rev 1347)
+++ plog/trunk/templates/grey/header.template 2005-03-08 13:00:24 UTC (rev 1348)
@@ -36,4 +36,4 @@
{/foreach}
</p>
</div>
- <div id="Content">
+ <div id="Content">
\ No newline at end of file
Modified: plog/trunk/templates/standard/searchresults.template
===================================================================
--- plog/trunk/templates/standard/searchresults.template 2005-03-08 12:57:14 UTC (rev 1347)
+++ plog/trunk/templates/standard/searchresults.template 2005-03-08 13:00:24 UTC (rev 1348)
@@ -14,10 +14,10 @@
{$article->getText()|strip_tags|truncate:300:"...":false}
</p>
{assign var="articleCategory" value=$article->getCategory()}
- <p class="footer"">
+ <p class="footer">
{foreach name=categories from=$article->getCategories()
item=postCategory}
- <a href="{$url->postCategoryLink($article)}">
+ <a href="{$url->categoryLink($postCategory)}">
{$postCategory->getName()}</a>{if
!$smarty.foreach.categories.last}, {/if}
{/foreach}
Modified: plog/trunk/templates/standard-with-plugins/searchresults.template
===================================================================
--- plog/trunk/templates/standard-with-plugins/searchresults.template 2005-03-08 12:57:14 UTC (rev 1347)
+++ plog/trunk/templates/standard-with-plugins/searchresults.template 2005-03-08 13:00:24 UTC (rev 1348)
@@ -14,7 +14,14 @@
{$article->getText()|strip_tags|truncate:300:"...":false}
</p>
{assign var="articleCategory" value=$article->getCategory()}
- <p class="footer""><a href="{$url->postCategoryLink($article)}">{$articleCategory->getName()}</a></p>
+ <p class="footer">
+ {foreach name=categories from=$article->getCategories()
+ item=postCategory}
+ <a href="{$url->categoryLink($postCategory)}">
+ {$postCategory->getName()}</a>{if
+ !$smarty.foreach.categories.last}, {/if}
+ {/foreach}
+ </p>
{/foreach}
</div>
More information about the pLog-svn
mailing list