Added agent_screen_colors and script_remove_js system settings
git-svn-id: svn://192.168.202.10@2553 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -674,6 +674,8 @@ server_phone VARCHAR(15) default '',
|
||||
phone_ip VARCHAR(15) default '',
|
||||
webserver SMALLINT(5) UNSIGNED default '0',
|
||||
login_url INT(9) UNSIGNED default '0',
|
||||
browser_width SMALLINT(5) UNSIGNED default '0',
|
||||
browser_height SMALLINT(5) UNSIGNED default '0',
|
||||
index (user),
|
||||
index (event_date),
|
||||
index (phone_ip)
|
||||
@@ -1659,7 +1661,9 @@ report_default_format ENUM('TEXT', 'HTML') default 'TEXT',
|
||||
alt_ivr_logging ENUM('0', '1') default '0',
|
||||
admin_row_click ENUM('0', '1') default '1',
|
||||
admin_screen_colors VARCHAR(20) default 'default',
|
||||
ofcom_uk_drop_calc ENUM('1','0') default '0'
|
||||
ofcom_uk_drop_calc ENUM('1','0') default '0',
|
||||
agent_screen_colors VARCHAR(20) default 'default',
|
||||
script_remove_js ENUM('1','0') default '1'
|
||||
) ENGINE=MyISAM;
|
||||
|
||||
CREATE TABLE vicidial_campaigns_list_mix (
|
||||
@@ -3775,4 +3779,4 @@ UPDATE vicidial_configuration set value='1766' where name='qc_database_version';
|
||||
|
||||
UPDATE system_settings set vdc_agent_api_active='1';
|
||||
|
||||
UPDATE system_settings SET db_schema_version='1461',db_schema_update_date=NOW(),reload_timestamp=NOW();
|
||||
UPDATE system_settings SET db_schema_version='1462',db_schema_update_date=NOW(),reload_timestamp=NOW();
|
||||
|
||||
@@ -616,3 +616,12 @@ UPDATE system_settings SET db_schema_version='1460',db_schema_update_date=NOW()
|
||||
ALTER TABLE phones ADD outbound_alt_cid VARCHAR(20) default '';
|
||||
|
||||
UPDATE system_settings SET db_schema_version='1461',db_schema_update_date=NOW() where db_schema_version < 1461;
|
||||
|
||||
ALTER TABLE system_settings ADD agent_screen_colors VARCHAR(20) default 'default';
|
||||
|
||||
ALTER TABLE vicidial_user_log ADD browser_width SMALLINT(5) UNSIGNED default '0';
|
||||
ALTER TABLE vicidial_user_log ADD browser_height SMALLINT(5) UNSIGNED default '0';
|
||||
|
||||
ALTER TABLE system_settings ADD script_remove_js ENUM('1','0') default '1';
|
||||
|
||||
UPDATE system_settings SET db_schema_version='1462',db_schema_update_date=NOW() where db_schema_version < 1462;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -65,6 +65,7 @@
|
||||
# 160429-1014 - Added admin_row_click option
|
||||
# 160507-2324 - Added screen colors section
|
||||
# 160611-2229 - Added style for diff on admin changes
|
||||
# 160617-1426 - Added link from screen colors to system settings screen color settings
|
||||
#
|
||||
|
||||
|
||||
@@ -2181,7 +2182,7 @@ if ($SSenable_languages == '1')
|
||||
<?php }
|
||||
if (strlen($colors_sh) > 25) {
|
||||
?>
|
||||
<TR BGCOLOR=<?php echo $colors_color ?>><TD ALIGN=LEFT COLSPAN=2> <a href="<?php echo $ADMIN ?>?ADD=182000000000"><FONT STYLE="font-family:HELVETICA;font-size:<?php echo $subcamp_font_size ?>;color:BLACK;"> <?php echo _QXZ("Screen Colors"); ?> </a> |<?php if ($add_copy_disabled < 1) { ?> <a href="<?php echo $ADMIN ?>?ADD=182111111111"><FONT STYLE="font-family:HELVETICA;font-size:<?php echo $subcamp_font_size ?>;color:BLACK;"> <?php echo _QXZ("Add A Screen Colors"); ?> </a><?php } ?></TD></TR>
|
||||
<TR BGCOLOR=<?php echo $colors_color ?>><TD ALIGN=LEFT COLSPAN=2> <a href="<?php echo $ADMIN ?>?ADD=182000000000"><FONT STYLE="font-family:HELVETICA;font-size:<?php echo $subcamp_font_size ?>;color:BLACK;"> <?php echo _QXZ("Screen Colors"); ?> </a> |<?php if ($add_copy_disabled < 1) { ?> <a href="<?php echo $ADMIN ?>?ADD=182111111111"><FONT STYLE="font-family:HELVETICA;font-size:<?php echo $subcamp_font_size ?>;color:BLACK;"> <?php echo _QXZ("Add A Screen Colors"); ?> </a><?php } ?> | <a href="<?php echo $ADMIN ?>?ADD=311111111111111#screen_colors"><FONT STYLE="font-family:HELVETICA;font-size:<?php echo $subcamp_font_size ?>;color:BLACK;"> <?php echo _QXZ("Change Active Screen Colors"); ?> </a></TD></TR>
|
||||
<?php }
|
||||
if (strlen($cts_sh) > 25) {
|
||||
?>
|
||||
|
||||
@@ -90,6 +90,7 @@
|
||||
# 160508-0836 - Added screen colors
|
||||
# 160515-1958 - Added ofcom_uk_drop_calc entry
|
||||
# 160527-1359 - Added phones-outbound_alt_cid entry
|
||||
# 160621-1735 - Added agent_screen_colors and script_remove_js entries
|
||||
#
|
||||
|
||||
|
||||
@@ -5097,6 +5098,11 @@ FR_SPAC 00 00 00 00 00 - <?php echo _QXZ("France space separated phone number");
|
||||
<BR>
|
||||
<B><?php echo _QXZ("Level 8 Disable Add"); ?> -</B><?php echo _QXZ("This setting if enabled will prevent any level 8 user from adding or copying any record in the system, no matter what their user settings are. Excluded from these restrictions are the ability to add DNC and Filter Phone Groups numbers and the Add a New Lead page. Default is 0 for disabled."); ?>
|
||||
|
||||
<BR>
|
||||
<A NAME="settings-script_remove_js">
|
||||
<BR>
|
||||
<B><?php echo _QXZ("Script Text Remove JS"); ?> -</B><?php echo _QXZ("This setting if enabled will remove any javascript that is included in the script text for a script. This is considered a security feature to prevent cross-site scripting, or XSS. Default is 1 for enabed."); ?>
|
||||
|
||||
<BR>
|
||||
<A NAME="settings-admin_list_counts">
|
||||
<BR>
|
||||
@@ -5178,6 +5184,11 @@ FR_SPAC 00 00 00 00 00 - <?php echo _QXZ("France space separated phone number");
|
||||
<BR>
|
||||
<B><?php echo _QXZ("Admin Screen Colors"); ?> -</B><?php echo _QXZ("This feature allows you to set different color schemes and logo for the administrative web screens. These can be defined in the Screen Colors section. Default is default, for the standard blue screen colors"); ?>
|
||||
|
||||
<BR>
|
||||
<A NAME="settings-agent_screen_colors">
|
||||
<BR>
|
||||
<B><?php echo _QXZ("Agent Screen Colors"); ?> -</B><?php echo _QXZ("This feature allows you to set different color schemes and logo for the agent screen. These can be defined in the Screen Colors section. Default is default, for the standard blue screen colors"); ?>
|
||||
|
||||
<BR>
|
||||
<A NAME="settings-label_hide_field_logs">
|
||||
<BR>
|
||||
|
||||
Reference in New Issue
Block a user