diff --git a/Sccp_manager.class.php b/Sccp_manager.class.php
index ffe6572..2dcb4d1 100644
--- a/Sccp_manager.class.php
+++ b/Sccp_manager.class.php
@@ -169,7 +169,7 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
if ((array) $this->xml_data) {
foreach ($this->xml_data->xpath('//page_group[@name="' . $group_name . '"]') as $item) {
// TODO: Clean up below after debug
- if (($group_name == 'sccp_general') || ($group_name == 'sccp_qos_config')) {
+ if (($group_name == 'sccp_general') || ($group_name == 'sccp_qos_config') || ($group_name =='sccp_dev_config')) {
$htmlret = load_view(__DIR__ . '/views/formShowSysDefs.php', array(
'itm' => $item,
'h_show' => $show_Header,
diff --git a/views/formShowSysDefs.php b/views/formShowSysDefs.php
index 915d134..9c5da6b 100644
--- a/views/formShowSysDefs.php
+++ b/views/formShowSysDefs.php
@@ -103,12 +103,10 @@ foreach ($items as $child) {
if (!empty($child ->class)) {
$res_sec_class = (string)$child ->class;
}
-
if (empty($child->nameseparator)) {
$child->nameseparator = ' / ';
}
$i = 0;
-
echo '';
?>
@@ -125,12 +123,12 @@ foreach ($items as $child) {
$res_n = (string)$value->name;
$res_name = $npref . $res_n;
//if (!empty($fvalues[$res_n])) {
- //if (!empty($fvalues[$res_n]['data'])) {
+ if (!empty($fvalues[$res_n]['data'])) {
if (!empty($sccp_defaults[$res_n]['systemdefault']) && ($sccp_defaults[$res_n]['systemdefault'] != $fvalues[$res_n]['data'])) {
$usingSysDefaults = false;
}
$value->value = $fvalues[$res_n]['data'];
- //}
+ }
//}
// Default to chan-sccp defaults, not xml defaults.
//if (empty($value->value)) {
@@ -145,6 +143,7 @@ foreach ($items as $child) {
if ($i > 0) {
echo $child->nameseparator;
}
+ // Output current value
echo $value->value;
$i ++;
}
@@ -175,6 +174,7 @@ foreach ($items as $child) {
echo ($usingSysDefaults) ? "Customise" : "Use chan-sccp defaults";
?>
+
@@ -368,7 +368,6 @@ foreach ($items as $child) {
$i++;
}
?>
-
addbutton)) {
@@ -399,7 +398,8 @@ foreach ($items as $child) {
$child->help = $metaInfo[$res_n];
}
}
- // --- Add Hidden option
+
+ // --- Add Hidden option
$res_sec_class ='';
if (!empty($child ->class)) {
$res_sec_class = (string)$child ->class;
@@ -411,10 +411,73 @@ foreach ($items as $child) {
+
-
+