123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- <?php
- //application details
- $apps[$x]['name'] = "Account Settings";
- $apps[$x]['uuid'] = "3a3337f7-78d1-23e3-0cfd-f14499b8ed97";
- $apps[$x]['category'] = "Switch";;
- $apps[$x]['subcategory'] = "";
- $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'] = "User account settings can be changed by the user.";
- $apps[$x]['description']['en-gb'] = "User account settings can be changed by the user.";
- $apps[$x]['description']['ar-eg'] = "";
- $apps[$x]['description']['de-at'] = "Einstellungen des Benutzerkontos können durch den Benutzer geändert werden.";
- $apps[$x]['description']['de-ch'] = "";
- $apps[$x]['description']['de-de'] = "Einstellungen des Benutzerkontos können durch den Benutzer geändert werden.";
- $apps[$x]['description']['es-cl'] = "La configuración de la cuenta puede ser modificada por el usuario.";
- $apps[$x]['description']['es-mx'] = "";
- $apps[$x]['description']['fr-ca'] = "L'usager peut modifier la configuration de son compte";
- $apps[$x]['description']['fr-fr'] = "L'usager peut modifier la configuration de son compte";
- $apps[$x]['description']['he-il'] = "";
- $apps[$x]['description']['it-it'] = "";
- $apps[$x]['description']['ka-ge'] = "მომხმარებელს შეუძლია მომხმარებლის პარამეტრების შეცვლა.";
- $apps[$x]['description']['nl-nl'] = "";
- $apps[$x]['description']['pl-pl'] = "";
- $apps[$x]['description']['pt-br'] = "Configurações da conta podem ser alteradas pelo usuário.";
- $apps[$x]['description']['pt-pt'] = "Configurações de conta de utilizador pode ser alterado pelo utilizador.";
- $apps[$x]['description']['ro-ro'] = "";
- $apps[$x]['description']['ru-ru'] = "Настройки учетной записи могут быть изменены пользователем";
- $apps[$x]['description']['sv-se'] = "";
- $apps[$x]['description']['uk-ua'] = "";
- //permission details
- $y=0;
- $apps[$x]['permissions'][$y]['name'] = "user_setting_view";
- $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
- $apps[$x]['permissions'][$y]['groups'][] = "admin";
- $y++;
- $apps[$x]['permissions'][$y]['name'] = "user_setting_add";
- $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
- $apps[$x]['permissions'][$y]['groups'][] = "admin";
- $y++;
- $apps[$x]['permissions'][$y]['name'] = "user_setting_edit";
- $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
- $apps[$x]['permissions'][$y]['groups'][] = "admin";
- $y++;
- $apps[$x]['permissions'][$y]['name'] = "user_setting_delete";
- $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
- $apps[$x]['permissions'][$y]['groups'][] = "admin";
- $y++;
- $apps[$x]['permissions'][$y]['name'] = "user_setting_category_edit";
- $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
- //schema details
- $y=0;
- $apps[$x]['db'][$y]['table']['name'] = "v_user_settings";
- $apps[$x]['db'][$y]['table']['parent'] = "v_users";
- $z=0;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_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'] = "user_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'] = "foreign";
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_users";
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "user_uuid";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_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'] = "foreign";
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_category";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the category.";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_subcategory";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the subcategory.";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_name";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the name.";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_value";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the value.";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_order";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_enabled";
- $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "boolean";
- $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['toggle'] = ['true','false'];
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_description";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
- $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
- $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
- $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
- $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
- $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]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
- $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
- $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
- $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
- $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]['description']['en-us'] = "";
- ?>
|