[pLog-svn] r5875 - plog/branches/lifetype-1.2/templates/admin
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Wed Aug 29 19:54:47 EDT 2007
Author: jondaley
Date: 2007-08-29 19:54:46 -0400 (Wed, 29 Aug 2007)
New Revision: 5875
Modified:
plog/branches/lifetype-1.2/templates/admin/editarticlecategories.template
Log:
Don't show a '0' where there are actually non-published posts in the category. Ahmen suggested this a while back, but it never got added to bugs.lifetype, so no one ever fixed it
Modified: plog/branches/lifetype-1.2/templates/admin/editarticlecategories.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/editarticlecategories.template 2007-08-29 23:29:09 UTC (rev 5874)
+++ plog/branches/lifetype-1.2/templates/admin/editarticlecategories.template 2007-08-29 23:54:46 UTC (rev 5875)
@@ -64,7 +64,7 @@
<td class="col_highlighted">
{check_perms perm=update_category}<a href="admin.php?op=editArticleCategory&categoryId={$category->getId()}">{/check_perms}{$category->getName()}{check_perms perm=update_category}</a>{/check_perms}
</td>
- {if $category->getNumArticles() > 0}
+ {if $category->getNumAllArticles() > 0}
<td>{check_perms perm=view_articles}<a href="admin.php?op=editPosts&showCategory={$category->getId()}&showStatus=0&showMonth=-1">{/check_perms}({$category->getNumAllArticles()}){check_perms perm=view_articles}</a>{/check_perms}</td>
{else}
<td>(0)</td>
More information about the pLog-svn
mailing list