From 063556f898fd26483d735ee5f3e3097ac9819497 Mon Sep 17 00:00:00 2001 From: steve-lad <72376554+steve-lad@users.noreply.github.com> Date: Mon, 28 Jun 2021 16:39:32 +0200 Subject: [PATCH] Prepare siteDefaults Page First pass with input array structure --- Sccp_manager.class.php | 4 ++ views/siteDefaults.php | 83 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 views/siteDefaults.php diff --git a/Sccp_manager.class.php b/Sccp_manager.class.php index e53bd13..f7156a0 100644 --- a/Sccp_manager.class.php +++ b/Sccp_manager.class.php @@ -198,6 +198,10 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO { $action = !empty($request['action']) ? $request['action'] : ''; $this->pagedata = array( + "siteConfig" => array( + 'name' => _('Site Default Values'), + 'page' => 'views/siteDefaults.php' + ), "general" => array( "name" => _("General SCCP Settings"), "page" => 'views/server.setting.php' diff --git a/views/siteDefaults.php b/views/siteDefaults.php new file mode 100644 index 0000000..ba24177 --- /dev/null +++ b/views/siteDefaults.php @@ -0,0 +1,83 @@ + + array('title' => 'First Block of Defaults', + 'items' => array('item1' => array('code' => 'This is the value to edit', 'title' => 'variable1')))); +?> + +
+
+
+
+
+ +
+
+

+
+ If they are changed, they will not be updated by future changes in chan-sccp "?> +
+ + + $data) { ?> +
+

+
+
+ + +
+
+
+
+ + + + +
+
+ required pattern="[0-9A-D\*#]*"> +
+
+ + > + + + + > + + +
+
+
+
+
+ +
+
+
+ +
+
+ + +
+
+
+
+
+
+