X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fminifiche.tpl;h=385b4a9e240406c9b48b26f632f07b9202b2ac26;hb=5ddeb07cc787dd1dc3630a31f1528f5cc7c4d9b9;hp=b16f1687c3280f7029e17fe997fe617bad0178b3;hpb=c6db254ad9c105effd68a66e0ddc2e6538b33cd2;p=platal.git diff --git a/templates/include/minifiche.tpl b/templates/include/minifiche.tpl index b16f168..385b4a9 100644 --- a/templates/include/minifiche.tpl +++ b/templates/include/minifiche.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2007 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -45,45 +45,50 @@ {/if} +
{if $smarty.session.auth ge AUTH_COOKIE} {if !$c.wasinscrit && !$c.dcd} {if $show_action eq ajouter} {* - *}Ajouter à la liste de mes surveillances + *}{icon name=add title="Ajouter à la liste de mes surveillances"} {else} {* - *}Retirer de la liste de mes surveillances + *}{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"} + {else} {* - *}{if $show_action eq + *}{icon name=cross title="Retirer de mes contacts"} + {/if} {/if} {/if} {/if} {if $smarty.session.perms eq admin} - {if !$c.wasinscrit && !$c.dcd} + [{if !$c.wasinscrit && !$c.dcd} {* - *}admin - {elseif $c.wasinscrit} - {* - *}admin + *}{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} @@ -118,6 +123,16 @@ {/if} + {if !$c.dcd && !$c.actif && $c.wasinscrit} + + + + {/if}
{$c.freetext|nl2br}
+ Ce camarade n'a plus d'adresse redirection valide. + + Si tu en connais une, n'hésite pas à nous la transmettre + +
{/if} {/if}