]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-logout.php
Editing of bank packages added (updating records not finished!)
[mailer.git] / inc / modules / admin / action-logout.php
index 1fefc2a0aff9a099cea42160e48e89fc29ecb510..56272aba32f6a787bf906a2992397ca83cf0cd51 100644 (file)
@@ -40,20 +40,15 @@ if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))
 
 // Add description as navigation point
 ADD_DESCR("admin", basename(__FILE__));
-OUTPUT_HTML("</FONT><BR><BR>");
+OUTPUT_HTML("</FONT><br /><br />");
 
-if (!empty($_POST['no']))
-{
+if (!empty($_POST['no'])) {
        // Do not logout now
-       LOAD_URL(URL."/modules.php?module=admin");
-}
- elseif ((!empty($_POST['yes'])) && ($GLOBALS['action'] == "logout"))
-{
+       LOAD_URL("modules.php?module=admin");
+} elseif ((!empty($_POST['yes'])) && ($GLOBALS['action'] == "logout")) {
        // Redirect to logout link
-       LOAD_URL(URL."/modules.php?module=admin&amp;logout=1");
-}
- else
-{
+       LOAD_URL("modules.php?module=admin&amp;logout=1");
+} else {
        // Load logout form template
        LOAD_TEMPLATE("admin_logout_form");
 }