[pLog-svn] r4199 - plog/trunk/templates/standard

Reto Hugi plog at hugi.to
Sat Oct 28 20:25:34 GMT 2006


well, I thought this is needed to get the categories back in sync and is
related to this bug http://bugs.lifetype.net/view.php?id=1100
and this post http://forums.lifetype.net/viewtopic.php?t=5363

but I don't have that problem on 1.1.1 - should we still change all
templates? (I think it's better to change them, but why isn't it making
any difference?)

BTW: $_numPublishedArticles in dao/articlecategory.class.php isn't
initialized as a class variable.

On 28.10.2006 21:49, reto at devel.lifetype.net wrote:
> Author: reto
> Date: 2006-10-28 19:49:27 +0000 (Sat, 28 Oct 2006)
> New Revision: 4199
> 
> Modified:
>    plog/trunk/templates/standard/footer.template
> Log:
> changing getNumArticles to getNumPublishedArticles
> 
> (other templates will follow...)
> 
> Modified: plog/trunk/templates/standard/footer.template
> ===================================================================
> --- plog/trunk/templates/standard/footer.template	2006-10-27 21:39:52 UTC (rev 4198)
> +++ plog/trunk/templates/standard/footer.template	2006-10-28 19:49:27 UTC (rev 4199)
> @@ -64,7 +64,7 @@
>      	<div id="Categories">
>      	<ul>
>      		{foreach from=$articlecategories item=articleCategory}
> -    	<li><a title="{$articleCategory->getName()}" href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()} <abbr title="{$articleCategory->getNumArticles()} {$locale->tr("posts")}">[{$articleCategory->getNumArticles()}]</abbr></a></li>
> +    	<li><a title="{$articleCategory->getName()}" href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()} <abbr title="{$articleCategory->getNumPublishedArticles()} {$locale->tr("posts")}">[{$articleCategory->getNumArticles()}]</abbr></a></li>
>     		{/foreach}
>    	</ul>
>    	</div>
> 
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn



More information about the pLog-svn mailing list