diff --git a/translations/raw_translation_files/TO_BE_TRANSLATED_2.0.4.txt b/translations/raw_translation_files/TO_BE_TRANSLATED_2.0.4.txt new file mode 100644 index 00000000..5e220a02 --- /dev/null +++ b/translations/raw_translation_files/TO_BE_TRANSLATED_2.0.4.txt @@ -0,0 +1,14 @@ +############################################################ ADMIN + + + +############################################################ CLIENT + +PLEASE CLICK THE LOGOUT LINK TO LOG OUT NEXT TIME|| + + +############################################################ MANAGER Manual + + +############################################################ AGENT Manual + diff --git a/www/agc/vicidial.php b/www/agc/vicidial.php index 335422a3..301eac6e 100644 --- a/www/agc/vicidial.php +++ b/www/agc/vicidial.php @@ -158,10 +158,11 @@ # 70319-1626 - Added option to allow agent logins to campaigns with no leads in the hopper # 70320-1501 - Added option to allow retry of leave-3way-call from dispo screen # 70322-1545 - Added sipsak display ability +# 70510-1319 - Added onUnload force Logout # -$version = '2.0.129'; -$build = '70322-1545'; +$version = '2.0.130'; +$build = '70510-1319'; require("dbconnect.php"); @@ -4922,6 +4923,18 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} } +// ################################################################################ +// Log the user out of the system when they close their browser while logged in + function BrowserCloseLogout() + { + if (logout_stop_timeouts < 1) + { + LogouT(); + alert("PLEASE CLICK THE LOGOUT LINK TO LOG OUT NEXT TIME.\n"); + } + } + + // ################################################################################ // Log the user out of the system, if active call or active dial is occuring, don't let them. function LogouT() @@ -5933,7 +5946,7 @@ echo "\n"; ?> -
+