[CMF-checkins] CVS: CMF/CMFDefault/skins/zpt_generic - content_byline.pt:1.2.54.1 discussion_reply_form.pt:1.4.24.1 discussion_reply_preview.pt:1.4.24.1 folder_add.pt:1.4.26.1
Yvo Schubbe
schubbe@web.de
Thu, 27 Feb 2003 19:27:26 -0500
Update of /cvs-repository/CMF/CMFDefault/skins/zpt_generic
In directory cvs.zope.org:/tmp/cvs-serv27046/CMFDefault/skins/zpt_generic
Modified Files:
Tag: yuppie-collector122-branch
content_byline.pt discussion_reply_form.pt
discussion_reply_preview.pt folder_add.pt
Log Message:
- added i18n attributes
- closed empty tags
=== CMF/CMFDefault/skins/zpt_generic/content_byline.pt 1.2 => 1.2.54.1 ===
--- CMF/CMFDefault/skins/zpt_generic/content_byline.pt:1.2 Thu Dec 6 17:43:43 2001
+++ CMF/CMFDefault/skins/zpt_generic/content_byline.pt Thu Feb 27 19:27:24 2003
@@ -3,10 +3,12 @@
tal:define="creator here/Creator;
home_url python: here.portal_membership.getHomeUrl(creator);
"
+ i18n:domain="cmf_default"
>
<p>
- Created by <span tal:condition="home_url"
+ <span tal:omit-tag="" i18n:translate="">Created by</span>
+ <span tal:condition="home_url"
><a href="." title="Here"
tal:attributes="href home_url;
title creator;
@@ -14,7 +16,8 @@
tal:content="creator">Creator</a>
</span><span tal:condition="not: home_url"
tal:content="creator">Creator</span
- >. Last modified <span tal:content="here/ModificationDate"
+ >. <span tal:omit-tag="" i18n:translate="">Last modified</span>
+ <span tal:content="here/ModificationDate"
>Today</span>.
</p>
=== CMF/CMFDefault/skins/zpt_generic/discussion_reply_form.pt 1.4 => 1.4.24.1 ===
--- CMF/CMFDefault/skins/zpt_generic/discussion_reply_form.pt:1.4 Sat Jun 29 17:00:39 2002
+++ CMF/CMFDefault/skins/zpt_generic/discussion_reply_form.pt Thu Feb 27 19:27:24 2003
@@ -2,26 +2,26 @@
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">
<tal:block define="dummy python:here.portal_discussion.getDiscussionFor(here)" />
-<form method="POST" action="talkback"
+<form method="post" action="talkback"
tal:attributes="action string:${here/absolute_url}/talkback">
-<input type="hidden" name=":default_method" value="discussion_reply">
+<input type="hidden" name=":default_method" value="discussion_reply" />
<input type="hidden" name="Creator" value=""
- tal:attributes="value here/portal_membership/getAuthenticatedMember">
+ tal:attributes="value here/portal_membership/getAuthenticatedMember" />
<table class="FormLayout">
<tr>
- <th align="left">Subject (Title)</th>
+ <th align="left" i18n:translate="">Subject (Title)</th>
<td><input name="title" value=""
- tal:attributes="value request/form/title|here/title">
+ tal:attributes="value request/form/title|here/title" />
</td>
</tr>
<tr>
<td colspan="2">
- <b>Reply body</b><br>
+ <b i18n:translate="">Reply body</b><br />
<textarea name="text" cols="70" rows="10" wrap="soft" style="width: 100%"
tal:content="request/form/text|nothing"></textarea>
</td>
@@ -30,9 +30,11 @@
<td></td>
<td>
<input type="submit" value="Preview" name=""
- tal:attributes="name string:${here/getId}/discussion_reply_preview:method">
+ tal:attributes="name string:${here/getId}/discussion_reply_preview:method"
+ i18n:attributes="value" />
<input type="submit" value="Reply" name=""
- tal:attributes="name string:discussion_reply:method">
+ tal:attributes="name string:discussion_reply:method"
+ i18n:attributes="value" />
</td>
</tr>
</table>
=== CMF/CMFDefault/skins/zpt_generic/discussion_reply_preview.pt 1.4 => 1.4.24.1 ===
--- CMF/CMFDefault/skins/zpt_generic/discussion_reply_preview.pt:1.4 Sat Jun 29 17:00:39 2002
+++ CMF/CMFDefault/skins/zpt_generic/discussion_reply_preview.pt Thu Feb 27 19:27:24 2003
@@ -2,27 +2,29 @@
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">
<h3 tal:content="request/form/title"></h3>
<div tal:define="pss modules/Products.PythonScripts.standard"
tal:replace="structure python: pss.structured_text(request.form['text'])">Text Body</div>
-<form method="POST" action="talkback"
+<form method="post" action="talkback"
tal:attributes="action string:${here/absolute_url}/talkback">
<input type="hidden" name="title" value=""
- tal:attributes="value request/form/title">
+ tal:attributes="value request/form/title" />
<input type="hidden" name="text" value=""
- tal:attributes="value request/form/text">
- <input type="hidden" name="Creator" value=""
- tal:attributes="value here/portal_membership/getAuthenticatedMember">
+ tal:attributes="value request/form/text" />
+ <input type="hidden" name="Creator" value=""
+ tal:attributes="value here/portal_membership/getAuthenticatedMember" />
<table><tr>
<td width="15%"></td>
<td>
<input type="submit" value="Edit" name=""
- tal:attributes="name string:${here/getId}/discussion_reply_form:method">
- <input type="submit" value="Reply" name="discussion_reply:method">
+ tal:attributes="name string:${here/getId}/discussion_reply_form:method"
+ i18n:attributes="value" />
+ <input type="submit" value="Reply" name="discussion_reply:method"
+ i18n:attributes="value" />
</td>
</tr></table>
</form>
=== CMF/CMFDefault/skins/zpt_generic/folder_add.pt 1.4 => 1.4.26.1 ===
--- CMF/CMFDefault/skins/zpt_generic/folder_add.pt:1.4 Tue Apr 2 19:10:34 2002
+++ CMF/CMFDefault/skins/zpt_generic/folder_add.pt Thu Feb 27 19:27:24 2003
@@ -2,38 +2,39 @@
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">
-<h1>Add Folder</h1>
+<h1 i18n:translate="">Add Folder</h1>
-<p> A Folder contains other objects. Use Folders to organize your
- web objects in to logical groups.</p>
+<p i18n:translate="">A Folder contains other objects. Use Folders to organize
+ your web objects in to logical groups.</p>
-<form action="manage_addPortalFolder" method="POST"
+<form action="manage_addPortalFolder" method="post"
tal:attributes="action string:${here/absolute_url}/manage_addPortalFolder"
>
<table class="FormLayout">
<tr>
<td>
- <strong>Id</strong>
+ <strong i18n:translate="">Id</strong>
</td>
<td align="left" valign="top">
- <input type="text" name="id" size="40">
+ <input type="text" name="id" size="40" />
</td>
</tr>
<tr>
<td>
- <em><strong>Title</strong></em>
+ <em><strong i18n:translate="">Title</strong></em>
</td>
<td align="left" valign="top">
- <input type="text" name="title" size="40">
+ <input type="text" name="title" size="40" />
</td>
</tr>
- <tr><td colspan="2"><br></td></tr>
+ <tr><td colspan="2"><br /></td></tr>
<tr>
- <td><br></td>
+ <td><br /></td>
<td>
- <br><input type="submit" value=" Add ">
+ <br />
+ <input type="submit" value=" Add " i18n:attributes="value" />
</td>
</tr>
</table>