diff --git a/UPGRADE b/UPGRADE index 9ac2548b..3a89f8bb 100644 --- a/UPGRADE +++ b/UPGRADE @@ -61,7 +61,8 @@ NOTE: Upgrading from 1.1.12-3 to 2.0.1 is at the bottom 13. Call distribution by agent ranking per in-group and total calls to in-group -14. Added ability to copy the settings of one campaign to a new campaign +14. Added ability to copy the settings campaigns, users and in-groups to new records + 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 index 25ed7e18..a44abb71 100644 --- a/translations/raw_translation_files/TO_BE_TRANSLATED_2.0.4.txt +++ b/translations/raw_translation_files/TO_BE_TRANSLATED_2.0.4.txt @@ -117,6 +117,13 @@ Copy Campaign|| COPY A CAMPAIGN|| Source Campaign: || New Copied Campaign Addition|| +Copy In-Group|| +New Copied In-Group Addition|| +Copy User|| +New Copied User Addition|| +COPY USER|| +Copy In-Group|| +COPY INBOUND GROUP|| ############################################################ CLIENT diff --git a/www/vicidial/admin.php b/www/vicidial/admin.php index 245d7c0f..d80414b9 100644 --- a/www/vicidial/admin.php +++ b/www/vicidial/admin.php @@ -661,6 +661,10 @@ if (isset($_GET["campaign_rank"])) {$campaign_rank=$_GET["campaign_rank"];} elseif (isset($_POST["campaign_rank"])) {$campaign_rank=$_POST["campaign_rank"];} if (isset($_GET["source_campaign_id"])) {$source_campaign_id=$_GET["source_campaign_id"];} elseif (isset($_POST["source_campaign_id"])) {$source_campaign_id=$_POST["source_campaign_id"];} +if (isset($_GET["source_user_id"])) {$source_user_id=$_GET["source_user_id"];} + elseif (isset($_POST["source_user_id"])) {$source_user_id=$_POST["source_user_id"];} +if (isset($_GET["source_group_id"])) {$source_group_id=$_GET["source_group_id"];} + elseif (isset($_POST["source_group_id"])) {$source_group_id=$_POST["source_group_id"];} if (isset($script_id)) {$script_id= strtoupper($script_id);} @@ -929,6 +933,8 @@ $vsc_id = ereg_replace("[^-\_0-9a-zA-Z]","",$vsc_id); $moh_context = ereg_replace("[^-\_0-9a-zA-Z]","",$moh_context); $agent_alert_exten = ereg_replace("[^-\_0-9a-zA-Z]","",$agent_alert_exten); $source_campaign_id = ereg_replace("[^-\_0-9a-zA-Z]","",$source_campaign_id); +$source_user_id = ereg_replace("[^-\_0-9a-zA-Z]","",$source_user_id); +$source_group_id = ereg_replace("[^-\_0-9a-zA-Z]","",$source_group_id); ### ALPHA-NUMERIC and spaces $lead_order = ereg_replace("[^ 0-9a-zA-Z]","",$lead_order); @@ -1126,12 +1132,13 @@ $list_mix_container = ereg_replace(";","",$list_mix_container); # 71103-2207 - Added inbound_group_rank and fewest_calls to the inbound groups call order options # 71113-1521 - Added campaign_rank to agent options # - Added ability to Copy a campaign's setting to a new campaign -# +# 71113-2225 - Added ability to copy user and in-group settings to new users and in-groups +# # # 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.0.4-115'; -$build = '71113-1521'; +$admin_version = '2.0.4-116'; +$build = '71113-2225'; $STARTtime = date("U"); $SQLdate = date("Y-m-d H:i:s"); @@ -1249,12 +1256,14 @@ echo "
| \n";
+ echo "";
+
+ echo " COPY USER |