mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2026-06-01 13:46:46 -04:00
Add functionality to services in backend.
- Add functionallity to categorize a one or more services under one service group. Partial fix for #7 and #90. (Frontend code to be done) - Add description field to service to be displayed as a help text on front page. Partial fix for #51 (Frontend code to be done)
This commit is contained in:
+11
-1
@@ -36,7 +36,7 @@ else{
|
||||
define("PHP_MAILER_USER", $db->getSetting($mysqli, "php_mailer_user"));
|
||||
define("PHP_MAILER_PASS", $db->getSetting($mysqli, "php_mailer_pass"));
|
||||
define("CRON_SERVER_IP", $db->getSetting($mysqli, "cron_server_ip"));
|
||||
|
||||
|
||||
// Process the subscriber notification queue
|
||||
// If CRON_SERVER_IP is not set, call notification once incident has been saved
|
||||
if ( empty(CRON_SERVER_IP) )
|
||||
@@ -110,6 +110,16 @@ else{
|
||||
require_once("new-user.php");
|
||||
break;
|
||||
|
||||
case 'new-service':
|
||||
case 'edit-service':
|
||||
require_once('service.php');
|
||||
break;
|
||||
|
||||
case 'new-service-group':
|
||||
case 'edit-service-group':
|
||||
require_once('service-group.php');
|
||||
break;
|
||||
|
||||
case 'options':
|
||||
require_once("options.php");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user