win32 to unix line delimiters changed
[mailer.git] / 0.2.1 / inc / modules / admin / what-autopurge.php
index 25984d3af96433136bf23107210aef0394eb8596..4d129d45e8a998290caa705b526fa507081de7cb 100644 (file)
@@ -1,68 +1,68 @@
-<?php\r
-/************************************************************************\r
- * MXChange v0.2.1                                    Start: 06/25/2004 *\r
- * ================                             Last change: 06/25/2004 *\r
- *                                                                      *\r
- * -------------------------------------------------------------------- *\r
- * File              : what-autopurge.php                               *\r
- * -------------------------------------------------------------------- *\r
- * Short description : AutoPurge configuration                          *\r
- * -------------------------------------------------------------------- *\r
- * Kurzbeschreibung  : AutoPurge-Konfiguration                          *\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
-{\r
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
-       require($INC);\r
-}\r
-// Add description as navigation point\r
-ADD_DESCR("admin", basename(__FILE__));\r
-\r
-if (isset($_POST['ok']))\r
-{\r
-       // Data was submitted so we store it\r
-}\r
- else\r
-{\r
-       // Setup constants for the template\r
-       switch ($CONFIG['ap_inactive'])\r
-       {\r
-               case "Y": define('__YES_IN', " checked"); define('__NO_IN', "");         break;\r
-               case "N": define('__YES_IN', "");         define('__NO_IN', " checked"); break;\r
-       }\r
-       switch ($CONFIG['ap_unconfirmed'])\r
-       {\r
-               case "Y": define('__YES_UN', " checked"); define('__NO_UN', "");         break;\r
-               case "N": define('__YES_UN', "");         define('__NO_UN', " checked"); break;\r
-       }\r
-       define('__AP_IN_SINCE', $CONFIG['ap_in_since']);\r
-       define('__AP_IN_TIME' , $CONFIG['ap_in_time']);\r
-       define('__AP_UN_TIME' , $CONFIG['ap_un_time']);\r
-\r
-       // Output template\r
-       LOAD_TEMPLATE("admin_config_autopurge");\r
-}\r
-//\r
-?>\r
+<?php
+/************************************************************************
+ * MXChange v0.2.1                                    Start: 06/25/2004 *
+ * ================                             Last change: 06/25/2004 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : what-autopurge.php                               *
+ * -------------------------------------------------------------------- *
+ * Short description : AutoPurge configuration                          *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : AutoPurge-Konfiguration                          *
+ * -------------------------------------------------------------------- *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * 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__));
+
+if (isset($_POST['ok']))
+{
+       // Data was submitted so we store it
+}
+ else
+{
+       // Setup constants for the template
+       switch ($CONFIG['ap_inactive'])
+       {
+               case "Y": define('__YES_IN', " checked"); define('__NO_IN', "");         break;
+               case "N": define('__YES_IN', "");         define('__NO_IN', " checked"); break;
+       }
+       switch ($CONFIG['ap_unconfirmed'])
+       {
+               case "Y": define('__YES_UN', " checked"); define('__NO_UN', "");         break;
+               case "N": define('__YES_UN', "");         define('__NO_UN', " checked"); break;
+       }
+       define('__AP_IN_SINCE', $CONFIG['ap_in_since']);
+       define('__AP_IN_TIME' , $CONFIG['ap_in_time']);
+       define('__AP_UN_TIME' , $CONFIG['ap_un_time']);
+
+       // Output template
+       LOAD_TEMPLATE("admin_config_autopurge");
+}
+//
+?>