{$is_broken_route_url = !empty($route.is_broken_route_url) && $route.is_broken_route_url} {$has_route = strlen($route_id)} {capture assign="_field_url"}
URL
{if $has_route} http://{$domain_decoded}/ {if empty($is_main_page)} / {else} {/if} {else} http://{$domain_decoded}/ / {/if}
{if isset($route.show_over_another_section) || $has_route}
{if $app_id === 'site' && isset($route.show_over_another_section)}
{/if} {if $has_route} {if empty($is_main_page)} {/if} {/if}
{/if}
{/capture}
{if $has_route}

{if $app_id === 'site'}[`Page settings`]{else}[`Section settings`]{/if}

{else}

{if $app_id === 'site'} [`New page`] {else} {if !empty($app.name)} [`New section`] ({$app.name|escape}) {else} {$route_app = $route.app|escape|default:''} {if strlen($route_app)} [`New section`] ({$route_app}) {else} [`New section`] {/if} {/if} {/if}

{if $app_id !== 'site'} {/if} {/if}
{include file="templates/layouts/includes/alert_misconfigured_settlement.html" misconfigured_settlement=$misconfigured_settlement inline} {include file="templates/layouts/includes/alert_broken_url.html" is_broken_route_url=$is_broken_route_url inline}
{if $app} {$other_params_list = [ 'app', 'url', 'theme', 'theme_mobile', 'locale', 'private', 'ssl', 'ssl_all', 'disabled', 'is_broken_route_url', 'priority_settlement', 'old_url', 'show_over_another_section' ]} {$_route_params = []} {foreach $route as $key=>$value} {if !in_array($key, $other_params_list) && substr($key, 0, 1) != '_' && !isset($params[$key]) && is_scalar($value)} {$_route_params[$key] = $value} {/if} {/foreach} {* если параметры различаются *} {$_is_params_diff = false} {if isset($other_params) && isset($_route_params)} {$_is_params_diff = (array_diff_assoc($other_params, $_route_params) || array_diff_assoc($_route_params, $other_params))} {/if} {if !empty($route.priority_settlement)} {/if} {if !empty($route.old_url)} {/if}
{if $app_id === 'site'}
[`Page name`]
{if !empty($page.id)} id: {$page.id} {else} {/if}

[`Used as the page title. Can be displayed on the site if allowed by design settings.`]

[s`Draft`] [s`Published`]
{$_field_url} {/if}
{if $app_id === 'site'} {if $page && $page.name != $route_name}
[`Main menu title`]

[`Used in the top-level navigation menu {$wa->apps()}. Can be displayed on the site if allowed by design settings.`]
{else} {/if} {else}
[`Name`]

[`Used in the top-level navigation menu {$wa->apps()}. Can be displayed on the site if allowed by design settings.`]
{/if}
{if $app_id === 'site'} {if $page && $page.status != empty($route.private)|intval}
[`Visibility of this page and its subpages`]

[`When disabled, the page and all its subpages are excluded from the top-level {$wa->apps()} menu and are not indexed by search engines, but are still available at their direct addresses.`]

{else} {/if} {else}
[`Visibility on the site and in search engines`]

[`When disabled, the section and all its subpages are excluded from the top-level {$wa->apps()} menu and are not indexed by search engines, but are still available at their direct addresses.`]

{/if}
{if $app_id !== 'site'} {$_field_url} {/if} {$themes=siteHelper::getThemes($app_id, true)} {if $themes}
[`Design theme`]
  • {if $app_id === 'site'} [`Theme settings`] {/if}
  • {$used_theme_mobile = (!empty($themes[ifset($route['theme_mobile'])])) ? $route['theme_mobile'] : 'default'}
{/if}
{if !$has_route} {/if} {elseif $app === false}
{$app_id|escape|string_format:"[`The [%s] app deleted or disabled.`]"}
{/if}