]> CRI, Mines Paris - PSL - Plinn.git/blobdiff - skins/generic/epoz_toolbox.pt
Déplacement pour eggification.
[Plinn.git] / skins / generic / epoz_toolbox.pt
diff --git a/skins/generic/epoz_toolbox.pt b/skins/generic/epoz_toolbox.pt
deleted file mode 100644 (file)
index 80f30ce..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
-  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns:tal="http://xml.zope.org/namespaces/tal"
-      xmlns:metal="http://xml.zope.org/namespaces/metal"
-      i18n:domain="plone">
-
-<head tal:define="ztu modules/ZTUtils;">
-<title tal:content="here/title_or_id">Title or Id</title>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<style type="text/css" media="all"
-       tal:define="current_skin python:ztu.make_query(skin=request.get(here.portal_skins.getRequestVarname(), ''))"
-       tal:content="string: @import url(${here/portal_url}/plone.css?${current_skin});">
-</style>
-</head>
-      
-<body onload="focus();" style="margin: 4px;">
-
-  <form class="group"
-        action="search" 
-        method="post" 
-        name="search" 
-        tal:define="DateTime python:modules['DateTime'].DateTime"
-        tal:attributes="action string: ${here/absolute_url}/${template/getId}">
-
-   <span i18n:translate="legend_search_terms">Search Terms</span>               
-   <div class="field">
-    <input type="text" 
-           name="SearchableText" 
-           size="25"
-           tabindex="" 
-           />
-    <input tabindex=""
-           type="submit" 
-           name="submit" 
-           value="Search"
-           i18n:attributes="value" 
-           />
-   </div>                
-  </form>
-
-  <tal:block 
-   tal:define="query_results python:[ brain.getObject() for brain in here.doFormSearch( REQUEST=request ) ];">
-      <div tal:condition="query_results">
-        <span i18n:translate="heading_search_results">Search results</span>
-   </div>
-      <div tal:condition="not: query_results"
-        tal:define="parents request/PARENTS;
-                    nil python: parents.reverse();
-                    portal here/portal_url/getPortalObject;">
-      <tal:block tal:repeat="parent parents">
-       <a tal:condition="python: len(parent.absolute_url()) >=
-                                 len(portal.absolute_url())"
-        tal:content="string: ${parent/title_or_id} /"
-        tal:attributes="href string: ${parent/absolute_url}/${template/getId};">Parent</a> 
-      </tal:block>
-   </div>
-   <tal:block tal:define="checkPermission python: here.portal_membership.checkPermission;
-                          results python: test(query_results, query_results,
-                                          [item for item in here.contentValues()
-                                          if checkPermission('View',item)]);">
-
-   <table tal:condition="results"
-          class="group" width="100%" cellspacing="0" cellpadding="2">
-    <tbody>
-    <tal:block tal:repeat="item results">
-     <tr tal:define="oddrow repeat/item/odd"
-         tal:attributes="class python:test(oddrow, 'even', 'odd')" > 
-    
-      <td width="50%">
-        <a tal:condition="python: item.isPrincipiaFolderish and item<>here"
-           tal:attributes="href string: ${item/absolute_url}/${template/getId}"
-           tal:content="item/title_or_id">Title</a>
-        
-        <b tal:condition="python: not item.isPrincipiaFolderish or item==here"
-           tal:content="item/title_or_id">Title</b>
-
-        <a tal:condition="python: item.getTypeInfo().getId()=='Image'"
-           tal:attributes="href string:#;
-                           onclick string: window.open('${item/absolute_url}','${item/getId}','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=${item/width},height=${item/height}');; ;">
-           <img tal:define="max python: 32;"
-                tal:attributes="src item/absolute_url;
-                                height python: test(item.height < max, item.height, max);" />
-        </a>
-      </td>
-
-      <td width="25%" 
-          i18n:translate="" 
-          tal:content="python:item.getTypeInfo().Title()">Metatype</td>      
-            
-      <td width="25%" tal:define="url item/absolute_url;">
-        <a tal:attributes="href string: #;
-                           onclick string: window.opener.CreateLink('${url}');; window.close();; ;"
-           i18n:translate="epoz_insert_link">Insert Link</a>
-         <div tal:condition="python: item.getTypeInfo().getId()=='Image'">
-          <a tal:attributes="href string: #;
-                             onclick string: window.opener.CreateImage('${url}');; window.close();; ;"
-             i18n:translate="epoz_insert_image">Insert Image</a>
-         </div>
-      </td>
-     </tr>
-     </tal:block>
-    </tbody>
-   </table>
-  </tal:block>
- </tal:block> 
-</body>
-</html>
\ No newline at end of file