{TrustedRating}

#INCLUDE("Tabs")
#LOCAL("TrustedRatingIDCount", 0) #LOOP(#Shop.Languages) #BLOCK("WITH_LANGUAGE", #LanguageID) #IF (#TrustedRatingID) #SET("TrustedRatingIDCount", #TrustedRatingIDCount+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(#TrustedRatingIDCount)) AND (#Shop.DefaultStyle.Child.NavBarElements.Child.TrustedRatingWidget OR #Shop.DefaultStyle.Child.NavBarElements.Child.TrustedRatingRate))

{Notification}

{HideLogo}
{DeleteNavElementNow}
#ENDIF #ENDLOCAL
{IntroText1}
  • {IntroText2}
  • {IntroText3}
  • {IntroText4}
  • {IntroText5}

{Info0}

    #LOCAL("RegisterURL", #System.TrustedRatingRegisterURL) #SET("RegisterURL", #RegisterURL . "?" . #RegisterParameter)
  1. {Info1} {RegisterURL}
    ({Info1_1})
  2. {Info2} {ClickSave}
  3. {Info3} {AddNavElementNow}
  4. #ENDLOCAL
{Info4}

#LOOP(#Shop.Languages)#BLOCK("WITH_LANGUAGE", #LanguageID)#WITH_ERROR(#FormError) #ENDWITH_ERROR#ENDBLOCK#ENDLOOP
{Language} {TrustedShopsID} {active}
#IF(#Shop.TrustedRatingID) #SET("InfoURL", #System.TrustedRatingInfoURL . #Shop.TrustedRatingID . ".html") {ShowCustomerRatings} #ELSE {ShowCustomerRatings} #ENDIF
#IF(#COUNT(#Shop.Languages) > 1)
{InfoUseMultipleLanguages}
#ENDIF

#LOCAL("IsActive",#Shop.Child.MailTypes.Child.TrustedRating.IsActive) {SendShopRatingInvitation} #ENDLOCAL
{ShopRatingSettings}
{RatingDuration} {Days} {BubbleHelpRatingDuration}
#IF(#FUNCTION("MENU_COUNT", "RelatedTopic") > 0)

{RelatedTopics}

#ENDIF