A lot rewrites from double-quote to single-quote, some fixes for extension handling...
[mailer.git] / inc / modules / member / what-stats.php
index 538861ba13bd71e7df16aab6729863d6a70298b9..d36e64f60cc33b4d8857c36f6723d270e8d5127d 100644 (file)
@@ -41,11 +41,11 @@ if (!defined('__SECURITY')) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
        require($INC);
 } elseif (!IS_MEMBER()) {
-       LOAD_URL("modules.php?module=index");
+       LOAD_URL('modules.php?module=index');
 }
 
 // Add description as navigation point
-ADD_DESCR("member", __FILE__);
+ADD_DESCR('member', __FILE__);
 
 // Init output
 $main_content = array();
@@ -60,7 +60,7 @@ ORDER BY timestamp DESC",
 // Are there mails left in pool?
 if (SQL_NUMROWS($result) > 0) {
        // Load all orders
-       $OUT = ""; $SW = 2;
+       $OUT = ''; $SW = 2;
        while ($data = SQL_FETCHARRAY($result)) {
                // Is the ZIP code set? If not, set dashes
                if (empty($data['zip'])) $data['zip'] =  "---";
@@ -90,7 +90,7 @@ if (SQL_NUMROWS($result) > 0) {
        $main_content['pool'] = LOAD_TEMPLATE("member_pool_table", true, $OUT);
 } else {
        // No mails in pool!
-       $main_content['pool'] = LOAD_TEMPLATE("admin_settings_saved", true, getMessage('MEMBER_NO_MAILS_IN_POOL'));
+       $main_content['pool'] = LOAD_TEMPLATE('admin_settings_saved', true, getMessage('MEMBER_NO_MAILS_IN_POOL'));
 }
 
 // Free result
@@ -106,7 +106,7 @@ ORDER BY timestamp_ordered DESC",
 
 if (SQL_NUMROWS($result) > 0) {
        // Mail orders are in pool so we can display them
-       $OUT = ""; $SW = 2;
+       $OUT = ''; $SW = 2;
        while ($data = SQL_FETCHROW($result)) {
                // Prepare data for the template
                $content = array(
@@ -131,7 +131,7 @@ if (SQL_NUMROWS($result) > 0) {
        $main_content['stats'] = LOAD_TEMPLATE("member_stats_table", true, $OUT);
 } else {
        // No mail orders fond
-       $main_content['stats'] = LOAD_TEMPLATE("admin_settings_saved", true, getMessage('MEMBER_NO_MAILS_IN_STATS'));
+       $main_content['stats'] = LOAD_TEMPLATE('admin_settings_saved', true, getMessage('MEMBER_NO_MAILS_IN_STATS'));
 }
 
 // Free result