diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2007-04-01 22:05:42 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-04-01 22:05:42 +0000 |
| commit | f610ed82cbf0df2b5f8afd6ca3f88b9313281036 (patch) | |
| tree | 22eee242b76b4a75bfa2efff1169e90637858982 /phpBB/styles/prosilver/template/posting_buttons.html | |
| parent | c78c82123e6876541320ad4ebf2ba1e85a582fd0 (diff) | |
| download | forums-f610ed82cbf0df2b5f8afd6ca3f88b9313281036.tar forums-f610ed82cbf0df2b5f8afd6ca3f88b9313281036.tar.gz forums-f610ed82cbf0df2b5f8afd6ca3f88b9313281036.tar.bz2 forums-f610ed82cbf0df2b5f8afd6ca3f88b9313281036.tar.xz forums-f610ed82cbf0df2b5f8afd6ca3f88b9313281036.zip | |
say hello to prosilver... YAAAYEEEE
git-svn-id: file:///svn/phpbb/trunk@7260 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/styles/prosilver/template/posting_buttons.html')
| -rw-r--r-- | phpBB/styles/prosilver/template/posting_buttons.html | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/phpBB/styles/prosilver/template/posting_buttons.html b/phpBB/styles/prosilver/template/posting_buttons.html new file mode 100644 index 0000000000..761402951b --- /dev/null +++ b/phpBB/styles/prosilver/template/posting_buttons.html @@ -0,0 +1,92 @@ +<script type="text/javascript"> +<!-- + var form_name = <!-- IF S_EDIT_DRAFT or S_PRIVMSGS -->'post'<!-- ELSE -->'postform'<!-- ENDIF -->; + var text_name = <!-- IF $SIG_EDIT eq 1 -->'signature'<!-- ELSE -->'message'<!-- ENDIF -->; + var load_draft = false; + var upload = false; + + // Define the bbCode tags + var bbcode = new Array(); + var bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list=]','[/list]','[img]','[/img]','[url]','[/url]','[flash=]', '[/flash]','[size=]','[/size]'<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME}<!-- END custom_tags -->); + var imageTag = false; + + // Helpline messages + var help_line = { + b: '{LA_BBCODE_B_HELP}', + i: '{LA_BBCODE_I_HELP}', + u: '{LA_BBCODE_U_HELP}', + q: '{LA_BBCODE_Q_HELP}', + c: '{LA_BBCODE_C_HELP}', + l: '{LA_BBCODE_L_HELP}', + o: '{LA_BBCODE_O_HELP}', + p: '{LA_BBCODE_P_HELP}', + w: '{LA_BBCODE_W_HELP}', + a: '{LA_BBCODE_A_HELP}', + s: '{LA_BBCODE_S_HELP}', + f: '{LA_BBCODE_F_HELP}', + e: '{LA_BBCODE_E_HELP}', + d: '{LA_BBCODE_D_HELP}' + <!-- BEGIN custom_tags --> + ,cb_{custom_tags.BBCODE_ID}: '{custom_tags.BBCODE_HELPLINE}' + <!-- END custom_tags --> + } + + function checkForm() + { + if (document.getElementById(text_name).value.length < 2 && load_draft == false) + { + if (!upload) + { + alert('{L_EMPTY_MESSAGE}'); + return false; + } + upload = false; + return true; + } + else + { + return true; + } + } + + var panels = new Array('options-panel', 'attach-panel', 'poll-panel'); + var show_panel = 'options-panel'; + + +//--> +</script> +<script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script> + +<!-- IF S_BBCODE_ALLOWED --> +<div id="format-buttons"> + <input type="button" class="button2" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onclick="bbstyle(0)" title="{L_BBCODE_B_HELP}" /> + <input type="button" class="button2" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onclick="bbstyle(2)" title="{L_BBCODE_I_HELP}" /> + <input type="button" class="button2" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onclick="bbstyle(4)" title="{L_BBCODE_U_HELP}" /> + <!-- IF S_BBCODE_QUOTE --> + <input type="button" class="button2" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" title="{L_BBCODE_Q_HELP}" /> + <!-- ENDIF --> + <input type="button" class="button2" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" title="{L_BBCODE_C_HELP}" /> + <input type="button" class="button2" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" title="{L_BBCODE_L_HELP}" /> + <input type="button" class="button2" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" title="{L_BBCODE_O_HELP}" /> + <input type="button" class="button2" accesskey="t" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" /> + <!-- IF S_BBCODE_IMG --> + <input type="button" class="button2" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" title="{L_BBCODE_P_HELP}" /> + <!-- ENDIF --> + <!-- IF S_LINKS_ALLOWED --> + <input type="button" class="button2" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onclick="bbstyle(16)" title="{L_BBCODE_W_HELP}" /> + <!-- ENDIF --> + <!-- IF S_BBCODE_FLASH --> + <input type="button" class="button2" accesskey="f" name="addbbcode18" value="Flash" onclick="bbstyle(18)" /> + <!-- ENDIF --> + <select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_FONT_SIZE}"> + <option value="50">{L_FONT_TINY}</option> + <option value="85">{L_FONT_SMALL}</option> + <option value="100" selected="selected">{L_FONT_NORMAL}</option> + <option value="150">{L_FONT_LARGE}</option> + <option value="200">{L_FONT_HUGE}</option> + </select> + <!-- BEGIN custom_tags --> + <input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" /> + <!-- END custom_tags --> +</div> +<!-- ENDIF -->
\ No newline at end of file |
