X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fprofile.tpl;h=bb339049682c66efa68ad51b11dfe11b4a91d86b;hb=34079e502c9395d827fb043852bcd89de410d79e;hp=95667c1f3340041f5718d15f1f7183171146506b;hpb=1c4a1d0a32c52851e9ffbbf585bb206c9a472dc9;p=platal.git diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl index 95667c1..bb33904 100644 --- a/templates/profile/profile.tpl +++ b/templates/profile/profile.tpl @@ -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 *} @@ -24,7 +24,7 @@ {/literal} @@ -56,7 +59,10 @@ function chgMainWinLoc(strPage) {assign var=groups value=$owner->groups(true,true)} {if $groups|@count}
Groupe{if count($groups) > 1}s{/if} et institution{if count($groups) > 1}s{/if} X :
- {foreach from=$groups item=group name=groups}{if !$smarty.foreach.groups.first}, {/if}{$group.nom}{/foreach} + {foreach from=$groups item=group name=groups} + {if !$smarty.foreach.groups.first}, {/if} + {$group.nom} + {/foreach}
{/if} {/if} @@ -116,7 +122,7 @@ function chgMainWinLoc(strPage) {/if} - {if $logged && $view eq 'private'} + {if $logged && $view eq 'private' && $owner && $owner->state eq 'active'}
Fiche mise à jour
le {$profile->last_change|date_format} @@ -164,7 +170,7 @@ function chgMainWinLoc(strPage) {$code}  {/foreach} - {$profile->promo()} + {$profile->promo('details')} {if $logged && $profile->mentor_expertise} [Ma fiche référent] @@ -172,7 +178,6 @@ function chgMainWinLoc(strPage) {assign var=educations value=$profile->getEducations(32)} {if count($educations) > 0} -  - Formation :