2012-06-04 16:58:40 +02:00
|
|
|
<?php
|
|
|
|
|
//application details
|
|
|
|
|
$apps[$x]['name'] = 'Default Settings';
|
2012-09-27 02:34:10 +02:00
|
|
|
$apps[$x]['uuid'] = '2c2453c0-1bea-4475-9f44-4d969650de09';
|
2012-06-04 16:58:40 +02:00
|
|
|
$apps[$x]['category'] = 'Core';
|
|
|
|
|
$apps[$x]['subcategory'] = '';
|
|
|
|
|
$apps[$x]['version'] = '';
|
|
|
|
|
$apps[$x]['license'] = 'Mozilla Public License 1.1';
|
|
|
|
|
$apps[$x]['url'] = 'http://www.fusionpbx.com';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['description']['en-us'] = 'Default settings that apply to all domains.';
|
2012-10-11 03:28:18 +02:00
|
|
|
$apps[$x]['description']['es-mx'] = '';
|
2013-09-30 15:19:40 +02:00
|
|
|
$apps[$x]['description']['de'] = '';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['description']['de-ch'] = '';
|
|
|
|
|
$apps[$x]['description']['de-at'] = '';
|
2013-09-30 15:19:40 +02:00
|
|
|
$apps[$x]['description']['fr-fr'] = 'Configurations par défaut applicable à tous les domaines';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['description']['fr-ca'] = '';
|
|
|
|
|
$apps[$x]['description']['fr-ch'] = '';
|
|
|
|
|
$apps[$x]['description']['pt-pt'] = 'Configurações padrão que se aplicam a todos os domínios.';
|
|
|
|
|
$apps[$x]['description']['pt-br'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
|
|
|
|
|
//menu details
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['en-us'] = 'Default Settings';
|
2012-10-11 03:28:18 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['es-mx'] = '';
|
2013-09-30 15:19:40 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['de'] = '';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['de-ch'] = '';
|
|
|
|
|
$apps[$x]['menu'][0]['title']['de-at'] = '';
|
2013-09-30 15:19:40 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['fr-fr'] = 'Confs par Défaut';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['fr-ca'] = '';
|
|
|
|
|
$apps[$x]['menu'][0]['title']['fr-ch'] = '';
|
|
|
|
|
$apps[$x]['menu'][0]['title']['pt-pt'] = 'Predefinições';
|
|
|
|
|
$apps[$x]['menu'][0]['title']['pt-br'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$apps[$x]['menu'][0]['uuid'] = '834b2739-9e99-4345-9b0b-7ec3ca332b67';
|
|
|
|
|
$apps[$x]['menu'][0]['parent_uuid'] = '594d99c5-6128-9c88-ca35-4b33392cec0f';
|
|
|
|
|
$apps[$x]['menu'][0]['category'] = 'internal';
|
|
|
|
|
$apps[$x]['menu'][0]['path'] = '/core/default_settings/default_settings.php';
|
|
|
|
|
$apps[$x]['menu'][0]['groups'][] = 'superadmin';
|
|
|
|
|
|
|
|
|
|
//permission details
|
|
|
|
|
$y = 0;
|
2012-09-27 02:34:10 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = 'default_setting_view';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
|
|
$y++;
|
2012-06-04 16:58:40 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = 'default_setting_add';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
|
|
$y++;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = 'default_setting_edit';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
|
|
$y++;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = 'default_setting_delete';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
|
|
$y++;
|
|
|
|
|
|
|
|
|
|
//schema details
|
|
|
|
|
$y = 0; //table array index
|
|
|
|
|
$z = 0; //field array index
|
|
|
|
|
$apps[$x]['db'][$y]['table'] = 'v_default_settings';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'default_setting_uuid';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'default_setting_category';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the category.';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'default_setting_subcategory';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the subcategory.';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'default_setting_name';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the name.';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'default_setting_value';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the value.';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'default_setting_enabled';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'default_setting_description';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2013-09-30 15:19:40 +02:00
|
|
|
?>
|