flatpress/fp-plugins/prettyurls/tpls/admin.plugin.prettyurls.tpl
Fraenkiman 749015cefb Issue #80
- The location of the .htaccess file is displayed
2024-03-27 15:08:53 +01:00

53 lines
1.5 KiB
Smarty

<h2>{$plang.head}</h2>
<p>{$plang.description1}</p>
{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>
<p class="alignright">
<a class="hint externlink" href="{$lang.admin.plugin.prettyurls.wiki_nginx}" target="_blank">{$lang.admin.plugin.prettyurls.nginx}</a>
</p>
<h3>{$plang.htaccess}</h3>
<p>{$plang.description2}</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}
<p>{$lang.admin.plugin.prettyurls.location}</p>
<input type="submit" name="htaccess-submit" value="{$plang.submit}"/>
{/if}
</div>
{/html_form}