summaryrefslogtreecommitdiff
path: root/forum/utils/editor_form.php
diff options
context:
space:
mode:
authordeva <deva>2008-10-04 10:38:03 +0000
committerdeva <deva>2008-10-04 10:38:03 +0000
commitcce5e7710295021b41d9aaecc503a60fb99256be (patch)
tree660235be91fb821e976c7ae62347eb368ce87524 /forum/utils/editor_form.php
Initial revision
Diffstat (limited to 'forum/utils/editor_form.php')
-rw-r--r--forum/utils/editor_form.php127
1 files changed, 127 insertions, 0 deletions
diff --git a/forum/utils/editor_form.php b/forum/utils/editor_form.php
new file mode 100644
index 0000000..6903ec9
--- /dev/null
+++ b/forum/utils/editor_form.php
@@ -0,0 +1,127 @@
+
+<form action="/egroupware/fudforum/1037711670/index.php?t=post" method="post" name="post_form" enctype="multipart/form-data" onSubmit="javascript: document.post_form.btn_submit.disabled = true;">
+<table border="0" cellspacing="1" cellpadding="2" class="ContentTable">
+<tr><th colspan=2><a name="ptop"> </a>Post Form</th></tr>
+<tr class="RowStyleB"><td nowrap class="GenText">Logged in user:</td><td class="GenText" width="100%">bent</td></tr><tr class="RowStyleB"><td class="GenText">Forum:</td><td class="GenText">Andet band relateret</td></tr>
+<tr class="RowStyleB"><td class="GenText">Title:</td><td class="GenText"><input type="text" maxLength=100 name="msg_subject" value="" size=50 tabindex="2"> </td></tr>
+<tr class="RowStyleB"><td class="GenText">Poll:</td><td class="GenText"><a class="GenLink" href="javascript://" onClick="javascript: window_open('/egroupware/fudforum/1037711670/index.php?t=poll&amp;&amp;frm_id=7', 'poll_creator', 400, 300);">[CREATE POLL]</a></td></tr><tr class="RowStyleA"><td valign=top class="GenText">Post Icon:</td><td>
+
+<table border=0 cellspacing=0 cellpadding=2>
+<tr><td class="GenText" colspan=9><input type="radio" name="msg_icon" value="" checked>No Icon</td></tr>
+<tr><td nowrap valign="middle"><input type="radio" name="msg_icon" value="icon1.gif"><img src="images/message_icons/icon1.gif" alt="" /></td><td nowrap valign="middle"><input type="radio" name="msg_icon" value="icon10.gif"><img src="images/message_icons/icon10.gif" alt="" /></td><td nowrap valign="middle"><input type="radio" name="msg_icon" value="icon11.gif"><img src="images/message_icons/icon11.gif" alt="" /></td><td nowrap valign="middle"><input type="radio" name="msg_icon" value="icon12.gif"><img src="images/message_icons/icon12.gif" alt="" /></td><td nowrap valign="middle"><input type="radio" name="msg_icon" value="icon13.gif"><img src="images/message_icons/icon13.gif" alt="" /></td><td nowrap valign="middle"><input type="radio" name="msg_icon" value="icon14.gif"><img src="images/message_icons/icon14.gif" alt="" /></td><td nowrap valign="middle"><input type="radio" name="msg_icon" value="icon2.gif"><img src="images/message_icons/icon2.gif" alt="" /></td><td nowrap valign="middle"><input type="radio" name="msg_icon" value="icon3.gif"><img src="images/message_icons/icon3.gif" alt="" /></td><td nowrap valign="middle"><input type="radio" name="msg_icon" value="icon4.gif"><img src="images/message_icons/icon4.gif" alt="" /></td><td nowrap valign="middle"><input type="radio" name="msg_icon" value="icon5.gif"><img src="images/message_icons/icon5.gif" alt="" /></td></tr><tr><td nowrap valign="middle"><input type="radio" name="msg_icon" value="icon6.gif"><img src="images/message_icons/icon6.gif" alt="" /></td><td nowrap valign="middle"><input type="radio" name="msg_icon" value="icon7.gif"><img src="images/message_icons/icon7.gif" alt="" /></td><td nowrap valign="middle"><input type="radio" name="msg_icon" value="icon8.gif"><img src="images/message_icons/icon8.gif" alt="" /></td><td nowrap valign="middle"><input type="radio" name="msg_icon" value="icon9.gif"><img src="images/message_icons/icon9.gif" alt="" /></td></tr>
+</table>
+</td></tr><tr class="RowStyleA"><td nowrap valign=top class="GenText">Smiley Shortcuts:
+ <br /><font size="-1">[<a href="javascript://" onClick="javascript: window_open('/egroupware/fudforum/1037711670/index.php?t=smladd', 'sml_list', 220, 200);">list all smilies</a>]</font>
+</td>
+<td valign=top><table border=0 cellspacing=5 cellpadding=0><tr valign="bottom"><td><a href="javascript: insertTag(document.post_form.msg_body, '', ' :blush: ');"><img title="Embarassed" alt="Embarassed" src="images/smiley_icons/icon_redface.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :P ');"><img title="Razz" alt="Razz" src="images/smiley_icons/icon_razz.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :x ');"><img title="Mad" alt="Mad" src="images/smiley_icons/icon_mad.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :lol: ');"><img title="Laughing" alt="Laughing" src="images/smiley_icons/icon_lol.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' 8) ');"><img title="Cool" alt="Cool" src="images/smiley_icons/icon_cool.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :? ');"><img title="Confused" alt="Confused" src="images/smiley_icons/icon_confused.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' 8O ');"><img title="Shocked" alt="Shocked" src="images/smiley_icons/icon_eek.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :o ');"><img title="Surprised" alt="Surprised" src="images/smiley_icons/icon_surprised.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :( ');"><img title="Sad" alt="Sad" src="images/smiley_icons/icon_sad.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :) ');"><img title="Smile" alt="Smile" src="images/smiley_icons/icon_smile.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :D ');"><img title="Very Happy" alt="Very Happy" src="images/smiley_icons/icon_biggrin.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :cry: ');"><img title="Crying or Very Sad" alt="Crying or Very Sad" src="images/smiley_icons/icon_cry.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :evil: ');"><img title="Evil or Very Mad" alt="Evil or Very Mad" src="images/smiley_icons/icon_evil.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :twisted: ');"><img title="Twisted Evil" alt="Twisted Evil" src="images/smiley_icons/icon_twisted.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :roll: ');"><img title="Rolling Eyes" alt="Rolling Eyes" src="images/smiley_icons/icon_rolleyes.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' ;) ');"><img title="Wink" alt="Wink" src="images/smiley_icons/icon_wink.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :!: ');"><img title="Exclamation" alt="Exclamation" src="images/smiley_icons/icon_exclaim.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :?: ');"><img title="Question" alt="Question" src="images/smiley_icons/icon_question.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :idea: ');"><img title="Idea" alt="Idea" src="images/smiley_icons/icon_idea.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :arrow: ');"><img title="Arrow" alt="Arrow" src="images/smiley_icons/icon_arrow.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :| ');"><img title="Neutral" alt="Neutral" src="images/smiley_icons/icon_neutral.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :] ');"><img title="Grin" alt="Grin" src="images/smiley_icons/icon_mrgreen.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' x( ');"><img title="Dead" alt="Dead" src="images/smiley_icons/icon_dead.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :frown: ');"><img title="Frown" alt="Frown" src="images/smiley_icons/icon_frown.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :nod: ');"><img title="Nod" alt="Nod" src="images/smiley_icons/icon_nod.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :proud: ');"><img title="Proud" alt="Proud" src="images/smiley_icons/icon_proud.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :smug: ');"><img title="Smug" alt="Smug" src="images/smiley_icons/icon_smug.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :thumbup: ');"><img title="Thumbs Up" alt="Thumbs Up" src="images/smiley_icons/icon_thumbsup.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :thumbdown: ');"><img title="Thumbs Down" alt="Thumbs Down" src="images/smiley_icons/icon_thumbdown.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :uhoh: ');"><img title="Uh Oh" alt="Uh Oh" src="images/smiley_icons/icon_uhoh.gif" /></a>&nbsp;<a href="javascript: insertTag(document.post_form.msg_body, '', ' :yawn: ');"><img title="Bored" alt="Bored" src="images/smiley_icons/icon_yawn.gif" /></a>&nbsp;</td></tr></table></td></tr><tr class="RowStyleA"><td nowrap class="GenText">Formatting Tools:</td><td>
+<table border=0 cellspacing=0 cellpadding=0>
+<tr><td>
+<table border=0 cellspacing=1 cellpadding=2 class="FormattingToolsBG">
+<tr>
+
+<td class="FormattingToolsCLR"><a href="javascript: insertTag(document.post_form.msg_body, '[B]', '[/B]');"><img alt="" src="/egroupware/fudforum/1037711670/theme/default/images/b_bold.gif" /></a></td>
+<td class="FormattingToolsCLR"><a href="javascript: insertTag(document.post_form.msg_body, '[I]', '[/I]');"><img alt="" src="/egroupware/fudforum/1037711670/theme/default/images/b_italic.gif" /></a></td>
+<td class="FormattingToolsCLR"><a href="javascript: insertTag(document.post_form.msg_body, '[U]', '[/U]');"><img alt="" src="/egroupware/fudforum/1037711670/theme/default/images/b_underline.gif" /></a></td>
+<td class="FormattingToolsCLR"><a href="javascript: insertTag(document.post_form.msg_body, '[ALIGN=left]', '[/ALIGN]');"><img alt="" src="/egroupware/fudforum/1037711670/theme/default/images/b_aleft.gif" /></a></td>
+<td class="FormattingToolsCLR"><a href="javascript: insertTag(document.post_form.msg_body, '[ALIGN=center]', '[/ALIGN]');"><img alt="" src="/egroupware/fudforum/1037711670/theme/default/images/b_acenter.gif" /></a></td>
+<td class="FormattingToolsCLR"><a href="javascript: insertTag(document.post_form.msg_body, '[ALIGN=right]', '[/ALIGN]');"><img alt="" src="/egroupware/fudforum/1037711670/theme/default/images/b_aright.gif" /></a></td>
+<td class="FormattingToolsCLR"><a href="javascript: url_insert();"><img alt="" src="/egroupware/fudforum/1037711670/theme/default/images/b_url.gif" /></a></td>
+<td class="FormattingToolsCLR"><a href="javascript: email_insert();"><img alt="" src="/egroupware/fudforum/1037711670/theme/default/images/b_email.gif" /></a></td>
+<td class="FormattingToolsCLR"><a href="javascript: image_insert();"><img alt="" src="/egroupware/fudforum/1037711670/theme/default/images/b_image.gif" /></a></td>
+<td class="FormattingToolsCLR"><a href="javascript: window_open('/egroupware/fudforum/1037711670/index.php?t=mklist&amp;&amp;tp=OL:1', 'listmaker', 350, 350);"><img alt="" src="/egroupware/fudforum/1037711670/theme/default/images/b_numlist.gif" /></a></td>
+<td class="FormattingToolsCLR"><a href="javascript: window_open('/egroupware/fudforum/1037711670/index.php?t=mklist&amp;&amp;tp=UL:square', 'listmaker', 350, 350);"><img alt="" src="/egroupware/fudforum/1037711670/theme/default/images/b_bulletlist.gif" /></a></td>
+<td class="FormattingToolsCLR"><a href="javascript: insertTag(document.post_form.msg_body, '[QUOTE]', '[/QUOTE]');"><img alt="" src="/egroupware/fudforum/1037711670/theme/default/images/b_quote.gif" /></a></td>
+<td class="FormattingToolsCLR"><a href="javascript: insertTag(document.post_form.msg_body, '[CODE]', '[/CODE]');"><img alt="" src="/egroupware/fudforum/1037711670/theme/default/images/b_code.gif" /></a></td>
+</tr>
+</table>
+</td>
+<td>&nbsp;&nbsp;
+
+<select name="fnt_size" onChange="javascript:insertTag(document.post_form.msg_body, '[SIZE='+document.post_form.fnt_size.options[this.selectedIndex].value+']', '[/SIZE]'); document.post_form.fnt_size.options[0].selected=true">
+<option value="" selected>Size</option>
+<option value="1">1</option>
+<option value="2">2</option>
+<option value="3">3</option>
+<option value="4">4</option>
+<option value="5">5</option>
+<option value="6">6</option>
+<option value="7">7</option>
+
+</select>
+<select name="fnt_color" onChange="javascript:insertTag(document.post_form.msg_body, '[COLOR='+document.post_form.fnt_color.options[this.selectedIndex].value+']', '[/COLOR]'); document.post_form.fnt_color.options[0].selected=true">
+<option value="">Color</option>
+<option value="skyblue" style="color:skyblue">Sky Blue</option>
+<option value="royalblue" style="color:royalblue">Royal Blue</option>
+<option value="blue" style="color:blue">Blue</option>
+<option value="darkblue" style="color:darkblue">Dark Blue</option>
+<option value="orange" style="color:orange">Orange</option>
+<option value="orangered" style="color:orangered">Orange Red</option>
+<option value="crimson" style="color:crimson">Crimson</option>
+
+<option value="red" style="color:red">Red</option>
+<option value="firebrick" style="color:firebrick">Firebrick</option>
+<option value="darkred" style="color:darkred">Dark Red</option>
+<option value="green" style="color:green">Green</option>
+<option value="limegreen" style="color:limegreen">Lime Green</option>
+<option value="seagreen" style="color:seagreen">Sea Green</option>
+<option value="deeppink" style="color:deeppink">Deep Pink</option>
+<option value="tomato" style="color:tomato">Tomato</option>
+<option value="coral" style="color:coral">Coral</option>
+
+<option value="purple" style="color:purple">Purple</option>
+<option value="indigo" style="color:indigo">Indigo</option>
+<option value="burlywood" style="color:burlywood">Burly Wood</option>
+<option value="sandybrown" style="color:sandybrown">Sandy Brown</option>
+<option value="sienna" style="color:sienna">Sienna</option>
+<option value="chocolate" style="color:chocolate">Chocolate</option>
+<option value="teal" style="color:teal">Teal</option>
+<option value="silver" style="color:silver">Silver</option>
+</select>
+
+<select name="fnt_face" onChange="javascript:insertTag(document.post_form.msg_body, '[FONT='+document.post_form.fnt_face.options[this.selectedIndex].value+']', '[/FONT]'); document.post_form.fnt_face.options[0].selected=true">
+<option value="">Font</option>
+<option value="Arial" style="font-family:Arial">Arial</option>
+<option value="Times" style="font-family:Times">Times</option>
+<option value="Courier" style="font-family:Courier">Courier</option>
+<option value="Century" style="font-family:Century">Century</option>
+</select>
+</td></tr></table></td></tr>
+<tr class="RowStyleA"><td nowrap valign=top class="GenText">Body:<br /><br /><font class="SmallText"><b>Forum Options</b><br />
+<b>HTML</b> code is <b>OFF</b><br />
+
+<a href="/egroupware/fudforum/1037711670/index.php?section=readingposting&amp;t=help_index&amp;#style" target="_blank"><b>FUDcode</b> is <b>ON</b></a><br />
+<b>Images</b> are <b>ON</b><br />
+<a href="/egroupware/fudforum/1037711670/index.php?section=readingposting&amp;t=help_index&amp;#sml" target="_blank"><b>Smilies</b> are <b>ON</b></a><br><b>Editing Time Limit</b>: <b>Unlimited</b></font><br /></td><td><textarea rows="20" cols="65" tabindex="3" wrap="virtual" id="txtb" name="msg_body" onKeyUp="storeCaret(this);" onClick="storeCaret(this);" onSelect="storeCaret(this);"></textarea></td></tr>
+
+<tr class="RowStyleB"><td nowrap valign=top class="GenText">File Attachments:</td><td>
+
+
+<font class="SmallText"><b>Allowed File Extensions:</b> (unrestricted)<br /><b>Maximum File Size:</b> 10240Kb<br /><b>Maximum Files per Message:</b> 1
+
+</font><p>
+<input type="file" name="attach_control"> <input type="submit" class="button" name="attach_control_add" value="Upload File">
+
+</td></tr><tr class="RowStyleB" valign="top">
+<td class="GenText">Options:</td>
+<td>
+<table border=0 cellspacing=0 cellpadding=1>
+<tr><td><input type="checkbox" name="msg_poster_notif" value="Y" checked></td><td class="GenText"><b>Post Notification</b></td></tr>
+<tr><td>&nbsp;</td><td><font class="SmallText">Notify me when someone replies to this message.</font></td></tr>
+<tr><td><input type="checkbox" name="msg_show_sig" value="Y" checked></td><td class="GenText"><b>Include Signature</b></td></tr>
+<tr><td>&nbsp;</td><td><font class="SmallText">Include my profile signature.</font></td></tr>
+<tr><td><input type="checkbox" name="msg_smiley_disabled" value="Y"></td><td class="GenText"><b>Disable smilies in this message</b></td></tr></table>
+</td></tr>
+<tr class="RowStyleA"><td class="GenText" align="right" colspan=2>
+
+<input type="submit" class="button" value="Preview Message" tabindex="4" name="preview">&nbsp;<input type="submit" class="button" tabindex="5" name="btn_submit" value="Create Topic" onClick="javascript: document.post_form.submitted.value=1;"></td></tr>
+</table>
+<input type="hidden" name="submitted" value="">
+<input type="hidden" name="reply_to" value="0">
+<input type="hidden" name="th_id" value="">
+<input type="hidden" name="frm_id" value="7">
+<input type="hidden" name="start" value="">
+<input type="hidden" name="msg_id" value="0">
+<input type="hidden" name="pl_id" value="0">
+<input type="hidden" name="old_subject" value="">
+<input type="hidden" name="prev_loaded" value="1">
+</form>