Prints a recursive html tree using “ul”, “li” and “a” tags.
The tree must be extracted using the /framework/models/tree.
Inside a theme, the view already contains a variable named $tree with the website default menu.
The ul tag is will have a “menu” class, and the li tags will be automatically marked with the “open” and “selected” classes, based on the current user position inside the tree.
//Prints the default tree of the websiteechomenu($tree,2);//Prints the tree below the current levelechomenu(tree('current'));