fusionpbx/app/php_edit/app_config.php

79 lines
3.5 KiB
PHP
Raw Normal View History

<?php
//application details
$apps[$x]['name'] = "PHP Editor";
$apps[$x]['uuid'] = '0a36722f-eee1-889e-baa9-2ce05b09e365';
$apps[$x]['category'] = 'System';
$apps[$x]['subcategory'] = '';
$apps[$x]['version'] = '';
$apps[$x]['license'] = 'Mozilla Public License 1.1';
$apps[$x]['url'] = 'http://www.fusionpbx.com';
$apps[$x]['description']['en-us'] = 'PHP Editor for files in the main website directory.';
2012-10-11 02:07:03 +02:00
$apps[$x]['description']['es-mx'] = '';
$apps[$x]['description']['de'] = '';
$apps[$x]['description']['de-ch'] = '';
$apps[$x]['description']['de-at'] = '';
$apps[$x]['description']['fr'] = '';
$apps[$x]['description']['fr-ca'] = '';
$apps[$x]['description']['fr-ch'] = '';
$apps[$x]['description']['pt-pt'] = 'O editor de PHP serve para arquivos no diretório site principal.';
$apps[$x]['description']['pt-br'] = '';
//menu details
2012-10-11 02:07:03 +02:00
$apps[$x]['menu'][0]['title']['en-us'] = 'PHP Editor';
$apps[$x]['menu'][0]['title']['es-mx'] = '';
$apps[$x]['menu'][0]['title']['de'] = '';
$apps[$x]['menu'][0]['title']['de-ch'] = '';
$apps[$x]['menu'][0]['title']['de-at'] = '';
$apps[$x]['menu'][0]['title']['fr'] = '';
$apps[$x]['menu'][0]['title']['fr-ca'] = '';
$apps[$x]['menu'][0]['title']['fr-ch'] = '';
$apps[$x]['menu'][0]['title']['pt-pt'] = 'Editor de PHP';
$apps[$x]['menu'][0]['title']['pt-br'] = '';
$apps[$x]['menu'][0]['uuid'] = 'eae1f2d6-789b-807c-cc26-44501e848693';
$apps[$x]['menu'][0]['parent_uuid'] = '594d99c5-6128-9c88-ca35-4b33392cec0f';
$apps[$x]['menu'][0]['category'] = 'external';
$apps[$x]['menu'][0]['path'] = '/app/php_edit/index.php';
$apps[$x]['menu'][0]['groups'][] = 'superadmin';
//permission details
$apps[$x]['permissions'][0]['name'] = 'php_editor_view';
$apps[$x]['permissions'][0]['groups'][] = 'superadmin';
$apps[$x]['permissions'][1]['name'] = 'php_editor_save';
$apps[$x]['permissions'][1]['groups'][] = 'superadmin';
//schema details
$y = 0; //table array index
$z = 0; //field array index
$apps[$x]['db'][$y]['table'] = 'v_clips';
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'clip_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';
2012-10-11 02:07:03 +02:00
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'clip_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'] = '';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'clip_folder';
$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'] = '';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'clip_text_start';
$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'] = '';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'clip_text_end';
$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'] = '';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'clip_order';
$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'] = '';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'clip_desc';
$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'] = '';
?>