From 42b9e6e7136a8003690ccc8d707c199aca62a9e5 Mon Sep 17 00:00:00 2001 From: mattf Date: Tue, 3 Aug 2010 01:40:32 +0000 Subject: [PATCH] Changed Remote Agents to take up to 9-digit IDs Changed Admin link in admin.php to go to a links page instead of the Phones listing git-svn-id: svn://192.168.202.10@1490 3d104415-ff17-0410-8863-d5cf3c621b8a --- www/vicidial/admin.php | 57 ++++++++++++++++++++++++++++++++--- www/vicidial/admin_header.php | 5 +-- 2 files changed, 56 insertions(+), 6 deletions(-) diff --git a/www/vicidial/admin.php b/www/vicidial/admin.php index a6f3f289..8d66c4cd 100644 --- a/www/vicidial/admin.php +++ b/www/vicidial/admin.php @@ -2384,11 +2384,12 @@ else # 100720-1332 - Small changes to Phone addition and modification pages # 100723-1519 - Added LOCKED options for Quick Transfer Button in campaigns # 100726-1017 - Added HANGUP, CALLMENU, EXTENSION and IN_GROUP timer actions to campaigns and in-groups +# 100802-2130 - Changed Admin links to point to links page instead of Phones listings, changed Remote Agents to allow 9-digit IDs # # 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 -$admin_version = '2.4-266'; -$build = '100726-1017'; +$admin_version = '2.4-267'; +$build = '100802-2130'; $STARTtime = date("U"); $SQLdate = date("Y-m-d H:i:s"); @@ -2828,6 +2829,7 @@ if ($ADD==660) {$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==999998) {$hh='admin'; echo "ADMIN";} if ( ($ADD>9) && ($ADD < 99998) ) { @@ -7968,7 +7970,7 @@ if ($ADD==11111) echo "
ADD NEW REMOTE AGENTS
\n"; echo "\n"; echo "
\n"; - echo "\n"; + echo "\n"; echo "\n"; echo " - +
User ID Start: (numbers only, incremented)$NWB#vicidial_remote_agents-user_start$NWE
User ID Start: (numbers only, incremented)$NWB#vicidial_remote_agents-user_start$NWE
Number of Lines: (numbers only)$NWB#vicidial_remote_agents-number_of_lines$NWE
Server IP: \n"; echo "\n"; echo "
\n"; - echo "\n"; + echo "\n"; echo "\n"; echo "
User ID Start: (numbers only, incremented)$NWB#vicidial_remote_agents-user_start$NWE
User ID Start: (numbers only, incremented)$NWB#vicidial_remote_agents-user_start$NWE
Number of Lines: (numbers only)$NWB#vicidial_remote_agents-number_of_lines$NWE
Server IP:
+ \n"; + } + + echo "
\n"; echo "
\n"; diff --git a/www/vicidial/admin_header.php b/www/vicidial/admin_header.php index 6df6826e..38c0f33e 100644 --- a/www/vicidial/admin_header.php +++ b/www/vicidial/admin_header.php @@ -23,6 +23,7 @@ # 100507-1339 - Added copy carrier submenu # 100616-2350 - Added VIDPROMPT call menu options # 100728-0904 - Changed Lead Loader link to the new 3rd gen lead loader +# 100802-2127 - Changed Admin to point to links page instead of Phones listings # @@ -40,7 +41,7 @@ if($short_header)
  In-Groups     User Groups     Remote Agents     Admin     Admin     Reports  
@@ -1156,7 +1157,7 @@ $SScustom_fields_enabled = $row[3]; ?> > - SIZE=> Admin + SIZE=> Admin 1)