]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_links.php
New function isDirectory() introduced, fixed GET_DIR_AS_ARRAY() (replaces scandir())
[mailer.git] / inc / modules / admin / what-list_links.php
index e3697ab279d6bdc9a5c8e5d47504585527ddec60..3fe8031108deaa70e04820e6bc83407baa79d947 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Unbestaetigte Mails eines Mitgliedes auflisten   *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision:: 856                                                    $ *
+ * $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                  *
@@ -43,7 +48,7 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 // Add description as navigation point
 ADD_DESCR("admin", __FILE__);
 
-if (!REQUEST_ISSET_GET(('del'))) REQUEST_SET_GET('del', "");
+if (!REQUEST_ISSET_GET('del')) REQUEST_SET_GET('del', "");
 
 if (REQUEST_ISSET_GET(('uid'))) {
        // Check if the user already exists
@@ -84,13 +89,16 @@ if (REQUEST_ISSET_GET(('uid'))) {
                                // Display message
                                LOAD_TEMPLATE("admin_settings_saved", false, getMessage('ADMIN_LINKS_DELETED'));
                        } else {
+                               // Init variables
+                               $OUT = ""; $SW = 2;
+
                                // List all unconfirmed mails
-                               $SW = 2; $OUT = "";
+                               // @TODO Find a way to rewrite this. See some lines above for different queries
                                while (list($id, $id2, $type) = SQL_FETCHROW($result)) {
                                        // Initializes some variables
                                        $cat = "";
                                        $DATA = "";
-                                       $PROBLEM = GENERAL_MAIL_PROBLEM;
+                                       $PROBLEM = getMessage('GENERAL_MAIL_PROBLEM');
                                        $result_data = false; // Closes Bug #58
 
                                        // Load data from stats table...