Enables creation of multiple Xnet accounts for groups.
[platal.git] / templates / include / form.valid.photos.tpl
index b7382f9..4dcc9b7 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2011 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -23,9 +23,9 @@
 <tr class="pair">
   <td class="titre">Photos</td>
   <td>
-    <img src="photo/{$valid->user->login()}" style="width:110px;" alt=" [ PHOTO ] " />
+    <img src="photo/{$valid->profile->hrid()}" style="width:110px;" alt=" [ PHOTO ] " />
     &nbsp;&nbsp;&nbsp;&nbsp;
-    <img src="photo/{$valid->user->login()}/req" style="width:110px;" alt=" [ PHOTO ] " />
+    <img src="photo/{$valid->profile->hrid()}/req" style="width:110px;" alt=" [ PHOTO ] " />
   </td>
 </tr>