]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_payouts.php
HTML->XHTML preparation (still *A LOT* to convert
[mailer.git] / inc / modules / admin / what-list_payouts.php
index 0acf3c9a4ba34fa54c1db15e41ac936f6690df30..ec36f237a7b7a3cac3c23ca06815145e38509ea3 100644 (file)
@@ -71,7 +71,7 @@ if (!empty($_GET['pid'])) {
                SQL_FREERESULT($result);
 
                // Konstante bauen
-               define('PAYOUT_USERDATA_VALUE', "<A href=\"".CREATE_EMAIL_LINK($email, "user_data")."\">".TRANSLATE_GENDER($gender)." ".$surname." ".$family."</A>");
+               define('PAYOUT_USERDATA_VALUE', "<a href=\"".CREATE_EMAIL_LINK($email, "user_data")."\">".TRANSLATE_GENDER($gender)." ".$surname." ".$family."</a>");
 
                if (($_GET['do'] == "accept") && (!empty($email))) {
                        // Ok, now we can output the form or execute accepting
@@ -150,7 +150,7 @@ if (!empty($_GET['pid'])) {
                                        }
                                } else {
                                        // Cannot load payout id
-                                       OUTPUT_HTML("<STRONG class=\"admin_failed\">".PAYOUT_FAILED_OBTAIN_PAYOUT_ID."</STRONG>");
+                                       LOAD_TEMPLATE("admin_settings_saved", false, "<div class=\"admin_failed\">".PAYOUT_FAILED_OBTAIN_PAYOUT_ID."</div>");
                                }
                        } else {
                                // Load template
@@ -207,11 +207,11 @@ ORDER BY p.payout_timestamp DESC", __FILE__, __LINE__);
                while (list($pid, $uid, $total, $account, $bank, $type, $tstamp, $status, $allow, $url, $alt, $banner) = SQL_FETCHROW($result)) {
                        if ($status == "NEW") {
                                // Generate links for direct accepting and rejecting
-                               $status = "<A href=\"".URL."/modules.php?module=admin&amp;what=list_payouts&amp;do=accept&amp;pid=".$pid."\">".PAYOUT_ACCEPT_PAYOUT."</A>&nbsp;|&nbsp;<A href=\"".URL."/modules.php?module=admin&amp;what=list_payouts&amp;do=reject&amp;pid=".$pid."\">".PAYOUT_REJECT_PAYOUT."</A>";
+                               $status = "<a href=\"".URL."/modules.php?module=admin&amp;what=list_payouts&amp;do=accept&amp;pid=".$pid."\">".PAYOUT_ACCEPT_PAYOUT."</a>&nbsp;|&nbsp;<a href=\"".URL."/modules.php?module=admin&amp;what=list_payouts&amp;do=reject&amp;pid=".$pid."\">".PAYOUT_REJECT_PAYOUT."</a>";
                        } else {
                                // Translate status
                                $status = constant('PAYOUT_STATUS_'.strtoupper($status).'');
-                               $status = "<FONT class=\"admin_failed\">".$status."</FONT>";
+                               $status = "<div class=\"admin_failed\">".$status."</div>";
                        }
 
                        // Nothing entered must be secured in member/what-payputs.php !
@@ -237,7 +237,7 @@ ORDER BY p.payout_timestamp DESC", __FILE__, __LINE__);
                                }
 
                                // Admins can addionally test the URL for framekillers
-                               $bank = "<A href=\"".FRAMETESTER($url)."\" target=\"_blank\">".CLICK_HERE."</A>";
+                               $bank = "<a href=\"".FRAMETESTER($url)."\" target=\"_blank\">".CLICK_HERE."</a>";
                        } else {
                                // e-currency payout request
                                if (empty($account)) $account = "---";