sccp_manager/views/server.device.php
steve-lad 57bc13f782 Modify default values
Change sccpgeneral to remove inherit - now inherit default values automatically
Add default values to form groups
Revert changes informShow
Update getTableDefaults to better manage underscores with chan-sccp
Change Defaults in Install
2021-06-18 11:58:00 +02:00

25 lines
991 B
PHP

<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
?>
<form autocomplete="off" name="frm_device" id="frm_device" class="fpbx-submit" action="" method="post">
<input type="hidden" name="category" value="deviceform">
<input type="hidden" name="Submit" value="Submit">
<?php
$def_val_line = $this->getTableDefaults('sccpline');
$def_val_device = $this->getTableDefaults('sccpdevice');
echo $this->showGroup('sccp_dev_config', 1, 'sccpdevice', $def_val_device);
echo $this->showGroup('sccp_dev_group_config', 1, 'sccpline', $def_val_line);
echo $this->showGroup('sccp_dev_advconfig', 1, 'sccpdevice', $def_val_device);
echo $this->showGroup('sccp_dev_softkey', 1, 'sccpdevice', $def_val_device);
echo $this->showGroup('sccp_hotline_config', 1, 'sccpdevice', $def_val_device);
?>
</form>