#LOCAL("ShowAttributes", #HasUserDefinedAttributes(#Object))
#IF(#DEFINED(#Text) OR #DEFINED(#Description) OR #ShowAttributes)
#GUI.item(
"active" = 1,
"id" = "tab-product-description",
"Title" = "{Description}",
"Content" = {(
#IF(#DEFINED(#Text) OR #DEFINED(#Description))
#IF(#Text)
#BLOCK("InlineEditor", "html", #Object, "Text", "Tag=div;Class=CategoryText")#Text[0]#ENDBLOCK
#ELSE
#BLOCK("InlineEditor", "html", #Object, "Text", "Tag=div;Class=CategoryText")#Description[0]#ENDBLOCK
#ENDIF
#ENDIF
#IF(#ShowAttributes)
#INCLUDE("Content-UserAttributes")
#ENDIF
)}
)
#ENDIF
#ENDLOCAL