source: products/qSiloGroup/trunk/skins/qSiloGroup/silo_nav.pt

Last change on this file was 260, checked in by fenix, 18 years ago

create directory for qPloneEpydoc

File size: 3.8 KB
Line 
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>
10    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
11          tal:define="charset site_properties/default_charset|string:utf-8"
12          tal:attributes="content string:text/html;;charset=${charset}" />
13
14    <base tal:attributes="href here/renderBase" /><!--[if lt IE 7]></base><![endif]-->
15
16    <meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />
17    <meta name="generator" content="Plone - http://plone.org" />
18
19    <div tal:replace="structure provider:plone.htmlhead" />
20
21    <meta tal:define="metatags python:putils.listMetaTags(here).items()"
22          tal:condition="metatags"
23          tal:repeat="keyval metatags"
24          tal:attributes="name python:keyval[0];
25                          content python:keyval[1];" />
26
27    <!-- Internet Explorer CSS Fixes -->
28    <tal:iefixstart replace="structure string:&lt;!--[if IE]&gt;" />
29    <style type="text/css" media="all" tal:condition="exists: portal/IEFixes.css"
30           tal:content="string:@import url($portal_url/IEFixes.css);">
31    </style>
32    <tal:iefixend replace="structure string:&lt;![endif]--&gt;" />
33
34    <link tal:replace="structure provider:plone.htmlhead.links" />
35
36    <!-- Disable IE6 image toolbar -->
37    <meta http-equiv="imagetoolbar" content="no" />
38  </head>
39
40  <body onload="if (parent.adjustIFrameSize) parent.adjustIFrameSize(window);"
41        style="min-width: 100px; text-align: left; background-color: #F5F6F6"
42        tal:attributes="class here/getSectionFromURL;
43                        dir python:test(isRTL, 'rtl', 'ltr')">
44
45    <dl class="portlet" id="portlet-navigation-tree" style="border-bottom-color: #FFFFFF"
46        tal:define="silo python:test(here.portal_type == 'Folder', here, here.aq_parent);
47                    default_page python:silo.getProperty('default_page',None);
48                    silo_list here/getSiloData">
49      <dt class="portletHeader">
50        <tal:title content="python:test(getattr(silo, 'portal_type', '') == 'Folder', silo.title_or_id(), 'Navigation')" />
51      </dt>
52
53      <dd class="portletItem">
54        <ul class="portletNavigationTree navTreeLevel0">
55          <tal:navitem repeat="item silo_list">
56            <li class="navTreeItem visualNoMarker"
57                tal:define="item_id item/id;
58                            item_title item/title;"
59                tal:condition="python:item_id and item_id != default_page and item_title">
60              <div>
61                <a target="_parent"
62                   tal:condition="item_title"
63                   tal:attributes="href python:test(item['link'], item['path'], silo.absolute_url()+'/'+item['path'])"
64                   tal:content="item_title|nothing">Item Title</a>
65              </div>
66            </li>
67          </tal:navitem>
68        </ul>
69      </dd>
70      <dd class="portletFooter even"
71          tal:condition="python:getattr(silo.aq_explicit, 'portal_type','')=='Folder' and not isAnon and checkPermission('Manage Portal', silo)">
72        <span>
73          <a target="_parent" tal:attributes="href string:${silo/absolute_url}/folder_contents;">Contents</a> &nbsp;|&nbsp;
74          <a target="_parent" tal:attributes="href string:${silo/absolute_url}/silo_navigation_form;">Edit Nav</a>
75        </span>
76      </dd>
77    </dl>
78  </body>
79</html>
Note: See TracBrowser for help on using the repository browser.