mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 10:28:55 +00:00
[ticket/17326] Move HTML to acp_bbcodes.html
PHPBB-17326
This commit is contained in:
parent
53d7fff391
commit
fe3750bfb2
2 changed files with 2 additions and 4 deletions
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{L_BBCODE_USAGE}</legend>
|
<legend>{L_BBCODE_USAGE}</legend>
|
||||||
<p>{L_BBCODE_USAGE_EXPLAIN}</p>
|
<p>{{ lang('BBCODE_USAGE_EXPLAIN', '<a href="#down">', '</a>') }}</p>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="bbcode_match">{L_EXAMPLES}</label><br /><br /><span>{L_BBCODE_USAGE_EXAMPLE}</span></dt>
|
<dt><label for="bbcode_match">{L_EXAMPLES}</label><br /><br /><span>{L_BBCODE_USAGE_EXAMPLE}</span></dt>
|
||||||
<dd><textarea id="bbcode_match" name="bbcode_match" cols="60" rows="5">{BBCODE_MATCH}</textarea></dd>
|
<dd><textarea id="bbcode_match" name="bbcode_match" cols="60" rows="5">{BBCODE_MATCH}</textarea></dd>
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{{ lang('APPEARANCE') }}</legend>
|
<legend>{{ lang('APPEARANCE') }}</legend>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="bbcode_font_icon">{{ lang('BBCODE_FONT_ICON') }}</label><br /><span>{L_BBCODE_FONT_ICON_EXPLAIN}</span></dt>
|
<dt><label for="bbcode_font_icon">{{ lang('BBCODE_FONT_ICON') }}</label><br><span>{{ lang('BBCODE_FONT_ICON_EXPLAIN', '<a href="https://fontawesome.com/v6/icons/" target="_blank">', '</a>') }}</span></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<input type="text" name="bbcode_font_icon" id="bbcode_font_icon" value="{{ BBCODE_FONT_ICON }}" />
|
<input type="text" name="bbcode_font_icon" id="bbcode_font_icon" value="{{ BBCODE_FONT_ICON }}" />
|
||||||
{{ Icon('font', BBCODE_FONT_ICON, '', false, '', {'id':'bbcode_icon_preview'}) }}
|
{{ Icon('font', BBCODE_FONT_ICON, '', false, '', {'id':'bbcode_icon_preview'}) }}
|
||||||
|
|
|
@ -104,8 +104,6 @@ class acp_bbcodes
|
||||||
'U_BACK' => $this->u_action,
|
'U_BACK' => $this->u_action,
|
||||||
'U_ACTION' => $this->u_action . '&action=' . (($action == 'add') ? 'create' : 'modify') . (($bbcode_id) ? "&bbcode=$bbcode_id" : ''),
|
'U_ACTION' => $this->u_action . '&action=' . (($action == 'add') ? 'create' : 'modify') . (($bbcode_id) ? "&bbcode=$bbcode_id" : ''),
|
||||||
|
|
||||||
'L_BBCODE_USAGE_EXPLAIN' => sprintf($user->lang['BBCODE_USAGE_EXPLAIN'], '<a href="#down">', '</a>'),
|
|
||||||
'L_BBCODE_FONT_ICON_EXPLAIN' => sprintf($user->lang['BBCODE_USAGE_EXPLAIN'], '<a href="https://fontawesome.com/v6/icons/" target="_blank">', '</a>'),
|
|
||||||
'BBCODE_MATCH' => $bbcode_match,
|
'BBCODE_MATCH' => $bbcode_match,
|
||||||
'BBCODE_TPL' => $bbcode_tpl,
|
'BBCODE_TPL' => $bbcode_tpl,
|
||||||
'BBCODE_HELPLINE' => $bbcode_helpline,
|
'BBCODE_HELPLINE' => $bbcode_helpline,
|
||||||
|
|
Loading…
Add table
Reference in a new issue