From: x2000habouzit Date: Sat, 13 Nov 2004 15:24:59 +0000 (+0000) Subject: elegant way to solve #199 and #100 X-Git-Tag: xorg/old~953 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=665a88e2b9681ca2c38fc6ee8b4fa772f2d9273e;p=platal.git elegant way to solve #199 and #100 --- diff --git a/htdocs/javascript/popups.js b/htdocs/javascript/popups.js new file mode 100644 index 0000000..0a2e5d4 --- /dev/null +++ b/htdocs/javascript/popups.js @@ -0,0 +1,33 @@ +/*************************************************************************** + * 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 * + ***************************************************************************/ + +function auto_links() { + nodes = document.getElementsByTagName('a'); + fqdn = document.URL; + fqdn = fqdn.replace(/^https?:\/\/([^\/]*)\/.*$/,'$1'); + for(var i=0; i Pour récupérer ta liste de contacts dans un PDF imprimable :
- [Triée par promo] - [Triée par noms] + [Triée par promo] + [Triée par noms]

{if $trombi} diff --git a/templates/carnet/notifs.tpl b/templates/carnet/notifs.tpl index 3691e80..a38bf1d 100644 --- a/templates/carnet/notifs.tpl +++ b/templates/carnet/notifs.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: notifs.tpl,v 1.15 2004-11-07 20:56:27 x2000habouzit Exp $ + $Id: notifs.tpl,v 1.16 2004-11-13 15:25:00 x2000habouzit Exp $ ***************************************************************************} {dynamic} @@ -99,7 +99,7 @@ Si un non-inscrit que tu surveille s'inscrit, il sera automatiquement ajout

-Pour surveiller des membres non-inscrits, il faut passer par la recherche +Pour surveiller des membres non-inscrits, il faut passer par la recherche et cliquer sur les icones Ajouter pour les ajouter à cette liste

diff --git a/templates/docs/contacts.tpl b/templates/docs/contacts.tpl index 1e3675e..c0c28d1 100644 --- a/templates/docs/contacts.tpl +++ b/templates/docs/contacts.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: contacts.tpl,v 1.12 2004-11-13 14:43:23 x2002bobillot Exp $ + $Id: contacts.tpl,v 1.13 2004-11-13 15:25:00 x2000habouzit Exp $ ***************************************************************************} @@ -193,7 +193,7 @@ de contacter l'Amicale des X

Pour toute demande qui concerne le recrutement de polytechniciens, vous pouvez consulter -le site Manageurs.com, dédié aux problématique d'emploi et de gestion de carrière. +le site Manageurs.com, dédié aux problématique d'emploi et de gestion de carrière.

Pour toute question n'ayant aucun rapport avec l'utilisation du site, vous pouvez nous contacter à diff --git a/templates/docs/convention_ax.tpl b/templates/docs/convention_ax.tpl index 350cf90..27cf9ea 100644 --- a/templates/docs/convention_ax.tpl +++ b/templates/docs/convention_ax.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: convention_ax.tpl,v 1.6 2004-10-24 14:41:12 x2000habouzit Exp $ + $Id: convention_ax.tpl,v 1.7 2004-11-13 15:25:00 x2000habouzit Exp $ ***************************************************************************} @@ -50,13 +50,12 @@ l'article premier de ses statuts. L'AX a ainsi pour but : Les activités de l'AX comprennent notamment la publication de l'annuaire papier, spécifique à l'AX, l'édition de la revue La Jaune et la Rouge et le fonctionnement de la Caisse de Secours. L'AX dispose également d'un - site - web, distinct des deux précédents. + site web, distinct des deux précédents.

Les deux associations ont décidé conjointement d'un rapprochement, concrétisé par la mise en place, l'animation et le développement du réseau baptisé RETIX. Cette coopération fait l'objet d'une -convention +convention entre l'AX et Polytechnique.org, signée en janvier 2004.

