[Checkins] SVN: Products.GenericSetup/trunk/Products/GenericSetup/browser/addWithPresettings.pt - don't rely on manage_page_header, manage_form_title and manage_page_footer (in Zope 2.12 they can't be acquired)

Yvo Schubbe y.2009 at wcm-solutions.de
Mon May 18 11:57:28 EDT 2009


Log message for revision 100073:
  - don't rely on manage_page_header, manage_form_title and manage_page_footer (in Zope 2.12 they can't be acquired)

Changed:
  U   Products.GenericSetup/trunk/Products/GenericSetup/browser/addWithPresettings.pt

-=-
Modified: Products.GenericSetup/trunk/Products/GenericSetup/browser/addWithPresettings.pt
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/browser/addWithPresettings.pt	2009-05-18 15:47:06 UTC (rev 100072)
+++ Products.GenericSetup/trunk/Products/GenericSetup/browser/addWithPresettings.pt	2009-05-18 15:57:28 UTC (rev 100073)
@@ -1,7 +1,29 @@
-<h1 tal:replace="structure context/manage_page_header">PAGE HEADER</h1>
-<h2 tal:define="form_title view/title"
-    tal:replace="structure context/manage_form_title">FORM TITLE</h2>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+<title tal:content="view/title">FORM TITLE</title>
+<link rel="stylesheet" type="text/css" href="manage_page_style.css"
+  tal:attributes="href string:${request/BASEPATH1}/manage_page_style.css" />
 
+</head>
+<body bgcolor="#ffffff" link="#000099" alink="#000099" vlink="#000099">
+
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+<tr class="location-bar">
+
+  <td align="left" valign="top">
+  <div class="form-title" tal:content="view/title">FORM TITLE</div></td>
+  <td align="right" valign="top">
+  <div class="std-text">
+    &nbsp;
+    </div>
+
+  </td>
+</tr>
+</table>
+
+
+
 <p class="form-help" tal:content="view/description">DESCRIPTION TEXT.</p>
 
 <form action="." method="post"
@@ -43,4 +65,6 @@
 </table>
 </form>
 
-<h1 tal:replace="structure context/manage_page_footer">PAGE FOOTER</h1>
+</body>
+</html>
+



More information about the Checkins mailing list