Add and use version::objectGetEntriesCount(). Only display the user menu's 'view rejected
apps' link for non-admins
This commit is contained in:
committed by
WineHQ
parent
89535dbe01
commit
970cbca7f3
@@ -7,7 +7,7 @@ function global_maintainer_admin_menu() {
|
||||
|
||||
$g = new htmlmenu("Maintainer Admin");
|
||||
|
||||
$g->add("View Version Queue (".$_SESSION['current']->getQueuedVersionCount().")",
|
||||
$g->add("View Version Queue (".version::objectGetEntriesCount(true, false).")",
|
||||
BASE."admin/adminAppQueue.php");
|
||||
$g->add("View Screenshot Queue (".appData::objectGetEntriesCount("true",
|
||||
false, "screenshot").")",
|
||||
|
||||
Reference in New Issue
Block a user