// Check for mode in GET
$mode = '';
-if (isGetRequestElementSet('mode')) {
- $mode = getRequestElement('mode');
+if (isGetRequestElementSet('do')) {
+ $mode = getRequestElement('do');
} // END - if
// Check for "faker"
$totalIn = countSumTotalData(getMemberId(), 'user_transfers_in', 'id', 'userid', true);
$content['in_link'] = $totalIn;
if ($totalIn > 0) {
- $content['in_link'] = '<a href="{%url=modules.php?module=login&what=transfer&mode=list_in%}">' . $totalIn . '</a>';
+ $content['in_link'] = '<a href="{%url=modules.php?module=login&what=transfer&do=list_in%}">' . $totalIn . '</a>';
} // END - if
// Check outgoing transfers
$content['out_link'] = $totalOut;
if ($totalOut > 0) {
- $content['out_link'] = '<a href="{%url=modules.php?module=login&what=transfer&mode=list_out%}">' . $totalOut . '</a>';
+ $content['out_link'] = '<a href="{%url=modules.php?module=login&what=transfer&do=list_out%}">' . $totalOut . '</a>';
} // END - if
// Add all to total amount
// Total transactions
$content['all_link'] = $total;
if ($total > 0) {
- $content['all_link'] = '<a href="{%url=modules.php?module=login&what=transfer&mode=list_all%}">{%pipe,translateComma=' . $total . '%}</a>';
+ $content['all_link'] = '<a href="{%url=modules.php?module=login&what=transfer&do=list_all%}">{%pipe,translateComma=' . $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%}" title="{--TRANSFER_NOW_TITLE--}">{--TRANSFER_NOW_LINK--}</a>';
+ $content['new_link'] = '<a href="{%url=modules.php?module=login&what=transfer&do=new%}" title="{--TRANSFER_NOW_TITLE--}">{--TRANSFER_NOW_LINK--}</a>';
break;
case 'N':