} else { printf(gettext('<strong>%u</strong> images'), $imagecount); } ?> </li><li> <?php if ($albumscount_unpub > 0) { printf(gettext('<strong>%1$u</strong> albums (%2$u un-published)'), $albumcount, $albumscount_unpub); } else { printf(gettext('<strong>%u</strong> albums'), $albumcount); } ?> </li> <li> <?php $commentcount = $gallery->getNumComments(true); $commentcount_mod = $commentcount - $gallery->getNumComments(false); if ($commentcount_mod > 0) { if ($commentcount != 1) { printf(gettext('<strong>%1$u</strong> comments (%2$u in moderation)'), $commentcount, $commentcount_mod); } else { printf(gettext('<strong>1</strong> comment (%u in moderation)'), $commentcount_mod); } } else { if ($commentcount != 1) { printf(gettext('<strong>%u</strong> comments'), $commentcount); } else { echo gettext('<strong>1</strong> comment'); } } ?>
?> </li> <li> <?php $t = $gallery->getNumAlbums(true); $c = $t - $gallery->getNumAlbums(true, true); if ($c > 0) { printf(ngettext('<strong>%1$u</strong> Album (%2$u un-published)', '<strong>%1$u</strong> Albums (%2$u un-published)', $t), $t, $c); } else { printf(ngettext('<strong>%u</strong> Album', '<strong>%u</strong> Albums', $t), $t); } ?> </li> <li> <?php $t = $gallery->getNumComments(true); $c = $t - $gallery->getNumComments(false); if ($c > 0) { printf(ngettext('<strong>%1$u</strong> Comment (%2$u in moderation)', '<strong>%1$u</strong> Comments (%2$u in moderation)', $t), $t, $c); } else { printf(ngettext('<strong>%u</strong> Comment', '<strong>%u</strong> Comments', $t), $t); } ?> </li> <?php if (getOption('zp_plugin_zenpage')) { ?> <li> <?php list($total, $type, $unpub) = getNewsPagesStatistic("pages"); if (empty($unpub)) {