{$is_custom_text = $app_id === ':text'} {function _render_field_url}
URL
{if strlen($route_id)}
http://{$domain_decoded}/ {if !$is_custom_text}/{/if}
{else}
http://{$domain_decoded}/ {if !$is_custom_text}/{/if}
{/if}
{/function}
{if strlen($route_id)}

{strip} {if $is_custom_text} [`Rule settings`] {else} [`App settings`] {/if} {/strip}

{else}

{strip} {if $is_custom_text} [`Add`] [`Custom text`] {else} {if !empty($app.name)} [`Add app`] {$app.name} {else} [`Add app`] {$route.app|escape|default:''} {/if} {/if} {/strip}

{if $is_custom_text} {else} {/if} {/if}
{include file="templates/layouts/includes/alert_misconfigured_settlement.html" misconfigured_settlement=$misconfigured_settlement inline}
{if $app} {if !empty($route.priority_settlement)} {/if} {if !empty($route.old_url)} {/if}
[`Name`]

[`If published, can be used in the site’s {$wa-apps()} navigation menu.`]
[`Publication`]
{if !empty($route.private)} {$route_disabled = null} {else} {$route_disabled = 1} {/if}
[`When disabled, the app is available at its direct address but is not indexed by search engines and is not included in the main menu {$wa-apps()}.`]
{_render_field_url} {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}
[`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 application as {$wa->param("key")}. Each key=value pair must be specified on a separate line.`] [`Help`]

{elseif $app_id === ':text'}
[`Name`]
{_render_field_url}
[`Custom text`]
[`Content type`]
[`If content type “file” is selected and the URL does not end with a name extension then requesting this URL will automatically start downloading of a file.`]
{elseif $app === false}
{$app_id|escape|string_format:"[`The [%s] app deleted or disabled.`]"}
{/if}