From: x2000bedo Date: Sun, 24 Oct 2004 14:22:22 +0000 (+0000) Subject: Closes #FS 108 X-Git-Tag: xorg/old~1193 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=3155943ba300d185a44f2697289469199060ec28;p=platal.git Closes #FS 108 Merge des templates de mescontacts et de search Modif de la CSS pour un bon affichage des champs bits sous IE et autres (en 1 ligne quand c'est possible) --- diff --git a/templates/include/minifiche.tpl b/templates/include/minifiche.tpl new file mode 100644 index 0000000..54c19c0 --- /dev/null +++ b/templates/include/minifiche.tpl @@ -0,0 +1,45 @@ +{*************************************************************************** + * Copyright (C) 2003-2004 Polytechnique.org * + * http://opensource.polytechnique.org/ * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the Free Software * + * Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * + *************************************************************************** + $Id: minifiche.tpl,v 1.1 2004-10-24 14:22:22 x2000bedo Exp $ + ***************************************************************************} + + +
+
+ {if $c.epouse}{$c.epouse} {$c.prenom}
(née {$c.nom}){else}{$c.nom} {$c.prenom}{/if} +
+
+ {strip} + (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é le {$c.deces}{/if} + {/strip} +
+ {min_auth level="cookie"} + {include file="include/minifiche_pvt.tpl"} + {/min_auth} +
+ +{* vim:set et sw=2 sts=2 sws=2: *} diff --git a/templates/include/minifiche_pvt.tpl b/templates/include/minifiche_pvt.tpl new file mode 100644 index 0000000..3a8face --- /dev/null +++ b/templates/include/minifiche_pvt.tpl @@ -0,0 +1,103 @@ +{*************************************************************************** + * Copyright (C) 2003-2004 Polytechnique.org * + * http://opensource.polytechnique.org/ * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the Free Software * + * Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * + *************************************************************************** + $Id: minifiche_pvt.tpl,v 1.1 2004-10-24 14:22:22 x2000bedo Exp $ + ***************************************************************************} + + +{if $inscrit==1} +
+ + Afficher la fiche + + + Afficher la carte de visite + + + {if $show_action eq + + {if $c.dcd neq 1} + {perms level='admin'} + su + + ax + + {/perms} + {/if} +
+{else} + {if $c.dcd neq 1} +
+ + clique ici si tu connais son adresse email ! + +
+ {/if} +
+{/if} +{if $inscrit==1} +
+ {if $c.nat || $c.web || $c.mobile || $c.pays || $c.ville || $c.region || $c.entreprise || $c.libre} + + {if $c.nat} + + + + + {/if} + {if $c.web} + + + + + {/if} + {if $c.pays || $c.ville || $c.region} + + + + + {/if} + {if $c.mobile} + + + + + {/if} + {if $c.entreprise} + + + + + {/if} + {if $c.libre} + + + + + {/if} +
Nationalité:{$c.nat}
Page web:{$c.web}
Géographie:{implode sep=", " s1=$c.ville s2=$c.region s3=$c.pays}
Mobile:{$c.mobile}
Profession: + {$c.entreprise} + {if $c.secteur}( {$c.secteur} ){/if} + {if $c.fonction}
( {$c.fonction} ){/if} +
Commentaire:{$c.libre|nl2br}
+ {/if} +
+{/if} + +{* vim:set et sw=2 sts=2 sws=2: *}