X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fminifiche.tpl;h=0b60e962abcd7a3094fe02bf68bef53bdc2720af;hb=7f12e3b4113791f3372f11572a205925d7bb6b97;hp=f48d9e0893357e00c418cf17979431904238dfac;hpb=cb4a0b71d51603263a337ee82e00bcde007d5187;p=platal.git diff --git a/templates/include/minifiche.tpl b/templates/include/minifiche.tpl index f48d9e0..0b60e96 100644 --- a/templates/include/minifiche.tpl +++ b/templates/include/minifiche.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,92 +20,101 @@ {* *} {**************************************************************************} - -{if !$c.inscrit || $c.dcd}
{/if} -
- - - -
- {if $c.iso3166} - {$c.nat}  - {/if} - (X {$c.promo}{if $c.app0text}, {applis_fmt type=$c.app0type text=$c.app0text url=$c.app0url} - {/if}{if $c.app1text}, {applis_fmt type=$c.app1type text=$c.app1text url=$c.app1url}{/if}) - {if $c.dcd}décédé{if $c.sexe}e{/if} le {$c.deces|date_format}{/if} - {min_auth level="cookie"} - {if !$c.dcd && !$c.wasinscrit} - clique ici si tu connais son adresse email ! +
+
+ {if $smarty.session.auth ge AUTH_COOKIE} +
+ {$c.name_display} +
{/if} - {/min_auth} -
-
- {min_auth level="cookie"} - {if !$c.wasinscrit && !$c.dcd} - {if $show_action eq ajouter} - {* - *}Ajouter à la liste de mes surveillances - {else} - {* - *}Retirer de la liste de mes surveillances - {/if} - {elseif $c.wasinscrit} - {* - *}Afficher la fiche - {if !$c.dcd} - {* - *}Afficher la carte de visite - {* - *}{if $show_action eq +
+ {if $c.sexe}•{/if} + {if !$c.dcd && ($c.inscrit || $smarty.session.auth eq AUTH_PUBLIC)}{/if} + {$c.name_display} + {if !$c.dcd && ($c.inscrit || $smarty.session.auth eq AUTH_PUBLIC)}{/if} +
+ +
+ {if $c.iso3166} + {$c.nat}  {/if} - {/if} - {/min_auth} + X {$c.promo}{if $c.app0text}, {applis_fmt type=$c.app0type text=$c.app0text url=$c.app0url}{* + *}{/if}{if $c.app1text}, {applis_fmt type=$c.app1type text=$c.app1text url=$c.app1url}{/if}{* + *}{if $c.dcd}, décédé{if $c.sexe}e{/if} le {$c.deces|date_format}{/if} +
+
- {perms level='admin'} + {if $smarty.session.auth ge AUTH_COOKIE} + + {/if}
- {if $c.wasinscrit} - {if $c.web || $c.mobile || $c.countrytxt || $c.city || $c.region || $c.entreprise || $c.freetext} + {if $c.wasinscrit || !$c.dcd} + {if $c.web || $c.mobile || $c.countrytxt || $c.city || $c.region || $c.entreprise || $c.freetext || (!$c.dcd && !$c.actif )} {if $c.web} - + {/if} {if $c.countrytxt || $c.city} - + {/if} - {if $c.mobile} + {if $c.mobile && !$c.dcd} - + {/if} {if $c.entreprise} - + - + {/if} + {if !$c.dcd && (!$c.actif || !$c.wasinscrit) && $smarty.session.auth ge AUTH_COOKIE} + + + + {/if}
Page web:Page web : {$c.web}
Géographie:Géographie : {$c.city}{if $c.city && $c.countrytxt}, {/if}{$c.countrytxt}
Mobile:Mobile : {$c.mobile}
Profession:Profession : {$c.entreprise} {if $c.secteur}({$c.secteur}){/if} {if $c.fonction}
{$c.fonction}{/if} @@ -114,16 +123,30 @@ {/if} {if $c.freetext}
Commentaire:Commentaire : {$c.freetext|nl2br}
+ {if !$c.wasinscrit} + Ce{if $c.sexe}tte{/if} camarade n'est pas inscrit{if $c.sexe}e{/if}. + Si tu connais son adresse email, + n'hésite pas à nous la transmettre ! + {elseif !$c.actif} + Ce{if $c.sexe}tte{/if} camarade n'a plus d'adresse de redirection valide. + + Si tu en connais une, n'hésite pas à nous la transmettre. + + {/if} +
{/if} {/if}
-
-{if !$c.inscrit || $c.dcd}
{/if} -{* vim:set et sw=2 sts=2 sws=2: *} +{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}