mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Dont Show Approval Queue Item Count on the Approval Queue page, Bug 275127
This commit is contained in:
parent
1fb4e8ca64
commit
93740d70c0
@ -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";
|
||||
?>
|
||||
|
||||
|
@ -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&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&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>
|
||||
|
Loading…
Reference in New Issue
Block a user