X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=inline;f=templates%2Finclude%2Fminifiche.tpl;h=cd4d8e4349deaa4543128f864ed8bb3a656ae97e;hb=cd5bd7dca7db6a980e6d3223aa5f43e0e1742acc;hp=9a95c13be6d1b965901671a3a01563671a267c47;hpb=555fde868f2cce5d99b0b11a88eecf8eef4e8123;p=platal.git diff --git a/templates/include/minifiche.tpl b/templates/include/minifiche.tpl index 9a95c13..cd4d8e4 100644 --- a/templates/include/minifiche.tpl +++ b/templates/include/minifiche.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 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,71 +20,80 @@ {* *} {**************************************************************************} - -{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} +
+
{if $smarty.session.auth ge AUTH_COOKIE} - {if !$c.dcd && !$c.wasinscrit} - clique ici si tu connais son adresse email ! +
+ {$c.name_display} +
{/if} - {/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"} - {else} - {* - *}{icon name=cross title="Retirer de la liste de mes surveillances"} +
+ {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} - {elseif $c.wasinscrit} - {* - *}{icon name=user_suit title="Afficher la fiche"} - {if !$c.dcd} - {* - *}{icon name=vcard title="Afficher la carte de visite"} - {if $show_action eq ajouter} - {* - *}{icon name=add title="Ajouter à mes contacts"} - {else} - {* - *}{icon name=cross title="Retirer de mes contacts"} + (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 ! {/if} {/if} - {/if} - {/if} +
+
- {if $smarty.session.perms->hasFlag('admin')} - [{if !$c.wasinscrit && !$c.dcd} - {* - *}{icon name=email title="marketter user"} + {if $smarty.session.auth ge AUTH_COOKIE} + -
+ {/if}
{if $c.wasinscrit} @@ -126,8 +135,8 @@ {if !$c.dcd && !$c.actif && $c.wasinscrit && $smarty.session.auth ge AUTH_COOKIE} - Ce camarade n'a plus d'adresse redirection valide. - + Ce camarade n'a plus d'adresse de redirection valide. + Si tu en connais une, n'hésite pas à nous la transmettre @@ -137,8 +146,6 @@ {/if} {/if}
-
-{if !$c.inscrit || $c.dcd}
{/if} {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}