You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2004/09/17 14:52:56 UTC
svn commit: rev 46251 - in incubator/lenya/trunk/src/webapp/lenya: pubs/default/xslt xslt/menu
Author: andreas
Date: Fri Sep 17 05:52:55 2004
New Revision: 46251
Modified:
incubator/lenya/trunk/src/webapp/lenya/pubs/default/xslt/page2xhtml.xsl
incubator/lenya/trunk/src/webapp/lenya/xslt/menu/menu2xhtml.xsl
incubator/lenya/trunk/src/webapp/lenya/xslt/menu/menu2xslt.xsl
Log:
fixed some HTML validation issues
Modified: incubator/lenya/trunk/src/webapp/lenya/pubs/default/xslt/page2xhtml.xsl
==============================================================================
--- incubator/lenya/trunk/src/webapp/lenya/pubs/default/xslt/page2xhtml.xsl (original)
+++ incubator/lenya/trunk/src/webapp/lenya/pubs/default/xslt/page2xhtml.xsl Fri Sep 17 05:52:55 2004
@@ -50,7 +50,7 @@
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td id="publication-title">Welcome to the Default Publication!</td>
- <td id="project-logo"><img src="{$root}/images/project-logo.png"/></td>
+ <td id="project-logo"><img src="{$root}/images/project-logo.png" alt="project logo"/></td>
</tr>
</table>
<xsl:apply-templates select="xhtml:div[@id = 'tabs']"/>
Modified: incubator/lenya/trunk/src/webapp/lenya/xslt/menu/menu2xhtml.xsl
==============================================================================
--- incubator/lenya/trunk/src/webapp/lenya/xslt/menu/menu2xhtml.xsl (original)
+++ incubator/lenya/trunk/src/webapp/lenya/xslt/menu/menu2xhtml.xsl Fri Sep 17 05:52:55 2004
@@ -44,21 +44,22 @@
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="lenya-menubar-menu">
<tr>
- <td background="{$image-prefix}/frame-bg_oben.gif" width="13" height="4">
- <img src="{$image-prefix}/frame-bg_oben.gif" width="13" height="4" /></td>
- <td background="{$image-prefix}/frame-bg_oben.gif" height="4">
- <img src="{$image-prefix}/frame-bg_oben.gif" height="4" /></td>
- <td background="{$image-prefix}/frame-bg_oben.gif" width="70%" height="4">
- <img src="{$image-prefix}/frame-bg_oben.gif" height="4" /></td>
- <td background="{$image-prefix}/frame-bg_oben.gif" width="101" height="4">
- <img src="{$image-prefix}/frame-bg_oben.gif" width="101" height="4" /></td>
+ <td style="background-image: url('{$image-prefix}/frame-bg_oben.gif')" width="13" height="4">
+ <img src="{$image-prefix}/frame-bg_oben.gif" width="13" height="4" alt=""/></td>
+ <td style="background-image: url('{$image-prefix}/frame-bg_oben.gif')" height="4">
+ <img src="{$image-prefix}/frame-bg_oben.gif" height="4" alt=""/></td>
+ <td style="background-image: url('{$image-prefix}/frame-bg_oben.gif')" width="70%" height="4">
+ <img src="{$image-prefix}/frame-bg_oben.gif" height="4" alt=""/></td>
+ <td style="background-image: url('{$image-prefix}/frame-bg_oben.gif')" width="101" height="4">
+ <img src="{$image-prefix}/frame-bg_oben.gif" width="101" height="4" alt=""/></td>
</tr>
<tr>
- <td class="lenya-menubar-td-left" rowspan="2" valign="bottom" align="right" background="{$contextprefix}/lenya/menu/images/grau-bg.gif">
- <img src="{$image-prefix}/blau_anfang_oben.gif" />
+ <td class="lenya-menubar-td-left" rowspan="2" valign="bottom" align="right"
+ style="background-image: url('{$contextprefix}/lenya/menu/images/grau-bg.gif')">
+ <img src="{$image-prefix}/blau_anfang_oben.gif" alt=""/>
</td>
- <td background="{$image-prefix}/grau-bg2.gif" nowrap="nowrap">
+ <td style="background-image: url('{$image-prefix}/grau-bg2.gif')" nowrap="nowrap">
<!-- ADMIN TAB -->
<xsl:if test="not(menu:tabs/menu:tab[@label = 'admin']/@show = 'false')">
@@ -106,7 +107,8 @@
</td>
- <td class="lenya-menubar-td-infoline" valign="bottom" align="right" colspan="2" background="{$image-prefix}/grau-bg2.gif">
+ <td class="lenya-menubar-td-infoline" valign="bottom" align="right" colspan="2"
+ style="background-image: url('{$image-prefix}/grau-bg2.gif')">
<div class="lenya-menubar-infoline">
<xsl:if test="$workflowstate != ''">
@@ -115,16 +117,16 @@
 <i18n:text>User</i18n:text>: <strong><xsl:value-of select="$userid"/></strong>  |  <i18n:text>Server Time</i18n:text>: <strong><xsl:value-of select="$servertime"/></strong>
