X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fminifiche.tpl;h=04f68031333018969dc70d512b60ce26fdcb8e04;hb=6060494ce7fcd61ac8e1ce7a688d4c48b9e8d622;hp=f37c8fe1515d683922e7f2d5c9140c31894d7c38;hpb=251d1b0b5c5ffb30b18fe6e6804f0089ea44208c;p=platal.git diff --git a/templates/include/minifiche.tpl b/templates/include/minifiche.tpl index f37c8fe..04f6803 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,70 +20,77 @@ {* *} {**************************************************************************} +
+
+
+ {$c.prenom} {$c.nom} +
-{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 ! - {/if} - {/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 ! + {/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} - {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"} - {/if} + {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} + {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"} + {/if} + {/if} {/if} {/if} - {/if} +
{if hasPerm('admin')} - [{if !$c.wasinscrit && !$c.dcd} - {* - *}{icon name=email title="marketter user"} - {/if} - {* - *}{icon name=wrench title="administrer user"} - {* - *}{icon name=user_gray title="fiche AX"}] +
+ {if !$c.wasinscrit && !$c.dcd} + {* + *}{icon name=email title="marketter user"} {/if} -
+ {* + *}{icon name=wrench title="administrer user"} + {* + *}{icon name=user_gray title="fiche AX"} + {/if} +
@@ -137,8 +144,6 @@ {/if} {/if}
-
-{if !$c.inscrit || $c.dcd}
{/if} {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}