Insert missing </div> at end of SL type

</div> was commented out
Change sccpdevice type to IE ( using a list suggests changes are legitimate. While true, they are not recommended, so now user must know exactly what to enter.
This commit is contained in:
steve-lad 2021-07-05 11:02:52 +02:00
parent 2809b0796e
commit a493165153
3 changed files with 15 additions and 9 deletions

View file

@ -171,7 +171,8 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
// TODO: Clean up below after debug
if (($group_name == 'sccp_general') || ($group_name == 'sccp_qos_config') ||
($group_name =='sccp_dev_config') || ($group_name =='sccp_dev_group_config') ||
($group_name =='sccp_hotline_config') || ($group_name =='sccp_dev_softkey') || ($group_name =='sccp_dev_advconfig')) {
($group_name =='sccp_hotline_config') || ($group_name =='sccp_dev_softkey') ||
($group_name =='sccp_dev_advconfig') || $group_name == 'sccp_extpath_config') {
$htmlret = load_view(__DIR__ . '/views/formShowSysDefs.php', array(
'itm' => $item,
'h_show' => $show_Header,

View file

@ -1195,13 +1195,13 @@ and open the template in the editor. Base Version before all crash :-)
<button value="pro">Provision</button>
<help>Support the use of regular-expression-based filename remapping</help>
</item>
<item type="SL" id="2">
<item type="IE" id="2">
<label>SCCP SERVER MySQL Device Table</label>
<input>
<name>devicetable</name>
<default>sccpdevice</default>
<select>sccpdevice</select>
<select>sccpdeviceconfig</select>
<class>sccp-custom</class>
</input>
<help>Device Table: This is the devicetable for your realtime configuration. Don't change this unless you know what you are doing and have made all the appropriate changes in the rest of your Asterisk config files. There are two reasonable settings for this - the sccpdevice table or the sccpdeviceconfig view. If you do not want to use the realtime database anymore, you can set this to blank. NOT RECOMMENDED.</help>
</item>
<item type="IE" id="3">

View file

@ -639,6 +639,9 @@ $thisSccpView = new class{
}
$select_opt= $dialplan_list;
break;
case 'SL':
$select_opt = array();
break;
}
if (empty($child->class)) {
$child->class = 'form-control';
@ -683,8 +686,10 @@ $thisSccpView = new class{
echo '>' . $opt_val. '</option>';
}
?> </select>
<!-- </div> --> </div>
</div></div>
</div>
</div>
</div>
</div>
<div class="row"><div class="col-md-12">
<span id="<?php echo $res_id;?>-help" class="help-block fpbx-help-block"><?php echo _($child->help);?></span>
</div></div>