[-] BO : fixed #PSFV-747 - mod_rewrite not detected
This commit is contained in:
1 parent
97abfaf349
commit
b83ca428a4
1 file changed
+2
-3
@@ -27,15 +27,14 @@
|
|||||||
{extends file="helpers/options/options.tpl"}
|
{extends file="helpers/options/options.tpl"}
|
||||||
{block name="input"}
|
{block name="input"}
|
||||||
{if $field['type'] == 'rewriting_settings'}
|
{if $field['type'] == 'rewriting_settings'}
|
||||||
{if $field['mod_rewrite']}
|
|
||||||
<label class="t" for="{$key}_on"><img src="../img/admin/enabled.gif" alt="{l s='Yes'}" title="{l s='Yes'}" /></label>
|
<label class="t" for="{$key}_on"><img src="../img/admin/enabled.gif" alt="{l s='Yes'}" title="{l s='Yes'}" /></label>
|
||||||
<input type="radio" name="{$key}" id="{$key}_on" value="1" {if $field['value']} checked="checked"{/if}{if isset($field['js']['on'])} {$field['js']['on']}{/if}/>
|
<input type="radio" name="{$key}" id="{$key}_on" value="1" {if $field['value']} checked="checked"{/if}{if isset($field['js']['on'])} {$field['js']['on']}{/if}/>
|
||||||
<label class="t" for="{$key}_on"> {l s='Yes'}</label>
|
<label class="t" for="{$key}_on"> {l s='Yes'}</label>
|
||||||
<label class="t" for="{$key}_off"><img src="../img/admin/disabled.gif" alt="{l s='No'}" title="{l s='No'}" style="margin-left: 10px;" /></label>
|
<label class="t" for="{$key}_off"><img src="../img/admin/disabled.gif" alt="{l s='No'}" title="{l s='No'}" style="margin-left: 10px;" /></label>
|
||||||
<input type="radio" name="{$key}" id="{$key}_off" value="0" {if !$field['value']} checked="checked"{/if}{if isset($field['js']['off'])} {$field['js']['off']}{/if}/>
|
<input type="radio" name="{$key}" id="{$key}_off" value="0" {if !$field['value']} checked="checked"{/if}{if isset($field['js']['off'])} {$field['js']['off']}{/if}/>
|
||||||
<label class="t" for="{$key}_off"> {l s='No'}</label>
|
<label class="t" for="{$key}_off"> {l s='No'}</label>
|
||||||
{else}
|
{if !$field['mod_rewrite']}
|
||||||
<span class="warning_mod_rewrite" style="display:block;height:15px">{l s='URL rewriting (mod_rewrite) is not active on your server. If you want to use Friendly URL you must activate this mod.'}</span>
|
<span class="warning_mod_rewrite" style="height:15px">{l s='URL rewriting (mod_rewrite) is not active on your server. If you want to use Friendly URL you must activate this mod.'}</span>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
{/if}
|
{/if}
|
||||||
{else}
|
{else}
|
||||||
|
|||||||
Reference in new issue
Block a user