#IF(#OpenGoogleWindow) #ENDIF

{GoogleRegistration}

#INCLUDE("Tabs")
{Registration} {XMLSitemap}
#IF(#FormError)

{InputError}

{PleaseCorrectErrors}

#ENDIF

{Notification}

{RegistrationInfo}

{GoogleURL} #IF(#DEFINED(#Shop.DomainName)) {AcquiredGoogleURL} #ELSIF(#WebServerScriptNamePart) {AcquiredGoogleURL} #ENDIF
#WITH_ERROR(#FormError)
{StartPage} #IF(#DEFINED(#Shop.DomainName)) http://#Shop.DomainName #ELSE #FUNCTION("IDNUrl", #Shop.WebUrl) #ENDIF

{Comments}
#ENDWITH_ERROR
#LOCAL("CanSubmit", 0) #IF(NOT #Shop.DomainName)

{Notification}

{NotificationNoDomainName}

#ELSIF(#Shop.ClosedByMerchant)

{Notification}

{NotificationShopClosed}

#ELSIF(#Shop.LoginRequired)

{Notification}

{NotificationLoginRequired}

#ELSE #SET("CanSubmit", 1) #LOCAL("SitemapURL", #ProtocolAndServer . "/sitemap-xml") #IF(#Error)

{RegistrationError}

#IF( #Error.Reason EQ "RegistrationMiss" )

{ContactProvider}

#ENDIF
#ELSIF(#RegistrationSuccess)

{SitemapRegistrationDone}

{SitemapRegistrationInfo}

{LinkWebmasterTools}
#ELSE

{Notification}

{XMLSitemapInfo}
{WebmasterToolsInfo} {WebmasterToolsInfo2}

{ShopXMLSitemap} {LinkWebmasterTools}
#ENDIF
{XMLSitemapCreated} #IF(#SitemapFileInfo.LastChange)#SitemapFileInfo.LastChange[datetime] #ELSE --- #ENDIF
{LinkXMLSitemap} #SitemapURL
#ENDLOCAL #ENDIF
#ENDLOCAL

{TipsAndTricks}

{OptimizeShopForSearchEngines}:
#IF(#FUNCTION("MENU_COUNT", "RelatedTopic") > 0)

{RelatedTopics}

#ENDIF