Prefix all GPC variables according to our coding standard
This commit is contained in:
@@ -14,7 +14,7 @@ function global_sidebar_login() {
|
||||
if($_SESSION['current']->isLoggedIn())
|
||||
{
|
||||
|
||||
$g->add("Logout", BASE."account.php?cmd=logout");
|
||||
$g->add("Logout", BASE."account.php?sCmd=logout");
|
||||
$g->add("Preferences", BASE."preferences.php");
|
||||
|
||||
/* if this user maintains any applications list them */
|
||||
@@ -27,9 +27,9 @@ function global_sidebar_login() {
|
||||
while(list($index, list($appId, $versionId, $superMaintainer)) = each($apps_user_maintains))
|
||||
{
|
||||
if($superMaintainer)
|
||||
$g->addmisc("<a href='".BASE."appview.php?appId=$appId'>".Application::lookup_name($appId)."*</a>", "center");
|
||||
$g->addmisc("<a href='".BASE."appview.php?iAppId=$appId'>".Application::lookup_name($appId)."*</a>", "center");
|
||||
else
|
||||
$g->addmisc("<a href='".BASE."appview.php?versionId=$versionId'>".Application::lookup_name($appId)." ".Version::lookup_name($versionId)."</a>", "center");
|
||||
$g->addmisc("<a href='".BASE."appview.php?iVersionId=$versionId'>".Application::lookup_name($appId)." ".Version::lookup_name($versionId)."</a>", "center");
|
||||
}
|
||||
}
|
||||
$appsRejected = $_SESSION['current']->getAllRejectedApps();
|
||||
@@ -39,7 +39,7 @@ function global_sidebar_login() {
|
||||
}
|
||||
else
|
||||
{
|
||||
$g->add("Login", BASE."account.php?cmd=login");
|
||||
$g->add("Login", BASE."account.php?sCmd=login");
|
||||
}
|
||||
|
||||
$g->done();
|
||||
|
||||
Reference in New Issue
Block a user