]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_notifications.php
AJAX installation is 'basicly finished' :) Plus I threw in a small christmas present...
[mailer.git] / inc / modules / admin / what-list_notifications.php
index 43672bbde8b7765649331b78ad440c1d48cfe78b..51020c6906bbf97c9b0176b1a8a87dc9d83e5d8a 100644 (file)
@@ -16,8 +16,8 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * For more information visit: http://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 *
@@ -45,7 +45,7 @@ addYouAreHereLink('admin', __FILE__);
 
 // Init variables
 $SQL2 = '';
-$result_max = false;
+$result_max = FALSE;
 
 // Set offset an current page to default values
 if (!isGetRequestElementSet('page'))   setGetRequestElement('page'  , 1);
@@ -54,8 +54,8 @@ if (!isGetRequestElementSet('offset')) setGetRequestElement('offset', getMailsPa
 if (isExtensionActive('bonus')) {
        // Bonus mails sent by you
        $SQL2 = "SELECT
-       `id`,`subject`,`text`,`receivers`,`points`,`time`,`data_type`,`timestamp`,`url`,`cat_id`,`target_send`,
-       `mails_sent`,`clicks`, (`mails_sent` - `clicks`) AS `unconfirmed`
+       `id`, `subject`, `text`, `receivers`, `points`, `time`, `data_type`, `timestamp`, `url`, `cat_id`, `target_send`,
+       `mails_sent`, `clicks`, (`mails_sent` - `clicks`) AS `unconfirmed`
 FROM
        `{?_MYSQL_PREFIX?}_bonus`
 WHERE
@@ -95,17 +95,17 @@ if ((isExtensionActive('bonus')) && (!SQL_HASZERONUMS($result_max)) && (!empty($
                        $content['timestamp']   = generateDateTime($content['timestamp'], 0);
 
                        // Load row template
-                       $OUT .= loadTemplate('admin_list_notify_emails_row', true, $content);
+                       $OUT .= loadTemplate('admin_list_notify_emails_row', TRUE, $content);
                } // END - if
 
                // Add navigation (without change box but with colspan=3)
-               $content['nav'] = addEmailNavigation($numPages, getMailsPage(), false, 3, true);
+               $content['nav'] = addEmailNavigation($numPages, getMailsPage(), FALSE, 3, TRUE);
 
                // Prepare content
                $content['rows'] = $OUT;
 
                // Load main template
-               loadTemplate('admin_list_notify_emails', false, $content);
+               loadTemplate('admin_list_notify_emails', FALSE, $content);
        }
 } elseif ((SQL_NUMROWS($result_max) === 0) && (is_resource($result_max))) {
        // No notifications found