diff --git a/templates/docs/doc_forums.tpl b/templates/docs/doc_forums.tpl index d3390a7..26550c1 100644 --- a/templates/docs/doc_forums.tpl +++ b/templates/docs/doc_forums.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: doc_forums.tpl,v 1.8 2004-10-24 14:58:27 x2000habouzit Exp $ + $Id: doc_forums.tpl,v 1.9 2004-11-13 15:25:00 x2000habouzit Exp $ ***************************************************************************} @@ -31,7 +31,7 @@

Bien que nous n'ayons pas vocation à avoir un rayonnement aussi large que Usenet, l'ensemble des règles relatives à Usenet (la netiquette), consultables - + sur la page de usenet france, sont applicables sur les forums de Polytechnique.org.

diff --git a/templates/docs/en-cours.tpl b/templates/docs/en-cours.tpl index 917c398..666b690 100644 --- a/templates/docs/en-cours.tpl +++ b/templates/docs/en-cours.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: en-cours.tpl,v 1.6 2004-10-24 14:58:28 x2000habouzit Exp $ + $Id: en-cours.tpl,v 1.7 2004-11-13 15:25:00 x2000habouzit Exp $ ***************************************************************************} @@ -80,7 +80,7 @@ de redirection, et enfin les contacts.

Services aux groupes X

-Le site www.polytechnique.net +Le site www.polytechnique.net va regrouper rapidement l'ensemble des services aux groupes X. Ainsi l'ensemble des services plutôt orientés vers l'individu seront accessibles depuis le présent site "X.org", alors que les services aux groupes seront concentrés sur diff --git a/templates/docs/services.tpl b/templates/docs/services.tpl index bc726da..d3789a9 100644 --- a/templates/docs/services.tpl +++ b/templates/docs/services.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: services.tpl,v 1.7 2004-10-24 14:41:12 x2000habouzit Exp $ + $Id: services.tpl,v 1.8 2004-11-13 15:25:00 x2000habouzit Exp $ ***************************************************************************} @@ -67,7 +67,7 @@ ou encore *} le syst

Enfin Polytechnique.org favorise le développement d'activités associatives. Le -site www.polytechnique.net te +site www.polytechnique.net te présente ainsi des groupes existants et la newsletter mensuelle te met au courant des dernières actualités de la communauté.

