#LOCAL("Active",0) #IF(#DEFINED(#INPUT.ActiveTab) AND #INPUT.ActiveTab EQ "ProductRatings") #SET("Active",1) #ENDIF #IF(#Shop.ShowProductRating AND #COUNT(#VisibleRatings)) #GUI.item( "id" = "tab-product-ratings", "active" = #Active, "title" = "{Ratings} (".#COUNT(#VisibleRatings).")", "content" = {( #INCLUDE("Content-ProductRatingsDisplay") )} ) #ENDIF #ENDLOCAL