Pagina 1 van 1
Snel Antwoorden in Tabel
Geplaatst: 21 mar 2004, 15:35
door AApje
Ik heb dus een Quick Reply van phpbbhacks.com gehaald die nog niet in een tabel zat
alleen ik wouw nu hem graag wel in een tabel weet iemand hoe dat moet want mij lukt dat niet

midden
Geplaatst: 21 mar 2004, 17:24
door dieter
Ik wil hem gewoon in het midden
Geplaatst: 26 mar 2004, 16:27
door DaMnNaTiOn
In viewtopic heb ik dit staan:
Code: Selecteer alles
$quick_reply_form .= "
<script language='JavaScript' type='text/javascript'>
function checkForm() {
formErrors = false;
if (formErrors) {
alert(formErrors);
return false;
} else {
return true;
}
}
</script>
<script language='JavaScript'>
function openAllSmiles(){
smiles = window.open('posting.php?mode=smilies', '_phpbbsmilies', 'HEIGHT=380,resizable=yes,scrollbars=yes,WIDTH=428');
smiles.focus();
return false;
}
function storeCaret(textEl) {
if (textEl.createTextRange) textEl.caretPos = document.selection.createRange().duplicate();
}
function emoticon(text) {
if (document.post.message.createTextRange && document.post.message.caretPos) {
var caretPos = document.post.message.caretPos;
caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
document.post.message.focus();
} else {
document.post.message.value += text;
document.post.message.focus();
}
}
</script>
<tr>
<td class='row2' align='center' nowrap='nowrap' colspan='2'><b>Snel Antwoorden</b></td>
</tr>
<tr>
<td class='row1' align='middle' colspan='2'><form action='".append_sid("posting.$phpEx")."' method='post' name='post' onsubmit='return checkForm(this)'>
<input type='hidden' name='attach_sig' value='" . $attach_sig . "' />
<input type='hidden' name='mode' value='reply' />
<input type='hidden' name='sid' value='" . $userdata['session_id'] . "' />
<input type='hidden' name='t' value='" . $topic_id . "' />
<input type='hidden' name='notify' value='" . $notify . "' />
<textarea class='post' name='message' rows='5' cols='80' wrap='virtual'></textarea><br />
<input type='button' class='mainoption' name='SmilesButt' value='Smileys' onclick='openAllSmiles();'>
<input type='submit' class='mainoption' tabindex='5' name='preview' value='".$lang['Preview']."' />
<input type='submit' class='mainoption' accesskey='s' tabindex='2' name='post' value='".$lang['Submit']." (Alt+S)' /></form></td></tr>
";
}
$template->assign_vars(array(
'QUICK_REPLY_FORM' => $quick_reply_form)
);
