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 2003/09/19 11:12:10 UTC
cvs commit: cocoon-lenya/src/webapp/lenya/xslt/admin/users profile.xsl
andreas 2003/09/19 02:12:10
Modified: src/webapp/lenya/xslt/admin/users profile.xsl
Log:
- fixed user id bug
- showing name only for non-LDAP users
Revision Changes Path
1.7 +9 -7 cocoon-lenya/src/webapp/lenya/xslt/admin/users/profile.xsl
Index: profile.xsl
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/admin/users/profile.xsl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- profile.xsl 30 Jul 2003 17:27:20 -0000 1.6
+++ profile.xsl 19 Sep 2003 09:12:10 -0000 1.7
@@ -75,7 +75,7 @@
<input class="lenya-form-element" name="userid" type="text" value="{normalize-space(.)}"/>
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="id"/>
+ <xsl:value-of select="."/>
</xsl:otherwise>
</xsl:choose>
</td>
@@ -94,12 +94,14 @@
<xsl:template match="fullname">
- <tr>
- <td class="lenya-entry-caption">Name</td>
- <td>
- <input class="lenya-form-element" name="fullname" type="text" value="{normalize-space(.)}"/>
- </td>
- </tr>
+ <xsl:if test="not(../@ldap = 'true')">
+ <tr>
+ <td class="lenya-entry-caption">Name</td>
+ <td>
+ <input class="lenya-form-element" name="fullname" type="text" value="{normalize-space(.)}"/>
+ </td>
+ </tr>
+ </xsl:if>
</xsl:template>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org