]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_home.php
Several more constants rewritten to getConfig()
[mailer.git] / inc / modules / admin / what-config_home.php
index 294d0ffff0740fdb1664448379780867c4c78814..60a7b8fb406392e4dbe9f218ebc9433b57fa334c 100644 (file)
@@ -52,10 +52,10 @@ if (REQUEST_ISSET_GET('sub')) $sub = REQUEST_GET('sub');
 switch ($sub)
 {
        case "settings": // Settings related to the index page
-               if (IS_FORM_SENT()) {
+               if (isFormSent()) {
                        // Save settings
                        ADMIN_SAVE_SETTINGS_POST();
-                       OUTPUT_HTML("<a href=\"{!URL!}/modules.php?module=admin&amp;what=config_home&amp;sub=settings\">{--ADMIN_CONTINUE_TO_CONFIG--}</a>");
+                       OUTPUT_HTML("<a href=\"{?URL?}/modules.php?module=admin&amp;what=config_home&amp;sub=settings\">{--ADMIN_CONTINUE_TO_CONFIG--}</a>");
                } else {
                        // Prepare data for the template
                        $content = array_fill(-1, 60, '');
@@ -85,7 +85,7 @@ ORDER BY `sort` ASC", __FILE__, __LINE__);
                // Process all entries
                while ($content = SQL_FETCHARRAY($result)) {
                        // Link for setting 'what' as new "home"
-                       $LINK = "<a href=\"{!URL!}/modules.php?module=admin&amp;what=config_home&amp;sub=target&amp;home=".$content['what']."\">{--_IS_NEW_HOME--}</a>";
+                       $LINK = "<a href=\"{?URL?}/modules.php?module=admin&amp;what=config_home&amp;sub=target&amp;home=".$content['what']."\">{--_IS_NEW_HOME--}</a>";
 
                        // Is this current home?
                        if ($content['what'] == getConfig('index_home')) {