[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Summary view] [Print] [Text view]
1 2 <script> 3 var form_name = 'postform'; 4 var text_name = <!-- IF $SIG_EDIT -->'signature'<!-- ELSE -->'message'<!-- ENDIF -->; 5 var load_draft = false; 6 var upload = false; 7 8 // Define the bbCode tags 9 var bbcode = new Array(); 10 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 -->); 11 var imageTag = false; 12 13 function change_palette() 14 { 15 phpbb.toggleDisplay('colour_palette'); 16 e = document.getElementById('colour_palette'); 17 18 if (e.style.display == 'block') 19 { 20 document.getElementById('bbpalette').value = '{LA_FONT_COLOR_HIDE}'; 21 } 22 else 23 { 24 document.getElementById('bbpalette').value = '{LA_FONT_COLOR}'; 25 } 26 } 27 </script> 28 <!-- INCLUDEJS {T_ASSETS_PATH}/javascript/editor.js --> 29 30 <!-- IF S_BBCODE_ALLOWED --> 31 <div id="colour_palette" style="display: none;"> 32 <dl style="clear: left;"> 33 <dt><label>{L_FONT_COLOR}{L_COLON}</label></dt> 34 <dd id="color_palette_placeholder" class="color_palette_placeholder" data-color-palette="h" data-height="12" data-width="15" data-bbcode="true"></dd> 35 </dl> 36 </div> 37 38 <!-- EVENT posting_editor_buttons_before --> 39 <div id="format-buttons" class="format-buttons"> 40 <button type="button" class="button button-icon-only bbcode-b" accesskey="b" name="addbbcode0" value=" B " onclick="bbstyle(0)" title="{L_BBCODE_B_HELP}"> 41 <i class="icon fa-bold fa-fw" aria-hidden="true"></i> 42 </button> 43 <button type="button" class="button button-icon-only bbcode-i" accesskey="i" name="addbbcode2" value=" i " onclick="bbstyle(2)" title="{L_BBCODE_I_HELP}"> 44 <i class="icon fa-italic fa-fw" aria-hidden="true"></i> 45 </button> 46 <button type="button" class="button button-icon-only bbcode-u" accesskey="u" name="addbbcode4" value=" u " onclick="bbstyle(4)" title="{L_BBCODE_U_HELP}"> 47 <i class="icon fa-underline fa-fw" aria-hidden="true"></i> 48 </button> 49 <!-- IF S_BBCODE_QUOTE --> 50 <button type="button" class="button button-icon-only bbcode-quote" accesskey="q" name="addbbcode6" value="Quote" onclick="bbstyle(6)" title="{L_BBCODE_Q_HELP}"> 51 <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i> 52 </button> 53 <!-- ENDIF --> 54 <button type="button" class="button button-icon-only bbcode-code" accesskey="c" name="addbbcode8" value="Code" onclick="bbstyle(8)" title="{L_BBCODE_C_HELP}"> 55 <i class="icon fa-code fa-fw" aria-hidden="true"></i> 56 </button> 57 <button type="button" class="button button-icon-only bbcode-list" accesskey="l" name="addbbcode10" value="List" onclick="bbstyle(10)" title="{L_BBCODE_L_HELP}"> 58 <i class="icon fa-list fa-fw" aria-hidden="true"></i> 59 </button> 60 <button type="button" class="button button-icon-only bbcode-list-" accesskey="o" name="addbbcode12" value="List=" onclick="bbstyle(12)" title="{L_BBCODE_O_HELP}"> 61 <i class="icon fa-list-ol fa-fw" aria-hidden="true"></i> 62 </button> 63 <button type="button" class="button button-icon-only bbcode-asterisk" accesskey="y" name="addlistitem" value="[*]" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}"> 64 <i class="icon fa-asterisk fa-fw" aria-hidden="true"></i> 65 </button> 66 <!-- IF S_BBCODE_IMG --> 67 <button type="button" class="button button-icon-only bbcode-img" accesskey="p" name="addbbcode14" value="Img" onclick="bbstyle(14)" title="{L_BBCODE_P_HELP}"> 68 <i class="icon fa-image fa-fw" aria-hidden="true"></i> 69 </button> 70 <!-- ENDIF --> 71 <!-- IF S_LINKS_ALLOWED --> 72 <button type="button" class="button button-icon-only bbcode-url" accesskey="w" name="addbbcode16" value="URL" onclick="bbstyle(16)" title="{L_BBCODE_W_HELP}"> 73 <i class="icon fa-link fa-fw" aria-hidden="true"></i> 74 </button> 75 <!-- ENDIF --> 76 <!-- IF S_BBCODE_FLASH --> 77 <button type="button" class="button button-icon-only bbcode-flash" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" title="{L_BBCODE_D_HELP}"> 78 <i class="icon fa-flash fa-fw" aria-hidden="true"></i> 79 </button> 80 <!-- ENDIF --> 81 <button type="button" class="button button-icon-only bbcode-color" name="bbpalette" id="bbpalette" value="{L_FONT_COLOR}" onclick="change_palette();" title="{L_BBCODE_S_HELP}"> 82 <i class="icon fa-tint fa-fw" aria-hidden="true"></i> 83 </button> 84 <select name="addbbcode20" class="bbcode-size" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_BBCODE_F_HELP}"> 85 <option value="50">{L_FONT_TINY}</option> 86 <option value="85">{L_FONT_SMALL}</option> 87 <option value="100" selected="selected">{L_FONT_NORMAL}</option> 88 <!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 150 --> 89 <option value="150">{L_FONT_LARGE}</option> 90 <!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 200 --> 91 <option value="200">{L_FONT_HUGE}</option> 92 <!-- ENDIF --> 93 <!-- ENDIF --> 94 </select> 95 96 <!-- EVENT posting_editor_buttons_custom_tags_before --> 97 98 <!-- BEGIN custom_tags --> 99 <button type="button" class="button button-secondary bbcode-{custom_tags.BBCODE_TAG_CLEAN}" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{{ custom_tags.BBCODE_HELPLINE }}"> 100 {custom_tags.BBCODE_TAG} 101 </button> 102 <!-- END custom_tags --> 103 </div> 104 <!-- EVENT posting_editor_buttons_after --> 105 <!-- ENDIF -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |