Screenshot: http://img3.fotos-hochladen.net/uploads ... lgf4tv.png
Ich habe solche Buttons schon in der posting_buttons.html um vorgegebene Texte in das Beitragsfeld einzufügen.
Die Codes dafür sehen so aus:
Code: Alles auswählen
<input type="button" class="btnbbcode" name="E" value="#-Hinweis" onclick="bbfontstyle('Nicht logische Hashtags entfernt\nBitte beachte: [url=http://www.linkzumthema.de]Wie nutze ich Hashtags sinnvoll?[/url]', '');this.form.addbbcode9999;" title="#-Hinweis" />
Dafür habe ich auch schon die passende Datei gefunden, es ist die posting_editor.html:
Code: Alles auswählen
<!-- IF S_EDIT_REASON -->
<dl>
<dt><label for="edit_reason">{L_EDIT_REASON}:</label></dt>
<dd><input type="text" name="edit_reason" id="edit_reason" value="{EDIT_REASON}" class="inputbox" /></dd>
</dl>
<!-- ENDIF -->
Code: Alles auswählen
onclick="bbfontstyle
Code: Alles auswählen
;this.form.addbbcode9999;"
Ich hoffe, ihr könnt mir da weiter helfen
![Lächeln :)](./images/smilies/icon_e_smile.gif)