Déplacement pour eggification.
[Plinn.git] / skins / photo_theme / main_template_macros.pt
diff --git a/skins/photo_theme/main_template_macros.pt b/skins/photo_theme/main_template_macros.pt
deleted file mode 100644 (file)
index 56eb548..0000000
+++ /dev/null
@@ -1,123 +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 metal:define-macro="top_bar">
-       <table id="Masthead" cellspacing="0" border="0">
-               <tr>
-                       <td id="PortalLogo" width="215"><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.gif" tal:attributes="src logo/absolute_url; alt portal_object/title_or_id; height logo/height; width logo/width" /></a></td>
-                       <td>
-                               <div id="site_menu"
-                                    tal:define="menu actions/site_menu|nothing"
-                                    tal:condition="menu">
-          <span tal:repeat="a menu" tal:omit-tag="">
-            <a tal:content="a/title" tal:attributes="href a/url">Site Menu</a>
-            <span tal:condition="not:repeat/a/end" tal:omit-tag=""> |</span>
-          </span>
-                         </div>
-                       </td>
-                       <td>
-                         <img tal:attributes="src here/loading_progress.gif/absolute_url" width="32" height="32" id="loading_progress" alt="Loading progress..." i18n:attributes="alt" style="display:none" />
-                       </td>
-                       <td style="vertical-align:top">
-                               <div id="site_related"
-                                    tal:define="menu actions/site_related|nothing"
-                                    tal:condition="menu">
-          <span tal:repeat="a menu" tal:omit-tag="">
-           <a tal:content="a/title" tal:attributes="href a/url">Site Menu</a>
-           <span tal:condition="not:repeat/a/end" tal:omit-tag=""> |</span>
-          </span>
-                               </div>
-                       </td>
-               </tr>
-       </table>
-</div>
-
-  
-<div tal:define="uname python: (isAnon and [''] or [member.getMemberFullName(nameBefore=0)])[0]" metal:define-macro="user_menu_bar">
-       <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/name" i18n:translate="">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']">ID</a><span tal:condition="not: repeat/bc/end" tal:omit-tag=""> / </span> </span>
-</div>
-
-
-<div id="leftCell" class="boxes_container" width="15%" metal:define-macro="leftCell"
-                tal:define="block python:getattr(here.global_settings, 'left_boxes', None) ;
-                                                                displayAction python:request.SESSION.get('editBoxes') and 'edit' or 'view'"
-                tal:omit-tag="">
-               <div tal:condition="python:displayAction == 'edit' and 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 metal:use-macro="here/block_canvas/macros/canvas">left boxes</div>
-</div>
-
-<div metal:define-macro="rightCell" 
-                tal:define="block python:getattr(here.global_settings, 'right_boxes', None) ;
-                                                                displayAction python:request.SESSION.get('editBoxes') and 'edit' or 'view'"
-                tal:condition="python:block is not None">
-       <div tal:condition="python:displayAction=='edit'" 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><br/>
-       </div>
-       <div tal:condition="python:displayAction == 'edit' and 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 metal:use-macro="here/block_canvas/macros/canvas">right boxes</div>
-
-       <div metal:use-macro="here/widgets/macros/clipboard">Clipboard</div>
-</div>
-
-  </body>
-
-</html>
\ No newline at end of file