X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fminifiche.tpl;h=4fa451bbb2cb843ebc509c0dfc2230117eb1f85f;hb=ebd515f95f03f8a87f9b846d65e179b39a535222;hp=9bf612d86ec679a8982d4a7ac9c1a10f711bc69b;hpb=2faf884e279839dc8316ad56dd20acd0cb438c62;p=platal.git diff --git a/templates/include/minifiche.tpl b/templates/include/minifiche.tpl index 9bf612d..4fa451b 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 *} @@ -22,7 +22,7 @@ {if !$c.inscrit || $c.dcd}
{/if} -
+
{if $c.sexe}•{/if} @@ -35,9 +35,9 @@ {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} + (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} {if $smarty.session.auth ge AUTH_COOKIE} {if !$c.dcd && !$c.wasinscrit} clique ici si tu connais son adresse email ! @@ -45,25 +45,26 @@ {/if}
+
{if $smarty.session.auth ge AUTH_COOKIE} {if !$c.wasinscrit && !$c.dcd} {if $show_action eq ajouter} {* - *}{icon name=add title="Ajouter à la liste de mes surveillances"} + *}{icon name=add title="Ajouter à la liste de mes surveillances"} {else} {* *}{icon name=cross title="Retirer de la liste de mes surveillances"} {/if} {elseif $c.wasinscrit} {* - *}Afficher la fiche + *}{icon name=user_suit title="Afficher la fiche"} {if !$c.dcd} {* - *}Afficher la carte de visite + *}{icon name=vcard title="Afficher la carte de visite"} {if $show_action eq ajouter} {* - *}{icon name=add title="Ajouter à mes contacts"} + *}{icon name=add title="Ajouter à mes contacts"} {else} {* *}{icon name=cross title="Retirer de mes contacts"} @@ -72,22 +73,22 @@ {/if} {/if} - {if $smarty.session.perms eq admin} - {if !$c.wasinscrit && !$c.dcd} + {if hasPerm('admin')} + [{if !$c.wasinscrit && !$c.dcd} {* - *}{icon name=wrench title="marketter user"} - {elseif $c.wasinscrit} - {* - *}{icon name=wrench title="administrer user"} + *}{icon name=email title="marketter user"} {/if} - {* - *}AX + {* + *}{icon name=wrench title="administrer user"} + {* + *}{icon name=user_gray title="fiche AX"}] {/if}
+
{if $c.wasinscrit} - {if $c.web || $c.mobile || $c.countrytxt || $c.city || $c.region || $c.entreprise || $c.freetext} + {if $c.web || $c.mobile || $c.countrytxt || $c.city || $c.region || $c.entreprise || $c.freetext || (!$c.dcd && !$c.actif )} {if $c.web} @@ -97,7 +98,7 @@ {/if} {if $c.countrytxt || $c.city} - + {/if} @@ -122,6 +123,16 @@ {/if} + {if !$c.dcd && !$c.actif && $c.wasinscrit && $smarty.session.auth ge AUTH_COOKIE} + + + + {/if}
Géographie:Géographie: {$c.city}{if $c.city && $c.countrytxt}, {/if}{$c.countrytxt}
{$c.freetext|nl2br}
+ Ce camarade n'a plus d'adresse de redirection valide. + + Si tu en connais une, n'hésite pas à nous la transmettre + +
{/if} {/if} @@ -130,4 +141,4 @@
{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: *}