<tal:sections tal:define="portal_tabs view/portal_tabs"
     tal:condition="portal_tabs"
     i18n:domain="plone">
    <h5 class="hiddenStructure" i18n:translate="heading_sections">Sections</h5>

    <ul id="portal-globalnav"
        tal:define="selected_tab python:view.selected_portal_tab"
        ><tal:tabs tal:repeat="tab portal_tabs"
        ><li tal:define="tid tab/id;
                         subitems python:view.getTabObject(tabUrl = tab['url'], tabPath = tab.get('path'));
                         item_clickable python:view.enable_parent_clickable or not subitems"
             tal:attributes="id string:portaltab-${tid};
                             class python:selected_tab==tid and 'selected' or 'plain'"
            ><a href=""
               tal:content="tab/name"
               tal:attributes="href tab/url;
                               title tab/description|nothing;
                               class python subitems == False;
                               firstclass python:item_clickable and 'plain' or 'noClick'">
            Tab Name
            </a>
            <img src="topMenuArrow.png" tal:condition="subitems" >
            <tal:block tal:condition="subitems">
                <ul class="submenu">
                    <tal:subitems tal:replace="structure subitems">
                        <tal:comment replace="nothing">Submenu</tal:comment>
                    </tal:subitems>
                </ul>
            </tal:block></li></tal:tabs></ul>
 
</tal:sections>