]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-mediadata.php
More rewrites, and output-mode fixed (we should documentate this)
[mailer.git] / inc / modules / guest / what-mediadata.php
index 258509fb8a60587a83d27d5070735dc729979fe4..1cac00d558a770ea834e606962652fd21c334ba2 100644 (file)
@@ -61,7 +61,7 @@ $content['user_locked']      = round(countSumTotalData('LOCKED'     , 'user_data
 $content['user_count']       = ($content['user_confirmed'] + $content['user_unconfirmed'] + $content['user_locked']);
 
 // Start of this exchange
-$content['mt_start'] = generateDateTime(getConfig('mt_start'), '3');
+$content['mt_start'] = generateDateTime(getConfig('mt_start'), 3);
 
 // Project timestamp when number of members are reached
 $PROJECTED = 0;
@@ -74,7 +74,7 @@ if ($content['user_count'] > 0) {
 $TEST = makeTime(0, 0, 0, $PROJECTED);
 
 if ($TEST > time()) {
-       $content['projected'] = generateDateTime($PROJECTED, '3');
+       $content['projected'] = generateDateTime($PROJECTED, 3);
 } else {
        $content['projected'] = getMessage('USER_PROJECTION_UNKNOWN');
 }
@@ -198,7 +198,7 @@ if (isExtensionActive('doubler')) {
        $data = array(
                'lang'  => getMessage('MEDIA_DOUBLER_COUNT'),
                'value' => countSumTotalData('Y','doubler','id','completed', true, " AND `points` > 0"),
-               'rows'  => '4'
+               'rows'  => 4
        );
 
        // Add points
@@ -275,7 +275,7 @@ ON t.userid=d.userid",
        $data = array(
                'lang'  => getMessage('MEDIA_TRANSFER_IN_COUNT'),
                'value' => $count_in,
-               'rows'  => '4'
+               'rows'  => 4
        );
        $OUT_SPECIAL .= loadTemplate('mediadata_extra_row2', true, $data);
        $data = array(
@@ -304,7 +304,7 @@ $content['rowspan_points'] = $ROWS_POINTS;
 $content['rowspan_user']   = $ROWS_USER;
 
 // Patch timespamp
-$contentp['patch_ctime'] = generateDateTime(getConfig('patch_ctime'), '2');
+$contentp['patch_ctime'] = generateDateTime(getConfig('patch_ctime'), 2);
 
 // Load template
 loadTemplate('mediadata', false, $content);