From d0a0df4e88beb1c6dc578d6b42b0169899cf476b Mon Sep 17 00:00:00 2001 From: laf Date: Sat, 16 May 2015 14:06:48 +0100 Subject: [PATCH] More updates to dynconfig + alert settings --- html/pages/settings.inc.php | 35 +++++++++++++++++++++++++--- html/pages/settings/alerting.inc.php | 21 +++++++++++++++++ 2 files changed, 53 insertions(+), 3 deletions(-) create mode 100644 html/pages/settings/alerting.inc.php diff --git a/html/pages/settings.inc.php b/html/pages/settings.inc.php index 1b38e87cf..85c69e96e 100644 --- a/html/pages/settings.inc.php +++ b/html/pages/settings.inc.php @@ -23,6 +23,35 @@ * @subpackage Page */ +if (isset($vars['sub'])) { + + if (file_exists(mres($vars['sub']))) { + require_once "pages/settings/".mres($vars['sub']).".inc.php"; + } else { + print_error("This settings page doesn't exist, please go to the main settings page"); + } + +} else { + +?> + +
+
+ +
+ +
+ +
+
+ + diff --git a/html/pages/settings/alerting.inc.php b/html/pages/settings/alerting.inc.php new file mode 100644 index 000000000..06647581c --- /dev/null +++ b/html/pages/settings/alerting.inc.php @@ -0,0 +1,21 @@ + + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. Please see LICENSE.txt at the top level of + * the source code distribution for details. + */ + +?> + +
+
+