X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fbase.tpl;h=53ba85e14de717883a35e827a5e0877f428c9684;hb=cafb410fea6f257f45da08631c6cdb5c35f86b17;hp=765205f8d2f998b258901582cecfd3d1a858ec19;hpb=fd38b30e72448ad4ae848e4c7f87343d938bd781;p=platal.git diff --git a/templates/profile/base.tpl b/templates/profile/base.tpl index 765205f..53ba85e 100644 --- a/templates/profile/base.tpl +++ b/templates/profile/base.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,13 +20,32 @@ {* *} {**************************************************************************} -
+{assign var=isMe value=$smarty.session.user->isMyProfile($profile)} +{if hasPerm('directory_private')} +{assign var=viewPrivate value=true} +{/if} + + + {xsrf_token_field}
+ {icon name=information title="Voir ma fiche"} Tu peux consulter + {if $smarty.session.user->isMyProfile($profile)}ta{else}cette{/if} fiche telle que la + voient n'importe quel internaute, + l'AX{if hasPerm('directory_private')}ou + les X{/if}. +
+
+ {include file="include/flags.radio.tpl" disabled=true withtext=true val="novalue" name="profile_ex_pub"} +
+
{include file=$profile_page}
-
- - +
+ + + {if $current neq count($lookup)-1} + + {/if}