X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=0.2.1%2Finc%2Fmodules%2Fadmin%2Fwhat-list_transfer.php;h=4a4a926b89b3239e6ab19deb499062ac506cbcb5;hp=a27a8c40d4183a48e1d3207b268848a83a3730f2;hb=7bc25dd08431c94ce9edca131d56c1a36b13c28a;hpb=157ee010917df5ca07e6d31b42f67417b2516d74
diff --git a/0.2.1/inc/modules/admin/what-list_transfer.php b/0.2.1/inc/modules/admin/what-list_transfer.php
index a27a8c40d4..4a4a926b89 100644
--- a/0.2.1/inc/modules/admin/what-list_transfer.php
+++ b/0.2.1/inc/modules/admin/what-list_transfer.php
@@ -1,101 +1,101 @@
- 0)
-{
- // Output rows
- $OUT = ""; $SW = 2;
- while(list($uid1, $uid2, $idx, $points, $reason, $stamp) = SQL_FETCHROW($result))
- {
- // Prepare data for the row template
- $content = array(
- 'sw' => $SW,
- 'idx' => $idx,
- 'stamp' => MAKE_DATETIME($stamp, "3"),
- 'from_link' => ADMIN_USER_PROFILE_LINK($uid1),
- 'to_link' => ADMIN_USER_PROFILE_LINK($uid2),
- 'reason' => wordwrap($reason, 15),
- 'points' => TRANSLATE_COMMA($points),
- );
-
- // Load row template add points and switch color
- $OUT .= LOAD_TEMPLATE("admin_list_transfer_row", true, $content);
- $total += $points; $SW = 3 - $SW;
- }
-
- // Free memory
- SQL_FREERESULT($result);
-}
- else
-{
- // Nothing for in and out
- $OUT = "
-
- ".LOAD_TEMPLATE("admin_settings_saved", true, TRANSFER_NO_INOUT_TRANSFERS)."
- |
-
";
-}
-
-// ... and add them to a constant for the template
-define('__TRANSFER_ROWS', $OUT);
-
-// Remeber total amount
-define('__TRANSFER_TOTAL_VALUE', TRANSLATE_COMMA($total));
-
-// Set title
-define('__TRANSFER_TITLE', TRANSFER_LIST_ALL);
-
-// Set "balance" word
-define('__TRANSFER_SUM', TRANSFER_TOTAL_BALANCE);
-
-// Don't show a delete button
-define('__TRANSFER_DELETE', " ");
-
-// Load final template
-LOAD_TEMPLATE("admin_list_transfer");
-
-//
-?>
+ 0)
+{
+ // Output rows
+ $OUT = ""; $SW = 2;
+ while(list($uid1, $uid2, $idx, $points, $reason, $stamp) = SQL_FETCHROW($result))
+ {
+ // Prepare data for the row template
+ $content = array(
+ 'sw' => $SW,
+ 'idx' => $idx,
+ 'stamp' => MAKE_DATETIME($stamp, "3"),
+ 'from_link' => ADMIN_USER_PROFILE_LINK($uid1),
+ 'to_link' => ADMIN_USER_PROFILE_LINK($uid2),
+ 'reason' => wordwrap($reason, 15),
+ 'points' => TRANSLATE_COMMA($points),
+ );
+
+ // Load row template add points and switch color
+ $OUT .= LOAD_TEMPLATE("admin_list_transfer_row", true, $content);
+ $total += $points; $SW = 3 - $SW;
+ }
+
+ // Free memory
+ SQL_FREERESULT($result);
+}
+ else
+{
+ // Nothing for in and out
+ $OUT = "
+
+ ".LOAD_TEMPLATE("admin_settings_saved", true, TRANSFER_NO_INOUT_TRANSFERS)."
+ |
+
";
+}
+
+// ... and add them to a constant for the template
+define('__TRANSFER_ROWS', $OUT);
+
+// Remeber total amount
+define('__TRANSFER_TOTAL_VALUE', TRANSLATE_COMMA($total));
+
+// Set title
+define('__TRANSFER_TITLE', TRANSFER_LIST_ALL);
+
+// Set "balance" word
+define('__TRANSFER_SUM', TRANSFER_TOTAL_BALANCE);
+
+// Don't show a delete button
+define('__TRANSFER_DELETE', " ");
+
+// Load final template
+LOAD_TEMPLATE("admin_list_transfer");
+
+//
+?>