#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))
#ENDIF
#ENDLOCAL
|
{IntroText1}
- {IntroText2}
- {IntroText3}
- {IntroText4}
- {IntroText5}
|
{Info0}
#LOCAL("RegisterURL", #System.TrustedRatingRegisterURL)
#SET("RegisterURL", #RegisterURL . "?" . #RegisterParameter)
- {Info1} {RegisterURL}
({Info1_1})
- {Info2} {ClickSave}
- {Info3} {AddNavElementNow}
#ENDLOCAL
{Info4}
#IF(#COUNT(#Shop.Languages) > 1)
#ENDIF