projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix networking display on profiles
[platal.git]
/
templates
/
profile
/
admin_trombino.tpl
diff --git
a/templates/profile/admin_trombino.tpl
b/templates/profile/admin_trombino.tpl
index
c3c29c8
..
34d5dcc
100644
(file)
--- a/
templates/profile/admin_trombino.tpl
+++ b/
templates/profile/admin_trombino.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-20
08
Polytechnique.org *}
+{* Copyright (C) 2003-20
10
Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@
-26,21
+26,22
@@
</h1>
<p>
</h1>
<p>
-Photo actuelle de {$
forlife
}
+Photo actuelle de {$
user->login()
}
</p>
</p>
-<img src="photo/{$
forlife
}" alt="[ PHOTO ]" />
+<img src="photo/{$
user->login()
}" alt="[ PHOTO ]" />
<br />
<p>
<br />
<p>
-<a href="admin/trombino/{$u
id}/delete
">Supprimer cette photo</a>
+<a href="admin/trombino/{$u
ser->login()}/delete?token={xsrf_token}
">Supprimer cette photo</a>
</p>
<p>
</p>
<p>
-<a href="admin/trombino/{$u
id}/original">Voir sa photo de trombi récupérée à l'é
cole (si disponible)</a>
+<a href="admin/trombino/{$u
ser->login()}/original">Voir sa photo de trombi récupérée à l'É
cole (si disponible)</a>
</p>
</p>
-<form action="admin/trombino/{$uid}/new" method="post" enctype="multipart/form-data">
+<form action="admin/trombino/{$user->login()}/new" method="post" enctype="multipart/form-data">
+ {xsrf_token_field}
<div>
<input name="userfile" type="file" size="20" maxlength="150" />
<input type="submit" value="Envoyer" />
<div>
<input name="userfile" type="file" size="20" maxlength="150" />
<input type="submit" value="Envoyer" />