mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-08 04:33:49 +00:00
Add IVR menu-back (#5307)
* Update app_config.php * Update app_languages.php * Update ivr_menu_edit.php
This commit is contained in:
@@ -67,6 +67,10 @@
|
||||
$apps[$x]['destinations'][$y]['result']['data'][$z]['name'] = 'menu-top';
|
||||
$apps[$x]['destinations'][$y]['result']['data'][$z]['application'] = 'menu-top';
|
||||
$z++;
|
||||
$apps[$x]['destinations'][$y]['result']['data'][$z]['label'] = 'back';
|
||||
$apps[$x]['destinations'][$y]['result']['data'][$z]['label'] = 'back';
|
||||
$apps[$x]['destinations'][$y]['result']['data'][$z]['name'] = 'menu-back';
|
||||
$z++;
|
||||
$apps[$x]['destinations'][$y]['result']['data'][$z]['label'] = 'exit';
|
||||
$apps[$x]['destinations'][$y]['result']['data'][$z]['name'] = 'menu-exit';
|
||||
//menu-say-phrase
|
||||
|
||||
@@ -169,6 +169,27 @@ $text['option-top']['ru-ru'] = "";
|
||||
$text['option-top']['sv-se'] = "";
|
||||
$text['option-top']['uk-ua'] = "";
|
||||
|
||||
$text['option-back']['en-us'] = "Back";
|
||||
$text['option-back']['en-gb'] = "Back";
|
||||
$text['option-back']['ar-eg'] = "";
|
||||
$text['option-back']['de-at'] = ""; //copied from de-de
|
||||
$text['option-back']['de-ch'] = ""; //copied from de-de
|
||||
$text['option-back']['de-de'] = "";
|
||||
$text['option-back']['es-cl'] = "";
|
||||
$text['option-back']['es-mx'] = ""; //copied from es-cl
|
||||
$text['option-back']['fr-ca'] = ""; //copied from fr-fr
|
||||
$text['option-back']['fr-fr'] = "";
|
||||
$text['option-back']['he-il'] = "";
|
||||
$text['option-back']['it-it'] = "";
|
||||
$text['option-back']['nl-nl'] = "";
|
||||
$text['option-back']['pl-pl'] = "";
|
||||
$text['option-back']['pt-br'] = ""; //copied from pt-pt
|
||||
$text['option-back']['pt-pt'] = "";
|
||||
$text['option-back']['ro-ro'] = "";
|
||||
$text['option-back']['ru-ru'] = "";
|
||||
$text['option-back']['sv-se'] = "";
|
||||
$text['option-back']['uk-ua'] = "";
|
||||
|
||||
$text['message-maximum_ivr_menus']['en-us'] = "Maximum IVR Menus:";
|
||||
$text['message-maximum_ivr_menus']['en-gb'] = "Maximum IVR Menus:";
|
||||
$text['message-maximum_ivr_menus']['ar-eg'] = "";
|
||||
|
||||
@@ -393,6 +393,7 @@
|
||||
$cache = new cache;
|
||||
$cache->delete("dialplan:".$_SESSION["context"]);
|
||||
$cache->delete("configuration:ivr.conf:".$ivr_menu_uuid);
|
||||
$cache->delete("configuration:ivr.conf:".$ivr_menu_parent_uuid);
|
||||
|
||||
//set the add message
|
||||
if ($action == "add" && permission_exists('ivr_menu_add')) {
|
||||
|
||||
Reference in New Issue
Block a user