[Yanel-commits] rev 50204 - public/yanel/trunk/src/contributions/resources/yanel-user/htdocs

michi at wyona.com michi at wyona.com
Mon Jun 7 11:17:56 CEST 2010


Author: michi
Date: 2010-06-07 11:17:55 +0200 (Mon, 07 Jun 2010)
New Revision: 50204

Modified:
   public/yanel/trunk/src/contributions/resources/yanel-user/htdocs/yanel-user-profile.xsl
Log:
name and language fixed

Modified: public/yanel/trunk/src/contributions/resources/yanel-user/htdocs/yanel-user-profile.xsl
===================================================================
--- public/yanel/trunk/src/contributions/resources/yanel-user/htdocs/yanel-user-profile.xsl	2010-06-07 09:10:02 UTC (rev 50203)
+++ public/yanel/trunk/src/contributions/resources/yanel-user/htdocs/yanel-user-profile.xsl	2010-06-07 09:17:55 UTC (rev 50204)
@@ -101,25 +101,22 @@
           <tr>
             <td>Name:</td>
             <td>
-              <input type="text" name="userName" value="{$userName}"/>
+              <input type="text" name="userName" value="{name}"/>
             </td>
           </tr>
           <tr>
             <td>E-Mail:</td>
             <td>
               <input type="text" name="email" value="{@email}"/>
-<!-- DEPRECATED
-              <input type="text" name="email" value="{$email}"/>
--->
             </td>
           </tr>
           <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>
+                <option value="de"><xsl:if test="@language = 'de'"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if>de</option>
+                <option value="en"><xsl:if test="@language = 'en'"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if>en</option>
+                <option value="fr"><xsl:if test="@language = 'fr'"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if>fr</option>
               </select>
             </td>
 <!--



More information about the Yanel-commits mailing list