Update Sccp_manager.class.php

Move SccpInfo to first tab leaving General as default
This commit is contained in:
steve-lad 2021-06-02 16:39:02 +02:00
parent 7d641e3b2d
commit 13778ce657

View file

@ -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')) {