]
Üye Tüm Alanları doldurmadan Kaydet Butonu aktif olmayacaktır.
Register.template.php’yi açın Bulun
Altına ekleyin
Bulun
Değiştirin
Modifications.turkish.php yi açın bulun
Öncesine ekleyin
Alıntıdır . Kolay gelsin
Üye Tüm Alanları doldurmadan Kaydet Butonu aktif olmayacaktır.
Register.template.php’yi açın Bulun
PHP:
echo '
</td>
</tr><tr>
<td width="40%">
<b>', $txt[81], ':</b>
</td>
<td>
<input type="password" name="passwrd1" size="30" tabindex="', $context['tabindex']++, '" />
</td>
</tr><tr>
<td width="40%">
<b>', $txt[82], ':</b>
</td>
<td>
<input type="password" name="passwrd2" size="30" tabindex="', $context['tabindex']++, '" />
</td>
</tr>';
Altına ekleyin
PHP:
// Yas,Cinsiyet ve Yer … ivan_
echo '
<tr>
<td width="40%">
<b>', $txt[563], ':</b>
<div class="smalltext">', $txt[565], ' - ', $txt[564], ' - ', $txt[566], '</div>
</td>
<td class="smalltext">
<input type="text" name="bday2" size="2" maxlength="2" tabindex="', $context['tabindex']++, '"value="', $context['member']['birth_date']['day'], '" />-
<input type="text" name="bday1" size="2" maxlength="2" tabindex="', $context['tabindex']++, '"value="', $context['member']['birth_date']['month'], '" /> -
<input type="text" name="bday3" size="4" maxlength="4" tabindex="', $context['tabindex']++, '" value="', $context['member']['birth_date']['year'], '" />
</td>
</tr><tr>
<td width="40%"><b>', $txt[227], ': </b></td>
<td><input type="text" name="location" size="30" tabindex="', $context['tabindex']++, '"value="', $context['member']['location'], '" /></td>
</tr>
<tr>
<td width="40%"><b>', $txt[231], ': </b></td>
<td>
<select name="gender" size="1" tabindex="', $context['tabindex']++, '">
<option value="0"></option>
<option value="1"', ($context['member']['gender']['name'] == 'm' ? ' selected="selected"' : ''), '>', $txt[238], '</option>
<option value="2"', ($context['member']['gender']['name'] == 'f' ? ' selected="selected"' : ''), '>', $txt[239], '</option>
</select>
</td>
</tr><tr>
<td colspan="2"><hr width="100%" size="1" class="hrcolor" /></td>
</tr>';
Bulun
PHP:
document.forms.creator.regSubmit.disabled = isEmptyText(document.forms.creator.user) || isEmptyText(document.forms.creator.email) || isEmptyText(document.forms.creator.passwrd1) || !document.forms.creator.regagree.checked;
Değiştirin
PHP:
document.forms.creator.regSubmit.disabled = isEmptyText(document.forms.creator.user) || isEmptyText(document.forms.creator.email) || isEmptyText(document.forms.creator.passwrd1) || isEmptyText(document.forms.creator.gender) || isEmptyText(document.forms.creator.bday3) || isEmptyText(document.forms.creator.location) || !document.forms.creator.regagree.checked;
Modifications.turkish.php yi açın bulun
PHP:
?>
Öncesine ekleyin
PHP:
$txt[563] = 'Doğum Tarihi';
$txt[564] = 'Ay (MM)';
$txt[565] = 'Gün (DD)';
$txt[566] = 'Yıl (YYYY)';
Alıntıdır . Kolay gelsin