]> 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 ff50839192804d83acc383366ac5b080735efe03..60a7b8fb406392e4dbe9f218ebc9433b57fa334c 100644 (file)
@@ -55,7 +55,7 @@ switch ($sub)
                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')) {