diff --git a/www/agc/vicidial.php b/www/agc/vicidial.php index f43069bd..554435c8 100644 --- a/www/agc/vicidial.php +++ b/www/agc/vicidial.php @@ -169,10 +169,11 @@ # 71120-1719 - Added XMLHTPRequest lookup of allowable campaigns for agents during login # 71122-0256 - Added auto-pause notification # 71125-1751 - Changed Transfer section to allow for selection of in-groups to send calls to +# 71127-0408 - Added height and width settings for easier modification of screen size # -$version = '2.0.4-140'; -$build = '71125-1751'; +$version = '2.0.4-141'; +$build = '71127-0408'; require("dbconnect.php"); @@ -257,12 +258,42 @@ $HidEMonitoRSessionS = '1'; # set to 1 to hide remote monitoring channels from " $TEST_all_statuses = '0'; # TEST variable allows all statuses in dispo screen +$BROWSER_HEIGHT = 500; # set to the minimum browser height, default=500 +$BROWSER_WIDTH = 770; # set to the minimum browser width, default=770 + + # options now set in DB: #$alt_phone_dialing = '1'; # allow agents to call alt phone numbers #$scheduled_callbacks = '1'; # set to 1 to allow agent to choose scheduled callbacks # $agentonly_callbacks = '1'; # set to 1 to allow agent to choose agent-only scheduled callbacks #$agentcall_manual = '1'; # set to 1 to allow agent to make manual calls during autodial session +### SCREEN WIDTH AND HEIGHT CALCULATIONS ### +### DO NOT EDIT! ### +$MASTERwidth=($BROWSER_WIDTH - 340); +$MASTERheight=($BROWSER_HEIGHT - 200); +if ($MASTERwidth < 430) {$MASTERwidth = '430';} +if ($MASTERheight < 300) {$MASTERheight = '300';} + +$CAwidth = ($MASTERwidth + 340); # 770 - cover all (none-in-session, customer hunngup, etc...) +$MNwidth = ($MASTERwidth + 330); # 760 - main frame +$XFwidth = ($MASTERwidth + 320); # 750 - transfer/conference +$HCwidth = ($MASTERwidth + 310); # 740 - hotkeys and callbacks +$AMwidth = ($MASTERwidth + 270); # 700 - agent mute and preset-dial links +$SSwidth = ($MASTERwidth + 176); # 606 - scroll script +$SDwidth = ($MASTERwidth + 170); # 600 - scroll script, customer data and calls-in-session +$HKwidth = ($MASTERwidth + 70); # 500 - Hotkeys button +$HSwidth = ($MASTERwidth + 1); # 431 - Header spacer + +$HKheight = ($MASTERheight + 105); # 405 - HotKey active Button +$AMheight = ($MASTERheight + 100); # 400 - Agent mute and preset dial links +$MBheight = ($MASTERheight + 65); # 365 - Manual Dial Buttons +$CBheight = ($MASTERheight + 50); # 350 - Agent Callback, pause code, volume control Buttons and agent status +$SSheight = ($MASTERheight + 31); # 331 - script content +$HTheight = ($MASTERheight + 10); # 310 - transfer frame, callback comments and hotkey +$BPheight = ($MASTERheight - 250); # 50 - bottom buffer + + $US='_'; $CL=':'; $AT='@'; @@ -2294,7 +2325,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} var LMAcontent_change=0; var LMAcontent_match=0; var conv_start=-1; - var live_conf_HTML = "LIVE CALLS IN YOUR SESSION:
"; + var live_conf_HTML = "LIVE CALLS IN YOUR SESSION:
#REMOTE CHANNELHANGUPVOLUME
>"; if ( (LMAcount > live_conf_calls) || (LMAcount < live_conf_calls) || (LMAforce > 0)) { LMAe[0]=''; LMAe[1]=''; LMAe[2]=''; LMAe[3]=''; LMAe[4]=''; LMAe[5]=''; @@ -6143,7 +6174,7 @@ else else { conf_channels_xtra_display = 0; - document.getElementById("busycallsdisplay").innerHTML = "Show conference call channel information"; + document.getElementById("busycallsdisplay").innerHTML = "Show conference call channel information

 "; document.getElementById("outboundcallsspan").innerHTML = ''; LMAe[0]=''; LMAe[1]=''; LMAe[2]=''; LMAe[3]=''; LMAe[4]=''; LMAe[5]=''; LMAcount=0; @@ -6172,7 +6203,7 @@ else { if (showxfervar == 'ON') { - var xfer_height = 310; + var xfer_height = ; if (alt_phone_dialing>0) {xfer_height = (xfer_height + 20);} if ( (auto_dial_level == 0) && (manual_dial_preview == 1) ) {xfer_height = (xfer_height + 20);} document.getElementById("TransferMain").style.top = xfer_height; @@ -6215,6 +6246,7 @@ else function MainPanelToFront(resumevar) { document.getElementById("MainTable").style.backgroundColor="#E0C2D6"; + document.getElementById("MaiNfooter").style.backgroundColor="#E0C2D6"; hideDiv('ScriptPanel'); showDiv('MainPanel'); if (resumevar != 'NO') @@ -6251,6 +6283,7 @@ else { showDiv('ScriptPanel'); document.getElementById("MainTable").style.backgroundColor="#FFE7D0"; + document.getElementById("MaiNfooter").style.backgroundColor="#FFE7D0"; panel_bgcolor='#FFE7D0'; document.getElementById("MainStatuSSpan").style.background = panel_bgcolor; } @@ -6262,7 +6295,7 @@ else -
#REMOTE CHANNELHANGUPVOLUME
+
id="MainTable"> - + -
STATUS:
@@ -6681,7 +6708,7 @@ RECORD ID:
+ align=left valign=top> @@ -6737,26 +6764,13 @@ else
> + 


  + 
- - - - -
VICIDIAL web-client version:     BUILD:               Server:              
-Show conference call channel information
- 0) && ( ($user_level>=$HKuser_level) or ($VU_hotkeys_active > 0) ) ) { ?> -HOT KEYS INACTIVE - -
- - - -
diff --git a/www/vicidial/admin.php b/www/vicidial/admin.php index 1ef03470..ca8fec59 100644 --- a/www/vicidial/admin.php +++ b/www/vicidial/admin.php @@ -11516,12 +11516,24 @@ echo "\n"; $o=0; while ($camps_to_print > $o) { $row=mysql_fetch_row($rslt); - $CT_camp_id = $row[1]; - $CT_camp_name = $row[2]; echo "\n"; $o++; } +echo "
$row[0] $row[1]
\n"; +echo "INBOUND GROUPS USING THIS CALL TIME:
\n"; +echo "\n"; + + $stmt="SELECT group_id,group_name from vicidial_inbound_groups where call_time_id='$call_time_id';"; + $rslt=mysql_query($stmt, $link); + $camps_to_print = mysql_num_rows($rslt); + $o=0; + while ($camps_to_print > $o) { + $row=mysql_fetch_row($rslt); + echo "\n"; + $o++; + } + echo "
$row[0] $row[1]
\n"; echo "

\n";