Access Denied\n"; echo"You do not have access to the Approval Queue."; include"$page_footer"; echo"\n"; exit; } ?> Processing changes to approval queue, please wait...\n"; //echo"
"; print_r($_POST); echo"
\n"; for ($i=1; $_POST["maxvid"]>=$i; $i++) { $type = $_POST["type_$i"]; $testos = $_POST["testos_$i"]; $testbuild = $_POST["testbuild_$i"]; $comments = $_POST["comments_$i"]; $approval = $_POST["approval_$i"]; $file = $_POST["file_$i"]; if ($_POST["installation_$i"]) { $installation = $_POST["installation_$i"]; } else { $installation = "NO";} if ($_POST["uninstallation_$i"]) { $uninstallation = $_POST["uninstallation_$i"]; } else { $uninstallation = "NO";} if ($_POST["appworks_$i"]) { $appworks = $_POST["appworks_$i"]; } else { $appworks = "NO";} if ($_POST["cleanprofile_$i"]) { $cleanprofile = $_POST["cleanprofile_$i"]; } else { $cleanprofile = "NO";} if ($type=="E") { if ($_POST["newchrome_$i"]) { $newchrome = $_POST["newchrome_$i"]; } else { $newchrome = "NO";} if ($_POST["worksasdescribed_$i"]) { $worksasdescribed = $_POST["worksasdescribed_$i"]; } else { $worksasdescribed = "NO";} } else if ($type=="T") { if ($_POST["visualerrors_$i"]) { $visualerrors = $_POST["visualerrors_$i"]; } else { $visualerrors = "NO";} if ($_POST["allelementsthemed_$i"]) { $allelementsthemed = $_POST["allelementsthemed_$i"]; } else { $allelementsthemed = "NO";} } if ($approval !="noaction") { //echo"$i - $file $testos $testbuild $comments $approval
\n"; //echo"$type - $installation $uninstallation $appworks $cleanprofile $newchrome $worksasdescribed $visualerrors $allelementsthemed
\n"; if ($type=="T") { if ($approval=="YES") { if ($installation=="YES" and $uninstallation=="YES" and $appworks=="YES" and $cleanprofile=="YES" and $visualerrors=="YES" and $allelementsthemed=="YES" and $testos and $testbuild) { $approval_result = process_approval($type, $file, "approve"); } } else { if ($testos and $testbuild) { $approval_result = process_approval($type, $file, "deny"); } } } else if ($type=="E") { if ($approval=="YES") { if ($installation=="YES" and $uninstallation=="YES" and $appworks=="YES" and $cleanprofile=="YES" and $newchrome=="YES" and $worksasdescribed=="YES" and $testos and $testbuild) { $approval_result = process_approval($type, $file, "approve"); } } else { if ($testos and $testbuild) { $approval_result = process_approval($type, $file, "deny"); } } } //Approval for this file was successful, print the output message. $name = $_POST["name_$i"]; $version = $_POST["version_$i"]; if ($approval_result) { if ($approval=="YES") { echo"$name $version was granted approval
\n"; } else if ($approval=="NO") { echo"$name $version was denied approval
\n"; } } } } } ?>

Extensions/Themes Awaiting Approval

Approval Log History
$j) { $authors .=", "; } } $categories = ""; $j=""; $sql2 = "SELECT `CatName` from `t_categoryxref` TCX INNER JOIN `t_categories` TC ON TCX.CategoryID = TC.CategoryID WHERE TCX.ID='$row[ID]' ORDER BY `CatName` ASC"; $sql_result2 = mysql_query($sql2, $connection) or trigger_error("MySQL Error ".mysql_errno().": ".mysql_error()."", E_USER_NOTICE); while ($row2 = mysql_fetch_array($sql_result2)) { $j++; $categories .="$row2[CatName]"; if (mysql_num_rows($sql_result2) > $j) { $categories .=", "; } } $sql2 = "SELECT `UserName`,`UserEmail`,`date` FROM `t_approvallog` TA INNER JOIN `t_userprofiles` TU ON TA.UserID = TU.UserID WHERE `ID`='$row[ID]' AND `vID`='$row[vID]' and `action`='Approval?' ORDER BY `date` DESC LIMIT 1"; $sql_result2 = mysql_query($sql2, $connection) or trigger_error("MySQL Error ".mysql_errno().": ".mysql_error()."", E_USER_NOTICE); $row2 = mysql_fetch_array($sql_result2); if ($row2[date]) {$date = $row2[date]; } else { $date = $row[DateUpdated]; } $date = date("l, F d, Y, g:i:sa", strtotime("$date")); echo"\n"; if ($type=="T") { $installink = "javascript:void(InstallTrigger.installChrome(InstallTrigger.SKIN,'$row[URI]','$row[Name] $row[Version]'))"; } else if ($type=="E") { $installink = "javascript:void(InstallTrigger.install({'$row[Name] $row[Version]':'$row[URI]'}))"; } echo"\n"; echo"\n"; if ($row2[UserName]) { echo"\n"; } else { echo"\n"; } echo"\n"; echo"\n"; echo"\n"; //Approval Form for this Extension Item echo"\n"; echo"\n"; echo"\n"; } echo"\n"; ?> "0") { ?>

$row[Name] $row[Version] by $authors

( Install Now ) $row[Description] ($categories)
Requested by: $row2[UserName] on $date
Works with: "; $sql3 = "SELECT `shortname`, `MinAppVer`, `MaxAppVer` FROM `t_version` TV INNER JOIN `t_applications` TA ON TV.AppID = TA.AppID WHERE `URI`='$row[URI]' ORDER BY `AppName` ASC"; $sql_result3 = mysql_query($sql3, $connection) or trigger_error("MySQL Error ".mysql_errno().": ".mysql_error()."", E_USER_NOTICE); while ($row3 = mysql_fetch_array($sql_result3)) { echo"".ucwords($row3[shortname])." $row3[MinAppVer]-$row3[MaxAppVer] \n"; } if($row[OSName] != "ALL") { echo" ($row[OSName])"; } echo"
\n"; echo"Install? \n"; echo"Uninstall? \n"; echo"App Works? \n"; echo"Clean Profile? \n"; if ($type=="E") { echo"New Chrome? \n"; echo"Works? \n"; } else if ($type=="T") { echo"Visual Errors? \n"; echo"Theme Complete? \n"; } echo"
\n"; echo"\n"; echo"\n"; echo"\n"; echo"\n"; echo"Tested On: OSes: \n"; echo"Apps: \n"; echo"Comments: "; echo"
\n"; echo"Approve? Deny? No Action? \n"; echo"
  
No items are pending approval at this time

Approval History Log

Incomplete Basic UI for the Approval History Log. Bug 255305. \n"; } ?>
ID vID uID Action Date Install? Unistall? New Chrome? App Works? Visual Errors? All Elements Themed? Clean Profile? Works As Described? Test Build: Test OS: Comments:
$i. $id $vid $userid $action $date $installation $uninstallation $newchrome $appworks $visualerrors $allelementsthemed $cleanprofile $worksasdescribed $testbuild $testos $comments