(re)Align Defaults and Default values with chan-sccp
Ensure all defaults use same vales as chan-sccp (partial revert of earlier changes) Initialise UsingSysDefaults Clarify html
This commit is contained in:
parent
7dc4438ad8
commit
dd9888e55e
|
@ -1057,14 +1057,12 @@ function sleep(milliseconds)
|
||||||
}
|
}
|
||||||
|
|
||||||
$(".sccp-restore").click(function() {
|
$(".sccp-restore").click(function() {
|
||||||
//input is sent by data-for where for as an attribute
|
//input is sent by data-for where for is an attribute
|
||||||
var id = $(this).data("for"), input = $("#" + id), radId = id + "_";
|
var id = $(this).data("for"), input = $("#" + id);
|
||||||
var edit_style = document.getElementById("edit_" + id).style;
|
var edit_style = document.getElementById("edit_" + id).style;
|
||||||
if ($(this).data("type") === 'radio') {
|
if ($(this).data("type") === 'radio') {
|
||||||
input = document.getElementsByName(id);
|
input = document.getElementsByName(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(input);
|
|
||||||
if (input.length === 0) {
|
if (input.length === 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -1109,8 +1107,6 @@ $(".sccp-edit").click(function() {
|
||||||
if ($(this).data("type") === 'radio') {
|
if ($(this).data("type") === 'radio') {
|
||||||
input = document.getElementsByName(id);
|
input = document.getElementsByName(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(input);
|
|
||||||
if (input.length === 0) {
|
if (input.length === 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -1121,10 +1117,8 @@ $(".sccp-edit").click(function() {
|
||||||
// Security - attribute should not exist.
|
// Security - attribute should not exist.
|
||||||
input.forEach(
|
input.forEach(
|
||||||
function(radioElement) {
|
function(radioElement) {
|
||||||
if (radioElement.hasAttribute('disabled')) {
|
|
||||||
radioElement.removeAttribute('disabled');
|
radioElement.removeAttribute('disabled');
|
||||||
}
|
}
|
||||||
}
|
|
||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -338,22 +338,7 @@ and open the template in the editor. Base Version before all crash :-)
|
||||||
</input>
|
</input>
|
||||||
<help>Call Waiting Tone: The tone played when a call is waiting. If you set this one to '0', you will not get a tone in your current call if a new call comes in, so you might want to disable call waiting for this line instead.</help>
|
<help>Call Waiting Tone: The tone played when a call is waiting. If you set this one to '0', you will not get a tone in your current call if a new call comes in, so you might want to disable call waiting for this line instead.</help>
|
||||||
</item>
|
</item>
|
||||||
<item type="IS" id="8">
|
|
||||||
<name>echocancel</name>
|
|
||||||
<label>Echo Cancel</label>
|
|
||||||
<default>off</default>
|
|
||||||
<button value="yes">On</button>
|
|
||||||
<button value="no">Off</button>
|
|
||||||
<help>Echo Cancel: Echo Cancellation (On or Off).</help>
|
|
||||||
</item>
|
|
||||||
<item type="IS" id="9">
|
|
||||||
<name>silencesuppression</name>
|
|
||||||
<label>Silence Suppression</label>
|
|
||||||
<default>off</default>
|
|
||||||
<button value="on">On</button>
|
|
||||||
<button value="off">Off</button>
|
|
||||||
<help>Silence Suppression: Slience Suppression on the phone.</help>
|
|
||||||
</item>
|
|
||||||
<item type="IS" id="10">
|
<item type="IS" id="10">
|
||||||
<name>private</name>
|
<name>private</name>
|
||||||
<label>Private Calling</label>
|
<label>Private Calling</label>
|
||||||
|
@ -406,9 +391,9 @@ and open the template in the editor. Base Version before all crash :-)
|
||||||
<item type="IS" id="4" seq="0">
|
<item type="IS" id="4" seq="0">
|
||||||
<name>directrtp</name>
|
<name>directrtp</name>
|
||||||
<label>Direct RTP</label>
|
<label>Direct RTP</label>
|
||||||
<default>off</default>
|
<default></default>
|
||||||
<button value="on">On</button>
|
<button value="yes">Yes</button>
|
||||||
<button value="off">Off</button>
|
<button value="no">NO</button>
|
||||||
<help>This option set global allow devices to do direct RTP sessions (default Off)</help>
|
<help>This option set global allow devices to do direct RTP sessions (default Off)</help>
|
||||||
</item>
|
</item>
|
||||||
<item type="IS" id="5" seq="0">
|
<item type="IS" id="5" seq="0">
|
||||||
|
@ -447,24 +432,24 @@ and open the template in the editor. Base Version before all crash :-)
|
||||||
<name>cfwdall</name>
|
<name>cfwdall</name>
|
||||||
<label>Call Forward</label>
|
<label>Call Forward</label>
|
||||||
<default>off</default>
|
<default>off</default>
|
||||||
<button value="on">On</button>
|
<button value="yes">Yes</button>
|
||||||
<button value="off">Off</button>
|
<button value="no">No</button>
|
||||||
<help>Activate the callforward softkeys. Default is On</help>
|
<help>Activate the callforward softkeys. Default is On</help>
|
||||||
</item>
|
</item>
|
||||||
<item type="IS" id="3" seq="0">
|
<item type="IS" id="3" seq="0">
|
||||||
<name>cfwdbusy</name>
|
<name>cfwdbusy</name>
|
||||||
<label>Call Forward busy</label>
|
<label>Call Forward busy</label>
|
||||||
<default>off</default>
|
<default>off</default>
|
||||||
<button value="on">On</button>Call Forward
|
<button value="yes">Yes</button>Call Forward
|
||||||
<button value="off">Off</button>
|
<button value="no">No</button>
|
||||||
<help>Activate the callforward busy softkeys. Default is On</help>
|
<help>Activate the callforward busy softkeys. Default is On</help>
|
||||||
</item>
|
</item>
|
||||||
<item type="IS" id="3" seq="0">
|
<item type="IS" id="3" seq="0">
|
||||||
<name>cfwdnoanswer</name>
|
<name>cfwdnoanswer</name>
|
||||||
<label>Call Forward NOANSWER</label>
|
<label>Call Forward NOANSWER</label>
|
||||||
<default>off</default>
|
<default>off</default>
|
||||||
<button value="on">On</button>
|
<button value="yes">Yes</button>
|
||||||
<button value="off">Off</button>
|
<button value="no">No</button>
|
||||||
<help>Activate the callforward NOANSWER stuff and softkeys. Default is On</help>
|
<help>Activate the callforward NOANSWER stuff and softkeys. Default is On</help>
|
||||||
</item>
|
</item>
|
||||||
<item type="IS" id="5" seq="0">
|
<item type="IS" id="5" seq="0">
|
||||||
|
@ -995,8 +980,8 @@ and open the template in the editor. Base Version before all crash :-)
|
||||||
<name>hotline_enabled</name>
|
<name>hotline_enabled</name>
|
||||||
<label>Hotline</label>
|
<label>Hotline</label>
|
||||||
<default>off</default>
|
<default>off</default>
|
||||||
<button value="on">Enabled</button>
|
<button value="no">No</button>
|
||||||
<button value="off">Disabled</button>
|
<button value="yes">Yes</button>
|
||||||
<help>Hotline Enabled: This allows unregistered extensions to connect to the system and dial the number listed below.</help>
|
<help>Hotline Enabled: This allows unregistered extensions to connect to the system and dial the number listed below.</help>
|
||||||
</item>
|
</item>
|
||||||
<item type="IE" id="2">
|
<item type="IE" id="2">
|
||||||
|
@ -1142,6 +1127,22 @@ and open the template in the editor. Base Version before all crash :-)
|
||||||
<button value="2">Disabled</button>
|
<button value="2">Disabled</button>
|
||||||
<help>Show numbers you can redial, but also include their current device state, so you know when they are currently busy. Note that the other phonebook entries will now also monitor the remove device state and show the current device state</help>
|
<help>Show numbers you can redial, but also include their current device state, so you know when they are currently busy. Note that the other phonebook entries will now also monitor the remove device state and show the current device state</help>
|
||||||
</item>
|
</item>
|
||||||
|
<item type="IS" id="8">
|
||||||
|
<name>echocancel</name>
|
||||||
|
<label>Echo Cancel</label>
|
||||||
|
<default>off</default>
|
||||||
|
<button value="yes">Yes</button>
|
||||||
|
<button value="no">No</button>
|
||||||
|
<help>Echo Cancel: Echo Cancellation (On or Off).</help>
|
||||||
|
</item>
|
||||||
|
<item type="IS" id="9">
|
||||||
|
<name>silencesuppression</name>
|
||||||
|
<label>Silence Suppression</label>
|
||||||
|
<default>off</default>
|
||||||
|
<button value="yes">Yes</button>
|
||||||
|
<button value="no">No</button>
|
||||||
|
<help>Silence Suppression: Slience Suppression on the phone.</help>
|
||||||
|
</item>
|
||||||
<item type="SLM" id="6">
|
<item type="SLM" id="6">
|
||||||
<label>Music On Hold Class</label>
|
<label>Music On Hold Class</label>
|
||||||
<name>musicclass</name>
|
<name>musicclass</name>
|
||||||
|
@ -1399,24 +1400,24 @@ and open the template in the editor. Base Version before all crash :-)
|
||||||
<name>cfwdall</name>
|
<name>cfwdall</name>
|
||||||
<label>Call Forward</label>
|
<label>Call Forward</label>
|
||||||
<default>off</default>
|
<default>off</default>
|
||||||
<button value="on">On</button>
|
<button value="yes">Yes</button>
|
||||||
<button value="off">Off</button>
|
<button value="No">No</button>
|
||||||
<help>Activate the callforward softkeys. Default is On</help>
|
<help>Activate the callforward softkeys. Default is On</help>
|
||||||
</item>
|
</item>
|
||||||
<item type="IS" id="3" seq="99">
|
<item type="IS" id="3" seq="99">
|
||||||
<name>cfwdbusy</name>
|
<name>cfwdbusy</name>
|
||||||
<label>Call Forward busy</label>
|
<label>Call Forward busy</label>
|
||||||
<default>off</default>
|
<default>off</default>
|
||||||
<button value="on">On</button>
|
<button value="yes">Yes</button>
|
||||||
<button value="off">Off</button>
|
<button value="no">No</button>
|
||||||
<help>Activate the callforward busy softkeys. Default is On</help>
|
<help>Activate the callforward busy softkeys. Default is On</help>
|
||||||
</item>
|
</item>
|
||||||
<item type="IS" id="3" seq="0">
|
<item type="IS" id="3" seq="0">
|
||||||
<name>cfwdnoanswer</name>
|
<name>cfwdnoanswer</name>
|
||||||
<label>Call Forward NOANSWER</label>
|
<label>Call Forward NOANSWER</label>
|
||||||
<default>on</default>
|
<default>on</default>
|
||||||
<button value="on">On</button>
|
<button value="yes">Yes</button>
|
||||||
<button value="off">Off</button>
|
<button value="no">No</button>
|
||||||
<help>Activate the callforward NOANSWER stuff and softkeys. Default is On</help>
|
<help>Activate the callforward NOANSWER stuff and softkeys. Default is On</help>
|
||||||
</item>
|
</item>
|
||||||
<item type="IS" id="5" seq="99">
|
<item type="IS" id="5" seq="99">
|
||||||
|
@ -1621,10 +1622,10 @@ and open the template in the editor. Base Version before all crash :-)
|
||||||
<item type="IS" id="4" seq="99">
|
<item type="IS" id="4" seq="99">
|
||||||
<name>directrtp</name>
|
<name>directrtp</name>
|
||||||
<label>Direct RTP</label>
|
<label>Direct RTP</label>
|
||||||
<default>off</default>
|
<default></default>
|
||||||
<button- value="off">Auto</button->
|
<button- value="off">Auto</button->
|
||||||
<button value="off">Off</button>
|
<button value="no">NO</button>
|
||||||
<button value="on">On</button>
|
<button value="Yes">Yes</button>
|
||||||
<help>This option allow devices to do direct RTP sessions (default Off)</help>
|
<help>This option allow devices to do direct RTP sessions (default Off)</help>
|
||||||
</item>
|
</item>
|
||||||
<item type="IS" id="5" seq="99">
|
<item type="IS" id="5" seq="99">
|
||||||
|
|
18
install.php
18
install.php
|
@ -115,11 +115,11 @@ function Get_DB_config($sccp_compatible)
|
||||||
'backgroundImage' => array('create' => 'VARCHAR(255) NULL DEFAULT NULL', 'modify' => "VARCHAR(255)"),
|
'backgroundImage' => array('create' => 'VARCHAR(255) NULL DEFAULT NULL', 'modify' => "VARCHAR(255)"),
|
||||||
'ringtone' => array('create' => 'VARCHAR(255) NULL DEFAULT NULL', 'modify' => "VARCHAR(255)"),
|
'ringtone' => array('create' => 'VARCHAR(255) NULL DEFAULT NULL', 'modify' => "VARCHAR(255)"),
|
||||||
'transfer' => array('create' => "enum('on','off') NOT NULL default 'off'", 'modify' => "enum('on','off')"),
|
'transfer' => array('create' => "enum('on','off') NOT NULL default 'off'", 'modify' => "enum('on','off')"),
|
||||||
'cfwdall' => array('create' => "enum('on','off') NOT NULL default 'on'", 'modify' => "enum('on','off')"),
|
'cfwdall' => array('create' => "enum('yes','no') NOT NULL default 'yes'", 'modify' => "enum('yes','no')"),
|
||||||
'cfwdbusy' => array('create' => "enum('on','off') NOT NULL default 'on'", 'modify' => "enum('on','off')"),
|
'cfwdbusy' => array('create' => "enum('yes','no') NOT NULL default 'yes'", 'modify' => "enum('yes','no')"),
|
||||||
'cfwdnoanswer' => array('create' => "enum('on','off') NOT NULL default 'on'", 'modify' => "enum('on','off')"),
|
'cfwdnoanswer' => array('create' => "enum('yes','no') NOT NULL default 'yes'", 'modify' => "enum('yes','no')"),
|
||||||
'park' => array('create' => "enum('on','off') NOT NULL default 'on'", 'modify' => "enum('on','off')"),
|
'park' => array('create' => "enum('on','off') NOT NULL default 'on'", 'modify' => "enum('on','off')"),
|
||||||
'directrtp' => array('create' => "enum('on','off') NOT NULL default 'off'", 'modify' => "enum('on','off')"),
|
'directrtp' => array('create' => "enum('no','yes') NOT NULL default 'no'", 'modify' => "enum('no','yes')"),
|
||||||
'dndFeature' => array('create' => "enum('on','off') NOT NULL default 'off'", 'modify' => "enum('on','off')"),
|
'dndFeature' => array('create' => "enum('on','off') NOT NULL default 'off'", 'modify' => "enum('on','off')"),
|
||||||
'earlyrtp' => array('create' => "ENUM('immediate','offHook','dialing','ringout','progress','none') NOT NULL default 'none'",
|
'earlyrtp' => array('create' => "ENUM('immediate','offHook','dialing','ringout','progress','none') NOT NULL default 'none'",
|
||||||
'modify' => "ENUM('immediate','offHook','dialing','ringout','progress','none')"),
|
'modify' => "ENUM('immediate','offHook','dialing','ringout','progress','none')"),
|
||||||
|
@ -172,7 +172,7 @@ function Get_DB_config($sccp_compatible)
|
||||||
'allow' => array('create' => "VARCHAR(255) NULL DEFAULT NULL"),
|
'allow' => array('create' => "VARCHAR(255) NULL DEFAULT NULL"),
|
||||||
'id' => array('create' => 'MEDIUMINT(9) NOT NULL AUTO_INCREMENT, ADD UNIQUE(id);', 'modify' => "MEDIUMINT(9)", 'index' => 'id'),
|
'id' => array('create' => 'MEDIUMINT(9) NOT NULL AUTO_INCREMENT, ADD UNIQUE(id);', 'modify' => "MEDIUMINT(9)", 'index' => 'id'),
|
||||||
'echocancel' => array('create' => "enum('yes','no') NOT NULL default 'yes'", 'modify' => "enum('yes','no')"),
|
'echocancel' => array('create' => "enum('yes','no') NOT NULL default 'yes'", 'modify' => "enum('yes','no')"),
|
||||||
'silencesuppression' => array('create' => "enum('on','off') NOT NULL default 'off'", 'modify' => "enum('on','off')"),
|
'silencesuppression' => array('create' => "enum('yes','no') NOT NULL default 'no'", 'modify' => "enum('yes','no')"),
|
||||||
'dnd' => array('create' => "enum('off','reject','silent','user') NOT NULL default 'reject'", 'modify' => "enum('off','reject','silent','user')", 'def_modify' => "reject")
|
'dnd' => array('create' => "enum('off','reject','silent','user') NOT NULL default 'reject'", 'modify' => "enum('off','reject','silent','user')", 'def_modify' => "reject")
|
||||||
),
|
),
|
||||||
'sccpuser' => array(
|
'sccpuser' => array(
|
||||||
|
@ -198,7 +198,7 @@ function Get_DB_config($sccp_compatible)
|
||||||
'sccpdevice' => array(
|
'sccpdevice' => array(
|
||||||
'pickupexten' => array('drop' => "yes"),
|
'pickupexten' => array('drop' => "yes"),
|
||||||
'directed_pickup' => array('drop' => "yes"),
|
'directed_pickup' => array('drop' => "yes"),
|
||||||
'cfwdnoanswer' => array('create' => "enum('on','off') NULL default 'on'", 'modify' => "enum('on','off')"),
|
'cfwdnoanswer' => array('create' => "enum('yes','no') NULL default 'yes'", 'modify' => "enum('yes','no')"),
|
||||||
'park' => array('create' => "enum('on','off') NULL default 'on'", 'modify' => "enum('on','off')"),
|
'park' => array('create' => "enum('on','off') NULL default 'on'", 'modify' => "enum('on','off')"),
|
||||||
'monitor' => array('create' => "enum('on','off') NULL default NULL", 'modify' => "enum('on','off')"),
|
'monitor' => array('create' => "enum('on','off') NULL default NULL", 'modify' => "enum('on','off')"),
|
||||||
'_description' => array('rename' => "description"),
|
'_description' => array('rename' => "description"),
|
||||||
|
@ -239,10 +239,6 @@ function Get_DB_config($sccp_compatible)
|
||||||
'_enablelldpswport' => array('create' => "enum('on','off') NOT NULL default 'off'", 'modify' => "enum('on','off')"),
|
'_enablelldpswport' => array('create' => "enum('on','off') NOT NULL default 'off'", 'modify' => "enum('on','off')"),
|
||||||
'_enablelldppcport' => array('create' => "enum('on','off') NOT NULL default 'off'", 'modify' => "enum('on','off')"),
|
'_enablelldppcport' => array('create' => "enum('on','off') NOT NULL default 'off'", 'modify' => "enum('on','off')"),
|
||||||
'_simulate_enbloc' => array( 'create' => "enum('on','off') NOT NULL default 'on'", 'modify' => "enum('on','off')"),
|
'_simulate_enbloc' => array( 'create' => "enum('on','off') NOT NULL default 'on'", 'modify' => "enum('on','off')"),
|
||||||
'_hotline_enabled' => array( 'create' => "enum('on','off') NOT NULL default 'on'", 'modify' => "enum('on','off')"),
|
|
||||||
'_hotline_extension' => array( 'create' => "VARCHAR(20) NULL default '*60'", 'modify' => "VARCHAR(20)"),
|
|
||||||
'_hotline_label' => array( 'create' => "VARCHAR(20) NULL default 'hotline'", 'modify' => "VARCHAR(20)"),
|
|
||||||
'_hotline_context' => array( 'create' => "VARCHAR(20) NULL default 'default'", 'modify' => "VARCHAR(20)"),
|
|
||||||
'_firstdigittimeout' => array('create' => "VARCHAR(20) NULL default null", 'modify' => "VARCHAR(20)"),
|
'_firstdigittimeout' => array('create' => "VARCHAR(20) NULL default null", 'modify' => "VARCHAR(20)"),
|
||||||
'_digittimeout' => array('create' => "VARCHAR(20) NULL default null", 'modify' => "VARCHAR(20)"),
|
'_digittimeout' => array('create' => "VARCHAR(20) NULL default null", 'modify' => "VARCHAR(20)"),
|
||||||
'_cfwdnoanswer_timeout' => array('create' => "VARCHAR(20) NULL default null", 'modify' => "VARCHAR(20)"),
|
'_cfwdnoanswer_timeout' => array('create' => "VARCHAR(20) NULL default null", 'modify' => "VARCHAR(20)"),
|
||||||
|
@ -253,8 +249,6 @@ function Get_DB_config($sccp_compatible)
|
||||||
'_callwaiting_tone' => array('create' => "VARCHAR(20) NULL default null", 'modify' => "VARCHAR(20)"),
|
'_callwaiting_tone' => array('create' => "VARCHAR(20) NULL default null", 'modify' => "VARCHAR(20)"),
|
||||||
'_callanswerorder' => array('create' => "enum('oldestfirst','latestfirst') NOT NULL default 'latestfirst'",
|
'_callanswerorder' => array('create' => "enum('oldestfirst','latestfirst') NOT NULL default 'latestfirst'",
|
||||||
'modify' => "enum('oldestfirst','latestfirst')"),
|
'modify' => "enum('oldestfirst','latestfirst')"),
|
||||||
'_echocancel' => array('create' => "enum('yes','no') NOT NULL default 'yes'", 'modify' => "enum('yes','no')"),
|
|
||||||
'_silencesuppression' => array('create' => "VARCHAR(20) NULL default null", 'modify' => "VARCHAR(20)"),
|
|
||||||
'_sccp_tos' => array('create' => "VARCHAR(11) NOT NULL default '0x68'", 'modify' => "VARCHAR(11)"),
|
'_sccp_tos' => array('create' => "VARCHAR(11) NOT NULL default '0x68'", 'modify' => "VARCHAR(11)"),
|
||||||
'_sccp_cos' => array('create' => "VARCHAR(11) NOT NULL default '0x4'", 'modify' => "VARCHAR(11)"),
|
'_sccp_cos' => array('create' => "VARCHAR(11) NOT NULL default '0x4'", 'modify' => "VARCHAR(11)"),
|
||||||
'_dev_sshPassword' => array('create' => "VARCHAR(25) NOT NULL default 'cisco'"),
|
'_dev_sshPassword' => array('create' => "VARCHAR(25) NOT NULL default 'cisco'"),
|
||||||
|
|
|
@ -396,6 +396,7 @@ foreach ($items as $child) {
|
||||||
$res_n = (string)$child->name;
|
$res_n = (string)$child->name;
|
||||||
$res_id = $npref.$res_n;
|
$res_id = $npref.$res_n;
|
||||||
$res_ext = str_replace($npref,'',$res_n);
|
$res_ext = str_replace($npref,'',$res_n);
|
||||||
|
$usingSysDefaults = true;
|
||||||
if (!empty($metainfo[$res_n])) {
|
if (!empty($metainfo[$res_n])) {
|
||||||
if ($child->meta_help == '1' || $child->help == 'Help!') {
|
if ($child->meta_help == '1' || $child->help == 'Help!') {
|
||||||
$child->help = $metaInfo[$res_n];
|
$child->help = $metaInfo[$res_n];
|
||||||
|
@ -444,7 +445,8 @@ foreach ($items as $child) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Output current value
|
// Output current value
|
||||||
echo $res_v;
|
// TODO: This is debug code and needs to be set to only echo res_v
|
||||||
|
echo $res_v . $res_n . $sccp_defaults[$res_n]['systemdefault'] . $usingSysDefaults;
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
|
@ -527,7 +529,7 @@ foreach ($items as $child) {
|
||||||
} else {$val_check = "";}
|
} else {$val_check = "";}
|
||||||
}
|
}
|
||||||
echo "<input type=radio name= {$res_id} id=${res_id}_{$i} value={$value[@value]} {$val_check}{$opt_hide}>";
|
echo "<input type=radio name= {$res_id} id=${res_id}_{$i} value={$value[@value]} {$val_check}{$opt_hide}>";
|
||||||
echo '<label for="' . $res_id. '_' . $i . '">' . _($value) . '</label>';
|
echo "<label for= {$res_id}_{$i}>{$value}</label>";
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -28,5 +28,6 @@
|
||||||
echo $this->showGroup('sccp_dev_advconfig', 1);
|
echo $this->showGroup('sccp_dev_advconfig', 1);
|
||||||
echo $this->showGroup('sccp_dev_softkey', 1);
|
echo $this->showGroup('sccp_dev_softkey', 1);
|
||||||
echo $this->showGroup('sccp_hotline_config', 1);
|
echo $this->showGroup('sccp_hotline_config', 1);
|
||||||
|
echo $this->showGroup('sccp_qos_config', 1, 'sccpdevice', $def_val_device);
|
||||||
?>
|
?>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
echo $this->showGroup('sccp_dev_time_s', 1);
|
echo $this->showGroup('sccp_dev_time_s', 1);
|
||||||
echo $this->showGroup('sccp_net', 1);
|
echo $this->showGroup('sccp_net', 1);
|
||||||
echo $this->showGroup('sccp_lang', 1);
|
echo $this->showGroup('sccp_lang', 1);
|
||||||
echo $this->showGroup('sccp_qos_config', 1, 'sccpdevice', $def_val_device);
|
|
||||||
echo $this->showGroup('sccp_extpath_config', 1);
|
echo $this->showGroup('sccp_extpath_config', 1);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue