2004-12-12 03:51:51 +00:00
|
|
|
<?php
|
|
|
|
|
/*****************/
|
|
|
|
|
/* sidebar_admin */
|
|
|
|
|
/*****************/
|
2005-10-17 03:59:24 +00:00
|
|
|
require_once(BASE."include/testResults.php");
|
|
|
|
|
require_once(BASE."include/distributions.php");
|
2004-03-15 16:22:00 +00:00
|
|
|
|
|
|
|
|
function global_admin_menu() {
|
|
|
|
|
|
|
|
|
|
$g = new htmlmenu("Global Admin");
|
|
|
|
|
|
2004-12-23 01:12:03 +00:00
|
|
|
$g->add("Add Category", BASE."admin/addCategory.php");
|
|
|
|
|
$g->add("Add Vendor", BASE."admin/addVendor.php");
|
2005-10-17 03:59:24 +00:00
|
|
|
$g->add("Add Distribution", BASE."admin/editDistribution.php");
|
2004-03-15 16:22:00 +00:00
|
|
|
|
|
|
|
|
$g->addmisc(" ");
|
2005-08-05 22:07:41 +00:00
|
|
|
$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");
|
2004-12-23 01:12:03 +00:00
|
|
|
$g->add("View Maintainer Queue (".getQueuedMaintainerCount().")", BASE."admin/adminMaintainerQueue.php");
|
2005-01-23 02:24:25 +00:00
|
|
|
$g->add("View Maintainer Entries (".getMaintainerCount().")", BASE."admin/adminMaintainers.php");
|
2004-12-29 03:44:17 +00:00
|
|
|
$g->add("View Vendors (".getVendorCount().")", BASE."admin/adminVendors.php");
|
2005-07-20 02:31:13 +00:00
|
|
|
$g->add("View Bug Links (".getNumberOfQueuedBugLinks()."/".getNumberOfBugLinks().")", BASE."admin/adminBugs.php");
|
2005-10-17 03:59:24 +00:00
|
|
|
$g->add("View Test Results Queue (".getNumberOfQueuedTests().")", BASE."admin/adminTestResults.php");
|
|
|
|
|
$g->add("View Distributions (".getNumberOfDistributions().")", BASE."admin/adminDistributions.php");
|
2004-12-01 22:27:35 +00:00
|
|
|
|
|
|
|
|
$g->addmisc(" ");
|
2005-01-16 02:04:03 +00:00
|
|
|
$g->add("Users Management", BASE."admin/adminUsers.php");
|
|
|
|
|
$g->add("Comments Management", BASE."admin/adminCommentView.php");
|
2005-01-27 15:42:53 +00:00
|
|
|
$g->add("Screenshots Management", BASE."admin/adminScreenshots.php");
|
2005-10-17 03:59:24 +00:00
|
|
|
|
2004-03-15 16:22:00 +00:00
|
|
|
$g->done();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
?>
|