#LOCAL("ErrorItemNo", 0)
{ProductType} |
#IF(#SuperProduct OR #DefaultSubProduct)
#ELSE
![]() | #IF(#AltLanguageID)
#ENDIF |
#IF(#Attribute.IsHTML)
#SNIPPET("INC-WYSIWYG", "Name,InputName,Value,Head,Help",
#Attribute.Alias, #InputName, #GET(#Attribute.Alias), #Attribute.NameOrAlias, #Attribute.Description)
#ELSE
#Attribute.NameOrAlias
#IF( (#Attribute.Type EQ "String" OR #Attribute.Type EQ "LocalizedString") AND #Attribute.Description)
![]() {MaxFileSize}: #LOCAL("Size", #CALCULATE(#WebInterfaceConf.MAXCONTENTLENGTH / 1024)) #Size[float:1] #ENDLOCAL MByte #IF(#Value)
#Value
#IF(NOT #GET("SuperProduct.".#Attribute.Alias) OR #GET("SuperProduct.".#Attribute.Alias) NE #Value)
#ENDIF
#ENDIF
#ELSIF((#Attribute.Type EQ "PreDefString" OR #Attribute.Type EQ "PreDefLocalizedString"))
#IF(#FUNCTION("IsVariationAttribute", #Object, #Attribute.Object))
#IF(#SuperProduct)
#ENDIF {IsVariationAttribute} #ELSE #LOCAL("SelectedValueID", #Value.ID)#IF(NOT #DEFINED(#SelectedValueID))#SET("SelectedValueID",0)#ENDIF #IF(#FormError)#SET("SelectedValueID", #GET(#Attribute.Alias))#ENDIF #ENDLOCAL #ENDIF #ELSIF(#Attribute.Type EQ "PreDefMultiString" OR #Attribute.Type EQ "PreDefMultiLocalizedString") #REM#ENDREM #LOCAL("SelectedValues", #FUNCTION("MULTISELECTEDVALUES", #Attribute.PreDefAttributes, #Value)) #LOOP(#SelectedValues) ![]() ![]() |
#LOCAL("AltLabelName",#Attribute.NameOrAlias)
#IF(#AltLanguageID AND #Attribute.Type NE "String")#WITH_LANGUAGE(#AltLanguageID)#LOCAL("ErrorItemNo",1)#LOCAL("LocalizedValue", #GET(#Attribute.Alias))
#IF(#Attribute.IsHTML AND #Attribute.Type EQ "LocalizedString")
#SNIPPET("INC-WYSIWYG", "Name,InputName,Value", "Alt".#Attribute.Alias, #InputName, #LocalizedValue)
#ELSE
#IF(#Attribute.Type EQ "String" OR #Attribute.Type EQ "LocalizedString")
#Attribute.NameOrAlias
#IF( (#Attribute.Type EQ "String" OR #Attribute.Type EQ "LocalizedString") AND #Attribute.Description)
#IF(#Attribute.Type EQ "LocalizedString")
#IF(#Attribute.Length)
#ELSE
#ENDIF
#ELSIF(#Attribute.Type EQ "LocalizedFile")
#ENDIF
#Attribute.NameOrAlias {MaxFileSize}: #LOCAL("Size", #CALCULATE(#WebInterfaceConf.MAXCONTENTLENGTH / 1024)) #Size[float:1] #ENDLOCAL MByte #IF(#LocalizedValue) #ENDIF #ENDIF | #ENDLOCAL#ENDLOCAL#ENDWITH_LANGUAGE#ENDIF#ENDLOCAL