]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_payouts.php
Several more constants rewritten to getConfig()
[mailer.git] / inc / modules / admin / what-list_payouts.php
index 3d82071491e5568affc2aa9c745ab9756747a912..5aae95abe2a00c8f025ce9e254c7f7da08e11a26 100644 (file)
@@ -238,10 +238,10 @@ ORDER BY
                while ($content = SQL_FETCHARRAY($result)) {
                        if ($content['status'] == 'NEW') {
                                // Generate links for direct accepting and rejecting
-                               $content['status'] = "<a href=\"{!URL!}/modules.php?module=admin&amp;what=list_payouts&amp;do=accept&amp;pid=".$content['id']."\">".PAYOUT_ACCEPT_PAYOUT."</a>&nbsp;|&nbsp;<a href=\"{!URL!}/modules.php?module=admin&amp;what=list_payouts&amp;do=reject&amp;pid=".$content['id']."\">".PAYOUT_REJECT_PAYOUT."</a>";
+                               $content['status'] = "<a href=\"{?URL?}/modules.php?module=admin&amp;what=list_payouts&amp;do=accept&amp;pid=".$content['id']."\">".PAYOUT_ACCEPT_PAYOUT."</a>&nbsp;|&nbsp;<a href=\"{?URL?}/modules.php?module=admin&amp;what=list_payouts&amp;do=reject&amp;pid=".$content['id']."\">".PAYOUT_REJECT_PAYOUT."</a>";
                        } else {
                                // Translate status
-                               $content['status'] = constant('PAYOUT_STATUS_'.strtoupper($content['status']).'');
+                               $content['status'] = getMessage('PAYOUT_STATUS_'.strtoupper($content['status']).'');
                                $content['status'] = "<div class=\"admin_failed\">".$content['status']."</div>";
                        }