Verzeichnisstruktur phpBB-3.0.0
- Veröffentlicht
- 12.12.2007
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 e: '{LA_BBCODE_E_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 var panels = new Array('options-panel', 'attach-panel', 'poll-panel');
036 var show_panel = 'options-panel';
037
038
039 // ]]>
040 </script>
041 <script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>
042
043 <!-- IF S_BBCODE_ALLOWED -->
044 <div id="colour_palette" style="display: none;">
045 <dl style="clear: left;">
046 <dt><label>{L_FONT_COLOR}:</label></dt>
047 <dd>
048 <script type="text/javascript">
049 // <![CDATA[
050 function change_palette()
051 {
052 dE('colour_palette');
053 e = document.getElementById('colour_palette');
054
055 if (e.style.display == 'block')
056 {
057 document.getElementById('bbpalette').value = '{LA_FONT_COLOR_HIDE}';
058 }
059 else
060 {
061 document.getElementById('bbpalette').value = '{LA_FONT_COLOR}';
062 }
063 }
064
065 colorPalette('h', 15, 10);
066 // ]]>
067 </script>
068 </dd>
069 </dl>
070 </div>
071
072 <div id="format-buttons">
073 <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}" />
074 <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}" />
075 <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}" />
076 <!-- IF S_BBCODE_QUOTE -->
077 <input type="button" class="button2" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" title="{L_BBCODE_Q_HELP}" />
078 <!-- ENDIF -->
079 <input type="button" class="button2" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" title="{L_BBCODE_C_HELP}" />
080 <input type="button" class="button2" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" title="{L_BBCODE_L_HELP}" />
081 <input type="button" class="button2" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" title="{L_BBCODE_O_HELP}" />
082 <input type="button" class="button2" accesskey="t" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" />
083 <!-- IF S_BBCODE_IMG -->
084 <input type="button" class="button2" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" title="{L_BBCODE_P_HELP}" />
085 <!-- ENDIF -->
086 <!-- IF S_LINKS_ALLOWED -->
087 <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}" />
088 <!-- ENDIF -->
089 <!-- IF S_BBCODE_FLASH -->
090 <input type="button" class="button2" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" title="{L_BBCODE_D_HELP}" />
091 <!-- ENDIF -->
092 <select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_BBCODE_F_HELP}">
093 <option value="50">{L_FONT_TINY}</option>
094 <option value="85">{L_FONT_SMALL}</option>
095 <option value="100" selected="selected">{L_FONT_NORMAL}</option>
096 <option value="150">{L_FONT_LARGE}</option>
097 <option value="200">{L_FONT_HUGE}</option>
098 </select>
099 <input type="button" class="button2" name="bbpalette" id="bbpalette" value="{L_FONT_COLOR}" onclick="change_palette();" title="{L_BBCODE_S_HELP}" />
100 <!-- BEGIN custom_tags -->
101 <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}" />
102 <!-- END custom_tags -->
103 </div>
104 <!-- ENDIF -->
105