update css

This commit is contained in:
ceb 2002-10-06 19:57:58 +00:00
parent a102ba435d
commit b93e93b33e
2 changed files with 29 additions and 20 deletions

View File

@ -93,8 +93,8 @@
$this->output = array $this->output = array
( (
'title' => $this->getvar('title'), 'title' => $this->getvar('title'),
'header_background_image' => $GLOBALS['phpgw']->common->image('phpgwapi/templates/default','bg_filler.png') 'space' => ' '
); );
} }

View File

@ -1,13 +1,11 @@
<!-- $Id$ --> <!-- $Id$ -->
<xsl:template match="portal"> <xsl:template match="portal">
<xsl:variable name="outer_width"><xsl:value-of select="outer_width"/></xsl:variable>
<xsl:variable name="header_background_image"><xsl:value-of select="header_background_image"/></xsl:variable>
<xsl:variable name="inner_width"><xsl:value-of select="inner_width"/></xsl:variable>
<table cellpadding="0" cellspacing="0" class="portal"> <table cellpadding="0" cellspacing="0" class="portal">
<tr> <tr>
<td align="center" class="portal_text"> <td class="portal_text">
<xsl:value-of select="title"/> <xsl:value-of disable-output-escaping="yes" select="space"/>
<xsl:value-of select="title"/>
</td> </td>
<td valign="middle" align="right" class="portal_text"> <td valign="middle" align="right" class="portal_text">
<xsl:apply-templates select="control_link"/> <xsl:apply-templates select="control_link"/>
@ -15,24 +13,35 @@
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table cellpadding="3" cellspacing="0" class="portal"> <table cellpadding="3" cellspacing="0" class="portal">
<tr> <xsl:choose>
<td> <xsl:when test="listbox">
<xsl:choose> <tr>
<xsl:when test="listbox"> <td>
<ul> <ul>
<xsl:apply-templates select="listbox"/> <xsl:apply-templates select="listbox"/>
</ul> </ul>
</xsl:when> </td>
<xsl:when test="extrabox"> </tr>
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="extrabox">
<tr>
<td>
<xsl:value-of disable-output-escaping="yes" select="extrabox"/> <xsl:value-of disable-output-escaping="yes" select="extrabox"/>
</xsl:when> </td>
<xsl:otherwise> </tr>
</xsl:when>
<xsl:otherwise>
<tr>
<td>
<xsl:call-template name="extrabox"/> <xsl:call-template name="extrabox"/>
</xsl:otherwise> </td>
</xsl:choose> </tr>
</td> </xsl:otherwise>
</tr> </xsl:choose>
</table> </table>
</td> </td>
</tr> </tr>