[CMF-checkins] CVS: CMF/CMFDefault/skins/zpt_generic - folder_factories.pt:1.9
Yvo Schubbe
schubbe@web.de
Thu, 6 Mar 2003 05:29:07 -0500
Update of /cvs-repository/CMF/CMFDefault/skins/zpt_generic
In directory cvs.zope.org:/tmp/cvs-serv9883/CMFDefault/skins/zpt_generic
Modified Files:
folder_factories.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/folder_factories.pt 1.8 => 1.9 ===
--- CMF/CMFDefault/skins/zpt_generic/folder_factories.pt:1.8 Fri Aug 16 07:37:41 2002
+++ CMF/CMFDefault/skins/zpt_generic/folder_factories.pt Thu Mar 6 05:29:04 2003
@@ -2,13 +2,13 @@
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 tal:condition="python: not(here.portal_membership.checkPermission('Access contents information', here))">
<span tal:define="dummy here/unauthRedirect"></span>
</div>
<div class="Desktop">
-<h1> Add Content </h1>
-<form action="invokeFactory" method="POST"
+<h1 i18n:translate="">Add Content</h1>
+<form action="invokeFactory" method="post"
tal:attributes="action string:${here/absolute_url}/invokeFactory"
>
<table class="FormLayout">
@@ -16,16 +16,20 @@
<td>
<table width="100%" class="FormLayout" tal:repeat="item here/allowedContentTypes">
<tr valign="top">
- <td align="left" width="2%" nowrap><input type="radio" name="type_name" value="" id="" tal:attributes="value item/getId; id string:cb_${repeat/item/number}"/>
+ <td align="left" width="2%" nowrap>
+ <input type="radio" name="type_name" value="" id=""
+ tal:attributes="value item/getId;
+ id string:cb_${repeat/item/number}" />
</td>
- <td align="left" colspan="2" class="ListName"><label for=""
+ <td align="left" colspan="2" class="ListName"><label for=""
tal:attributes="for string:cb_${repeat/item/number}"
- tal:content="item/Title"></label>
+ tal:content="item/Title" i18n:translate=""></label>
</td>
</tr>
<tr valign="top">
- <td colspan="2"> <br> </td>
- <td align="left" class="ListDefinition" tal:content="item/Description"></td>
+ <td colspan="2"> <br /> </td>
+ <td align="left" class="ListDefinition" tal:content="item/Description"
+ i18n:translate=""></td>
</tr>
</table>
</td>
@@ -33,10 +37,12 @@
<table class="FormLayout">
<tr valign="top">
- <td> <br> </td>
- <td colspan="2" class="TextField"> <strong> ID: </strong>
- <input type="text" name="id" size="20">
- <input type="submit" value="Add"> </td>
+ <td> <br /> </td>
+ <td colspan="2" class="TextField">
+ <strong i18n:translate="">ID:</strong>
+ <input type="text" name="id" size="20" />
+ <input type="submit" value=" Add " i18n:attributes="value" />
+ </td>
</tr>
</table>
</form>