{if !$wa->get('details')}
{if $wa->get('reload_on_change')}{/if}
← [`Back`] {if strlen($route_id)} {if empty($route.redirect)}
{if $app}

{$app.name}

{elseif $route.app ===':text'} [`Custom text`] {else} {$route.app|escape} {/if}
{/if}
{$domain_decoded}/
{if empty($route.redirect) && !isset($route.static_content) && !$app} {/if} {else}
{$domain_decoded}/
{if empty($route.redirect)}
{/if} {/if}
{/if}
{* FIELDS FOR REDIRECT *}
[`Temporary redirecting`]
[`Enable for temproray redirecting only, which you are planning to cancel in the future.`]
[`Disable for permanent redirecting with server response code 301, which is used to inform search engines that the new URL should be indexed instead of the old one.`]
[`Comment`]
{$themes=siteHelper::getThemes($app_id, true)} {if $app}
[`Settlement name`]

[`Name is used in the $wa->apps navigation menu of this website`]
{if $themes}
[`Design theme`]
[`Mobile design theme`]

[`Design theme for mobile multi-touch devices such as iPhone and Android`]
[`Language`]
{if !strlen($route_id)}{$_l=$wa->locale()}{else}{$_l=ifset($route.locale, '')}{/if}
[`Select a language to translate text strings in website frontend.`]
[`If “Auto” option is selected, website language will be determined by user browser settings.`]
{/if}
[`Privacy`]
[`Security`]
{if !empty($params)} {foreach $params as $p} {if is_array($p)} {if $p.type == 'hidden'} {$p.value} {else}
{$p.name|escape}
{$p.value}
{/if} {else}

{$p}

{/if} {/foreach} {/if}
[`Custom parameters`]

[`Optional set of custom key=value parameters, which can be used in design templates and pages of this settlement as {$wa->param("key")}. Each key=value pair must be specified on a separate line.`] [`Help`]
{elseif $app_id === ':text'}
[`Custom text`]
[`Content type`]

[`If content type “file” is selected, downloading of a file will start automatically if there is no extension in its name.`]
[`Privacy`]
{elseif $app === false}
{$app_id|escape|string_format:"[`App [%s] deleted or disabled.`]"}
{/if} {if !empty($route.redirect) || isset($route.static_content) || $app}
{if strlen($route_id)} {/if}
{/if}
{if !$wa->get('details')}
{* DIALOGS *}

[`Delete route`]

{sprintf('[`You are about to delete the only routing rule set up for %s app.`]', ifempty($app.name))}

[`This will limit its functionality. Delete the rule?`]

[s`or`] [s`cancel`]
{/if}