#LOCAL("DisplayFeature", #FUNCTION("FeaturedActionAvailable", #Shop.Object, #UNDEF, "TrustedShops"))#IF(#DisplayFeature NE "NotVisible")
#IF(#HasCertificateJustBeenAdded EQ "1")

{Info3}

#REM #ENDREM #ENDIF #WITH_ERROR(#FormError)
#IF(#FormError)
#IF(#FormErrors.Reason.OBJECT_EXISTS)

{DoubleObject}

#ELSIF(#FormErrors.Reason.INVALID_FORMAT)

{InvalidFormat}

#ELSIF(#FormErrors.Reason.INVALID_CERTIFICATE)

{InvalidCertificate}

#ELSIF(#FormErrors.Reason.LANGUAGE_CERTIFICATE_EXISTS)

{LanguageCertificateExists}

#ELSE

{PleaseCorrectErrors}

#ENDIF
#REM #ENDREM #ENDIF #IF(#DELETE)

{AcceptAction}


#REM #ENDREM #LOOP(#DeleteObjects)#ENDLOOP #ELSE
{TrustedShops}
#REM #ENDREM
#REM #ENDREM
#INCLUDE("INC-MarketingText")
#REM #ENDREM
#REM #ENDREM
#INCLUDE("INC-AddCertificateSetupGuideContent")
#REM #ENDREM #ENDIF
{AllLanguagesAlreadyInUse}
#IF(NOT #DELETE) #SNIPPET("INC-BatchActions", "BatchActions", "BatchActions") #REM #ENDREM #IF(#FormError_NewAlias) #ENDIF #REM #ENDREM #ENDIF #IF(#DELETE) #LOOP(#DeleteObjects) #ENDLOOP #ELSE #LOOP(#TrustedShopsCertificates) #ENDLOOP #ENDIF
{ShopId} {Language}
#NameOrAlias #LOCAL("LangSet", "0")#LOOP(#Languages)#IF(#Code2 EQ #CertificationLanguage)#TRANSLATE(#Code3)#SET("LangSet", "1")#ENDIF#ENDLOOP#IF(NOT #LangSet)#CertificationLanguage#ENDIF#ENDLOCAL
#Alias #IF( #CertificateStatusText NE "OTHER" ) {ShowCertificate} #ENDIF #LOCAL("LangSet", "0")#LOOP(#Languages)#IF(#Code2 EQ #CertificationLanguage)#TRANSLATE(#Code3)#SET("LangSet", "1")#ENDIF#ENDLOOP#IF(NOT #LangSet)#CertificationLanguage#ENDIF#ENDLOCAL
#IF(#DELETE) #ELSE #ENDIF
#REM #ENDREM #ENDWITH_ERROR
#REM #ENDREM #ENDIF#ENDLOCAL
{INVALID} {CANCELLED} {DISABLED} {INTEGRATION} {OTHER}