32 lines
1.3 KiB
PHP
32 lines
1.3 KiB
PHP
<?php
|
|
/*****************/
|
|
/* sidebar_admin */
|
|
/*****************/
|
|
require_once(BASE."include/testResults.php");
|
|
require_once(BASE."include/distributions.php");
|
|
|
|
function global_admin_menu() {
|
|
|
|
$g = new htmlmenu("Global Admin");
|
|
|
|
$g->add("Add Category", BASE."admin/addCategory.php");
|
|
$g->add("Add Vendor", BASE."admin/editVendor.php");
|
|
|
|
$g->addmisc(" ");
|
|
$g->add("View App Queue (".$_SESSION['current']->getQueuedAppCount()."/".$_SESSION['current']->getQueuedVersionCount().")", BASE."admin/adminAppQueue.php");
|
|
$g->add("View App Data Queue (".$_SESSION['current']->getQueuedAppDataCount().")", BASE."admin/adminAppDataQueue.php");
|
|
$g->add("View Maintainer Queue (".getQueuedMaintainerCount().")", BASE."admin/adminMaintainerQueue.php");
|
|
$g->add("View Maintainer Entries (".getMaintainerCount().")", BASE."admin/adminMaintainers.php");
|
|
$g->add("View Bug Links (".getNumberOfQueuedBugLinks()."/".getNumberOfBugLinks().")", BASE."admin/adminBugs.php");
|
|
$g->add("View Test Results Queue (".getNumberOfQueuedTests().")", BASE."admin/adminTestResults.php");
|
|
|
|
$g->addmisc(" ");
|
|
$g->add("Users Management", BASE."admin/adminUsers.php");
|
|
$g->add("Comments Management", BASE."admin/adminCommentView.php");
|
|
$g->add("Screenshots Management", BASE."admin/adminScreenshots.php");
|
|
|
|
$g->done();
|
|
}
|
|
|
|
?>
|