flatpress/fp-plugins/prettyurls/tpls/admin.plugin.prettyurls.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

48 lines
1.3 KiB
Smarty

<h2>{$plang.head}</h2>
{include file="shared:errorlist.tpl"}
{html_form}
<h3>{$plang.mode} </h3>
<dl>
<dt><label><input type="radio" name="mode" value="0" {if $pconfig.mode == 0 }checked=checked{/if}>
{$plang.auto} </label> </dt>
<dd>{$plang.autodescr}</dd>
<dt><label><input type="radio" name="mode" value="1" {if $pconfig.mode==1}checked=checked{/if}>
{$plang.pathinfo} </label> </dt>
<dd>{$plang.pathinfodescr}</dd>
<dt><label><input type="radio" name="mode" value="2" {if $pconfig.mode==2}checked=checked{/if}>
{$plang.httpget} </label> </dt>
<dd>{$plang.httpgetdescr}</dd>
<dt><label><input type="radio" name="mode" value="3" {if $pconfig.mode==3}checked=checked{/if}>
{$plang.pretty} </label> </dt>
<dd>{$plang.prettydescr}</dd>
</dl>
<div class="buttonbar">
<input type="submit" name="saveopt" value="{$plang.saveopt}" />
</div>
<h3>{$plang.htaccess}</h3>
<p>{$plang.description}</p>
<p>
<textarea id="htaccess" name="htaccess"
{if $cantsave}readonly="readonly" {/if}cols="70" rows="16">{$htaccess|escape:'html'}</textarea>
</p>
<div class="buttonbar">
{if $cantsave}
<p><em>{$plang.cantsave}</em></p>
{else}
<input type="submit" name="htaccess-submit" value="{$plang.submit}"/>
{/if}
</div>
{/html_form}