

Aber ändern wir das halt einfach ab

posting.php
suche nach
Code: Alles auswählen
//
// Output the data to the template
//
Code: Alles auswählen
if (!$userdata['session_logged_in'])
{$user_check_length='if (document.post.username.value.length < 2) { formErrors = "'.$lang['Empty_username'].'"; }';}
Code: Alles auswählen
'USERNAME' => $username,
Code: Alles auswählen
'USER_CHECK_LENGTH' => $user_check_length,
Code: Alles auswählen
'L_EMPTY_USERNAME' => $lang['Empty_username'],
suche nach
Code: Alles auswählen
function checkForm() {
formErrors = false;
if (document.post.username.value.length < 2) {
formErrors = "{L_EMPTY_USERNAME}";
}
if (document.post.message.value.length < 2) {
formErrors = "{L_EMPTY_MESSAGE}";
}
Code: Alles auswählen
function checkForm() {
formErrors = false;
{USER_CHECK_LENGTH}
if (document.post.message.value.length < 2) {
formErrors = "{L_EMPTY_MESSAGE}";
}
