Dont Show Approval Queue Item Count on the Approval Queue page, Bug 275127

This commit is contained in:
psychoticwolf%carolina.rr.com 2004-12-18 03:58:24 +00:00
parent 1fb4e8ca64
commit 93740d70c0
2 changed files with 4 additions and 3 deletions

View File

@ -9,6 +9,7 @@ $function = $_GET["function"];
<TITLE>Mozilla Update :: Developer Control Panel :: Manage Approval Queue</TITLE>
<?php
include"$page_header";
$skipqueue="true";
include"inc_sidebar.php";
?>

View File

@ -1,5 +1,5 @@
<?php
if ($_SESSION["level"] == "admin" or $_SESSION["level"] == "moderator") {
if (($_SESSION["level"] == "admin" or $_SESSION["level"] == "moderator") and $skipqueue != "true") {
$sql ="SELECT TM.ID FROM `main` TM
INNER JOIN `version` TV ON TM.ID = TV.ID
WHERE `approved` = '?' GROUP BY `URI` ORDER BY TV.DateUpdated ASC";
@ -21,7 +21,7 @@ if ($_SESSION["level"] == "user") {
} else if ($_SESSION["level"] == "editor") {
?>
<li><A HREF="usermanager.php?function=edituser&amp;userid=<?php echo"$_SESSION[uid]"; ?>">Your Profile</A></li>
<li><A HREF="approval.php">Approval Queue (<?php echo"$queuenum"; ?>)</A></li>
<li><A HREF="approval.php">Approval Queue <?php if ($skipqueue != "true") { echo"($queuenum)"; } ?></A></li>
<li><A HREF="listmanager.php?type=T">Themes list</A></li>
<li><A HREF="listmanager.php?type=E">Extensions list</A></li>
<li><A HREF="usermanager.php">Users Manager</A></li>
@ -30,7 +30,7 @@ if ($_SESSION["level"] == "user") {
} else {
?>
<li><A HREF="usermanager.php?function=edituser&amp;userid=<?php echo"$_SESSION[uid]"; ?>">Your Profile</A></li>
<li><A HREF="approval.php">Approval Queue (<?php echo"$queuenum"; ?>)</A></li>
<li><A HREF="approval.php">Approval Queue <?php if ($skipqueue != "true") { echo"($queuenum)"; } ?></A></li>
<li><A HREF="listmanager.php?type=T">Themes list</A></li>
<li><A HREF="listmanager.php?type=E">Extensions list</A></li>
<li><A HREF="usermanager.php">Users Manager</A></li>