#LOCAL("ExistsTrustedRatinginShop", 0) #LOOP(#Shop.Languages) #BLOCK("WITH_LANGUAGE", #LanguageID) #IF (#TrustedRatingIsActive) #SET("ExistsTrustedRatinginShop", 1) #ENDIF #ENDBLOCK #ENDLOOP #IF(#FormError)
#LOOP(#FormErrors.Errors) #IF(#Reason EQ "STRING_TOO_SHORT")

{TrustShopsID_TOO_SHORT1}

{TrustShopsID_TOO_SHORT2}

#ELSIF(#Reason EQ "INVALID_TSID")

{InvalidID1}

{InvalidID2}

#ELSIF(#Reason EQ "NOT_REGISTERED_FOR_TRUSTEDRATING")

{NotRegisteredForTrustedRating1}

{NotRegisteredForTrustedRating2}

#ELSIF(#Reason EQ "WRONG_WSUSERNAME_WSPASSWORD")

{ConnectionFailed1}

{WrongWSUser}

#ELSIF(#Reason EQ "SOAP_CONNECTION_FAILED" OR #Reason EQ "CONNECTION_FAILED")

{ConnectionFailed1}

{ConnectionFailed2}

#ELSIF(#Reason EQ "DUPLICATE_TRUSTEDRATINGID")

{DuplicateTrustedRatingID1}

{DuplicateTrustedRatingID2}

#ELSE

{InputError}

{PleaseCorrectErrors}

#ENDIF #ENDLOOP
#ELSIF (NOT #ExistsTrustedRatinginShop AND (#Shop.DefaultStyle.Child.NavBarElements.Child.TrustedRatingWidget OR #Shop.DefaultStyle.Child.NavBarElements.Child.TrustedRatingRate))

{Notification}

{HideLogo}
{DeleteNavElementNow}
#ENDIF #ENDLOCAL

{RatingInfo0}

{RatingInfo3} {AddNavElementNow}
{RatingInfo4}

{IntroText1}

{IntroText2}

{IntroText3}

{IntroText4}

#LOCAL("IsActive",#Shop.Child.MailTypes.Child.TrustedRating.IsActive) {SendShopRatingInvitation} {BubbleHelpSendProductRatingInvitation}
{ChangeSetting}
#ENDLOCAL
{ShopRatingSettings}
{RatingDuration} {Days} {BubbleHelpRatingDuration}