Déplacement pour eggification.
[Plinn.git] / skins / custom_generic / index_html_utils.pt
diff --git a/skins/custom_generic/index_html_utils.pt b/skins/custom_generic/index_html_utils.pt
deleted file mode 100755 (executable)
index 7b4e8b2..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>index html utils</title>
-  </head>
-
-  <body bgcolor="#ffffff">
-    <div metal:define-macro="index_header">
-      <h1 id="DesktopTitle" tal:content="here/Title">Document Title</h1>
-      <div id="DesktopDescription" tal:content="here/Description">
-        Document Description goes here.
-      </div>
-    </div>
-    <div metal:define-macro="index_content" i18n:domain="plinn">
-      <div tal:define="auth_filter nocall: modules/ZTUtils/LazyFilter;
-                   types python:here.getTypeInfo().allowed_content_types ;
-                   raw_items python: here.contentValues(filter={'portal_type': types } );
-                   items python: auth_filter( raw_items, skip='View' );
-                  ">
-        <div tal:condition="items">
-          <h4 i18n:translate="">Content</h4>
-          <ul>
-            <li tal:repeat="item items">
-              <a href="." tal:attributes="href item/absolute_url">
-                <img src="." alt="title" align="middle" border="0"
-                     tal:attributes="src   string:${item/portal_url}/${item/getIcon};
-                                     alt   string:${item/Type};
-                                     title string:${item/Type}"
-                     i18n:attributes="alt; title" />
-              </a>
-              <a href="." tal:attributes="href item/absolute_url" tal:content="item/Title">Title </a>
-            </li>
-            <blockquote tal:condition="exists: item/Description" tal:content="item/Description">
-              Description <!--fmt="structured-text'--></blockquote>
-          </ul>
-        </div>
-      </div>
-    </div>
-    <div metal:define-macro="index_links" i18n:domain="plinn">
-      <div tal:define="auth_filter nocall: modules/ZTUtils/LazyFilter;
-                   default_types python:( 'Link', 'Favorite', 'Topic');
-                   types types | here/show_link_types | default_types;
-                   raw_items python: here.contentValues(filter={ 'portal_type': types } );
-                   items python: auth_filter( raw_items, skip='View' );
-                  ">
-        <div tal:condition="items">
-          <h4 i18n:translate="">Related Resources</h4>
-          <ul>
-            <li tal:repeat="item items">
-              <a href="." tal:attributes="href item/absolute_url">
-                <img src="(EmptyReference!)" alt="title" align="middle" border="0"
-                     tal:attributes="src   string:${item/portal_url}/${item/getIcon};
-                                     alt   string:${item/Type};
-                                     title string:${item/Type}"
-                     i18n:attributes="alt; title" />
-              </a>
-              <a href="." tal:attributes="href item/absolute_url" tal:content="item/Title">Title </a>
-            </li>
-            <blockquote tal:condition="exists: item/Description" tal:content="item/Description">
-              Description <!--fmt="structured-text'--></blockquote>
-          </ul>
-        </div>
-      </div>
-    </div>
-    <div metal:define-macro="index_folders" i18n:domain="plinn">
-      <div tal:define="auth_filter nocall: modules/ZTUtils/LazyFilter;
-                   default_types python:( 'Folder',);
-                   types types | here/show_folder_types | default_types;
-                   raw_items python: here.contentValues(filter={ 'portal_type': types } );
-                   items python: auth_filter( raw_items, skip='View' );
-                  ">
-        <div tal:condition="items">
-          <h4 i18n:translate="">Folders</h4>
-          <ul>
-            <li tal:repeat="item items">
-              <a href="." tal:attributes="href item/absolute_url">
-                <img src="(EmptyReference!)" alt="title" align="middle" border="0"
-                     tal:attributes="src   string:${item/portal_url}/${item/getIcon};
-                                     alt   string:${item/Type};
-                                     title string:${item/Type}"
-                     i18n:attributes="alt; title" />
-              </a>
-              <a href="." tal:attributes="href item/absolute_url" tal:content="item/TitleOrId">Title </a>
-            </li>
-            <blockquote tal:condition="exists: item/Description" tal:content="item/Description">
-              Description <!--fmt="structured-text'--></blockquote>
-          </ul>
-        </div>
-      </div>
-    </div>
-    <div metal:define-macro="news_box" i18n:domain="plinn">
-      <table class="NewsItems" width="100%" border="0" cellspacing="0" cellpadding="0">
-        <tbody tal:define="news python: here.portal_catalog( meta_type='News Item', sort_on='Date', sort_order='reverse', review_state='published');
-                    Batch python:modules['ZTUtils'].Batch;
-                           global batch python:Batch(news, 10, 0, orphan=1)">
-          <tr>
-            <td class="NewsBorder" rowspan="13" bgcolor="#6699CC" width="1">
-              <img src="spacer.gif" alt=" " height="2" width="1" border="0" />
-            </td>
-            <td class="NewsTitle" valign="top" width="100%">
-              <b i18n:translate="">News</b>
-            </td>
-          </tr>
-          <tr class="NewsItemRow" tal:condition="news" tal:repeat="news batch">
-            <td valign="top">
-              <a href="." tal:attributes="href python:news.getURL()" tal:content="news/Title"></a><br />
-              <span tal:replace="news/Date">Date</span>
-            </td>
-          </tr>
-          <tr class="NewsItemRow" tal:condition="python:not(news)">
-            <td valign="top" i18n:translate="">
-              No news is no news.
-            </td>
-          </tr>
-          <tr class="NewsItemRow">
-            <td>
-              <a href="." i18n:translate="">More...</a>
-            </td>
-          </tr>
-        </tbody>
-      </table>
-    </div>
-  </body>
-
-</html>
\ No newline at end of file