#REM/*
#SNIPPET.SubNavigation - Array with SubCategories
*/#ENDREM
#IF(#COUNT(#SNIPPET.SubNavigation))
#LOOP(#SNIPPET.SubNavigation)
#LOCAL("ViewNotAllowed", NOT #FUNCTION("ISACTIONALLOWED", "View"))
-
#IF(#Class.Alias EQ "Link")
#IF(#DEFINED(#URL))
#NavigationString
#ELSE
#NavigationString
#ENDIF
#ELSE
#NavigationString
#ENDIF
#IF(#ViewNotAllowed)
#ENDIF
#ENDLOCAL
#ENDLOOP
#ENDIF