diff --git a/app/settings/setting_edit.php b/app/settings/setting_edit.php index 7cf53ef055..05a6e281fd 100644 --- a/app/settings/setting_edit.php +++ b/app/settings/setting_edit.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2018 + Portions created by the Initial Developer are Copyright (C) 2008-2020 the Initial Developer. All Rights Reserved. Contributor(s): @@ -26,7 +26,7 @@ */ //includes - include "root.php"; + require_once "root.php"; require_once "resources/require.php"; require_once "resources/check_auth.php"; @@ -178,29 +178,30 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { require_once "resources/header.php"; //show the content - echo "
\n"; - echo "\n"; + echo "\n"; + + echo "
\n"; + echo "
"; + if ($action == "add") { + echo "".$text['title-settings_add'].""; + } + else if ($action == "update") { + echo "".$text['title-settings_update'].""; + } + echo "
\n"; + echo "
\n"; + echo button::create(['type'=>'submit','label'=>$text['button-save'],'icon'=>$_SESSION['theme']['button_icon_save'],'collapse'=>'never']); + echo "
\n"; + echo "
\n"; + echo "
\n"; + echo "\n"; echo "\n"; - if ($action == "add") { - echo "\n"; - } - else if ($action == "update") { - echo "\n"; - } - echo "\n"; - echo "\n"; - - echo "\n"; - echo "\n"; - echo "\n"; echo "\n"; - if (permission_exists('setting_edit')) { - echo " \n"; - echo " \n"; - echo " "; - } + echo "
".$text['title-settings_add']."

".$text['title-settings_update']."

"; - if (permission_exists('setting_edit')) { - echo " \n"; - } - echo "

\n"; + echo "\n"; echo " ".$text['label-event_socket_ip']."\n"; echo "\n"; + echo "\n"; echo " \n"; echo "
\n"; echo $text['description-event_socket_ip']."\n"; @@ -337,19 +338,14 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo $text['description-mod_shout_volume']."\n"; echo "
\n"; - echo "
"; - echo " \n"; - echo "
"; echo "

"; + + echo "\n"; echo "
"; //show the footer require_once "resources/footer.php"; -?> +?> \ No newline at end of file