[ DEBUG | SOURCE ]

Nested Menu Example

The nested navigation works by finding two include files with the same names as at different levels of the hierarchy. The higher level menu is searched for a link to the current directory. The lower level menu is then inserted under this link. Using unordered lists the nested nature of the menus is apparent even without heavy CSS.

Exit Debug Mode
Array
(
    [0] => Array
        (
            [parse_me] => 1
        )

    [1] => Array
        (
        )

    [2] => Array
        (
            [template] => tpl_docs.php
            [actions] => tpl_docs_addanchors.php
        )

    [3] => Array
        (
            [title] => Templation Example
            [template] => tpl_example.php
            [nav] => menu.php
        )

    [4] => Array
        (
            [title] => Nested Menu Example
        )

    [5] => Array
        (
        )

)