Verzeichnisstruktur phpBB-3.1.0
- Veröffentlicht
- 27.10.2014
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
posting_buttons.html
001
002 <script type="text/javascript">
003 // <![CDATA[
004 var form_name = 'postform';
005 var text_name = <!-- IF $SIG_EDIT -->'signature'<!-- ELSE -->'message'<!-- ENDIF -->;
006 var load_draft = false;
007 var upload = false;
008
009 // Define the bbCode tags
010 var bbcode = new Array();
011 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 -->);
012 var imageTag = false;
013
014 // Helpline messages
015 var help_line = {
016 b: '{LA_BBCODE_B_HELP}',
017 i: '{LA_BBCODE_I_HELP}',
018 u: '{LA_BBCODE_U_HELP}',
019 q: '{LA_BBCODE_Q_HELP}',
020 c: '{LA_BBCODE_C_HELP}',
021 l: '{LA_BBCODE_L_HELP}',
022 o: '{LA_BBCODE_O_HELP}',
023 p: '{LA_BBCODE_P_HELP}',
024 w: '{LA_BBCODE_W_HELP}',
025 a: '{LA_BBCODE_A_HELP}',
026 s: '{LA_BBCODE_S_HELP}',
027 f: '{LA_BBCODE_F_HELP}',
028 y: '{LA_BBCODE_Y_HELP}',
029 d: '{LA_BBCODE_D_HELP}'
030 <!-- BEGIN custom_tags -->
031 ,cb_{custom_tags.BBCODE_ID}: '{custom_tags.A_BBCODE_HELPLINE}'
032 <!-- END custom_tags -->
033 }
034
035 function change_palette()
036 {
037 phpbb.toggleDisplay('colour_palette');
038 e = document.getElementById('colour_palette');
039
040 if (e.style.display == 'block')
041 {
042 document.getElementById('bbpalette').value = '{LA_FONT_COLOR_HIDE}';
043 }
044 else
045 {
046 document.getElementById('bbpalette').value = '{LA_FONT_COLOR}';
047 }
048 }
049
050 // ]]>
051 </script>
052 <!-- INCLUDEJS {T_ASSETS_PATH}/javascript/editor.js -->
053
054 <!-- IF S_BBCODE_ALLOWED -->
055 <div id="colour_palette" style="display: none;">
056 <dl style="clear: left;">
057 <dt><label>{L_FONT_COLOR}{L_COLON}</label></dt>
058 <dd id="color_palette_placeholder" data-orientation="h" data-height="12" data-width="15" data-bbcode="true"></dd>
059 </dl>
060 </div>
061
062 <!-- EVENT posting_editor_buttons_before -->
063 <div id="format-buttons">
064 <input type="button" class="button2 bbcode-b" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onclick="bbstyle(0)" title="{L_BBCODE_B_HELP}" />
065 <input type="button" class="button2 bbcode-i" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onclick="bbstyle(2)" title="{L_BBCODE_I_HELP}" />
066 <input type="button" class="button2 bbcode-u" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onclick="bbstyle(4)" title="{L_BBCODE_U_HELP}" />
067 <!-- IF S_BBCODE_QUOTE -->
068 <input type="button" class="button2 bbcode-quote" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" title="{L_BBCODE_Q_HELP}" />
069 <!-- ENDIF -->
070 <input type="button" class="button2 bbcode-code" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" title="{L_BBCODE_C_HELP}" />
071 <input type="button" class="button2 bbcode-list" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" title="{L_BBCODE_L_HELP}" />
072 <input type="button" class="button2 bbcode-list-" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" title="{L_BBCODE_O_HELP}" />
073 <input type="button" class="button2 bbcode-asterisk" accesskey="y" name="addlistitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" />
074 <!-- IF S_BBCODE_IMG -->
075 <input type="button" class="button2 bbcode-img" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" title="{L_BBCODE_P_HELP}" />
076 <!-- ENDIF -->
077 <!-- IF S_LINKS_ALLOWED -->
078 <input type="button" class="button2 bbcode-url" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onclick="bbstyle(16)" title="{L_BBCODE_W_HELP}" />
079 <!-- ENDIF -->
080 <!-- IF S_BBCODE_FLASH -->
081 <input type="button" class="button2 bbcode-flash" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" title="{L_BBCODE_D_HELP}" />
082 <!-- ENDIF -->
083 <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}">
084 <option value="50">{L_FONT_TINY}</option>
085 <option value="85">{L_FONT_SMALL}</option>
086 <option value="100" selected="selected">{L_FONT_NORMAL}</option>
087 <!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 150 -->
088 <option value="150">{L_FONT_LARGE}</option>
089 <!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 200 -->
090 <option value="200">{L_FONT_HUGE}</option>
091 <!-- ENDIF -->
092 <!-- ENDIF -->
093 </select>
094 <input type="button" class="button2 bbcode-color" name="bbpalette" id="bbpalette" value="{L_FONT_COLOR}" onclick="change_palette();" title="{L_BBCODE_S_HELP}" />
095 <!-- BEGIN custom_tags -->
096 <input type="button" class="button2 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}" />
097 <!-- END custom_tags -->
098 </div>
099 <!-- EVENT posting_editor_buttons_after -->
100 <!-- ENDIF -->
101