diff --git a/templates/fiche.tpl b/templates/fiche.tpl index 9e36ac2..f810099 100644 --- a/templates/fiche.tpl +++ b/templates/fiche.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: fiche.tpl,v 1.23 2004-11-06 22:34:17 x2000habouzit Exp $ + $Id: fiche.tpl,v 1.24 2004-11-13 15:24:59 x2000habouzit Exp $ ***************************************************************************} {literal} @@ -68,7 +68,7 @@ function chgMainWinLoc( strPage ) { {if $section}Section : {$section}
{/if} {if $binets}Binet(s) : {$binets}
{/if} {if $groupes}Groupe(s) X : {$groupes|smarty:nodefaults}
{/if} - {if $web}Site Web :
{$web}
{/if} + {if $web}Site Web :
{$web}
{/if} {if $libre}
Commentaires :
{$libre|nl2br}{/if} {if $adr|@count > 0} diff --git a/templates/marketing/utilisateurs_edit.tpl b/templates/marketing/utilisateurs_edit.tpl index cbb18cc..bd48cc8 100644 --- a/templates/marketing/utilisateurs_edit.tpl +++ b/templates/marketing/utilisateurs_edit.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: utilisateurs_edit.tpl,v 1.6 2004-10-24 14:41:14 x2000habouzit Exp $ + $Id: utilisateurs_edit.tpl,v 1.7 2004-11-13 15:25:00 x2000habouzit Exp $ ***************************************************************************} @@ -77,7 +77,7 @@ modifi - Voir sa fiche sur le site de l'AX + Voir sa fiche sur le site de l'AX diff --git a/templates/paiment/index.tpl b/templates/paiment/index.tpl index 1b44524..dd69e46 100644 --- a/templates/paiment/index.tpl +++ b/templates/paiment/index.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: index.tpl,v 1.8 2004-10-24 14:41:15 x2000habouzit Exp $ + $Id: index.tpl,v 1.9 2004-11-13 15:25:01 x2000habouzit Exp $ ***************************************************************************} @@ -51,7 +51,7 @@ {select_db_table table="paiement.paiements" valeur=$ref where=" WHERE FIND_IN_SET('old',flags)=0"} {if $ref_url} - plus d'informations + plus d'informations {/if} diff --git a/templates/skin/common.header.tpl b/templates/skin/common.header.tpl index 5831bf0..5f47ee3 100644 --- a/templates/skin/common.header.tpl +++ b/templates/skin/common.header.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: common.header.tpl,v 1.14 2004-11-13 14:16:32 x2000habouzit Exp $ + $Id: common.header.tpl,v 1.15 2004-11-13 15:25:01 x2000habouzit Exp $ ***************************************************************************} @@ -47,6 +47,7 @@ {/if} + {* vim:set et sw=2 sts=2 sws=2: *} diff --git a/templates/skin/default.tpl b/templates/skin/default.tpl index 7ded052..f54db2a 100644 --- a/templates/skin/default.tpl +++ b/templates/skin/default.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: default.tpl,v 1.17 2004-11-06 22:34:18 x2000habouzit Exp $ + $Id: default.tpl,v 1.18 2004-11-13 15:25:01 x2000habouzit Exp $ ***************************************************************************} @@ -31,7 +31,7 @@ {/if} {include file=skin/common.bandeau.head.tpl} - + {include file=skin/common.devel.tpl} {if $smarty.session.suid} diff --git a/templates/skin/espace.tpl b/templates/skin/espace.tpl index 72285ab..0991011 100644 --- a/templates/skin/espace.tpl +++ b/templates/skin/espace.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: espace.tpl,v 1.2 2004-11-06 22:34:18 x2000habouzit Exp $ + $Id: espace.tpl,v 1.3 2004-11-13 15:25:01 x2000habouzit Exp $ ***************************************************************************} @@ -32,7 +32,7 @@ {/if} {include file=skin/common.bandeau.head.tpl} - + {include file=skin/common.devel.tpl} {if $smarty.session.suid} diff --git a/templates/skin/humlinux.tpl b/templates/skin/humlinux.tpl index f3c309c..0c14aef 100644 --- a/templates/skin/humlinux.tpl +++ b/templates/skin/humlinux.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: humlinux.tpl,v 1.3 2004-11-06 22:34:18 x2000habouzit Exp $ + $Id: humlinux.tpl,v 1.4 2004-11-13 15:25:01 x2000habouzit Exp $ ***************************************************************************} @@ -32,7 +32,7 @@ {/if} {include file=skin/common.bandeau.head.tpl} - + {include file=skin/common.devel.tpl} {if $smarty.session.suid} diff --git a/templates/skin/linux.tpl b/templates/skin/linux.tpl index 4ccd8e2..2b8c658 100644 --- a/templates/skin/linux.tpl +++ b/templates/skin/linux.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: linux.tpl,v 1.2 2004-11-06 22:34:18 x2000habouzit Exp $ + $Id: linux.tpl,v 1.3 2004-11-13 15:25:01 x2000habouzit Exp $ ***************************************************************************} @@ -32,7 +32,7 @@ {/if} {include file=skin/common.bandeau.head.tpl} - + {include file=skin/common.devel.tpl} {if $smarty.session.suid} diff --git a/templates/skin/liteskin.tpl b/templates/skin/liteskin.tpl index f5d8b78..2c0209c 100644 --- a/templates/skin/liteskin.tpl +++ b/templates/skin/liteskin.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: liteskin.tpl,v 1.2 2004-11-06 22:34:18 x2000habouzit Exp $ + $Id: liteskin.tpl,v 1.3 2004-11-13 15:25:01 x2000habouzit Exp $ ***************************************************************************} @@ -32,7 +32,7 @@ {/if} {include file=skin/common.bandeau.head.tpl} - + {include file=skin/common.devel.tpl} {if $smarty.session.suid} diff --git a/templates/skin/nbviolet.tpl b/templates/skin/nbviolet.tpl index 2a07545..6a2b52b 100644 --- a/templates/skin/nbviolet.tpl +++ b/templates/skin/nbviolet.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: nbviolet.tpl,v 1.2 2004-11-06 22:34:18 x2000habouzit Exp $ + $Id: nbviolet.tpl,v 1.3 2004-11-13 15:25:01 x2000habouzit Exp $ ***************************************************************************} @@ -32,7 +32,7 @@ {/if} {include file=skin/common.bandeau.head.tpl} - + {include file=skin/common.devel.tpl} {if $smarty.session.suid} diff --git a/templates/skin/newxorg.tpl b/templates/skin/newxorg.tpl index a7d2a9c..bc8d5a7 100644 --- a/templates/skin/newxorg.tpl +++ b/templates/skin/newxorg.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: newxorg.tpl,v 1.2 2004-11-06 22:34:18 x2000habouzit Exp $ + $Id: newxorg.tpl,v 1.3 2004-11-13 15:25:01 x2000habouzit Exp $ ***************************************************************************} @@ -32,7 +32,7 @@ {/if} {include file=skin/common.bandeau.head.tpl} - + {include file=skin/common.devel.tpl} {if $smarty.session.suid} diff --git a/templates/skin/oldtimes.tpl b/templates/skin/oldtimes.tpl index f6e8763..b8aa244 100644 --- a/templates/skin/oldtimes.tpl +++ b/templates/skin/oldtimes.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: oldtimes.tpl,v 1.2 2004-11-06 22:34:18 x2000habouzit Exp $ + $Id: oldtimes.tpl,v 1.3 2004-11-13 15:25:01 x2000habouzit Exp $ ***************************************************************************} @@ -32,7 +32,7 @@ {/if} {include file=skin/common.bandeau.head.tpl} - + {include file=skin/common.devel.tpl} {if $smarty.session.suid} diff --git a/templates/skin/sharky.tpl b/templates/skin/sharky.tpl index 4717064..16cf86b 100644 --- a/templates/skin/sharky.tpl +++ b/templates/skin/sharky.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: sharky.tpl,v 1.7 2004-11-06 22:34:18 x2000habouzit Exp $ + $Id: sharky.tpl,v 1.8 2004-11-13 15:25:01 x2000habouzit Exp $ ***************************************************************************} @@ -32,7 +32,7 @@ {/if} {include file=skin/common.bandeau.head.tpl} - + {include file=skin/common.devel.tpl} {if $smarty.session.suid} diff --git a/templates/skin/spectral.tpl b/templates/skin/spectral.tpl index c023411..979100e 100644 --- a/templates/skin/spectral.tpl +++ b/templates/skin/spectral.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: spectral.tpl,v 1.2 2004-11-06 22:34:18 x2000habouzit Exp $ + $Id: spectral.tpl,v 1.3 2004-11-13 15:25:01 x2000habouzit Exp $ ***************************************************************************} @@ -32,7 +32,7 @@ {/if} {include file=skin/common.bandeau.head.tpl} - + {include file=skin/common.devel.tpl} {if $smarty.session.suid} diff --git a/templates/skin/trapped.tpl b/templates/skin/trapped.tpl index e9da185..c33c170 100644 --- a/templates/skin/trapped.tpl +++ b/templates/skin/trapped.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: trapped.tpl,v 1.2 2004-11-06 22:34:18 x2000habouzit Exp $ + $Id: trapped.tpl,v 1.3 2004-11-13 15:25:01 x2000habouzit Exp $ ***************************************************************************} @@ -32,7 +32,7 @@ {/if} {include file=skin/common.bandeau.head.tpl} - + {include file=skin/common.devel.tpl} {if $smarty.session.suid}