source: trunk/skins/lemill/main_template.pt @ 3111

Revision 3111, 5.8 KB checked in by pjotr, 9 years ago (diff)

Link to wiki support page will be opened in anew tabv or window (depends on browser). Changed the link in mail_password_form to be the same as the one from main_template

Line 
1<metal:page define-macro="master"><metal:doctype define-slot="doctype"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></metal:doctype><metal:block define-slot="top_slot" /><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      i18n:domain="lemill"
6      tal:attributes="lang language|string:en;
7                      xml:lang language|string:en">
8  <head><metal:block metal:use-macro="here/header/macros/html_header" /><metal:block metal:define-slot="css_slot" /><metal:block metal:define-slot="javascript_head_slot" /><metal:block metal:define-slot="head_slot" /></head>
9  <body dir="ltr" tal:attributes="class here/getSectionFromURL;" metal:define-slot="bodyslot"><metal:topslot metal:define-slot="topslot">
10<metal:toolbar define-macro="personal_toolbar"><div class="languages grid">
11     <tal:langs repeat="lang context/lemill_tool/buildLanguageLinks"><a href="" tal:attributes="href python:lang[1]"
12                tal:content="python:lang[0]" rel="nofollow"/><tal:block condition="not:repeat/lang/end"> | </tal:block></tal:langs>
13</div>
14<div class="login grid" tal:condition="not:site_properties/readonly_mode">
15    <a tal:content="memberid" tal:attributes="href memberfolder/absolute_url | portal/community/my_page" tal:condition="not:isAnon" href="my_page">my page</a>
16    <a tal:attributes="href string:${portal_url}/login_form" i18n:translate="" tal:condition="isAnon">Log in</a>
17    &nbsp;&nbsp;&nbsp;
18    <a tal:attributes="href string:${portal_url}/logout" i18n:translate="" tal:condition="not:isAnon">Log out</a>
19    <a href="" tal:attributes="href string:${portal_url}/join_form" i18n:translate="" tal:condition="isAnon">Join</a>
20</div>
21
22<div class="read_only_mode grid" tal:condition="site_properties/readonly_mode">
23    <b i18n:translate="readonly_mode_notification">We are updating LeMill and the service is in read-only mode. You can browse LeMill, but not log in or edit content. The service will be back in few hours. Apologies for the inconvenience.</b>
24</div></metal:toolbar>
25
26<div class="clear"></div>
27<tal:shared_header tal:define="section_name here/getSectionFromURL;">
28<div class="logo grid"><a href="/" tal:attributes="href portal_url" tal:define="portal_title portal_properties/title;"><img tal:attributes="src python:'%s/images/logo_%s.png' % (portal_url, section_name or 'content')" alt="" /></a></div>
29<div class="top_area grid">
30    <div class="search grid">
31        <form name="searchform" action="search" tal:attributes="action string:${portal_url}/search" style="white-space:nowrap">
32           <input id="searchGadget" tabindex="" name="q" type="text" size="7" value="" title="Search Site" accesskey="4" i18n:attributes="title title_search_site;" tal:attributes="value request/q|nothing; tabindex tabindex/next;" class="searchinput" />
33           <input type="submit" id="searchbutton" value="Search" i18n:attributes="value search;" /><br />
34            <div class="LSResult" id="LSResult"></div>
35        </form>
36    </div>
37     <div class="clear"></div>
38    <div class="toplink content_toplink grid" tal:attributes="class python:test(section_name=='content' or not section_name, 'content_selected toplink content_toplink grid','toplink content_toplink grid')" >
39        <a href="" i18n:translate="" tal:attributes="href string:${portal_url}/content;" >Content</a>
40    </div>
41    <div class="toplink methods_toplink grid" tal:attributes="class python:test(section_name=='methods' or not section_name, 'methods_selected toplink methods_toplink grid','toplink methods_toplink grid')" >
42        <a href="" tal:attributes="href string:${portal_url}/methods;" i18n:translate="">Methods</a>
43    </div>
44    <div class="toplink tools_toplink grid" tal:attributes="class python:test(section_name=='tools' or not section_name, 'tools_selected toplink tools_toplink grid','toplink tools_toplink grid')" >
45        <a href="" tal:attributes="href string:${portal_url}/tools;" i18n:translate="">Tools</a>
46    </div>
47    <div class="toplink community_toplink grid" tal:attributes="class python:test(section_name=='community' or not section_name, 'community_selected toplink community_toplink grid','toplink community_toplink grid')" >
48        <a href="" tal:attributes="href string:${portal_url}/community;" i18n:translate="">Community</a>
49    </div>
50</div>
51<div class="clear"></div>
52</tal:shared_header>
53
54</metal:topslot>
55<div class="portlets grid">
56    <metal:portletslot define-slot="portlet_slot">
57
58    <metal:get_portlets tal:define="portlet_path here/getPortletPath|nothing" tal:condition="portlet_path">
59        <metal:portletmacro metal:use-macro="python:path(portlet_path)" />
60    </metal:get_portlets>
61    </metal:portletslot>
62</div>   
63<div class="main grid">
64    <div metal:use-macro="here/global_statusmessage/macros/portal_message"/>
65    <metal:bodytext metal:define-slot="main" tal:content="nothing" />
66</div>
67<div class="clear" height="24px"></div> 
68<div class="footer grid">
69    <metal:footer define-slot="footerslot">
70        <p>
71            <a i18n:translate="label_about_lemill" href="#" tal:attributes="href string:${portal_url}/content/webpages/about-lemill">About</a> |
72            <a i18n:translate="label_blog_lemill" href="http://blog.lemill.net">Blog</a> |
73            <a i18n:translate="label_faq" href="#" tal:attributes="href string:${portal_url}/content/webpages/lemill-faq">FAQ</a> |
74            <a i18n:translate="label_lemill_development_site" href="http://lemill.org/trac/">LeMill development site</a> |
75            <a i18n:translate="label_feedback_report_a_problem" href="http://lemill.org/trac/wiki/support" target="_blank">Feedback / Report a problem</a>
76        </p>
77    </metal:footer>
78</div>
79<metal:extra define-slot="extraslot"></metal:extra>
80</body>
81</html>
82</metal:page>
Note: See TracBrowser for help on using the repository browser.