From 092a0413edd0c39e57f4df4530f1cfcc7989f26d Mon Sep 17 00:00:00 2001 From: Pascal Corpet Date: Thu, 24 Feb 2005 09:01:37 +0000 Subject: [PATCH] affichage des emplois git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-498 --- templates/fiche.tpl | 31 +------------------------------ templates/fiche_referent.tpl | 29 +---------------------------- templates/include/flags.radio.tpl | 20 ++++++++++++++++++++ 3 files changed, 22 insertions(+), 58 deletions(-) diff --git a/templates/fiche.tpl b/templates/fiche.tpl index 02ea616..18e30c9 100644 --- a/templates/fiche.tpl +++ b/templates/fiche.tpl @@ -129,36 +129,7 @@ function chgMainWinLoc( strPage ) {

Informations professionnelles :

{foreach from=$x.adr_pro item="address" key="i"} -
- {if $address.entreprise} -
- Entreprise/Organisme : {$address.entreprise} -
- {/if} - {if $address.secteur} -
- Secteur : - {$address.secteur}{if $address.ss_secteur} ({$address.ss_secteur}){/if} -
- {/if} - - {if $address.fonction} -
- Fonction : {$address.fonction} -
- {/if} - {if $address.poste} -
- Poste : {$address.poste} -
- {/if} - {if $address.email} -
- E-mail : {$address.email} -
- {/if} -
- + {include file="include/emploi.tpl" address=$address} {include file="geoloc/address.tpl" address=$address titre="Adresse : "}
 
{/foreach} diff --git a/templates/fiche_referent.tpl b/templates/fiche_referent.tpl index e3041e2..7202ab9 100644 --- a/templates/fiche_referent.tpl +++ b/templates/fiche_referent.tpl @@ -67,34 +67,7 @@ {foreach from=$adr_pro item="address" key="i"}

{$address.entreprise}

-
- {if $address.entreprise} -
- Entreprise/Organisme : - {$address.entreprise} -
- {/if} - {if $address.secteur} -
- Secteur : - {$address.secteur}{if $address.ss_secteur} ({$address.ss_secteur}){/if} -
- {/if} - - {if $address.fonction} -
- Fonction : - {$address.fonction} -
- {/if} - {if $address.poste} -
- Poste : - {$address.poste} -
- {/if} -
- + {include file="include/emploi.tpl" address=$address} {include file="geoloc/address.tpl" address=$address titre="Adresse : "}
 
diff --git a/templates/include/flags.radio.tpl b/templates/include/flags.radio.tpl index 2d232b7..8cd8f1f 100644 --- a/templates/include/flags.radio.tpl +++ b/templates/include/flags.radio.tpl @@ -1,3 +1,23 @@ +{*************************************************************************** + * 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 * + ***************************************************************************} + -- 2.1.4