]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-unconfirmed.php
More rewrites, and output-mode fixed (we should documentate this)
[mailer.git] / inc / modules / member / what-unconfirmed.php
index 6f9e35d92cae3d9076f7fc578bbe65ac2768a157..100c4b027c28a989d198b2a345aed92ecc190cea 100644 (file)
@@ -60,7 +60,7 @@ WHERE `id`=%s LIMIT 1",
        $content = SQL_FETCHARRAY($result_data);
 
        // Translate some data
-       $content['timestamp'] = generateDateTime($content['timestamp'], '2');
+       $content['timestamp'] = generateDateTime($content['timestamp'], 2);
        $content['category']  = getCategory($content['cat_id']);
        $content['points']    = translateComma($content['points']);
        $content['is_notify'] = translateYesNo($content['is_notify']);
@@ -70,7 +70,7 @@ WHERE `id`=%s LIMIT 1",
 
        // Get timestamp from insert
        $content['user_status'] = sprintf(getMessage('MEMBER_MAIL_BONUS_CONFIRMED_ON'),
-       generateDateTime(getTimestampFromUserStats('bonusid', $content['id']), '2')
+       generateDateTime(getTimestampFromUserStats('bonusid', $content['id']), 2)
        );
 
        // Display it depending on mail (data) type
@@ -93,7 +93,7 @@ WHERE s.id=%s LIMIT 1",
        $content = SQL_FETCHARRAY($result_data);
 
        // Translate some data
-       $content['timestamp'] = generateDateTime($content['timestamp'], '2');
+       $content['timestamp'] = generateDateTime($content['timestamp'], 2);
        $content['category']  = getCategory($content['cat_id']);
        $content['points']    = translateComma($content['points']);
        $content['time']      = createFancyTime($content['time']);
@@ -101,7 +101,7 @@ WHERE s.id=%s LIMIT 1",
 
        // Get timestamp from insert
        $content['user_status'] = sprintf(getMessage('MEMBER_MAIL_NORMAL_CONFIRMED_ON'),
-       generateDateTime(getTimestampFromUserStats('mailid', $content['id']), '2')
+       generateDateTime(getTimestampFromUserStats('mailid', $content['id']), 2)
        );
 
        // Display it depending on mail (data) type
@@ -188,7 +188,7 @@ LIMIT 1",
                                'type'    => $type,
                                'subject' => $subject,
                                'sender'  => $sender,
-                               'stamp'   => generateDateTime($timestamp, '2'),
+                               'stamp'   => generateDateTime($timestamp, 2),
                                'cat'     => getCategory($cat),
                                'points'  => translateComma($pay),
                        );