]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_home.php
A lot has been rewritten, ext-teams added, ext-forced continued:
[mailer.git] / inc / modules / admin / what-config_home.php
index cda95994d6a4da33433e5ddf8fac15196d69537a..fb80c90ea2e4b215092daaac0b7793c8780bbeba 100644 (file)
@@ -6,9 +6,9 @@
  * -------------------------------------------------------------------- *
  * File              : what-config_home.php                             *
  * -------------------------------------------------------------------- *
- * Short description : Set "home" page                                  *
+ * Short description : Set 'home' page                                  *
  * -------------------------------------------------------------------- *
- * Kurzbeschreibung  : "Home"-Seite festlegen                           *
+ * Kurzbeschreibung  : 'home'-Seite festlegen                           *
  * -------------------------------------------------------------------- *
  * $Revision::                                                        $ *
  * $Date::                                                            $ *
@@ -66,7 +66,7 @@ switch ($sub) {
                        $content['cookie_selection'] = createConfigurationTimeSelections('index_cookie', 'YMWD');
 
                        // Output form
-                       loadTemplate('admin_config_home_settings', false, $content);
+                       loadTemplate('admin_config_home', false, $content);
                }
                break;
 
@@ -78,7 +78,9 @@ switch ($sub) {
 
                // Load all what menu points
                $result = SQL_QUERY("SELECT
-       `id`, `what`, `title`
+       `id`,
+       `what`,
+       `title`
 FROM
        `{?_MYSQL_PREFIX?}_guest_menu`
 WHERE
@@ -94,7 +96,7 @@ ORDER BY
 
                // Process all entries
                while ($content = SQL_FETCHARRAY($result)) {
-                       // Link for setting 'what' as new "home"
+                       // Link for setting 'what' as new 'home'
                        $newHomeLink = '<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?
@@ -108,14 +110,14 @@ ORDER BY
                        $content['link'] = $newHomeLink;
 
                        // Load row template
-                       $OUT .= loadTemplate('admin_config_home_row', true, $content);
+                       $OUT .= loadTemplate('admin_list_home_row', true, $content);
                } // END - while
 
                // Free memory
                SQL_FREERESULT($result);
 
                // Load template
-               loadTemplate('admin_config_home', false, $OUT);
+               loadTemplate('admin_list_home', false, $OUT);
                break;
 
        default: // Output selection table