 |
|
|
|

| Autor |
Nachricht |
kelangtri
phpBB2.de User

Anmeldungsdatum: 08.03.2003
Beiträge: 5
|
Verfasst am:
So 09 März, 2003 16:35 |
  |
i have a copy of php plus 1.0
i make a hack, may be type vietnamese in post reply, with unicode,
this code:
| Code: |
open \templates\subSilver\posting_body.tpl
find
<input type="text" name="subject" size="45" maxlength="60" style="width:450px" tabindex="2" class="post" value="{SUBJECT}" />
replace
<input type="text" name="subject" size="45" maxlength="60" style="width:450px" tabindex="2" class="post" value="{SUBJECT}" onkeyup="initTyper(this);" />
find
<textarea name="message" rows="15" cols="35" wrap="virtual" style="width:450px" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea>
replace
<input type=radio name='switcher' value='OFF' checked onfocus='setTypingMode(0);'>Tắt
<input type=radio name="switcher" value="TELEX" onfocus="setTypingMode(1)"> Telex
<input type=radio name="switcher" value="VNI" onfocus="setTypingMode(2)"> VNI
<input type=radio name="switcher" value="VIQR" onfocus="setTypingMode(3)"> VIQR
<input type=radio name="switcher" value="ALL" onfocus="setTypingMode(4)"> Tuỳ & (cả 3 kiểu) |
and
| Code: |
open \templates\subSilver\posting_poll_body.tpl
find
<input type="text" name="poll_title" size="50" maxlength="255" class="post" value="{POLL_TITLE}" />
replace
<script language="JavaScript1.2" src="vietuni.js" type='text/javascript'></script>
<input type="text" name="poll_title" size="50" maxlength="255" class="post" onkeyup="initTyper(this);" value="{POLL_TITLE}" />
find
<input type="text" name="poll_option_text[{poll_option_rows.S_POLL_OPTION_NUM}]" size="50" class="post" maxlength="255" value="{poll_option_rows.POLL_OPTION}" />
replace
<input type="text" name="poll_option_text[{poll_option_rows.S_POLL_OPTION_NUM}]" size="50" class="post" maxlength="255" value="{poll_option_rows.POLL_OPTION}" onkeyup="initTyper(this);" />
find
<input type="text" name="add_poll_option_text" size="50" maxlength="255" class="post" value="{ADD_POLL_OPTION}" />
replace
<input type="text" name="add_poll_option_text" size="50" maxlength="255" class="post" value="{ADD_POLL_OPTION}" onkeyup="initTyper(this);" />
|
with a vietuni.js file upload to main folder of forum
whos maybe help me, searh a some error on this hack, plz |
|
|
   |
 |
Google
|
Verfasst am:
|
 |
|
|
 |
|
|
|
|
|
Nächstes Thema anzeigen
Vorheriges Thema anzeigen
Du kannst keine Beiträge in dieses Forum schreiben. Du kannst auf Beiträge in diesem Forum nicht antworten. Du kannst deine Beiträge in diesem Forum nicht bearbeiten. Du kannst deine Beiträge in diesem Forum nicht löschen. Du kannst an Umfragen in diesem Forum nicht mitmachen. Du kannst Dateien in diesem Forum posten Du kannst Dateien in diesem Forum herunterladen
|
|
| |