flatpress/fp-plugins/bbcode/tpls/admin.plugin.bbcode.tpl
azett 52bf429a01 Replaced Smarty 2.6.31-dev with v 4.0.4, keeping the FP-specific Smarty plugins.
Updated calls to current Smarty API (register_function()/register_modifier()/register_block() -> registerPlugin(); assign_by_ref() -> assignByRef()).
Fixed file includes in templates with quotes.
Removed SmartyValidate.class.php includes.

Still work in progress as some errors still appear!
2022-01-23 15:02:33 +01:00

55 lines
1.2 KiB
Smarty

<h2>{$plang.head}</h2>
<p>{$plang.desc1}</p>
{include file="shared:errorlist.tpl"}
{html_form class=option-set}
<h2>{$plang.editing}</h2>
<dl class="option-list">
<dt><label for="bb-escape-html">
{$plang.allow_html}
</label></dt>
<dd>
<p><input type="checkbox" name="bb-allow-html" id="bb-allow-html" {if $bbchecked[0]}checked="checked"{/if} />
{$plang.allow_html_long}</p>
</dd>
<dt><label for="bb-toolbar">
{$plang.toolbar}
</label></dt>
<dd>
<p><input type="checkbox" name="bb-toolbar" id="bb-toolbar" {if $bbchecked[2]}checked="checked"{/if} />
{$plang.toolbar_long}</p>
</dd>
</dl>
<h2>{$plang.other}</h2>
<dl class="option-list">
<dt><label for="bb-comments">
{$plang.comments}
</label></dt>
<dd>
<p><input type="checkbox" name="bb-comments" id="bb-comments" {if $bbchecked[1]}checked="checked"{/if} />
{$plang.comments_long} </p>
</dd>
<dt><label for="bb-urlmaxlen">
{$plang.urlmaxlen}
</label></dt>
<dd>
<p>{$plang.urlmaxlen_long_pre}
<input type="text" name="bb-maxlen" size="3" value="{$bbconf.number}">
{$plang.urlmaxlen_long_post}</p>
</dd>
</dl>
<p class="buttonbar">
<input type="submit" name="bb-conf" value="{$plang.submit}"/>
</p>
{/html_form}