Revert Settings Changes
Move changes to new version 14.2
This commit is contained in:
parent
8c4b0ce240
commit
5e7bdbe40b
|
@ -173,7 +173,7 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
|
|||
* Generate Input elements in Html Code from sccpgeneral.xml
|
||||
*/
|
||||
|
||||
public function showGroup($group_name, $show_Header, $form_prefix = 'sccp', $form_values = null, $show_inherit = true) {
|
||||
public function showGroup($group_name, $show_Header, $form_prefix = 'sccp', $form_values = null) {
|
||||
$htmlret = "";
|
||||
if (empty($form_values)) {
|
||||
$form_values = $this->sccpvalues;
|
||||
|
@ -186,8 +186,7 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
|
|||
'form_prefix' => $form_prefix,
|
||||
'fvalues' => $form_values,
|
||||
'tftp_lang' => $this->tftpLang,
|
||||
'metainfo' => $this->sccp_metainfo,
|
||||
'inherit' => $show_inherit
|
||||
'metainfo' => $this->sccp_metainfo
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
|
@ -117,7 +117,6 @@ if (!empty($device_warning)) {
|
|||
echo $this->showGroup('sccp_hw_dev_softkey', 1, 'sccp_hw', $def_val);
|
||||
// echo $this->showGroup('sccp_hw_dev_pickup', 1, 'sccp_hw', $def_val); This are line properties and does not exist!
|
||||
echo $this->showGroup('sccp_hw_dev_conference', 1, 'sccp_hw', $def_val);
|
||||
echo $this->showGroup('sccp_dev_vendor_conf', 1, 'sccp_hw', $def_val, true);
|
||||
echo $this->showGroup('sccp_hw_dev_network', 1, 'sccp_hw', $def_val);
|
||||
?>
|
||||
</form>
|
||||
|
|
|
@ -376,11 +376,6 @@ foreach ($items as $child) {
|
|||
$opt_hide .= ' data-vshow="'.$child->option_show.'" data-clshow="'.$child->option_show['class'].'" ';
|
||||
}
|
||||
foreach ($child->xpath('button') as $value) {
|
||||
if (!$inherit) {
|
||||
if ($value == 'Inherit') {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
$val_check = strtolower((string)$value[@value]);
|
||||
if ($val_check == strtolower($res_v)) {
|
||||
$val_check = " checked";
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<?php
|
||||
|
||||
echo $this->showGroup('sccp_srst', 1);
|
||||
echo $this->showGroup('sccp_dev_vendor_conf', 1,'sccp',null,false);
|
||||
echo $this->showGroup('sccp_dev_vendor_conf', 1);
|
||||
// echo $this->showGroup('sccp_dev_time',1);
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue