[Yanel-commits] rev 49817 -
public/yanel/trunk/src/contributions/resources/yanel-user/xslt
michi at wyona.com
michi at wyona.com
Mon May 24 07:31:40 CEST 2010
Author: michi
Date: 2010-05-24 07:31:39 +0200 (Mon, 24 May 2010)
New Revision: 49817
Modified:
public/yanel/trunk/src/contributions/resources/yanel-user/xslt/yanel-user-profile.xsl
Log:
language selector added
Modified: public/yanel/trunk/src/contributions/resources/yanel-user/xslt/yanel-user-profile.xsl
===================================================================
--- public/yanel/trunk/src/contributions/resources/yanel-user/xslt/yanel-user-profile.xsl 2010-05-23 21:58:33 UTC (rev 49816)
+++ public/yanel/trunk/src/contributions/resources/yanel-user/xslt/yanel-user-profile.xsl 2010-05-24 05:31:39 UTC (rev 49817)
@@ -116,7 +116,21 @@
<table>
<tr>
<td>Language:</td>
+ <td><!-- TODO: Display languages only which are supported by this realm! What about identity managers used by more than one realm with different languages?! -->
+ <select name="user-profile-language">
+ <option value="de"><xsl:if test="$user-profile-language = 'de'"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if>de</option>
+ <option value="en"><xsl:if test="$user-profile-language = 'en'"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if>en</option>
+ <option value="fr"><xsl:if test="$user-profile-language = 'fr'"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if>fr</option>
+ </select>
+ </td>
+<!--
+ <td>
+ <input type="text" name="user-profile-language" value="{$user-profile-language}"/>
+ </td>
+-->
+<!--
<td><xsl:value-of select="$user-profile-language"/></td>
+-->
</tr>
<tr>
<td>Expiration Date:</td>
More information about the Yanel-commits
mailing list