Snel Antwoorden in Tabel

Installatie lukt niet? Plotseling een foutmelding. Of weet je niet hoe iets werkt. Problemen met phpBB2 kun je in dit archief opzoeken.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
AApje

Snel Antwoorden in Tabel

Bericht door AApje » 21 mar 2004, 15:35

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 :(

dieter
Berichten: 417
Lid geworden op: 21 dec 2003, 10:58
Locatie: Gent
Contacteer:

midden

Bericht door dieter » 21 mar 2004, 17:24

Ik wil hem gewoon in het midden
Soms denk je dat iemand er niet is,
terwijl hij er niet weg is,
Dieter

Gebruikersavatar
DaMnNaTiOn
Berichten: 2555
Lid geworden op: 11 dec 2002, 18:29
Locatie: localhost
Contacteer:

Bericht door DaMnNaTiOn » 26 mar 2004, 16:27

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();'>&nbsp;
		<input type='submit' class='mainoption' tabindex='5' name='preview' value='".$lang['Preview']."' />&nbsp;
		<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)
);
:wink:
lastmodified.net

Gesloten