[CMF-checkins] CVS: CMF/CMFDefault/skins/zpt_generic - review.pt:1.5
Yvo Schubbe
schubbe@web.de
Thu, 6 Mar 2003 05:33:41 -0500
Update of /cvs-repository/CMF/CMFDefault/skins/zpt_generic
In directory cvs.zope.org:/tmp/cvs-serv11261/CMFDefault/skins/zpt_generic
Modified Files:
review.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_generic/review.pt 1.4 => 1.5 ===
--- CMF/CMFDefault/skins/zpt_generic/review.pt:1.4 Sun Jul 14 18:45:07 2002
+++ CMF/CMFDefault/skins/zpt_generic/review.pt Thu Mar 6 05:33:40 2003
@@ -2,7 +2,7 @@
<body>
-<div metal:fill-slot="main">
+<div metal:fill-slot="main" i18n:domain="cmf_default">
<div class="Desktop"
tal:define="results python: here.portal_catalog( review_state='pending' );
@@ -15,22 +15,19 @@
<div tal:condition="results">
-<h1> Items pending review </h1>
+<h1 i18n:translate="">Items pending review</h1>
-<form action="/" method="GET"
+<form action="/" method="get"
tal:attributes="action string:${purl}/"
>
<table class="SearchResults">
<tr>
- <td width="16"><br></td>
- <td width="16"><br></td>
- <th> Title
- </th>
- <th> Type
- </th>
- <th> Date
- </th>
+ <td width="16"><br /></td>
+ <td width="16"><br /></td>
+ <th i18n:translate="">Title</th>
+ <th i18n:translate="">Type</th>
+ <th i18n:translate="">Date</th>
</tr>
<tbody tal:repeat="item batch">
@@ -40,7 +37,7 @@
">
<td>
<input type="checkbox" name="items:list"
- tal:attributes="value objPath">
+ tal:attributes="value objPath" />
</td>
<td>
<span tal:condition="item/getIcon">
@@ -50,7 +47,7 @@
tal:attributes="src string:${purl}/${item/getIcon};
alt item/Type|nothing;
title item/Type|nothing;
- "></a>
+ " /></a>
</span>
</td>
<td>
@@ -58,7 +55,7 @@
tal:attributes="href objURL"
tal:content="python: title or '(No title)'">Title</a>
</td>
- <td>
+ <td i18n:translate="">
<span tal:replace="item/Type" />
</td>
<td>
@@ -77,24 +74,27 @@
</tbody>
<tr>
- <td><br></td>
+ <td><br /></td>
</tr>
<tr>
- <td><br></td>
+ <td><br /></td>
<td colspan="4">
- <strong> Comment: </strong> <br>
+ <strong i18n:translate="">Comment:</strong>
+ <br />
<textarea name="comment:text" rows="3" cols="65" wrap="soft"></textarea>
</td>
</tr>
<tr>
- <td><br></td>
+ <td><br /></td>
<td colspan="4">
- <input type="submit" name="publishItems:method" value="Publish">
- <input type="submit" name="rejectItems:method" value="Reject">
+ <input type="submit" name="publishItems:method" value="Publish"
+ i18n:attributes="value" />
+ <input type="submit" name="rejectItems:method" value="Reject"
+ i18n:attributes="value" />
</td>
</tr>
-
+
</table>
</form>
@@ -103,7 +103,7 @@
<div tal:condition="python: not results">
- <p> There are no items matching your specified criteria. </p>
+ <p i18n:translate="">There are no items matching your specified criteria.</p>
</div>
</div>