[CMF-checkins] CVS: CMF/CMFDefault/skins/zpt_content - folder_edit_form.pt:1.6

Yvo Schubbe schubbe@web.de
Thu, 6 Mar 2003 05:40:56 -0500


Update of /cvs-repository/CMF/CMFDefault/skins/zpt_content
In directory cvs.zope.org:/tmp/cvs-serv13275/CMFDefault/skins/zpt_content

Modified Files:
	folder_edit_form.pt 
Log Message:
Merged yuppie-collector122-branch:
- Added i18n attributes. (Collector #122)
- Made scripts independent of submit button values.
- Added transition_form.

=== CMF/CMFDefault/skins/zpt_content/folder_edit_form.pt 1.5 => 1.6 ===
--- CMF/CMFDefault/skins/zpt_content/folder_edit_form.pt:1.5	Tue Nov 19 09:41:48 2002
+++ CMF/CMFDefault/skins/zpt_content/folder_edit_form.pt	Thu Mar  6 05:40:55 2003
@@ -2,46 +2,47 @@
       xmlns:metal="http://xml.zope.org/namespaces/metal"
       metal:use-macro="here/main_template/macros/master">
 <body>
-<div metal:fill-slot="main">	  
+<div metal:fill-slot="main" i18n:domain="cmf_default">
 <div class="Desktop">
-<h2>Edit: <span tal:replace="here/getId">My ID</span></h2>
- 
+<h2 i18n:translate="">Edit <span
+    tal:replace="here/getId" i18n:name="objectid">My ID</span></h2>
+
 <form action="folder_edit" method="post"
       tal:attributes="action string:${here/absolute_url}/folder_edit"
 >
 <table class="FormLayout">
- 
+
  <tr valign="top">
-  <th align="right"> Title
-  </th>
+  <th align="right" i18n:translate="">Title</th>
   <td colspan="3">
    <input type="text"
           name="title"
           value=""
-		  tal:attributes="value here/Title"
-          size="65">
+          tal:attributes="value here/Title"
+          size="65" />
   </td>
  </tr>
-  
+
  <tr valign="top">
-  <th align="right"> Description
-  </th>
+  <th align="right" i18n:translate="">Description</th>
   <td colspan="3">
    <textarea name="description:text" rows="5"
              cols="65" wrap="soft"
-			 tal:content="here/Description">
+             tal:content="here/Description">
    </textarea>
   </td>
  </tr>
 
- <tr valign="top">
-  <td> <br> </td>
+ <tr>
+  <td> <br /> </td>
   <td>
-   <input type="submit" name="choice" value=" Change ">
-   <input type="submit" name="choice" value=" Change and View ">
+   <input type="submit" name="change" value=" Change "
+          i18n:attributes="value" />
+   <input type="submit" name="change_and_view" value=" Change and View "
+          i18n:attributes="value" />
   </td>
  </tr>
- 
+
 </table>
 </form>
 </div>