mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Add suggested extension ranges (#6871)
This commit is contained in:
@@ -393,6 +393,15 @@
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = 'Canada Holiday';
|
||||
|
||||
$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";
|
||||
|
||||
//cache details
|
||||
$apps[$x]['cache']['key'] = "dialplan.\${dialplan_context}";
|
||||
|
||||
|
||||
@@ -998,7 +998,7 @@ echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$text['label-extension']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='dialplan_number' id='dialplan_number' maxlength='255' value=\"".escape($dialplan_number ?? null)."\">\n";
|
||||
echo " <input class='formfld' type='text' name='dialplan_number' id='dialplan_number' maxlength='255' value=\"".escape($dialplan_number ?? null)."\" required='required' placeholder='".$_SESSION['time_conditions']['extension_range']['text'] ?? ''."'>\n";
|
||||
echo " <br />\n";
|
||||
echo " ".$text['description-extension']."<br />\n";
|
||||
echo "</td>\n";
|
||||
|
||||
Reference in New Issue
Block a user