]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_transfer.php
More HTML tags ported to XHTML (all lower-case), bug #33 resolved
[mailer.git] / inc / modules / admin / what-list_transfer.php
index 4a4a926b89b3239e6ab19deb499062ac506cbcb5..6dbbe871e5bf473a380c13efa98cb4b3e05b35a0 100644 (file)
  ************************************************************************/
 
 // 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 = "<TR>
-  <TD colspan=\"6\" align=\"center\" class=\"bottom2\" height=\"70\">
+       $OUT = "<tr>
+  <td colspan=\"6\" align=\"center\" class=\"bottom2\" height=\"70\">
     ".LOAD_TEMPLATE("admin_settings_saved", true, TRANSFER_NO_INOUT_TRANSFERS)."
-  </TD>
-</TR>";
+  </td>
+</tr>";
 }
 
 // ... and add them to a constant for the template