[1] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><metal:block use-macro="here/global_defines/macros/defines" /> |
---|
| 2 | <html xmlns="http://www.w3.org/1999/xhtml" |
---|
| 3 | xml:lang="en" |
---|
| 4 | lang="en" |
---|
| 5 | tal:attributes="lang language; |
---|
| 6 | xml:lang language"><tal:cache tal:define="lang language; |
---|
| 7 | charset site_properties/default_charset|string:utf-8"><metal:cache use-macro="here/global_cache_settings/macros/cacheheaders"> |
---|
| 8 | Get the global cache headers located in global_cache_settings.</metal:cache></tal:cache> |
---|
| 9 | <head metal:use-macro="here/header/macros/html_header"> |
---|
| 10 | <metal:fillbase fill-slot="base"> |
---|
| 11 | <base href="" tal:attributes="href here/renderBase" /> |
---|
| 12 | </metal:fillbase> |
---|
| 13 | <metal:headslot fill-slot="head_slot"> |
---|
| 14 | <tal:comment replace="nothing"> A slot where you can insert elements in the header from a template</tal:comment> |
---|
| 15 | </metal:headslot> |
---|
| 16 | <metal:styleslot fill-slot="style_slot"> |
---|
| 17 | <tal:comment replace="nothing"> A slot where you can insert CSS in the header from a template</tal:comment> |
---|
| 18 | </metal:styleslot> |
---|
| 19 | <metal:cssslot fill-slot="css_slot"> |
---|
| 20 | <tal:comment replace="nothing"> This is deprecated, please use style_slot instead.</tal:comment> |
---|
| 21 | </metal:cssslot> |
---|
| 22 | <metal:javascriptslot fill-slot="javascript_head_slot"> |
---|
| 23 | <tal:comment replace="nothing"> A slot where you can insert javascript in the header from a template</tal:comment> |
---|
| 24 | </metal:javascriptslot> |
---|
| 25 | </head> |
---|
| 26 | <body onload="if (parent.adjustIFrameSize) parent.adjustIFrameSize(window);" |
---|
| 27 | style="min-width: 100px; text-align: left; background-color: #F5F6F6" |
---|
| 28 | tal:attributes="class here/getSectionFromURL; |
---|
| 29 | dir python:test(isRTL, 'rtl', 'ltr')"> |
---|
| 30 | |
---|
| 31 | <dl class="portlet" id="portlet-navigation-tree" style="border-bottom-color: #FFFFFF" |
---|
| 32 | tal:define="silo python:test(here.portal_type == 'Folder', here, here.aq_parent); |
---|
| 33 | default_page python:silo.getProperty('default_page',None); |
---|
| 34 | silo_list here/getSiloData"> |
---|
| 35 | <dt class="portletHeader"> |
---|
| 36 | <tal:title content="python:test(getattr(silo, 'portal_type', '') == 'Folder', silo.title_or_id(), 'Navigation')" /> |
---|
| 37 | </dt> |
---|
| 38 | |
---|
| 39 | <dd class="portletItem"> |
---|
| 40 | <ul class="portletNavigationTree navTreeLevel0"> |
---|
| 41 | <tal:navitem repeat="item silo_list"> |
---|
| 42 | <li class="navTreeItem visualNoMarker" |
---|
| 43 | tal:define="item_id item/id; |
---|
| 44 | item_title item/title;" |
---|
| 45 | tal:condition="python:item_id and item_id != default_page and item_title"> |
---|
| 46 | <div> |
---|
| 47 | <a target="_parent" |
---|
| 48 | tal:condition="item_title" |
---|
| 49 | tal:attributes="href python:test(item['link'], item['path'], silo.absolute_url()+'/'+item['path'])" |
---|
| 50 | tal:content="item_title|nothing">Item Title</a> |
---|
| 51 | </div> |
---|
| 52 | </li> |
---|
| 53 | </tal:navitem> |
---|
| 54 | </ul> |
---|
| 55 | </dd> |
---|
| 56 | <dd class="portletFooter even" |
---|
| 57 | tal:condition="python:getattr(silo.aq_explicit, 'portal_type','')=='Folder' and not isAnon and checkPermission('Manage Portal', silo)"> |
---|
| 58 | <span> |
---|
| 59 | <a target="_parent" tal:attributes="href string:${silo/absolute_url}/folder_contents;">Contents</a> | |
---|
| 60 | <a target="_parent" tal:attributes="href string:${silo/absolute_url}/silo_navigation_form;">Edit Nav</a> |
---|
| 61 | </span> |
---|
| 62 | </dd> |
---|
| 63 | </dl> |
---|
| 64 | </body> |
---|
| 65 | </html> |
---|