
Sobald ein vorhandener User sein Profil aktualisieren will bleibt er auch an dieser "Hürde" hängen und muss das neue Pflichtfeld angeben.
Doc.
Code: Alles auswählen
$lang['Location'] = 'Wohnort';
..scho getestet ?dr.death hat geschrieben: Sobald ein vorhandener User sein Profil aktualisieren will bleibt er auch an dieser "Hürde" hängen und muss das neue Pflichtfeld angeben.
Code: Alles auswählen
else if ( $mode == 'register' )
{
if ( empty($username) || empty($location) || empty($new_password) || empty($password_confirm) || empty($email) )
{
$error = TRUE;
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Fields_empty'];
}
}
Code: Alles auswählen
<tr>
<td class="row1"><span class="gen">{L_LOCATION}: *</span></td>
<td class="row2">
<input type="text" class="post"style="width: 200px" name="location" size="25" maxlength="100" value="{LOCATION}" />
</td>
</tr>