]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_home.php
Documentation updated
[mailer.git] / inc / modules / admin / what-config_home.php
index 3a1af21e8508d5ced8929f330a9a4b29f717aefd..df9f65ae4acba36708e14e192e64cf3b850d13eb 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : "Home"-Seite festlegen                           *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
 
 // Some security stuff...
 if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 }
 
 // Add description as navigation point
-ADD_DESCR("admin", __FILE__);
+ADD_DESCR('admin', __FILE__);
 
-// Init "sub" value
-$sub = "";
-if (REQUEST_ISSET_GET(('sub'))) $sub = REQUEST_GET('sub');
+// Init 'sub' value
+$sub = '';
+if (REQUEST_ISSET_GET('sub')) $sub = REQUEST_GET('sub');
 
 switch ($sub)
 {
@@ -53,8 +58,8 @@ case "settings": // Settings related to the index page
                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, "");
-               $content[getConfig('index_delay')] = " selected=\"selected\"";
+               $content = array_fill(-1, 60, '');
+               $content[getConfig('index_delay')] = ' selected="selected"';
 
                define('__INDEX_COOKIE_SELECTION', CREATE_TIME_SELECTIONS(getConfig('index_cookie'), "index_cookie", "YMWD"));
                LOAD_TEMPLATE("admin_config_home_settings", false, $content);
@@ -75,7 +80,7 @@ ORDER BY `sort` ASC", __FILE__, __LINE__);
 
        // Init variables
        $SW = 2;
-       $OUT = "";
+       $OUT = '';
 
        // Process all entries
        while ($content = SQL_FETCHARRAY($result)) {