win32 to unix line delimiters changed
[mailer.git] / 0.2.1 / inc / modules / admin / what-overview.php
index a402abd8f222240f5a5642db935a35614a44faf2..6b79b23c47220e5caaa6c71c3053b7cee1667179 100644 (file)
@@ -1,89 +1,89 @@
-<?php\r
-/************************************************************************\r
- * MXChange v0.2.1                                    Start: 09/05/2003 *\r
- * ===============                              Last change: 07/13/2004 *\r
- *                                                                      *\r
- * -------------------------------------------------------------------- *\r
- * File              : what-overview.php                                *\r
- * -------------------------------------------------------------------- *\r
- * Short description : Generate menu's description overview             *\r
- * -------------------------------------------------------------------- *\r
- * Kurzbeschreibung  : Men�beschreibungs�bersicht generieren            *\r
- * -------------------------------------------------------------------- *\r
- *                                                                      *\r
- * -------------------------------------------------------------------- *\r
- * Copyright (c) 2003 - 2008 by Roland Haeder                           *\r
- * For more information visit: http://www.mxchange.org                  *\r
- *                                                                      *\r
- * This program is free software; you can redistribute it and/or modify *\r
- * it under the terms of the GNU General Public License as published by *\r
- * the Free Software Foundation; either version 2 of the License, or    *\r
- * (at your option) any later version.                                  *\r
- *                                                                      *\r
- * This program is distributed in the hope that it will be useful,      *\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of       *\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        *\r
- * GNU General Public License for more details.                         *\r
- *                                                                      *\r
- * You should have received a copy of the GNU General Public License    *\r
- * along with this program; if not, write to the Free Software          *\r
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,               *\r
- * MA  02110-1301  USA                                                  *\r
- ************************************************************************/\r
-\r
-// Some security stuff...\r
-if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN())) {\r
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
-       require($INC);\r
-}\r
-\r
-// Add description as navigation point\r
-ADD_DESCR("admin", basename(__FILE__));\r
-\r
-// Otherwise load include file 'overview-inc' (old standard overview page)\r
-require_once(PATH."inc/modules/admin/overview-inc.php");\r
-\r
-$JOBS_DONE = true;\r
-// When the admin is logging in check several things first (new jobs to complete and so on)\r
-if ($GLOBALS['action'] == "login")\r
-{\r
-       if (EXT_IS_ACTIVE("task"))\r
-       {\r
-               // When task extension is registered output advanced overview page\r
-               $JOBS_DONE = OUTPUT_ADVANCED_OVERVIEW($result_tasks); // This function is provided by the extension 'task'\r
-       }\r
-        else\r
-       {\r
-               // Output standart overview (provided by overview-inc.php)\r
-               $JOBS_DONE = OUTPUT_STANDARD_OVERVIEW($result_tasks);\r
-       }\r
-}\r
-// Do we have new jobs or not?\r
-if ($JOBS_DONE)\r
-{\r
-       // Generate overview of all main menus\r
-       global $menuDesription, $FATAL;\r
-       if ((is_array($menuDesription)) && (sizeof($menuDesription) > 0)) {\r
-               $OUT = "";\r
-               foreach ($menuDesription as $key=>$value)\r
-               {\r
-                       // Prepare content\r
-                       $content = array(\r
-                               'title' => $MTITLE[$key],\r
-                               'text'  => $value\r
-                       );\r
-\r
-                       // Load row template\r
-                       $OUT .= LOAD_TEMPLATE("admin_menu_hints_row", true, $content);\r
-               }\r
-\r
-               // Load base template\r
-               LOAD_TEMPLATE("admin_menu_hints", false, $OUT);\r
-       }\r
-} elseif (!EXT_IS_ACTIVE("task")) {\r
-       // List selected tasks on overview when task management is not active\r
-       OUTPUT_SELECTED_TASKS($_POST, $result_tasks);\r
-}\r
-\r
-//\r
-?>\r
+<?php
+/************************************************************************
+ * MXChange v0.2.1                                    Start: 09/05/2003 *
+ * ===============                              Last change: 07/13/2004 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : what-overview.php                                *
+ * -------------------------------------------------------------------- *
+ * Short description : Generate menu's description overview             *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Men�beschreibungs�bersicht generieren            *
+ * -------------------------------------------------------------------- *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2008 by Roland Haeder                           *
+ * For more information visit: http://www.mxchange.org                  *
+ *                                                                      *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or    *
+ * (at your option) any later version.                                  *
+ *                                                                      *
+ * This program is distributed in the hope that it will be useful,      *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of       *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        *
+ * GNU General Public License for more details.                         *
+ *                                                                      *
+ * You should have received a copy of the GNU General Public License    *
+ * along with this program; if not, write to the Free Software          *
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,               *
+ * MA  02110-1301  USA                                                  *
+ ************************************************************************/
+
+// Some security stuff...
+if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN())) {
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       require($INC);
+}
+
+// Add description as navigation point
+ADD_DESCR("admin", basename(__FILE__));
+
+// Otherwise load include file 'overview-inc' (old standard overview page)
+require_once(PATH."inc/modules/admin/overview-inc.php");
+
+$JOBS_DONE = true;
+// When the admin is logging in check several things first (new jobs to complete and so on)
+if ($GLOBALS['action'] == "login")
+{
+       if (EXT_IS_ACTIVE("task"))
+       {
+               // When task extension is registered output advanced overview page
+               $JOBS_DONE = OUTPUT_ADVANCED_OVERVIEW($result_tasks); // This function is provided by the extension 'task'
+       }
+        else
+       {
+               // Output standart overview (provided by overview-inc.php)
+               $JOBS_DONE = OUTPUT_STANDARD_OVERVIEW($result_tasks);
+       }
+}
+// Do we have new jobs or not?
+if ($JOBS_DONE)
+{
+       // Generate overview of all main menus
+       global $menuDesription, $FATAL;
+       if ((is_array($menuDesription)) && (sizeof($menuDesription) > 0)) {
+               $OUT = "";
+               foreach ($menuDesription as $key=>$value)
+               {
+                       // Prepare content
+                       $content = array(
+                               'title' => $MTITLE[$key],
+                               'text'  => $value
+                       );
+
+                       // Load row template
+                       $OUT .= LOAD_TEMPLATE("admin_menu_hints_row", true, $content);
+               }
+
+               // Load base template
+               LOAD_TEMPLATE("admin_menu_hints", false, $OUT);
+       }
+} elseif (!EXT_IS_ACTIVE("task")) {
+       // List selected tasks on overview when task management is not active
+       OUTPUT_SELECTED_TASKS($_POST, $result_tasks);
+}
+
+//
+?>