diff --git a/agc_2-X/trunk/www/vicidial/admin.php b/agc_2-X/trunk/www/vicidial/admin.php index f1d06303..8133f937 100644 --- a/agc_2-X/trunk/www/vicidial/admin.php +++ b/agc_2-X/trunk/www/vicidial/admin.php @@ -7,6 +7,9 @@ require("dbconnect.php"); +$page_width='750'; +$section_width='700'; + $PHP_AUTH_USER=$_SERVER['PHP_AUTH_USER']; $PHP_AUTH_PW=$_SERVER['PHP_AUTH_PW']; $PHP_SELF=$_SERVER['PHP_SELF']; @@ -455,8 +458,10 @@ if (isset($_GET["dedicated_trunks"])) {$dedicated_trunks=$_GET["dedicated_trunks elseif (isset($_POST["dedicated_trunks"])) {$dedicated_trunks=$_POST["dedicated_trunks"];} if (isset($_GET["trunk_restriction"])) {$trunk_restriction=$_GET["trunk_restriction"];} elseif (isset($_POST["trunk_restriction"])) {$trunk_restriction=$_POST["trunk_restriction"];} -if (isset($_GET["campaigns"])) {$campaigns=$_GET["campaigns"];} - elseif (isset($_POST["campaigns"])) {$campaigns=$_POST["campaigns"];} +if (isset($_GET["campaigns"])) {$campaigns=$_GET["campaigns"];} + elseif (isset($_POST["campaigns"])) {$campaigns=$_POST["campaigns"];} +if (isset($_GET["dial_level_override"])) {$dial_level_override=$_GET["dial_level_override"];} + elseif (isset($_POST["dial_level_override"])) {$dial_level_override=$_POST["dial_level_override"];} @@ -795,12 +800,14 @@ $lead_filter_sql = ereg_replace(";","",$lead_filter_sql); # 61122-1228 - added user group campaign restrictions # 61122-1535 - changed script_text to unfiltered and added more variables to SCRIPTS # 61129-1028 - Added headers to Users and Phones with clickable order-by titles +# 70108-1405 - Added ADAPT OVERRIDE to allow for forced dial_level changes in ADAPT dial methods +# - Screen width definable at top of script, merged server_stats into this script # # make sure you have added a user to the vicidial_users MySQL table with at least user_level 8 to access this page the first time -$version = '2.0.73'; -$build = '61129-1028'; +$version = '2.0.74'; +$build = '70108-1405'; $STARTtime = date("U"); @@ -1022,6 +1029,7 @@ if ($ADD==551) {$hh='users'; echo "SEARCH PHONES";} if ($ADD==66) {$hh='users'; echo "Search Results";} if ($ADD==661) {$hh='users'; echo "SEARCH PHONES RESULTS";} if ($ADD==99999) {$hh='users'; echo "HELP";} +if ($ADD==999999) {$hh='reports'; echo "REPORTS";} if ( ($ADD>9) && ($ADD < 99998) ) { @@ -1505,7 +1513,7 @@ echo "