[cpif] r404 - in trunk/frontend-web: . skins/default
svn at argo.es
svn at argo.es
Thu Oct 18 01:22:27 CEST 2007
Author: jcea
Date: Thu Oct 18 01:22:26 2007
New Revision: 404
Log:
Muestra la zona horaria del usuario en su perfil
Modified:
trunk/frontend-web/skins/default/profile.html
trunk/frontend-web/url_perfil.py
Modified: trunk/frontend-web/skins/default/profile.html
==============================================================================
--- trunk/frontend-web/skins/default/profile.html (original)
+++ trunk/frontend-web/skins/default/profile.html Thu Oct 18 01:22:26 2007
@@ -10,6 +10,7 @@
<tr><td align=right>(opcionales)</td><td><input type="text" name="OpenID3" size=55 value="%(profile openid3)s" /></td></tr>
<tr><td align=right>(opcionales)</td><td><input type="text" name="OpenID4" size=55 value="%(profile openid4)s" /></td></tr>
<tr><td align=right>(opcionales)</td><td><input type="text" name="OpenID5" size=55 value="%(profile openid5)s" /></td></tr>
+<tr><td align=right>Zona Horaria:</td><td>%(TZ)s</td></tr>
<tr><td>Nuevo avatar:</td><td><input type="file" name="avatar" size=45 value="" /></td></tr>
<tr><td>%(profile avatar)s</td></tr>
<tr><td colspan=2 align=right><input class="form-element" type="submit" name="submit" value="Cambia perfil"/></td></tr>
Modified: trunk/frontend-web/url_perfil.py
==============================================================================
--- trunk/frontend-web/url_perfil.py (original)
+++ trunk/frontend-web/url_perfil.py Thu Oct 18 01:22:26 2007
@@ -55,6 +55,7 @@
"profile email": "%s %s" % (u["email"], advise),
"profile openid1": "%s" % OpenIDs[0],
"profile openid2": "%s" % OpenIDs[1],
+ "TZ": u["tz"],
"avatar": u["avatar"],
}
for i,j in zip([3,4,5],OpenIDs[2:]):
More information about the cpif
mailing list