[CMF-checkins] CVS: CMF/CMFDefault/skins/zpt_generic -
main_template.pt:1.12
Yvo Schubbe
y.2004_ at wcm-solutions.de
Fri Jun 4 05:47:13 EDT 2004
Update of /cvs-repository/CMF/CMFDefault/skins/zpt_generic
In directory cvs.zope.org:/tmp/cvs-serv8376/CMFDefault/skins/zpt_generic
Modified Files:
main_template.pt
Log Message:
- removed some useless html span tags to fix problems with the size of user_menu_bar
- added doctype declaration: most pages should now be valid XHTML 1.0 Transitional
=== CMF/CMFDefault/skins/zpt_generic/main_template.pt 1.11 => 1.12 ===
--- CMF/CMFDefault/skins/zpt_generic/main_template.pt:1.11 Sun Jun 8 15:47:52 2003
+++ CMF/CMFDefault/skins/zpt_generic/main_template.pt Fri Jun 4 05:47:12 2004
@@ -1,5 +1,6 @@
-<html metal:define-macro="master"
- tal:define="utool nocall:here/portal_url;
+<metal:macro metal:define-macro="master"
+><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html tal:define="utool nocall:here/portal_url;
mtool here/portal_membership;
atool here/portal_actions;
wtool here/portal_workflow;
@@ -107,23 +108,16 @@
<!-- user_menu_bar -->
<table id="MemberActionsBox"
width="100%" border="0" cellpadding="0" cellspacing="0">
-
<tr>
-
- <td class="ActionTitle" tal:content="uname"> Guest </td>
-
- <td class="ActionLink" align="right">
- <span tal:repeat="action user_actions">
- <a href="" tal:attributes="href action/url"
- tal:content="action/name" i18n:translate="">Login</a
- ><span tal:condition="not: repeat/action/end"> | </span>
- </span>
- <span tal:condition="nothing"><a href="join_form"
- i18n:translate="">Join</a></span>
- </td>
-
- </tr>
-
+ <td class="ActionTitle" tal:content="uname">Guest</td>
+ <td class="ActionLink" align="right">
+ <tal:span tal:repeat="action user_actions"
+ ><a href="" tal:attributes="href action/url"
+ tal:content="action/name" i18n:translate="">Login</a
+ ><tal:span tal:condition="not: repeat/action/end"> |</tal:span></tal:span>
+ <tal:span tal:condition="nothing"
+ ><a href="">Join</a></tal:span> </td>
+ </tr>
</table>
<!-- end user_menu_bar -->
@@ -316,4 +310,4 @@
</div>
</body>
-</html>
+</html></metal:macro>
More information about the CMF-checkins
mailing list