37 lines
1.6 KiB
PHP
37 lines
1.6 KiB
PHP
<?php
|
|
//application details
|
|
$apps[$x]['name'] = "Time Conditions";
|
|
$apps[$x]['uuid'] = '4b821450-926b-175a-af93-a03c441818b1';
|
|
$apps[$x]['category'] = 'Switch';;
|
|
$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'] = 'Direct calls based on the time of day.';
|
|
|
|
//menu details
|
|
$apps[$x]['menu'][0]['title']['en'] = 'Time Conditions';
|
|
$apps[$x]['menu'][0]['uuid'] = '67aede56-8623-df2d-6338-ecfbde5825f7';
|
|
$apps[$x]['menu'][0]['parent_uuid'] = 'fd29e39c-c936-f5fc-8e2b-611681b266b5';
|
|
$apps[$x]['menu'][0]['category'] = 'internal';
|
|
$apps[$x]['menu'][0]['path'] = '/app/dialplan/dialplans.php?app_uuid=4b821450-926b-175a-af93-a03c441818b1';
|
|
$apps[$x]['menu'][0]['groups'][] = 'admin';
|
|
$apps[$x]['menu'][0]['groups'][] = 'superadmin';
|
|
|
|
//permission details
|
|
$apps[$x]['permissions'][0]['name'] = 'time_conditions_view';
|
|
$apps[$x]['permissions'][0]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][0]['groups'][] = 'superadmin';
|
|
|
|
$apps[$x]['permissions'][1]['name'] = 'time_conditions_add';
|
|
$apps[$x]['permissions'][1]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][1]['groups'][] = 'superadmin';
|
|
|
|
$apps[$x]['permissions'][2]['name'] = 'time_conditions_edit';
|
|
$apps[$x]['permissions'][2]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][2]['groups'][] = 'superadmin';
|
|
|
|
$apps[$x]['permissions'][3]['name'] = 'time_conditions_delete';
|
|
$apps[$x]['permissions'][3]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][3]['groups'][] = 'superadmin';
|
|
?>
|