{* * $Revision: 15342 $ * If you want to customize this file, do not edit it directly since future upgrades * may overwrite it. Instead, copy it into a new directory called "local" and edit that * version. Gallery will look for that file first and use it if it exists. *}

{g->text text="URL Rewrite Setup"}

{if !empty($status)}

{if isset($status.saved)} {g->text text="Successfully saved settings"} {/if}

{/if} {if !empty($form.error)}

{g->text text="An error occured while trying to save your settings"}

{if isset($SetupRewrite.errors)}
{foreach from=$SetupRewrite.errors item=errstr} {$errstr}
{/foreach}
{/if}
{/if} {if isset($SetupRewrite.bootstrap)} {* Don't offer Apache mod_rewrite if we have detected IIS *} {if $SetupRewrite.server != 'IIS'}

{g->text text="Apache mod_rewrite"}

{g->text text="The Apache mod_rewrite module is installed on most Apache servers by default. If you are unsure of what method you should choose then select this. Gallery will try to detect if your server supports mod_rewrite."}

{/if} {* Don't offer Isapi Rewrite if we have detected Apache *} {if $SetupRewrite.server != 'APACHE'}

{g->text text="IIS ISAPI_Rewrite"}

{g->text text="This method allows for short URLs on IIS servers with ISAPI Rewrite installed. Gallery will try to detect if your server supports this method before activating the module."}

{/if}

{g->text text="PHP Path Info"}

{g->text text="Using Path Info is supported by most systems. With this method Gallery parses the URL itself during the request."}

{else} {if isset($AdminParser.template)} {include file="gallery:`$AdminParser.template`"} {if isset($AdminParser.action)}
{/if} {/if} {if isset($TestResults.template)} {include file="gallery:`$TestResults.template`"}
{if isset($TestResults.action)} {/if} {if !$SetupRewrite.needsConfiguration} {/if} {if isset($TestResults.refresh)} {/if}
{/if} {/if}