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

{Info3}

#ENDIF #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}

#ELSIF(#FormErrors.Reason.NON_EXCELLENCE_CERTIFICATION)

{NonExcellenceCertification1}

{NonExcellenceCertification2}
{NonExcellenceCertification3} #ELSE

{PleaseCorrectErrors}

#ENDIF
#ENDIF #IF(#DELETE)

{AcceptAction}


#LOOP(#DeleteObjects)#ENDLOOP #ELSE #INCLUDE("INC-MarketingText")
#INCLUDE("INC-AddCertificateSetupGuideContent")
#ENDIF #IF(#DELETE) #LOOP(#DeleteObjects) #ENDLOOP #ELSE #LOOP(#TrustedShopsCertificates) #ENDLOOP {IsExcellence} #ENDIF
{ShopId} {Language} {Type} {Status}
#NameOrAlias #LOCAL("LangSet", "0")#LOOP(#Languages)#IF(#Code2 EQ #CertificationLanguage)#Native#SET("LangSet", "1")#ENDIF#ENDLOOP#IF(NOT #LangSet)#CertificationLanguage#ENDIF#ENDLOCAL #MENU("TrustedShopsTypes")#INCLUDE(#Template)#ENDMENU #IF(#CertificateStatusText NE "OTHER") #TRANSLATE(#CertificateStatusText) #ENDIF
#Alias #IF(#IsExcellence AND (NOT(#WebserviceUsername) OR NOT(#WebservicePassword))) {DoComplete} #ENDIF #IF( #CertificateStatusText NE "OTHER" ) {ShowCertificate} #ENDIF #LOCAL("LangSet", "0")#LOOP(#Languages)#IF(#Code2 EQ #CertificationLanguage)#Native#SET("LangSet", "1")#ENDIF#ENDLOOP#IF(NOT #LangSet)#CertificationLanguage#ENDIF#ENDLOCAL #MENU("TrustedShopsTypes")#INCLUDE(#Template)#ENDMENU #IF(#CertificateStatusText NE "OTHER") #TRANSLATE(#CertificateStatusText) #ENDIF
 
#IF(#DELETE) #ELSE #ENDIF
#IF(#FUNCTION("MENU_COUNT", "RelatedTopic") > 0)

{RelatedTopics}

#ENDIF #ENDWITH_ERROR
#ENDIF#ENDLOCAL
{INVALID} {CANCELLED} {DISABLED} {INTEGRATION} {OTHER}