2009/10/09 02:44:27 +0100 claunia: Changed sidebar.
This commit is contained in:
@@ -10,19 +10,19 @@ function global_sidebar_menu()
|
|||||||
{
|
{
|
||||||
global $aClean;
|
global $aClean;
|
||||||
|
|
||||||
$g = new htmlmenu("AppDB");
|
$g = new htmlmenu("OS List");
|
||||||
$g->add('Home', BASE.'index.php');
|
$g->add('Home', BASE.'index.php');
|
||||||
$g->add("Screenshots", BASE."objectManager.php?sClass=screenshot&sTitle=View+Screenshots");
|
$g->add("Screenshots", BASE."objectManager.php?sClass=screenshot&sTitle=View+Screenshots");
|
||||||
$g->add("Browse Apps", BASE."objectManager.php?sClass=application&".
|
$g->add("Browse OSes", BASE."objectManager.php?sClass=application&".
|
||||||
'sTitle=Browse%20Applications&sOrderBy=appName&bAscending=true');
|
'sTitle=Browse%20Applications&sOrderBy=appName&bAscending=true');
|
||||||
$g->add('Browse by Developer', BASE.'objectManager.php?sClass=vendor&sTitle=Browse%20by%20Developer');
|
$g->add('Browse by Developer', BASE.'objectManager.php?sClass=vendor&sTitle=Browse%20by%20Developer');
|
||||||
$g->add("Top 25", BASE."votestats.php");
|
$g->add("Top 25", BASE."votestats.php");
|
||||||
$g->add("Submit App", BASE."objectManager.php?sClass=application_queue&".
|
$g->add("Submit OS", BASE."objectManager.php?sClass=application_queue&".
|
||||||
"sTitle=Submit+Application&sAction=add");
|
"sTitle=Submit+Application&sAction=add");
|
||||||
$g->add("Help", BASE."help/");
|
$g->add("Help", BASE."help/");
|
||||||
$g->add("Statistics", BASE."appdbStats.php");
|
$g->add("Statistics", BASE."appdbStats.php");
|
||||||
$g->add('Distributions ('.distribution::objectGetEntriesCount('accepted').')', BASE.'objectManager.php?sClass=distribution&sTitle=View%20Distributions');
|
$g->add('Distributions ('.distribution::objectGetEntriesCount('accepted').')', BASE.'objectManager.php?sClass=distribution&sTitle=View%20Distributions');
|
||||||
$g->add("Email Us", "mailto:appdb@winehq.org");
|
$g->add("Email Us", "mailto:qemu-devel@nongnu.org");
|
||||||
$g->done();
|
$g->done();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ function global_admin_menu() {
|
|||||||
|
|
||||||
$g = new htmlmenu("Global Admin");
|
$g = new htmlmenu("Global Admin");
|
||||||
|
|
||||||
$g->add("App Queue (".application::objectGetEntriesCount('queued').")",
|
$g->add("OS Queue (".application::objectGetEntriesCount('queued').")",
|
||||||
BASE.'objectManager.php?sClass=application_queue&sState=queued&sTitle='.
|
BASE.'objectManager.php?sClass=application_queue&sState=queued&sTitle='.
|
||||||
'Application%20Queue');
|
'Application%20Queue');
|
||||||
$g->add("Version Queue (".version::objectGetEntriesCount('queued').")",
|
$g->add("Version Queue (".version::objectGetEntriesCount('queued').")",
|
||||||
@@ -44,7 +44,7 @@ function global_admin_menu() {
|
|||||||
|
|
||||||
$g->addmisc(" ");
|
$g->addmisc(" ");
|
||||||
|
|
||||||
$g->add("Rejected Applications (".application::objectGetEntriesCount('rejected').")",
|
$g->add("Rejected OSes (".application::objectGetEntriesCount('rejected').")",
|
||||||
BASE.'objectManager.php?sClass=application_queue&sState=rejected&'.
|
BASE.'objectManager.php?sClass=application_queue&sState=rejected&'.
|
||||||
'sTitle=Rejected%20Applications');
|
'sTitle=Rejected%20Applications');
|
||||||
$g->add("Rejected Versions (".version::objectGetEntriesCount('rejected').")",
|
$g->add("Rejected Versions (".version::objectGetEntriesCount('rejected').")",
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ function global_sidebar_login() {
|
|||||||
$iAppsRejected = application::objectGetEntriesCount('rejected');
|
$iAppsRejected = application::objectGetEntriesCount('rejected');
|
||||||
if($iAppsRejected && !$_SESSION['current']->hasPriv("admin"))
|
if($iAppsRejected && !$_SESSION['current']->hasPriv("admin"))
|
||||||
{
|
{
|
||||||
$g->add("Review Rejected Apps ($iAppsRejected)", BASE."objectManager.php?".
|
$g->add("Review Rejected OSes ($iAppsRejected)", BASE."objectManager.php?".
|
||||||
"sClass=application_queue&bIsQueue=true&bIsRejected=true&sTitle=".
|
"sClass=application_queue&bIsQueue=true&bIsRejected=true&sTitle=".
|
||||||
"Rejected+Applications", "center");
|
"Rejected+Applications", "center");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user