</div>
- <div style="margin-top: 5px;"><img border="0" src="{$image-prefix}/lenya_oben_2.gif" /></div>
+ <div style="margin-top: 5px;"><img border="0" src="{$image-prefix}/lenya_oben_2.gif" alt=""/></div>
</td>
</tr>
<tr>
- <td colspan="2" background="{$image-prefix}/unten.gif"><img border="0"
- src="{$image-prefix}/unten.gif" /></td>
+ <td colspan="2" style="background-image: url('{$image-prefix}/unten.gif')"><img border="0"
+ src="{$image-prefix}/unten.gif" alt=""/></td>
<td valign="top" rowspan="2"
- background="{$image-prefix}/grau-bg.gif"><img border="0"
- src="{$image-prefix}/lenya_unten.gif" /></td>
+ style="background-image: url('{$image-prefix}/grau-bg.gif')"><img border="0"
+ src="{$image-prefix}/lenya_unten.gif" alt=""/></td>
</tr>
<tr valign="top">
@@ -166,10 +168,10 @@
target="{$target}">
<xsl:choose>
<xsl:when test="starts-with($completearea, $tab-area-prefix)">
- <img border="0" src="{$image-prefix}/{$tab-area-prefix}_active.gif" />
+ <img border="0" src="{$image-prefix}/{$tab-area-prefix}_active.gif" alt="active {$tab-area-prefix} tab"/>
</xsl:when>
<xsl:otherwise>
- <img border="0" src="{$image-prefix}/{$tab-area-prefix}_inactive.gif" />
+ <img border="0" src="{$image-prefix}/{$tab-area-prefix}_inactive.gif" alt="inactive {$tab-area-prefix} tab"/>
</xsl:otherwise>
</xsl:choose>
</a>
Modified: incubator/lenya/trunk/src/webapp/lenya/xslt/menu/menu2xslt.xsl
==============================================================================
--- incubator/lenya/trunk/src/webapp/lenya/xslt/menu/menu2xslt.xsl (original)
+++ incubator/lenya/trunk/src/webapp/lenya/xslt/menu/menu2xslt.xsl Fri Sep 17 05:52:55 2004
@@ -48,7 +48,7 @@
<link href="{$contextprefix}/lenya/css/menu.css" rel="stylesheet" type="text/css"/>
<xso:apply-templates select="xhtml:html/xhtml:head/*[local-name() != 'title']"/>
</head>
- <body bgcolor="#ffffff" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
+ <body style="background-color: white; margin: 0px; padding: 0px">
<xsl:apply-templates select="xhtml:div[@id = 'lenya-menubar']"/>
<div id="lenya-cmsbody">
<xso:apply-templates select="xhtml:html/xhtml:body/node()"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org