[CMF-checkins] CVS: CMF/CMFDefault/skins/zpt_generic - news_box.pt:1.4

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


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

Modified Files:
	news_box.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/news_box.pt 1.3 => 1.4 ===
--- CMF/CMFDefault/skins/zpt_generic/news_box.pt:1.3	Fri Jul  5 15:45:05 2002
+++ CMF/CMFDefault/skins/zpt_generic/news_box.pt	Thu Mar  6 05:32:32 2003
@@ -1,14 +1,15 @@
- <table class="NewsItems" cellspacing="0" cellpadding="0" border="0" width="100%">
+ <table class="NewsItems" cellspacing="0" cellpadding="0" border="0"
+        width="100%" i18n:domain="cmf_default">
  <tbody tal:define="news python: here.portal_catalog(portal_type='News Item', sort_on='Date', sort_order='reverse', review_state='published');
          Batch python:modules['ZTUtils'].Batch;
 		 global batch python:Batch(news, 10, 0, orphan=1)">
   <tr>
    <td class="NewsBorder" width="1" rowspan="13" bgcolor="#6699CC">
     <img src="spacer.gif" alt=" "
-         width="1" height="2" border="0">
+         width="1" height="2" border="0" />
    </td>
    <td valign="top" class="NewsTitle" width="100%">
-     <b>News</b>
+     <b i18n:translate="">News</b>
    </td>
   </tr>
   <tr class="NewsItemRow"
@@ -17,19 +18,19 @@
    <td valign="top" nowrap>
     <a href=""
 	   tal:attributes="href python:news.getURL()"
-	   tal:content="news/Title"></a><br>
+	   tal:content="news/Title"></a><br />
     <span tal:replace="news/Date">Date</span>
    </td>
   </tr>
   <tr class="NewsItemRow"
       tal:condition="python:not(news)">
-   <td valign="top">
+   <td valign="top" i18n:translate="">
      No news is no news.
    </td>
   </tr>
   <tr class="NewsItemRow">
    <td>
-     <a href="recent_news">More...</a>
+     <a href="recent_news" i18n:translate="">More...</a>
    </td>
   </tr>
 </tbody>