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&what=list_payouts&do=accept&pid=".$content['id']."\">".PAYOUT_ACCEPT_PAYOUT."</a> | <a href=\"{?URL?}/modules.php?module=admin&what=list_payouts&do=reject&pid=".$content['id']."\">".PAYOUT_REJECT_PAYOUT."</a>";
+ $content['status'] = "<a href=\"{%url=modules.php?module=admin&what=list_payouts&do=accept&pid=" . $content['id'] . "%}\">{--PAYOUT_ACCEPT_PAYOUT--}</a> | <a href=\"{%url=modules.php?module=admin&what=list_payouts&do=reject&pid=" . $content['id'] . "%}\">{--PAYOUT_REJECT_PAYOUT--}</a>";
} else {
// Translate status
$content['status'] = getMessage('PAYOUT_STATUS_'.strtoupper($content['status']).'');