Déplacement pour eggification.
[Plinn.git] / skins / generic / main_template_macros.pt
diff --git a/skins/generic/main_template_macros.pt b/skins/generic/main_template_macros.pt
deleted file mode 100644 (file)
index ae4b148..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml">
-
-  <head>
-    <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
-    <title></title>
-  </head>
-
-  <body>
-
-<div metal:define-macro="global_defines" tal:omit-tag=""
-tal:define="
-global utool nocall:here/portal_url;
-global mtool here/portal_membership;
-global atool here/portal_actions;
-global wtool here/portal_workflow;
-global portal_object utool/getPortalObject;
-global portal_title portal_object/Title;
-global object_title here/title_or_id;
-global portal_url utool;
-global member mtool/getAuthenticatedMember;
-global membersfolder mtool/getMembersFolder;
-global isAnon mtool/isAnonymousUser;
-global actions python: atool.listFilteredActionsFor( here );
-global user_actions actions/user;
-global object_actions actions/object;
-global workflow_actions actions/workflow;
-global folder_actions actions/folder;
-global global_actions actions/global;
-global wf_state python:wtool.getInfoFor(here,'review_state','');
-global locale_date_fmt here/locale_date_fmt;
-global dummy python:request.RESPONSE.setHeader('Content-Type', 'text/html;;charset=utf-8');
-Iterator python:modules['Products.Plinn'].IndexIterator;
-global tabindex python:Iterator();
-global specialCtxHeader options/specialCtxHeader|nothing"
-               />
-
-
-<div id="top_bar" metal:define-macro="top_bar">
-       <table id="Masthead" cellspacing="0" border="0">
-               <tr>
-                       <td id="PortalLogo"><a href="#" tal:attributes="href string:${portal_url}?noajax=1; title portal_object/title_or_id"><img src="logo.gif" tal:define="logo here/logo.png" tal:attributes="src logo/absolute_url; alt portal_object/title_or_id; height logo/height; width logo/width" /></a></td>
-                       <!-- nav_bar / search_form -->
-                       <td id="NavBar" align="right" i18n:domain="plinn"
-          tal:condition="not:isAnon">
-                               <form action="search" method="get" tal:attributes="action string:${portal_url}/search">
-                                       <table>
-                                               <tr><td><input name="SearchableText" size="16" /><input type="submit" value="Search" i18n:attributes="value" /></td></tr>
-                                               <tr><td><a href="search_form" tal:attributes="href string:${portal_url}/search_form" i18n:translate="">Advanced search</a></td></tr>
-                                       </table>
-                               </form>
-                       </td>
-               <!-- end nav_bar / search_form -->
-               </tr>
-       </table>
-</div>
-
-  
-<div id="user_menu_bar" metal:define-macro="user_menu_bar"
-     tal:define="uname python: (isAnon and [''] or [member.getMemberFullName(nameBefore=0)])[0]">
-       <table id="MemberActionsBox" border="0" cellspacing="0" i18n:domain="plinn">
-               <tr>
-                       <td class="ActionTitle" tal:content="uname">Guest</td>
-                       <td><img tal:attributes="src here/loading_progress.gif/absolute_url" width="82" height="7" id="loading_progress" alt="Loading progress..." i18n:attributes="alt" style="display:none" /></td>
-                       <td class="ActionLink" align="right">
-                               <span tal:repeat="action user_actions">
-                                       <a href="#" tal:attributes="href action/url" tal:content="action/title">Login</a>
-                                       <span tal:condition="not: repeat/action/end"> | </span> 
-                               </span>
-                               <span tal:condition="nothing"><a href="join_form" i18n:translate="">Join</a></span>
-                       </td>
-               </tr>
-       </table>
-</div>
-
-
-<div metal:define-macro="Breadcrumbs" tal:omit-tag="">
-       <span tal:content="here/absolute_url" id="BC_Object_URL" style="display:none"></span>
-  <span i18n:translate="">You are here:</span> <span tal:omit-tag="" tal:repeat="bc options/breadcrumbs|here/breadcrumbs"><a href="." tal:attributes="href bc/url" tal:content="python:bc['title'] or bc['id']" tal:omit-tag="not:bc/url">ID</a><span tal:condition="not: repeat/bc/end" tal:omit-tag=""> <img src="fleche_bc.gif" alt="/" height="14" width="11" tal:attributes="src string:${portal_url}/fleche_bc.gif" border="0" /> </span> </span>
-</div>
-
-
-<div id="leftCell" class="boxes_container" width="15%" metal:define-macro="leftCell"
-     tal:define="global_settings python:getattr(here, 'global_settings', None)"
-     tal:condition="python:global_settings is not None"
-     tal:omit-tag="">
-     <div tal:define="block python:getattr(here.global_settings, 'left_boxes', None)"
-          tal:condition="python:block is not None"
-          tal:omit-tag="">
-               <div tal:define="displayAction python:request.SESSION.get('editBoxes') and 'edit' or 'view'">
-
-                       <a title="Paste" href="#" tal:attributes="href string:${block/absolute_url}/pasteBlocks"
-                          tal:condition="python:displayAction == 'edit' and here.cb_dataValid() and block.haveRules()"
-                          i18n:attributes="title"
-                          ><img src="paste.png" alt="Paste" height="14" width="16" tal:attributes="src string:paste.png" border="0" i18n:attributes="alt" /></a>
-                 <div metal:use-macro="here/block_canvas/macros/canvas">left boxes</div>
-               </div>
-       </div>
-</div>
-
-<div metal:define-macro="rightCell"
-     tal:define="global_settings python:getattr(here, 'global_settings', None)"
-     tal:omit-tag="">
-  <div tal:condition="python:global_settings is not None" tal:omit-tag="">
-    <div tal:define="block python:getattr(here.global_settings, 'right_boxes', None)"
-         tal:condition="python:block is not None" tal:omit-tag="">
-      <div tal:define="displayAction python:request.SESSION.get('editBoxes') and 'edit' or 'view'" tal:omit-tag="">
-       <div tal:condition="python:displayAction=='edit'" tal:omit-tag="">
-         <div style="text-align:right">
-                 <a tal:attributes="href string:$portal_url/manage_boxes?exitMode:boolean=True" i18n:domain="plinn" i18n:translate="">Exit boxes editing</a>
-               </div>
-               <div tal:condition="python:here.cb_dataValid() and block.haveRules()">
-                       <a title="Paste" href="#" tal:attributes="href string:${block/absolute_url}/pasteBlocks" i18n:attributes="title"
-                         ><img src="paste.png" alt="Paste" height="14" width="16" tal:attributes="src string:paste.png" border="0" i18n:attributes="alt" /></a>
-               </div>
-       </div>
-        <div metal:use-macro="here/block_canvas/macros/canvas">right boxes</div>
-      </div>
-    </div>
-  </div>
-       <div metal:use-macro="here/widgets/macros/clipboard">Clipboard</div>
-       <div metal:use-macro="here/widgets/macros/news_box">5 last news</div>
-</div>
-
-  </body>
-
-</html>
\ No newline at end of file