*************** *** 26,31 **** # 100802-2127 - Changed Admin to point to links page instead of Phones listings # 100831-2255 - Added password strength checking function # 100914-1311 - Removed other links for reports-only users # --- 26,35 ---- # 100802-2127 - Changed Admin to point to links page instead of Phones listings # 100831-2255 - Added password strength checking function # 100914-1311 - Removed other links for reports-only users + # 101022-1323 - Added IGU_selectall function + # 101107-1133 - Added auto-refresh code + # 110215-1720 - Added the Add a new lead link + # 110322-1228 - Added user ID logged in as next to Logout link # *************** *** 33,38 **** if($short_header) { echo "\n"; echo "\n"; echo "\n"; echo "\n"; --- 37,43 ---- if($short_header) { echo "\n"; + echo "\n"; echo "\n"; echo "\n"; echo "\n"; *************** *** 446,451 **** --- 451,475 ---- 1) and (preg_match("/^3|^4/",$ADD)) ) + { + ?> + var ar_seconds= + + function modify_refresh_display() + { + if (ar_seconds > 0) + { + ar_seconds = (ar_seconds - 1); + document.getElementById("refresh_countdown").innerHTML = " screen refresh in: " + ar_seconds + " seconds"; + setTimeout("modify_refresh_display()",1000); + } + } + + *************** *** 614,619 **** } ### select list contents generation for dynamic route displays in call menu and in-group screens if ( ($ADD==3511) or ($ADD==2511) or ($ADD==2611) or ($ADD==4511) or ($ADD==5511) or ($ADD==3111) or ($ADD==2111) or ($ADD==2011) or ($ADD==4111) or ($ADD==5111) ) { --- 638,666 ---- } + ### Javascript for shift end-time calculation and display + if ( ($ADD==3111) or ($ADD==4111) or ($ADD==5111) ) + { + ?> + function IGU_selectall(temp_count,temp_fields) + { + var fields_array=temp_fields.split('|'); + var inc=0; + while (temp_count >= inc) + { + if (fields_array[inc].length > 0) + { + document.getElementById(fields_array[inc]).checked=true; + // document.admin_form.fields_array[inc].checked=true; + } + inc++; + } + } + + \n"; echo "\n"; echo "\n"; ! echo "\n"; echo "\n"; $stmt="SELECT admin_home_url,enable_tts_integration,callcard_enabled,custom_fields_enabled from system_settings;"; --- 1058,1072 ---- echo "\n"; echo "\n"; echo "\n"; ! if ( ($SSadmin_modify_refresh > 1) and (preg_match("/^3|^4/",$ADD)) ) ! { ! echo "\n"; ! } ! else ! { ! echo "\n"; ! } ! echo "\n"; $stmt="SELECT admin_home_url,enable_tts_integration,callcard_enabled,custom_fields_enabled from system_settings;"; *************** *** 1172,1177 **** >   > Search For A Lead >   > >   > Load New Leads --- 1227,1234 ---- >   > Search For A Lead >   + > Add A New Lead + >   > >   > Load New Leads *************** *** 1399,1405 **** HEIGHT=15> ! --- 1456,1462 ----
HOME | Timeclock | Logout  
HEIGHT=15> !
HOME | Timeclock | Logout ()