[pLog-svn] r1349 - in templates/trunk: minitemplate pastel-blocks
roof splat standard standard_green standard_happy
standard_red toto tribal white wordplog zen
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Tue Mar 8 13:05:50 GMT 2005
Author: oscar
Date: 2005-03-08 13:05:50 +0000 (Tue, 08 Mar 2005)
New Revision: 1349
Modified:
templates/trunk/minitemplate/searchresults.template
templates/trunk/pastel-blocks/searchresults.template
templates/trunk/roof/searchresults.template
templates/trunk/splat/post.template
templates/trunk/splat/searchresults.template
templates/trunk/standard/post.template
templates/trunk/standard/searchresults.template
templates/trunk/standard_green/searchresults.template
templates/trunk/standard_happy/searchresults.template
templates/trunk/standard_red/searchresults.template
templates/trunk/toto/searchresults.template
templates/trunk/tribal/searchresults.template
templates/trunk/white/searchresults.template
templates/trunk/wordplog/searchresults.template
templates/trunk/zen/searchresults.template
Log:
even more postCategoryLink changes
Modified: templates/trunk/minitemplate/searchresults.template
===================================================================
--- templates/trunk/minitemplate/searchresults.template 2005-03-08 13:00:24 UTC (rev 1348)
+++ templates/trunk/minitemplate/searchresults.template 2005-03-08 13:05:50 UTC (rev 1349)
@@ -6,8 +6,8 @@
<div class="BlockArea">
<div class="BlockAreaTitle">
{assign var=article value=$result->getArticle()}
- {assign var="articleCategory" value=$article->getCategory()}
- [<a href="{$url->postCategoryLink($article)}">{$articleCategory->getName()}</a>]
+
+
{if $urlmode == 2}
<a href="{$url->postPermalink($article)}?searchTerms={foreach from=$searchterms item=term}{$term|escape:"hex"}%20{/foreach}" target="blank">{$article->getTopic()}</a>
{else}
Modified: templates/trunk/pastel-blocks/searchresults.template
===================================================================
--- templates/trunk/pastel-blocks/searchresults.template 2005-03-08 13:00:24 UTC (rev 1348)
+++ templates/trunk/pastel-blocks/searchresults.template 2005-03-08 13:05:50 UTC (rev 1349)
@@ -40,7 +40,7 @@
</div>
<div class="entry-footer">
{foreach name=categories from=$article->getCategories() item=postCategory}
- <a href="{$url->postCategoryLink($article)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+ <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach}
</div>
</div>
Modified: templates/trunk/roof/searchresults.template
===================================================================
--- templates/trunk/roof/searchresults.template 2005-03-08 13:00:24 UTC (rev 1348)
+++ templates/trunk/roof/searchresults.template 2005-03-08 13:05:50 UTC (rev 1349)
@@ -14,7 +14,7 @@
{$article->getText()|strip_tags|truncate:300:"...":false}
</p>
<p class="footer"">{foreach name=categories from=$article->getCategories() item=postCategory}
- <a href="{$url->postCategoryLink($article)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+ <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach}</p>
{/foreach}
</div>
Modified: templates/trunk/splat/post.template
===================================================================
--- templates/trunk/splat/post.template 2005-03-08 13:00:24 UTC (rev 1348)
+++ templates/trunk/splat/post.template 2005-03-08 13:05:50 UTC (rev 1349)
@@ -6,7 +6,7 @@
<div class="meta">
{foreach name=categories from=$post->getCategories() item=postCategory}
- <ul class="post-categories"><li><a href="{$url->postCategoryLink($post)}" title="{$postCategory->getName()}">{$postCategory->getName()}</a></li></ul>
+ <ul class="post-categories"><li><a href="{$url->categoryLink($postCategory)}" title="{$postCategory->getName()}">{$postCategory->getName()}</a></li></ul>
{if !$smarty.foreach.categories.last}, {/if}
{/foreach}
Modified: templates/trunk/splat/searchresults.template
===================================================================
--- templates/trunk/splat/searchresults.template 2005-03-08 13:00:24 UTC (rev 1348)
+++ templates/trunk/splat/searchresults.template 2005-03-08 13:05:50 UTC (rev 1349)
@@ -14,7 +14,7 @@
{$article->getText()|strip_tags|truncate:300:"...":false}
</p>
<p class="footer"">{foreach name=categories from=$article->getCategories() item=postCategory}
- <a href="{$url->postCategoryLink($article)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+ <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach}</p>
</div>
{/foreach}
Modified: templates/trunk/standard/post.template
===================================================================
--- templates/trunk/standard/post.template 2005-03-08 13:00:24 UTC (rev 1348)
+++ templates/trunk/standard/post.template 2005-03-08 13:05:50 UTC (rev 1349)
@@ -10,7 +10,7 @@
<p class="footer">
{foreach name=categories from=$post->getCategories() item=postCategory}
-<a href="{$url->postCategoryLink($post)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+<a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach}
:: <a href="{$url->postPermalink($post)}">{$locale->tr("comment on this")} ({$post->getTotalComments()})</a> :: <a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> :: <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
</p>
Modified: templates/trunk/standard/searchresults.template
===================================================================
--- templates/trunk/standard/searchresults.template 2005-03-08 13:00:24 UTC (rev 1348)
+++ templates/trunk/standard/searchresults.template 2005-03-08 13:05:50 UTC (rev 1349)
@@ -14,7 +14,7 @@
{$article->getText()|strip_tags|truncate:300:"...":false}
</p>
<p class="footer"">{foreach name=categories from=$article->getCategories() item=postCategory}
- <a href="{$url->postCategoryLink($article)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+ <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach}</p>
{/foreach}
</div>
Modified: templates/trunk/standard_green/searchresults.template
===================================================================
--- templates/trunk/standard_green/searchresults.template 2005-03-08 13:00:24 UTC (rev 1348)
+++ templates/trunk/standard_green/searchresults.template 2005-03-08 13:05:50 UTC (rev 1349)
@@ -14,7 +14,7 @@
{$article->getText()|strip_tags|truncate:300:"...":false}
</p>
<p class="footer"">{foreach name=categories from=$article->getCategories() item=postCategory}
- <a href="{$url->postCategoryLink($article)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+ <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach}</p>
{/foreach}
</div>
Modified: templates/trunk/standard_happy/searchresults.template
===================================================================
--- templates/trunk/standard_happy/searchresults.template 2005-03-08 13:00:24 UTC (rev 1348)
+++ templates/trunk/standard_happy/searchresults.template 2005-03-08 13:05:50 UTC (rev 1349)
@@ -14,7 +14,7 @@
{$article->getText()|strip_tags|truncate:300:"...":false}
</p>
<p class="footer"">{foreach name=categories from=$article->getCategories() item=postCategory}
- <a href="{$url->postCategoryLink($article)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+ <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach}</p>
{/foreach}
</div>
Modified: templates/trunk/standard_red/searchresults.template
===================================================================
--- templates/trunk/standard_red/searchresults.template 2005-03-08 13:00:24 UTC (rev 1348)
+++ templates/trunk/standard_red/searchresults.template 2005-03-08 13:05:50 UTC (rev 1349)
@@ -14,7 +14,7 @@
{$article->getText()|strip_tags|truncate:300:"...":false}
</p>
<p class="footer"">{foreach name=categories from=$article->getCategories() item=postCategory}
- <a href="{$url->postCategoryLink($article)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+ <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach}</p>
{/foreach}
</div>
Modified: templates/trunk/toto/searchresults.template
===================================================================
--- templates/trunk/toto/searchresults.template 2005-03-08 13:00:24 UTC (rev 1348)
+++ templates/trunk/toto/searchresults.template 2005-03-08 13:05:50 UTC (rev 1349)
@@ -24,7 +24,7 @@
<tr>
<td class="info">
{foreach name=categories from=$article->getCategories() item=postCategory}
- <a href="{$url->postCategoryLink($article)}" class="post">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+ <a href="{$url->categoryLink($postCategory)}" class="post">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach}
</td>
</tr>
Modified: templates/trunk/tribal/searchresults.template
===================================================================
--- templates/trunk/tribal/searchresults.template 2005-03-08 13:00:24 UTC (rev 1348)
+++ templates/trunk/tribal/searchresults.template 2005-03-08 13:05:50 UTC (rev 1349)
@@ -14,7 +14,7 @@
{$article->getText()|strip_tags|truncate:300:"...":false}
</p>
<p class="footer"">{foreach name=categories from=$article->getCategories() item=postCategory}
- <a href="{$url->postCategoryLink($article)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+ <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach}</p>
{/foreach}
</div>
Modified: templates/trunk/white/searchresults.template
===================================================================
--- templates/trunk/white/searchresults.template 2005-03-08 13:00:24 UTC (rev 1348)
+++ templates/trunk/white/searchresults.template 2005-03-08 13:05:50 UTC (rev 1349)
@@ -13,7 +13,7 @@
{$article->getText()|strip_tags|truncate:300:"...":false}
</p>
<p class="footer"">{foreach name=categories from=$article->getCategories() item=postCategory}
- <a href="{$url->postCategoryLink($article)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+ <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach}</p>
</div>
{/foreach}
Modified: templates/trunk/wordplog/searchresults.template
===================================================================
--- templates/trunk/wordplog/searchresults.template 2005-03-08 13:00:24 UTC (rev 1348)
+++ templates/trunk/wordplog/searchresults.template 2005-03-08 13:05:50 UTC (rev 1349)
@@ -12,9 +12,23 @@
{assign var=article value=$result->getArticle()}
{assign var="articleCategory" value=$article->getCategory()}
{if $urlmode == 2}
- <a href="{$url->postCategoryLink($article)}">{$articleCategory->getName()}</a> | <a href="{$url->postPermalink($article)}?searchTerms={foreach from=$searchterms item=term}{$term|escape:"hex"}%20{/foreach}">{$article->getTopic()}</a>
+ {foreach name=categories from=$article->getCategories()
+ item=postCategory}
+ <a href="{$url->categoryLink($postCategory)}">
+ {$postCategory->getName()}</a>{if
+ !$smarty.foreach.categories.last}, {/if}
+ {/foreach}
+
+ | <a href="{$url->postPermalink($article)}?searchTerms={foreach from=$searchterms item=term}{$term|escape:"hex"}%20{/foreach}">{$article->getTopic()}</a>
{else}
- <a href="{$url->postCategoryLink($article)}">{$articleCategory->getName()}</a> | <a href="{$url->postPermalink($article)}&searchTerms={foreach from=$searchterms item=term}{$term|escape:"hex"}%20{/foreach}">{$article->getTopic()}</a>
+ {foreach name=categories from=$article->getCategories()
+ item=postCategory}
+ <a href="{$url->categoryLink($postCategory)}">
+ {$postCategory->getName()}</a>{if
+ !$smarty.foreach.categories.last}, {/if}
+ {/foreach}
+
+ | <a href="{$url->postPermalink($article)}&searchTerms={foreach from=$searchterms item=term}{$term|escape:"hex"}%20{/foreach}">{$article->getTopic()}</a>
{/if}
<p>{$article->getText()|strip_tags|truncate:420:"...":false}</p>
</li>
Modified: templates/trunk/zen/searchresults.template
===================================================================
--- templates/trunk/zen/searchresults.template 2005-03-08 13:00:24 UTC (rev 1348)
+++ templates/trunk/zen/searchresults.template 2005-03-08 13:05:50 UTC (rev 1349)
@@ -14,7 +14,7 @@
{$article->getText()|strip_tags|truncate:300:"...":false}
</p>
<p class="footer"">{foreach name=categories from=$article->getCategories() item=postCategory}
- <a href="{$url->postCategoryLink($article)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+ <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach}</p>
</div>
{/foreach}
More information about the pLog-svn
mailing list