X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_transfer.php;h=6dbbe871e5bf473a380c13efa98cb4b3e05b35a0;hb=bfbf712685680761babfd9ea059a224a4aa244bf;hp=4a4a926b89b3239e6ab19deb499062ac506cbcb5;hpb=75ad748a68473ace540251427a74fb781b1145e9;p=mailer.git diff --git a/inc/modules/admin/what-list_transfer.php b/inc/modules/admin/what-list_transfer.php index 4a4a926b89..6dbbe871e5 100644 --- a/inc/modules/admin/what-list_transfer.php +++ b/inc/modules/admin/what-list_transfer.php @@ -32,18 +32,17 @@ ************************************************************************/ // Some security stuff... -if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']) || (!IS_ADMIN())) -{ +if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']) || (!IS_ADMIN())) { $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; require($INC); } // Add description as navigation point -ADD_DESCR("admin", basename(__FILE__)); +ADD_DESCR("admin", __FILE__); // We only need outgoing transfers $result = SQL_QUERY("SELECT userid, to_uid, trans_id, points, reason, time_trans FROM "._MYSQL_PREFIX."_user_transfers_out ORDER BY trans_id", __FILE__, __LINE__); -$total = "0"; +$total = 0; if (SQL_NUMROWS($result) > 0) { // Output rows @@ -72,11 +71,11 @@ if (SQL_NUMROWS($result) > 0) else { // Nothing for in and out - $OUT = " - + $OUT = " + ".LOAD_TEMPLATE("admin_settings_saved", true, TRANSFER_NO_INOUT_TRANSFERS)." - -"; + +"; } // ... and add them to a constant for the template