// Generate a tableset for the menu title and content
loadTemplate('member_header');
+// Add code-message here
+handleCodeMessage();
+
// Begin menu block here
outputHtml("<tr>
<td class=\"member_menu\">");
// Set undefined array elements
if (isAdmin()) $whereStatement = '';
-// Minimum mails / order
-$content['min'] = getConfig('order_min');
-
// Count unconfirmed mails
$links = countSumTotalData(getUserId(), 'user_links', 'id', 'userid', true);
$URL = 'modules.php?module=login&what=order&code=' . getCode('NO_RECS_LEFT');
}
}
-} elseif (postRequestElement('receiver') == 0) {
+} elseif (postRequestElement('receiver') == '0') {
// Not enougth receivers selected
$URL = 'modules.php?module=login&what=order&code=' . getCode('MORE_RECEIVERS1');
} elseif (($ALLOWED == 0) && (getConfig('order_max_full') == 'ORDER')) {
} else {
// Default output for that your members don't forget it...
$content['url'] = 'http://';
- $content['target_send'] = $content['min'];
+ $content['target_send'] = getConfig('order_min');
$content['subject'] = '{--ORDER_DEFAULT_SUBJECT--}';
$content['text'] = '{--ORDER_DEFAULT_TEXT--}';
}
<tr>
<td width="10" class="seperator"> </td>
<td align="right">
- {--ENTER_RECEIVER--}: Minimum: <strong>$content[min]</strong>
+ {--ENTER_RECEIVER--}: Minimum: <strong>{?order_min?}</strong>
</td>
<td width="10" class="seperator"> </td>
<td><input type="text" name="receiver" class="member_normal" size="4" maxlength="5" value="$content[target_send]" /></td>