Implemented the user friendly screenshot submitting feature
This commit is contained in:
@@ -16,6 +16,7 @@ function global_admin_menu() {
|
||||
$g->addmisc(" ");
|
||||
$g->add("List Users", $apidb_root."admin/");
|
||||
$g->add("View App Queue (".getQueuedAppCount().")", $apidb_root."admin/adminAppQueue.php");
|
||||
$g->add("View App Data Queue (".getQueuedAppDataCount().")", $apidb_root."admin/adminAppDataQueue.php");
|
||||
$g->add("View Maintainer Queue (".getQueuedMaintainerCount().")", $apidb_root."admin/adminMaintainerQueue.php");
|
||||
$g->add("View Maintainers (".getMaintainerCount().")", $apidb_root."admin/adminMaintainers.php");
|
||||
|
||||
|
||||
@@ -242,6 +242,15 @@ function getQueuedAppCount()
|
||||
return $ob->queued_apps;
|
||||
}
|
||||
|
||||
/* get the number of applications in the appQueue table */
|
||||
function getQueuedAppDataCount()
|
||||
{
|
||||
$qstring = "SELECT count(*) as queued_appdata FROM appDataQueue";
|
||||
$result = mysql_query($qstring);
|
||||
$ob = mysql_fetch_object($result);
|
||||
return $ob->queued_appdata;
|
||||
}
|
||||
|
||||
/* get the number of applications in the appQueue table */
|
||||
function getQueuedMaintainerCount()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user