2012-06-04 16:58:40 +02:00
< ? php
2014-12-26 04:27:54 +01:00
2017-06-03 18:17:07 +02:00
//application details
2012-06-04 16:58:40 +02:00
$apps [ $x ][ 'name' ] = " Time Conditions " ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'uuid' ] = " 4b821450-926b-175a-af93-a03c441818b1 " ;
2017-06-03 18:46:48 +02:00
$apps [ $x ][ 'category' ] = " Switch " ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'subcategory' ] = " " ;
2017-06-03 17:00:20 +02:00
$apps [ $x ][ 'version' ] = " 1.0 " ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'license' ] = " Mozilla Public License 1.1 " ;
$apps [ $x ][ 'url' ] = " http://www.fusionpbx.com " ;
$apps [ $x ][ 'description' ][ 'en-us' ] = " Direct calls based on the time of day. " ;
2020-03-20 21:47:13 +01:00
$apps [ $x ][ 'description' ][ 'en-gb' ] = " Direct calls based on the time of day. " ;
2017-09-21 17:06:26 +02:00
$apps [ $x ][ 'description' ][ 'ar-eg' ] = " " ;
$apps [ $x ][ 'description' ][ 'de-at' ] = " Anrufe anhand der Tageszeit weiterleiten. " ;
2017-04-27 07:41:55 +02:00
$apps [ $x ][ 'description' ][ 'de-de' ] = " Anrufe anhand der Tageszeit weiterleiten. " ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'description' ][ 'de-ch' ] = " " ;
2017-09-21 17:06:26 +02:00
$apps [ $x ][ 'description' ][ 'es-cl' ] = " Direcciona llamadas basada en hora del día " ;
$apps [ $x ][ 'description' ][ 'es-mx' ] = " " ;
2014-10-29 09:51:56 +01:00
$apps [ $x ][ 'description' ][ 'fr-fr' ] = " Redirige les appels en fonction de l'heure. " ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'description' ][ 'fr-ca' ] = " " ;
2017-09-21 17:06:26 +02:00
$apps [ $x ][ 'description' ][ 'he-il' ] = " " ;
$apps [ $x ][ 'description' ][ 'it-it' ] = " Instrada le chiamate basandosi su giorno e ora. " ;
2024-08-28 17:59:02 +02:00
$apps [ $x ][ 'description' ][ 'ka-ge' ] = " პირდაპირი ზარები დღის დროზე დაყრდნობით. " ;
2017-09-21 17:06:26 +02:00
$apps [ $x ][ 'description' ][ 'nl-nl' ] = " " ;
$apps [ $x ][ 'description' ][ 'pl-pl' ] = " " ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'description' ][ 'pt-br' ] = " " ;
2019-07-03 01:32:49 +02:00
$apps [ $x ][ 'description' ][ 'pt-pt' ] = " Chamada directa com base na hora do dia. " ;
2017-09-21 17:06:26 +02:00
$apps [ $x ][ 'description' ][ 'ro-ro' ] = " " ;
Adding ru-ru locales (#2530)
* Translation of the menu (sent by Victor Kraft)
* ACL translate
* Backup translated
* App Fax translated (sent by Victor Kraft)
* App Adminer trnslated
* Resources translated (sent by Victor Kraft)
* App SIP Profiles translated
* ru-ru
* Call Block added
* ru-ru
* Update app_menu.php
* voicemails/app_languages.php locales ru-ru
voicemails/app_languages.php locales ru-ru
* app/vars/app_languages.php locales ru-ru
app/vars/app_languages.php locales ru-ru
* core: apps, authentication, databases, default_settings translate
* app/traffic_graph/app_languages.php adding locales ru-ru
app/traffic_graph/app_languages.php adding locales ru-ru
* app/time_conditions/app_languages.php adding locales ru-ru
app/time_conditions/app_languages.php adding locales ru-ru
* /app/system/app_languages.php adding locales ru-ru
/app/system/app_languages.php adding locales ru-ru
* /app/sip_status/app_languages.php adding locales ru-ru
* /app/settings/app_languages.php adding locales ru-ru
* /app/services/app_languages.php adding locales ru-ru
* /app/ring_groups/app_languages.php adding locales ru-ru
* /app/registrations/app_languages.php adding locales ru-ru
* /app/recordings/app_languages.php adding locales ru-ru
* /app/provision/app_menu.php adding locales ru-ru
* /app/pin_numbers/app_languages.php adding locales ru-ru
* Update app_languages.php
* /app/phrases/app_languages.php adding locales ru-ru
* /app/operator_panel/app_languages.php adding locales ru-ru
* core/groups translated
* /app/music_on_hold/app_languages.php adding locales ru-ru
* core/install translated
* core/menu translated
* /app/modules/app_languages.php adding locales ru-ru
* /app/meetings/app_menu.php adding locales ru-ru
* /app/log_viewer/app_languages.php adding locales ru-ru
* /app/ivr_menus/app_languages.php adding locales ru-ru
* /app/gateways/app_languages.php adding locales ru-ru
* /app/fifo_list/app_languages.php adding locales ru-ru
* core/notifications translated
* /app/fifo/app_languages.php adding locales ru-ru
* core/upgrade translated
* Update app_config.php
* core/user_settings translated
* Update app_languages.php
* Update app_menu.php
* Update app_languages.php
* core/users translated
* call_block translate fix
* Call Broadcast added
* call_block выклюено fix
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* themes translated
* /app/extensions/app_languages.php for locale ru-ru
* /app/exec/app_languages.php add locale ru-ru
* Update app_languages.php
* Update app_menu.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_menu.php
* add locales ru-ru /core/install/app_menu.php
* /app/emails/app_languages.php add locales ru-ru
* /app/edit/app_languages.php add locales ru-ru
* /app/dialplan_outbound/app_languages.php add lacales ru-ru
* app/devices translated
* /app/dialplan_inbound/app_languages.php add locales ru-ru
* call_center_active + call_centers
* /app/dialplan/app_languages.php add locales ru-ru
* /app/destinations/app_languages.php add locales ru-ru
* /app/database_transactions/app_languages.php add locales ru-ru
* /app/contacts/app_languages.php addlocales ru-ru
* Update app_languages.php
* Update app_languages.php
* /app/contacts/app_languages.php add locales ru-ru
* /app/conferences/app_languages.php add locales ru-ru
* /app/conference_profiles/app_languages.php add locales ru-ru
* /app/destinations/app_languages.php add locales ru-ru
* /app/destinations/app_languages.php add locales ru-ru
* /app/conferences/app_languages.php add locales ru-ru
* app/calls_active translated
* app/click_to_call translated
* app/calls_active label-opt fix transtation
* translated
* translated
* translate
* /app/voicemails/app_config.php addlocales ru-ru
* /app/voicemail_greetings/app_config.php add locales ru-ru
* /app/vars/app_config.php add locales ru-ru
* /app/traffic_graph/app_config.php add locales ru-ru
* /app/tones/app_config.php add locales ru-ru
* /app/time_conditions/app_config.php add locales ru-ru
* /app/tftp/app_config.php add locales ru-ru
* /app/system/app_config.php add locales ru-ru
* /app/sip_status/app_config.php addlocales ru-ru
* app/devices translated ru-ru
* app/devices translated ru-ru
* /core/menu/app_languages.php add locales ru-ru
* /app/contacts/app_languages.php add locales ru-ru
* /app/conferences/app_languages.php add locales ru-ru
* /app/voicemails/app_languages.php add locales ru-ru
* /app/conference_centers/app_languages.php add locales ru-ru
* /app/ring_groups/app_languages.php add locales ru-ru
* /app/ivr_menus/app_languages.php add locales ru-ru
* /app/xml_cdr/app_languages.php add locales ru-ru
* /resources/app_languages.php add locales ru-ru
* /app/conference_centers/app_languages.php add locales ru-ru
* call_flows
* /app/call_broadcast/app_languages.php add locales ru-ru
* /app/call_block/app_languages.php add locales ru-ru
* /app/call_block/app_languages.php add locales ru-ru
* /app/call_block/app_languages.php add locales ru-ru
* By now
* calls
* /app/call_flows/app_languages.php add locales ru-ru
* /app/system/app_languages.php add locales ru-ru
* /app/exec/app_languages.php add locales ru-ru
* /app/vars/app_menu.php add locales ru-ru
* /app/backup/app_languages.php add locales ru-ru
* /app/ring_groups/app_languages.php add locales ru-ru
* /app/calls/app_languages.php add locales ru-ru
* /app/call_centers/app_languages.php add locales ru-ru
* /app/call_broadcast/app_languages.php add locales ru-ru
* app/fax fix translate label-fax_send_channels
* /app/extensions/app_languages.php add locales ru-ru
* /app/xml_cdr/app_languages.php add locales ru-ru
* /app/ring_groups/app_languages.php add locales ru-ru
* /app/contacts/app_languages.php add locales ru-ru
* Fix default language select
* /app/contacts/app_languages.php add locales ru-ru
* Fix translations in app edit, extensions, fifo, gateways, music_on_hold, services, time_conditions, xml_cdr
* Replaced "звонки" to "вызовы" and fix sorting in menu for "Конференции"
* More replace "звонк"
* Fix translate
* app/xml_cdr replace translate for label-start_range, label-end_range
* app/xml_cdr replace translate label-destination, description_search and description-4
* Corrections
* Repalce "Порядковый номер" to "Приоритет"
* app/operator_panel replace translation label-call_group
2017-04-25 00:37:00 +02:00
$apps [ $x ][ 'description' ][ 'ru-ru' ] = " Прямые вызовы на основании времени суток. " ;
2017-09-21 17:06:26 +02:00
$apps [ $x ][ 'description' ][ 'sv-se' ] = " " ;
$apps [ $x ][ 'description' ][ 'uk-ua' ] = " " ;
2012-06-04 16:58:40 +02:00
2017-06-03 18:17:07 +02:00
//destination details
2017-02-16 07:22:57 +01:00
$y = 0 ;
2015-08-04 22:52:10 +02:00
$apps [ $x ][ 'destinations' ][ $y ][ 'type' ] = " sql " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'label' ] = " time_conditions " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'name' ] = " time_conditions " ;
2023-10-13 07:58:11 +02:00
$apps [ $x ][ 'destinations' ][ $y ][ 'sql' ] = " select dialplan_uuid as time_condition_uuid, dialplan_uuid as uuid, dialplan_name as name, dialplan_number as destination, dialplan_number as extension, dialplan_context as context, dialplan_description as description from v_dialplans " ;
2017-06-03 18:57:06 +02:00
$apps [ $x ][ 'destinations' ][ $y ][ 'where' ] = " where (domain_uuid = ' \$ { domain_uuid}' or domain_uuid is null) and app_uuid = '4b821450-926b-175a-af93-a03c441818b1' and dialplan_enabled = 'true' " ;
2023-10-19 20:02:00 +02:00
$apps [ $x ][ 'destinations' ][ $y ][ 'order_by' ] = " natural_sort(dialplan_number) asc " ;
2019-07-03 01:32:49 +02:00
$apps [ $x ][ 'destinations' ][ $y ][ 'field' ][ 'context' ] = " context " ;
2015-08-04 22:52:10 +02:00
$apps [ $x ][ 'destinations' ][ $y ][ 'field' ][ 'name' ] = " dialplan_name " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'field' ][ 'destination' ] = " dialplan_number " ;
2020-09-29 19:43:48 +02:00
$apps [ $x ][ 'destinations' ][ $y ][ 'field' ][ 'extension' ] = " dialplan_number " ;
2015-08-04 22:52:10 +02:00
$apps [ $x ][ 'destinations' ][ $y ][ 'field' ][ 'description' ] = " dialplan_description " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'select_value' ][ 'dialplan' ] = " transfer: \$ { destination} XML \$ { context} " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'select_value' ][ 'ivr' ] = " menu-exec-app:transfer \$ { destination} XML \$ { context} " ;
$apps [ $x ][ 'destinations' ][ $y ][ 'select_label' ] = " \$ { destination} \$ { name} \$ { description} " ;
2017-06-03 18:17:07 +02:00
//permission details
2017-02-16 07:22:57 +01:00
$y = 0 ;
2017-06-03 18:46:48 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " time_condition_view " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'menu' ][ 'uuid' ] = " 67aede56-8623-df2d-6338-ecfbde5825f7 " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " admin " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
2016-08-17 23:19:11 +02:00
$y ++ ;
2017-06-03 18:46:48 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " time_condition_add " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " admin " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
2016-08-17 23:19:11 +02:00
$y ++ ;
2017-06-03 18:46:48 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " time_condition_edit " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " admin " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
2016-08-17 23:19:11 +02:00
$y ++ ;
2017-06-03 18:46:48 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " time_condition_delete " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " admin " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
2016-08-17 23:19:11 +02:00
$y ++ ;
2022-01-20 23:54:42 +01:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " time_condition_all " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
$y ++ ;
2017-06-03 18:46:48 +02:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " time_condition_domain " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
2019-02-24 01:06:09 +01:00
$y ++ ;
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " time_condition_context " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
2020-01-21 17:43:19 +01:00
$y ++ ;
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = " time_condition_destinations " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " admin " ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = " superadmin " ;
2014-12-26 04:27:54 +01:00
2017-06-03 18:17:07 +02:00
//default settings
2017-02-16 07:22:57 +01:00
$y = 0 ;
2017-06-03 18:46:48 +02:00
2017-06-03 18:17:07 +02:00
//define region presets
2017-06-03 18:46:48 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " c8cbb0eb-850b-4afd-a918-cceaf8af3957 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " region " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " text " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = " usa " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " What region to use by default when choosing Time Conditions " ;
2017-01-13 08:19:51 +01:00
2017-06-03 18:17:07 +02:00
//define English holiday presets
$y ++ ;
2017-06-03 18:46:48 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " 528ec73e-03bb-4ea1-9ce1-19b81fb3f584 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_england " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
2017-06-03 18:17:07 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"new_years_day":{"mday":"1","mon":"1"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 1 " ;
2017-06-03 18:46:48 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " England Holiday " ;
2017-06-03 18:17:07 +02:00
$y ++ ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " 420b7282-2e49-4d63-9eb3-48b3b96bc184 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_england " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
2017-06-03 18:17:07 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"may_day":{"mon":"5","mday":"1-7","wday":"2"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 129 " ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " England Holiday " ;
2017-06-03 18:17:07 +02:00
$y ++ ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " c9ab6e93-63e0-4098-9290-7a721e813450 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_england " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
2017-06-03 18:17:07 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"spring_bank_holiday":{"mon":"5","mday":"25-31","wday":"2"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 146 " ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " England Holiday " ;
2017-06-03 18:17:07 +02:00
$y ++ ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " b7eac3ac-a99d-4fc8-8e3e-682a17a5b463 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_england " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
2017-06-03 18:17:07 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"august_bank_holiday":{"mon":"8","mday":"25-31","wday":"2"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 243 " ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " England Holiday " ;
2017-06-03 18:17:07 +02:00
$y ++ ;
2020-12-24 01:37:39 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " 0c29051f-d2f4-4f9c-b84c-2abca0943897 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_england " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"christmas_eve":{"mday":"24","mon":"12"}}' ;
2020-12-29 01:05:50 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 359 " ;
2020-12-24 01:37:39 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " England Holiday " ;
$y ++ ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " cde53fd6-713e-43f9-beed-3cace375de56 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_england " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
2017-06-03 18:17:07 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"christmas_day":{"mday":"25","mon":"12"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 360 " ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " England Holiday " ;
2017-06-03 18:17:07 +02:00
$y ++ ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " 3ddfd3b3-5c2e-45ef-b3ca-7f361ecc0a93 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_england " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
2017-06-03 18:17:07 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"boxing_day":{"mday":"26","mon":"12"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 361 " ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " England Holiday " ;
2020-12-24 01:37:39 +01:00
$y ++ ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " d157d293-6f8c-4350-89fd-2cee42070b3f " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_england " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"new_years_eve":{"mday":"31","mon":"12"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 366 " ;
2020-12-24 01:37:39 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " England Holiday " ;
2017-01-13 08:19:51 +01:00
2021-06-09 18:20:41 +02:00
//define USA holiday presets
2017-06-03 18:17:07 +02:00
$y ++ ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " 3df036bb-ae96-4735-96da-a32e90b51940 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_usa " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
2017-06-03 18:17:07 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"new_years_day":{"mday":"1","mon":"1"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 1 " ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " USA Holiday " ;
2017-06-03 18:17:07 +02:00
$y ++ ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " 7a12b17c-67d9-439e-98fb-70039d27cf21 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_usa " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
2017-06-03 18:17:07 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"martin_luther_king_jr_day":{"wday":"2","mon":"1","mday":"15-21"}}' ;
2020-12-29 01:00:38 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 19 " ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " USA Holiday " ;
2017-06-03 18:17:07 +02:00
$y ++ ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " 1ce5c94b-7181-4b33-92b0-2cf4a97f2fa3 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_usa " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
2017-06-03 18:17:07 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"presidents_day":{"wday":"2","mon":"2","mday":"15-21"}}' ;
2020-12-29 01:00:38 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 38 " ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " USA Holiday " ;
2017-06-03 18:17:07 +02:00
$y ++ ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " 0957bbc4-60e8-44d1-b51d-943de4ee5b2f " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_usa " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
2017-06-03 18:17:07 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"memorial_day":{"mday":"25-31","wday":"2","mon":"5"}}' ;
2020-12-29 01:00:38 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 146 " ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " USA Holiday " ;
2017-06-03 18:17:07 +02:00
$y ++ ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " 0aa94174-a339-47d6-b6ab-c264b3786074 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_usa " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
2017-06-03 18:17:07 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"independence_day":{"mday":"4","mon":"7"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 186 " ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " USA Holiday " ;
2017-06-03 18:17:07 +02:00
$y ++ ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " be512c08-029e-49a0-937d-1a62fc029609 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_usa " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
2017-06-03 18:17:07 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"labor_day":{"wday":"2","mon":"9","mday":"1-7"}}' ;
2020-12-29 01:00:38 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 251 " ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " USA Holiday " ;
2017-06-03 18:17:07 +02:00
$y ++ ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " 261a0ea4-26a3-4261-95e5-888afd221ca0 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_usa " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
2017-06-03 18:17:07 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"columbus_day":{"wday":"2","mon":"10","mday":"8-14"}}' ;
2020-12-29 01:00:38 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 281 " ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " USA Holiday " ;
2017-06-03 18:17:07 +02:00
$y ++ ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " 829d346b-b0ed-4690-8641-8ed01052e303 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_usa " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
2017-06-03 18:17:07 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"veterans_day":{"mday":"11","mon":"11"}}' ;
2020-12-29 01:00:38 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 316 " ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " USA Holiday " ;
2017-06-03 18:17:07 +02:00
$y ++ ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " c1fdfebe-3544-4b01-8a83-d0fee8e9a47a " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_usa " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
2018-05-03 20:41:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"thanksgiving_day":{"wday":"5","mon":"11","mday":"22-28"}}' ;
2020-12-29 01:00:38 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 331 " ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
2018-05-03 20:41:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " USA Holiday " ;
$y ++ ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " 2fcab411-971d-466c-bf6d-42f6bcd32ad2 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_usa " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"black_friday":{"wday":"6","mon":"11","mday":"23-29"}}' ;
2020-12-29 01:00:38 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 332 " ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " USA Holiday " ;
2017-06-03 18:17:07 +02:00
$y ++ ;
2020-12-24 01:37:39 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " d3279498-d796-4ce9-a3b7-6a4ee600e8b1 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_usa " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"christmas_eve":{"mday":"24","mon":"12"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 359 " ;
2020-12-24 01:37:39 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " USA Holiday " ;
$y ++ ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " 82e3eb39-27a4-4d70-8436-11059d3e51e7 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_usa " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
2017-06-03 18:17:07 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"christmas_day":{"mday":"25","mon":"12"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 360 " ;
2017-06-03 18:52:51 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " USA Holiday " ;
2017-06-09 00:21:47 +02:00
$y ++ ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " 106ba766-1f26-4edc-81be-e4c0dd8937b1 " ;
2020-12-24 01:37:39 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_usa " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"new_years_eve":{"mday":"31","mon":"12"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 366 " ;
2020-12-24 01:37:39 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " USA Holiday " ;
2020-12-29 01:00:38 +01:00
2021-06-09 18:20:41 +02:00
//define Canada holiday presets
$y ++ ;
2017-11-17 20:06:20 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = '340856f4-ed1d-42ec-b13b-7f37630d019a' ;
2017-06-09 00:21:47 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = 'time_conditions' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = 'preset_canada' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = 'array' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"new_years_day":{"mday":"1","mon":"1"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 1 " ;
2017-06-09 00:21:47 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = 'true' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = 'Canada Holiday' ;
$y ++ ;
2017-11-17 20:06:20 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = '74199644-5156-4e46-9069-a56413750e01' ;
2017-06-09 00:21:47 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = 'time_conditions' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = 'preset_canada' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = 'array' ;
2019-09-30 21:00:36 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"family_day":{"wday":"2","mon":"2","mday":"15-21"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 48 " ;
2017-06-09 00:21:47 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = 'true' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = 'Canada Holiday' ;
$y ++ ;
2017-11-17 20:06:20 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = '6e848fde-8543-4410-b6f5-c387dc45fc49' ;
2017-06-09 00:21:47 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = 'time_conditions' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = 'preset_canada' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = 'array' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"victoria_day":{"wday":"2","mon":"5","mday":"18-24"}}' ;
2020-12-29 01:05:50 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 139 " ;
2017-06-09 00:21:47 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = 'true' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = 'Canada Holiday' ;
$y ++ ;
2017-11-17 20:06:20 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = '49bbadb3-568d-42d8-b6b4-edc9560a054d' ;
2017-06-09 00:21:47 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = 'time_conditions' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = 'preset_canada' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = 'array' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"canada_day":{"mday":"1","mon":"7"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 183 " ;
2017-06-09 00:21:47 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = 'true' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = 'Canada Holiday' ;
$y ++ ;
2017-11-17 20:06:20 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = '39c69aa6-124c-405e-a437-b49e379a7079' ;
2017-06-09 00:21:47 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = 'time_conditions' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = 'preset_canada' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = 'array' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"bc_day":{"wday":"2","mon":"8","mday":"1-7"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 216 " ;
2017-06-09 00:21:47 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = 'true' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = 'Canada Holiday' ;
$y ++ ;
2020-12-29 01:00:38 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = '43ef3137-084a-40ea-94ed-42b68979c551' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = 'time_conditions' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = 'preset_canada' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = 'array' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"labour_day":{"wday":"2","mon":"9","mday":"1-7"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 251 " ;
2020-12-29 01:00:38 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = 'true' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = 'Canada Holiday' ;
2021-06-09 18:20:41 +02:00
$y ++ ;
2017-11-17 20:06:20 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = '2eed38e8-11c3-4477-9185-103c36ccf26d' ;
2017-06-09 00:21:47 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = 'time_conditions' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = 'preset_canada' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = 'array' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"thanksgiving_day":{"wday":"2","mon":"10","mday":"8-14"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 286 " ;
2017-06-09 00:21:47 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = 'true' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = 'Canada Holiday' ;
$y ++ ;
2017-11-17 20:06:20 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = 'c3244258-55fe-4d20-a23d-ac9e108bf38e' ;
2017-06-09 00:21:47 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = 'time_conditions' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = 'preset_canada' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = 'array' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"remembrance_day":{"mday":"11","mon":"11"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 316 " ;
2017-06-09 00:21:47 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = 'true' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = 'Canada Holiday' ;
$y ++ ;
2020-12-24 01:37:39 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " a8f39f63-436f-464c-83ce-5b845f90416e " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_canada " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"christmas_eve":{"mday":"24","mon":"12"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 359 " ;
2020-12-24 01:37:39 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = 'Canada Holiday' ;
$y ++ ;
2017-11-17 20:06:20 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = '51717873-86d2-43a2-8748-ff191b4915e7' ;
2017-06-09 00:21:47 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = 'time_conditions' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = 'preset_canada' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = 'array' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"christmas_day":{"mday":"25","mon":"12"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 360 " ;
2017-06-09 00:21:47 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = 'true' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = 'Canada Holiday' ;
$y ++ ;
2017-11-17 20:06:20 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = 'a96c087a-503c-4b7c-87af-dff24d5d39c1' ;
2017-06-09 00:21:47 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = 'time_conditions' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = 'preset_canada' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = 'array' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"boxing_day":{"mday":"26","mon":"12"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 361 " ;
2017-06-09 00:21:47 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = 'true' ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = 'Canada Holiday' ;
$y ++ ;
2020-12-24 01:37:39 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " d51cd684-f712-4537-9d5d-d4335a089cf8 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " preset_canada " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " array " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = '{"new_years_eve":{"mday":"31","mon":"12"}}' ;
2021-06-09 18:20:41 +02:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_order' ] = " 366 " ;
2020-12-24 01:37:39 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " true " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = 'Canada Holiday' ;
2017-01-13 08:19:51 +01:00
2024-05-31 01:58:05 +02:00
$y ++ ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = " c73fa4f6-aed5-49a3-8726-4c1d94847302 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = " time_conditions " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = " extension_range " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = " text " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = " 800-899 " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = " false " ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = " Set the suggested extension range(s) for time conditions " ;
2019-07-30 09:30:37 +02:00
//cache details
$apps [ $x ][ 'cache' ][ 'key' ] = " dialplan. \$ { dialplan_context} " ;
2017-06-03 18:46:48 +02:00
?>