Enhance - app_config.php cleanup for apps (#2633)

make spacing and layout consistent
add all missing language tags
fill missing en-us descriptions
convert to $x$y$z usage for array filling
add a default version number
this is a by hand update
This commit is contained in:
Mafoo
2017-06-03 09:00:20 -06:00
committed by FusionPBX
parent 25a761e7c3
commit b98f9cb120
57 changed files with 2854 additions and 2437 deletions
+27 -22
View File
@@ -5,20 +5,28 @@
$apps[$x]['uuid'] = "5ec89622-b19c-3559-64f0-afde802ab139";
$apps[$x]['category'] = "Switch";
$apps[$x]['subcategory'] = "";
$apps[$x]['version'] = "";
$apps[$x]['version'] = "1.0";
$apps[$x]['license'] = "Mozilla Public License 1.1";
$apps[$x]['url'] = "http://www.fusionpbx.com";
$apps[$x]['description']['en-us'] = "Used to define external destination numbers.";
$apps[$x]['description']['ar-eg'] = "";
$apps[$x]['description']['de-at'] = "Wird verwendet um externe Ziele zu definieren.";
$apps[$x]['description']['de-ch'] = "";
$apps[$x]['description']['de-de'] = "Wird verwendet um externe Ziele zu definieren.";
$apps[$x]['description']['es-cl'] = "Utilizado para definir números de destino externos.";
$apps[$x]['description']['es-mx'] = "Utilizado para definir numeros destinos externos.";
$apps[$x]['description']['de-de'] = "Wird verwendet um externe Ziele zu definieren.";
$apps[$x]['description']['de-ch'] = "";
$apps[$x]['description']['de-at'] = "Wird verwendet um externe Ziele zu definieren.";
$apps[$x]['description']['fr-fr'] = "Défini les numéros externes.";
$apps[$x]['description']['fr-ca'] = "Usé pour définir cibler nombres externe.";
$apps[$x]['description']['fr-ch'] = "";
$apps[$x]['description']['pt-pt'] = "Utilizado para definir os números de destino externos.";
$apps[$x]['description']['fr-fr'] = "Défini les numéros externes.";
$apps[$x]['description']['he-il'] = "";
$apps[$x]['description']['it-it'] = "";
$apps[$x]['description']['nl-nl'] = "";
$apps[$x]['description']['pl-pl'] = "";
$apps[$x]['description']['pt-br'] = "";
$apps[$x]['description']['pt-pt'] = "Utilizado para definir os números de destino externos.";
$apps[$x]['description']['ro-ro'] = "";
$apps[$x]['description']['ru-ru'] = "";
$apps[$x]['description']['sv-se'] = "";
$apps[$x]['description']['uk-ua'] = "";
//destination details
$y=0;
@@ -55,23 +63,21 @@
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
$y++;
$apps[$x]['permissions'][$y]['name'] = 'destination_domain';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
$y++;
$apps[$x]['permissions'][$y]['name'] = 'destination_all';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
$apps[$x]['permissions'][$y]['name'] = "destination_domain";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "destination_all";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
//default settings
$y = 0;
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = '70d8538a-89ab-4db6-87b1-f5e447680283';
$apps[$x]['default_settings'][$y]['default_setting_category'] = 'limit';
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = 'destinations';
$apps[$x]['default_settings'][$y]['default_setting_name'] = 'numeric';
$apps[$x]['default_settings'][$y]['default_setting_value'] = '3';
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = 'false';
$apps[$x]['default_settings'][$y]['default_setting_description'] = '';
$y++;
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "70d8538a-89ab-4db6-87b1-f5e447680283";
$apps[$x]['default_settings'][$y]['default_setting_category'] = "limit";
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "destinations";
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
$apps[$x]['default_settings'][$y]['default_setting_value'] = "3";
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
$apps[$x]['default_settings'][$y]['default_setting_description'] = "";
//schema details
$y=0;
@@ -159,6 +165,5 @@
$apps[$x]['db'][$y]['fields'][$z]['name'] = "destination_accountcode";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the accountcode.";
$z++;
?>
?>