#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")
#LOCAL("MobileSitemapURL", #ProtocolAndServer . "/mobilesitemap-xml")
#IF(#Error)
{RegistrationError}
#IF( #Error.Reason EQ "RegistrationMiss" )
{ContactProvider}
#ENDIF
#ELSIF(#RegistrationSuccess)
#ELSE
#ENDIF
|
{XMLSitemap} |
#SitemapURL |
#IF(#Shop.UseMobileSF)
{XMLSitemapForMobileDevices} |
#MobileSitemapURL |
#ENDIF
|
{XMLSitemapCreated} |
#IF(#SitemapFileInfo.LastChange)#SitemapFileInfo.LastChange[datetime] #ELSE --- #ENDIF |
|
#ENDLOCAL
#ENDLOCAL
#ENDIF