Update Sccp_manager.class.php
Move SccpInfo to first tab leaving General as default
This commit is contained in:
parent
7d641e3b2d
commit
13778ce657
|
@ -270,6 +270,10 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
|
||||||
$action = !empty($request['action']) ? $request['action'] : '';
|
$action = !empty($request['action']) ? $request['action'] : '';
|
||||||
|
|
||||||
$this->pagedata = array(
|
$this->pagedata = array(
|
||||||
|
"sccpinfo" => array(
|
||||||
|
"name" => _("SCCP info"),
|
||||||
|
"page" => 'views/server.info.php'
|
||||||
|
),
|
||||||
"general" => array(
|
"general" => array(
|
||||||
"name" => _("General SCCP Settings"),
|
"name" => _("General SCCP Settings"),
|
||||||
"page" => 'views/server.setting.php'
|
"page" => 'views/server.setting.php'
|
||||||
|
@ -281,10 +285,6 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
|
||||||
"sccpurl" => array(
|
"sccpurl" => array(
|
||||||
"name" => _("SCCP Device URL"),
|
"name" => _("SCCP Device URL"),
|
||||||
"page" => 'views/server.url.php'
|
"page" => 'views/server.url.php'
|
||||||
),
|
|
||||||
"sccpinfo" => array(
|
|
||||||
"name" => _("SCCP info"),
|
|
||||||
"page" => 'views/server.info.php'
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
if (isset($this->sccpvalues['displayconfig']['data']) && ($this->sccpvalues['displayconfig']['data'] != 'sccpsimple')) {
|
if (isset($this->sccpvalues['displayconfig']['data']) && ($this->sccpvalues['displayconfig']['data'] != 'sccpsimple')) {
|
||||||
|
|
Loading…
Reference in a new issue