break;
} // END - switch
- // Adds maximum receiveable mails list... :)
- $content['max_receive_list'] = addMaxReceiveList('guest', '', true);
-
// Shall I display the refid or shall I make it editable?
if (isDisplayRefidEnabled()) {
// Load "hide" form template
$content[$entry] = SQL_ESCAPE(postRequestElement($entry));
} // END - foreach
- // Prepare country selection box
- $content['country'] = addCountryCodeSelectionBox(postRequestElement('country_code'));
-
// Set must-fillout fields
$content = runFilterChain('register_must_fillout', $content);
}
// Generates a list of "max receiveable emails per day"
-function addMaxReceiveList ($mode, $default = '', $return = false) {
+function addMaxReceiveList ($mode, $default = '') {
$OUT = '';
$result = false;
// Free result
SQL_FREERESULT($result);
- if ($return === true) {
- // Return generated HTML code
- return $OUT;
- } else {
- // Output directly (default)
- outputHtml($OUT);
- }
+ // Return generated HTML code
+ return $OUT;
}
// Checks whether the given email address is used.
$content[header_content]
</td>
</tr>
+
<tr>
<td colspan="2" class="table_header bottom">
{--REGISTER_PERSONAL_DATA--}:
</td>
</tr>
+
<tr>
<td class="bottom" colspan="2" align="center">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
{%pipe,generateGenderSelectionBox=$content[gender]%}
</td>
</tr>
+
<tr>
<td class="register_left">{--SURNAME--}$content[must_fillout_surname],
{--FAMILY--}$content[must_fillout_family]:
<input type="text" class="form_field" name="family" size="15" maxlength="255" value="$content[family]" />
</td>
</tr>
+
<tr>
<td class="register_left">
{--STREET_NR--}$content[must_fillout_street_nr]:
<input type="text" class="form_field" name="street_nr" size="25" maxlength="255" value="$content[street_nr]" />
</td>
</tr>
+
<tr>
<td align="right" class="register_left">
{--COUNTRY--}$content[must_fillout_cntry], {--ZIP--}$content[must_fillout_zip],
{--CITY--}$content[must_fillout_city]:
</td>
<td class="register_right">
- $content[country]
+ {%pipe,postRequestElement,addCountryCodeSelectionBox=country_code%}
<input type="text" class="form_field" name="zip" size="5" maxlength="10" value="$content[zip]" />
<input type="text" class="form_field" name="city" size="20" maxlength="255" value="$content[city]" />
</td>
</tr>
+
<tr>
<td align="right" class="register_left">
{--EMAIL--}$content[must_fillout_email]:
<input type="text" class="form_field" name="email" size="30" maxlength="255" value="$content[email]" />
</td>
</tr>
+
<tr>
<td align="right" class="register_left">
{--BIRTHDAY--}$content[must_fillout_birthday]:
$content[birthday_selection]
</td>
</tr>
+
<tr>
<td colspan="2" align="center">
<div class="notice">$content[must_fillout_marker] : {--GUEST_REGISTER_MUST_SET_NOTICE--}</div>
</table>
</td>
</tr>
+
<tr>
<td colspan="2" class="table_header bottom">
{--REGISTER_CATEGORIES--}:
</td>
</tr>
+
<tr>
<td colspan="2" class="table_header">
{--GUEST_SELECT_LEAST_CATEGORIES--}
</td>
</tr>
+
<tr>
<td colspan="2" class="bottom">
{%pipe,registerGenerateCategoryTable=guest%}
</td>
</tr>
+
<tr>
<td colspan="2" class="table_header bottom">
{--REGISTER_MISC--}:
</td>
</tr>
+
<tr>
<td colspan="2" align="center">
<div class="notice tiny">{--GUEST_EMPTY_PASSWORD_HINT--}</div>
</td>
</tr>
+
<tr>
<td align="right" class="register_left">
{--PASS_1--}, {--PASS_2--}:
<input type="password" class="form_field" name="pass2" size="10" maxlength="100" />
</td>
</tr>
+
<tr>
<td colspan="2" align="center">
- $content[max_receive_list]
+ {%pipe,addMaxReceiveList=guest%}
</td>
</tr>
+
$content[refid_content]
+
<tr>
<td colspan="2" class="table_header bottom top">
{--TERMS_OF_USAGE--}:
</td>
</tr>
+
<tr>
<td colspan="2" class="bottom">
<table border="0" cellspacing="0" cellpadding="0" width="640" class="table">