mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 17:19:06 +01:00
ported login to use xslt tpls and css
This commit is contained in:
parent
16e38ed24f
commit
a6608840b1
@ -37,68 +37,70 @@
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<xsl:choose>
|
||||
<xsl:when test="loginscreen">
|
||||
<xsl:variable name="login_url"><xsl:value-of select="login_url"/></xsl:variable>
|
||||
<xsl:variable name="cookie"><xsl:value-of select="cookie"/></xsl:variable>
|
||||
<xsl:variable name="lang_login"><xsl:value-of select="lang_login"/></xsl:variable>
|
||||
<tr>
|
||||
<td align="center"><xsl:value-of select="phpgw_loginscreen_message"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" cellpadding="2" cellspacing="1">
|
||||
<tr class="th">
|
||||
<td valign="middle"><b>phpGroupWare</b></td>
|
||||
</tr>
|
||||
<tr class="row_off">
|
||||
<td valign="bottom">
|
||||
<form name="login" method="post" action="{$login_url}">
|
||||
<input type="hidden" name="passwd_type" value="text"/>
|
||||
<table align="center" width="100%" cellpadding="2" cellspacing="2">
|
||||
<tr>
|
||||
<td colspan="3" align="center"><xsl:value-of disable-output-escaping="yes" select="msgbox"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right"><xsl:value-of select="lang_username"/></td>
|
||||
<td><input name="login" value="{$cookie}"/></td>
|
||||
<xsl:choose>
|
||||
<xsl:when test="domain_select">
|
||||
<td><select name="logindomain"><xsl:apply-templates select="select_domain"/></select></td>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<td></td>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right"><xsl:value-of select="lang_password"/></td>
|
||||
<td><input name="passwd" type="password" onChange="this.form.submit()"/></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" align="center">
|
||||
<input type="submit" value="{$lang_login}" name="submitit"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" align="right" valign="bottom">
|
||||
<xsl:value-of select="phpgw_version"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<tr>
|
||||
<td align="center">Opps! You caught us in the middle of a system upgrade.<br/>Please, check back with us shortly.</td>
|
||||
</tr>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</table>
|
||||
<table cellpadding="0" cellspacing="0" width="40%" align="center" class="th">
|
||||
<xsl:choose>
|
||||
<xsl:when test="loginscreen">
|
||||
<xsl:variable name="login_url"><xsl:value-of select="login_url"/></xsl:variable>
|
||||
<xsl:variable name="cookie"><xsl:value-of select="cookie"/></xsl:variable>
|
||||
<xsl:variable name="lang_login"><xsl:value-of select="lang_login"/></xsl:variable>
|
||||
<tr>
|
||||
<td align="center"><xsl:value-of select="phpgw_loginscreen_message"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" cellpadding="2" cellspacing="1">
|
||||
<tr class="th">
|
||||
<td valign="middle"><b>phpGroupWare</b></td>
|
||||
</tr>
|
||||
<tr class="row_off">
|
||||
<td valign="bottom">
|
||||
<form name="login" method="post" action="{$login_url}">
|
||||
<input type="hidden" name="passwd_type" value="text"/>
|
||||
<table align="center" width="100%" cellpadding="2" cellspacing="2">
|
||||
<tr>
|
||||
<td colspan="3" align="center"><xsl:value-of disable-output-escaping="yes" select="msgbox"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right"><xsl:value-of select="lang_username"/></td>
|
||||
<td><input name="login" value="{$cookie}"/></td>
|
||||
<xsl:choose>
|
||||
<xsl:when test="domain_select">
|
||||
<td><select name="logindomain"><xsl:apply-templates select="select_domain"/></select></td>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<td></td>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right"><xsl:value-of select="lang_password"/></td>
|
||||
<td><input name="passwd" type="password" onChange="this.form.submit()"/></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" align="center">
|
||||
<input type="submit" value="{$lang_login}" name="submitit"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" class="th">
|
||||
<xsl:value-of select="phpgw_version"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<tr>
|
||||
<td align="center">Opps! You caught us in the middle of a system upgrade.<br/>Please, check back with us shortly.</td>
|
||||
</tr>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</table>
|
||||
</xsl:template>
|
||||
|
Loading…
Reference in New Issue
Block a user