source: products/qPloneTabs/trunk/skins/qPloneTabs/qpt_globalsections.pt @ 1591

Last change on this file since 1591 was 35, checked in by myroslav, 18 years ago

reverting edits in the tag

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1<tal:defs define="dummy python:request.RESPONSE.setHeader('Expires', 'Mon, 26 Jul 1996 05:00:00 GMT');" />
2
3<metal:block use-macro="here/global_defines/macros/defines" />
4
5<tal:cache tal:define="lang language;
6                       charset site_properties/default_charset|string:utf-8">
7  <metal:cache use-macro="here/global_cache_settings/macros/cacheheaders">
8    Get the global cache headers located in global_cache_settings.
9  </metal:cache>
10</tal:cache>
11
12<div metal:define-macro="portal_tabs"
13     tal:omit-tag=""
14     tal:define="selected_tabs python:here.selectedTabs('index_html', here, portal_tabs);
15                 selected_portal_tab selected_tabs/portal;"
16     tal:condition="portal_tabs">
17
18        <tal:tabs tal:repeat="tab portal_tabs">
19            <li tal:attributes="id string:portaltab-${tab/id};
20                                class python:test(selected_portal_tab==tab['id'], 'selected', 'plain');">
21                <a href=""
22                   tal:content="tab/name"
23                   tal:attributes="href tab/url;
24                                   title tab/description|nothing">
25                    Tab Name
26                </a>
27            </li>
28        </tal:tabs>
29
30</div>
Note: See TracBrowser for help on using the repository browser.