[pLog-svn] r5875 - plog/branches/lifetype-1.2/templates/admin
Jon Daley
plogworld at jon.limedaley.com
Wed Aug 29 19:55:08 EDT 2007
Oops - typo on your name. Thanks Ahmed.
On Wed, 29 Aug 2007, jondaley at devel.lifetype.net wrote:
> 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>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>
--
Jon Daley
http://jon.limedaley.com/
I want it so quiet we can hear a mouse dropping.
-- Hollywood director Gregory Ratoff
More information about the pLog-svn
mailing list