This commit is contained in:
ceb 2002-10-19 16:18:35 +00:00
parent e72d00ace1
commit caaaa987b6
2 changed files with 76 additions and 89 deletions

View File

@ -51,6 +51,13 @@ a:hover
width: 100%; width: 100%;
} }
table.login
{
margin-top: 150px;
width: 40%;
text-align: center;
}
.login .login
{ {
background-color: #80BBFF; background-color: #80BBFF;

View File

@ -24,98 +24,78 @@
<xsl:template match="login_standard"> <xsl:template match="login_standard">
<xsl:variable name="login_layout"><xsl:value-of select="login_layout"/></xsl:variable> <xsl:variable name="login_layout"><xsl:value-of select="login_layout"/></xsl:variable>
<table cellpadding="0" cellspacing="0" width="100%" height="100%"> <xsl:variable name="login_url"><xsl:value-of select="login_url"/></xsl:variable>
<tr> <p>
<td> <a href="http://www.phpgroupware.org" target="_blank" onMouseout="window.status='';return true;">
<a href="http://www.phpgroupware.org" target="_blank" onMouseout="window.status='';return true;"> <xsl:attribute name="onMouseover">
<xsl:attribute name="onMouseover"> <xsl:text>window.status='</xsl:text>
<xsl:text>window.status='</xsl:text> <xsl:value-of select="lang_phpgw_statustext"/>
<xsl:value-of select="lang_phpgw_statustext"/> <xsl:text>'; return true;</xsl:text>
<xsl:text>'; return true;</xsl:text> </xsl:attribute>
</xsl:attribute> <img src="phpgwapi/templates/{$login_layout}/images/logo.png" alt="phpGroupWare" border="0"/>
<img src="phpgwapi/templates/{$login_layout}/images/logo.png" alt="phpGroupWare" border="0"/> </a>
</a> </p>
</td> <p>
</tr> <xsl:value-of select="phpgw_loginscreen_message"/>
<tr> </p>
<td align="center"><xsl:value-of select="phpgw_loginscreen_message"/></td> <table cellpadding="2" cellspacing="0" align="center" class="login">
</tr> <xsl:choose>
<tr> <xsl:when test="loginscreen">
<td valign="middle" align="center"> <form name="login" method="post" action="{$login_url}">
<table cellpadding="0" cellspacing="0" width="40%" class="login"> <input type="hidden" name="passwd_type" value="text"/>
<xsl:choose> <xsl:variable name="cookie"><xsl:value-of select="cookie"/></xsl:variable>
<xsl:when test="loginscreen"> <xsl:variable name="lang_login"><xsl:value-of select="lang_login"/></xsl:variable>
<xsl:variable name="login_url"><xsl:value-of select="login_url"/></xsl:variable> <tr>
<xsl:variable name="cookie"><xsl:value-of select="cookie"/></xsl:variable> <td colspan="3" align="center"><b><xsl:value-of select="website_title"/></b></td>
<xsl:variable name="lang_login"><xsl:value-of select="lang_login"/></xsl:variable> </tr>
<tr> <tr class="row_off">
<td> <td colspan="3" align="center"><xsl:value-of disable-output-escaping="yes" select="msgbox"/></td>
<table width="100%" cellpadding="2" cellspacing="1" class="login"> </tr>
<tr> <tr class="row_off">
<td align="center"><b><xsl:value-of select="website_title"/></b></td> <td width="33%" align="right"><xsl:value-of select="lang_username"/></td>
</tr> <td width="33%" align="center"><input name="login" value="{$cookie}"/></td>
<tr class="row_off"> <xsl:choose>
<td> <xsl:when test="domain_select">
<form name="login" method="post" action="{$login_url}"> <td><select name="logindomain"><xsl:apply-templates select="domain_select"/></select></td>
<input type="hidden" name="passwd_type" value="text"/> </xsl:when>
<table align="center" width="100%" cellpadding="2" cellspacing="2"> <xsl:otherwise>
<tr> <td></td>
<td colspan="3" align="center"><xsl:value-of disable-output-escaping="yes" select="msgbox"/></td> </xsl:otherwise>
</tr> </xsl:choose>
<tr> </tr>
<td width="33%" align="right"><xsl:value-of select="lang_username"/></td> <tr class="row_off">
<td width="33%" align="center"><input name="login" value="{$cookie}"/></td> <td align="right"><xsl:value-of select="lang_password"/></td>
<xsl:choose> <td align="center"><input name="passwd" type="password" onChange="this.form.submit()"/></td>
<xsl:when test="domain_select"> <td></td>
<td><select name="logindomain"><xsl:apply-templates select="domain_select"/></select></td> </tr>
</xsl:when> <tr class="row_off">
<xsl:otherwise> <td colspan="3" align="center">
<td></td> <input type="submit" value="{$lang_login}" name="submitit"/>
</xsl:otherwise> </td>
</xsl:choose> </tr>
</tr> <tr>
<tr> <td colspan="3" align="center">
<td align="right"><xsl:value-of select="lang_password"/></td> <xsl:value-of select="lang_powered_by"/>
<td align="center"><input name="passwd" type="password" onChange="this.form.submit()"/></td> <a href="http://www.phpgroupware.org" target="blank" onMouseout="window.status='';return true;">
<td></td> <xsl:attribute name="onMouseover">
</tr> <xsl:text>window.status='</xsl:text>
<tr> <xsl:value-of select="lang_phpgw_statustext"/>
<td colspan="3" align="center"> <xsl:text>'; return true;</xsl:text>
<input type="submit" value="{$lang_login}" name="submitit"/> </xsl:attribute>
</td> <xsl:text> phpGroupWare </xsl:text>
</tr> </a>
</table> <xsl:text> </xsl:text><xsl:value-of select="lang_version"/><xsl:text> </xsl:text><xsl:value-of select="phpgw_version"/>
</form> </td>
</td> </tr>
</tr> </form>
<tr>
<td align="center">
<xsl:value-of select="lang_powered_by"/>
<a href="http://www.phpgroupware.org" target="blank" onMouseout="window.status='';return true;">
<xsl:attribute name="onMouseover">
<xsl:text>window.status='</xsl:text>
<xsl:value-of select="lang_phpgw_statustext"/>
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
<xsl:text> phpGroupWare </xsl:text>
</a>
<xsl:text> </xsl:text><xsl:value-of select="lang_version"/><xsl:text> </xsl:text><xsl:value-of select="phpgw_version"/>
</td>
</tr>
</table>
</td>
</tr>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<tr> <tr>
<td align="center">Opps! You caught us in the middle of a system upgrade.<br/>Please, check back with us shortly.</td> <td align="center">Opps! You caught us in the middle of a system upgrade.<br/>Please, check back with us shortly.</td>
</tr> </tr>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</table> </table>
</td>
</tr>
</table>
</xsl:template> </xsl:template>
<xsl:template match="domain_select"> <xsl:template match="domain_select">