#BLOCK("WITH_FORM_ERROR",#FormError)
#IF(#INPUT.Page) #ENDIF#IF(#INPUT.PageSize) #ENDIF #IF(#FormError)

{InputError}

#IF(#OBJECT_EXISTS) {DoubleObject} #ELSE {PleaseCorrectErrors} #ENDIF
#ENDIF #IF(#DELETE)

{Warning}

{AcceptAction}
#LOOP(#DeleteObjects)#ENDLOOP #ENDIF #IF((NOT(#DELETE))AND(NOT(#FormError))) #LOCAL("VisibleCampaigns", 0) #IF(#COUNT(#NewsletterCampaigns)) #LOOP(#NewsletterCampaigns) #IF(#IsVisible) #SET("VisibleCampaigns", #VisibleCampaigns+1) #ENDIF #ENDLOOP #ENDIF #IF((#VisibleCampaigns NGE 1)AND(NOT(#Shop.DefaultStyle.Child.NavBarElements.Child.SubscribeNewletterLink))AND(NOT(#Shop.DefaultStyle.Child.NavBarElements.Child.SubscribeNewletterBox)))

{Notification}

{ShowNewsletterSubscription}
{AddNavElementNow}
#ENDIF #IF ((#VisibleCampaigns NEQ 0)AND(#Shop.DefaultStyle.Child.NavBarElements.Child.SubscribeNewletterLink OR #Shop.DefaultStyle.Child.NavBarElements.Child.SubscribeNewletterBox))

{Notification}

{HideNewsletterSubscription}
{DeleteNavElementNow}
#ENDIF #ENDLOCAL #SNIPPET("INC-BatchActions", "BatchActions", "BatchActions") #ENDIF #INCLUDE("INC-PagerHeader") #IF(#DELETE) #LOOP(#DeleteObjects) #ENDLOOP #ELSE #LOOP(#Pager.Items) #ENDLOOP #ENDIF #IF(NOT #DELETE) #ENDIF
{Alias} {Name} {CountOfAddressees} {Position}
#IF(NOT #DELETE)#INCLUDE("Pager")#ENDIF
#IF(#IsVisible) #ELSE #ENDIF #Alias #Name #COUNT(#SubscribedAddressees) {Show} #Position
#IF(#IsVisible) #ELSE #ENDIF#Alias #Name #COUNT(#SubscribedAddressees) {Show} #BLOCK("WITH_FORM_ERROR", #FormError) #ENDBLOCK
#IF(#Shop.FeatureMaxValue.Newsletter) #IF(#DELETE) #ELSE #ENDIF #ENDIF

{RelatedTopics}

#ENDBLOCK