Mise à jour de la barre de copyright.
[Plinn.git] / skins / photo_theme / realis_main_macros.pt
1 <html xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:metal="http://xml.zope.org/namespaces/metal">
2 <head>
3 <title>Macros realis</title>
4 <meta http-equiv="content-type" content="text/html;charset=utf-8" />
5 </head>
6 <body>
7 <div metal:define-macro="search_bar"
8 style="vertical-align:middle">
9 <form action="search" method="get" tal:attributes="action string:${portal_url}/search">
10 <div id="quicksearch" i18n:domain="cmf_default">
11 <span i18n:translate="" tal:omit-tag="">Search</span>
12 <input name="SearchableText" type="text" size="16" />
13 <input name="portal_type:list" type="hidden" value="Photo" />
14 <input type="image" tal:attributes="src string:${portal_url}/topic_icon.gif"
15 width="16" height="16" alt="Search" i18n:attributes="alt"/>
16 <!--
17 <a tal:attributes="href string:${portal_url}/search_form" i18n:translate="">Advanced search</a>
18 -->
19 </div>
20 </form>
21 <div id="quickuser">
22 <span tal:define="uname python: (isAnon and [''] or [member.getMemberFullName(nameBefore=0)])[0]" tal:content="uname" style="font-weight:bold">bob</span>
23 &nbsp;&nbsp;&nbsp;&nbsp;
24 <span tal:repeat="action user_actions">
25 <a href="#" tal:attributes="href action/url" tal:content="action/title">Login</a>
26 <span tal:condition="not: repeat/action/end" tal:omit-tag=""> | </span>
27 </span>
28 <span tal:condition="nothing"><a href="join_form" i18n:translate="">Join</a></span>
29 </div>
30 <br clear="all"/>
31 </div>
32 </body>
33 </html>