sendAdminNotification($ADMIN_SUBJ, 'admin_transfer_points', $content);
// Transfer is completed
- loadTemplate('admin_settings_saved', false, getMessage('TRANSFER_COMPLETED') . "<br /><a href=\"{?URL?}/modules.php?module=login&what=transfer\">{--TRANSFER_CONTINUE_OVERVIEW--}</a>");
+ loadTemplate('admin_settings_saved', false, getMessage('TRANSFER_COMPLETED') . "<br /><a href=\"{%url=modules.php?module=login&what=transfer%}\">{--TRANSFER_CONTINUE_OVERVIEW--}</a>");
} elseif ($valid_code === false) {
// Invalid Touring code!
loadTemplate('admin_settings_saved', false, "<div class=\"member_note\">{--TRANSFER_INVALID_CODE--}</div>");
$total = countSumTotalData(getMemberId(), 'user_transfers_in', 'id', 'userid', true);
$content['in_link'] = $total;
if ($total > 0) {
- $content['in_link'] = "<a href=\"{?URL?}/modules.php?module=login&what=transfer&mode=list_in\">".$total."</a>";
+ $content['in_link'] = "<a href=\"{%url=modules.php?module=login&what=transfer&mode=list_in%}\">" . $total . "</a>";
} // END - if
// Check outgoing transfers
$content['out_link'] = $dmy;
if ($dmy > 0) {
- $content['out_link'] = "<a href=\"{?URL?}/modules.php?module=login&what=transfer&mode=list_out\">".$dmy."</a>";
+ $content['out_link'] = "<a href=\"{%url=modules.php?module=login&what=transfer&mode=list_out%}\">" . $dmy . "</a>";
} // END - if
// Total transactions
$content['all_link'] = $total;
if ($total > 0) {
- $content['all_link'] = "<a href=\"{?URL?}/modules.php?module=login&what=transfer&mode=list_all\">".$total."</a>";
+ $content['all_link'] = "<a href=\"{%url=modules.php?module=login&what=transfer&mode=list_all%}\">" . $total . "</a>";
} // END - if
if (isFormSent()) {
// Set 'new transfer' link according to above option
switch (getUserData('opt_in')) {
case 'Y':
- $content['new_link'] = "<a href=\"{?URL?}/modules.php?module=login&what=transfer&mode=new\">{--TRANSFER_NOW_LINK--}</a>";
+ $content['new_link'] = "<a href=\"{%url=modules.php?module=login&what=transfer&mode=new%}\">{--TRANSFER_NOW_LINK--}</a>";
break;
case 'N':