{include file="templates/actions/backend/includes/domain_tabs.html" selected='settings' inline}
{$wa->csrf()}
[`Domain name`]
http://

[`The domain name must be registered and set up to point to this Webasyst account.`] [`Help`]

[`Site name`]

[`It can be used in the backend in the site selection section and on the site itself in the navigation menu`] {$wa->apps()}
{if !empty($domain_alias)}
[`Alias (mirror) for site`]
{$domain_alias}
{else}
[`Security`]
[`You cannot enable redirection because your web server does not allow to distinguish HTTP from HTTPS.`]
[`Redirect website visitors from ordinary HTTP to secure HTTPS connection.`]
[`This option will work only if an SSL certificate is installed for your domain name.`]
[`Links in the site navigation menu`]
{$wa->apps()}
[`Visual appearance can be supplemented or completely modified by design settings.`]
{foreach $domain_apps as $row} {/foreach}
{$row.name|escape} {$row.url|escape}
[`Add link`]
{/if} {if !empty($domain_alias)} {* ROBOTS.TXT *} {_renderRobotsControl } {/if} {if empty($domain_alias)} {* FAVICON *}
{$has_favicon = !empty($favicon)}
[`Site icon for browsers and search engines (favicon)`]
{if $has_favicon}{$favicon.name}{/if}
[`Delete`]
{if isset($favicon_message)}
{$favicon_message}
{/if}
[`Recommendations: square shape, 48x48 pixels size, PNG or ICO file format.`]
[`A PNG favicon will be additionally converted to the ICO format.`]
{* ICON FOR IOS *}
{$has_touchicon = !empty($touchicon)}
[`Icon for smartphones`]
{if $has_touchicon}{$touchicon.name}{/if}
[`Delete`]
[`The icon is displayed, for instance, when a site label is added to smartphone home screen. Recommendations: square shape, from 192x192 to 1024x1024 pixels size, PNG file format.`]
{if isset($touchicon_message)}
{$touchicon_message}
{/if}
[`Label under icon`]
{* ROBOTS.TXT *} {_renderRobotsControl} {* CDN *}
[`CDN`]
{foreach $cdn_list as $_cdn} {_renderCdnItem _cdn=$_cdn} {foreachelse} {_renderCdnItem} {/foreach}
[`Add`]

[`Enable CDN (Content Delivery Network) support for this site by entering CDN URL prefix.`]

[`Custom JavaScript code within <head>`]
[`Additional JavaScript code to be added before the closing </head> tag:`]
[`Google Analytics Property ID`]:
{if !empty($google_analytics.universal)} {$code_hint = 'UA-123456-1'} {else} {$code_hint = 'G-FJBLKODBA0'} {/if} {sprintf('[`E.g., %s
If you are using Google Analytics to track website visits and conversions, then, instead of embedding Google Analytics JS code manually, you can simply enter your Google Analytics Property ID here. A valid Google Analytics code will be automatically embedded in all apps and design themes just before the closing </head> tag.`]', $code_hint)}
{* @event backend_settings.%plugin_id%.section *} {foreach $backend_settings as $_}{ifset($_.section)}{/foreach} {* Custom text *}

[`Custom files in site root`]

[`Help confirm the site ownership for third-party services and may also be used for other purposes.`]

{* Redirect *}

[`Redirects`]

[`Redirect site visitors from outdated to new URLs.`]

{* Section settings *}

[`Apps on the site`]

[`These apps cannot form a whole site section but are capable of displaying useful content somewhere on the site or by a special link.`]

{$routing_errors = siteHelper::getRoutingErrorsInfo()} {if !empty($routing_errors['not_install'])}
{$routing_errors['not_install']}
{/if}
{/if}