sur la page de recherche dans l'annuaire : message indiquant que nous n'avons pas...
[platal.git] / templates / search / quick.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2006 Polytechnique.org                             *}
4 {*  http://opensource.polytechnique.org/                                  *}
5 {*                                                                        *}
6 {*  This program is free software; you can redistribute it and/or modify  *}
7 {*  it under the terms of the GNU General Public License as published by  *}
8 {*  the Free Software Foundation; either version 2 of the License, or     *}
9 {*  (at your option) any later version.                                   *}
10 {*                                                                        *}
11 {*  This program is distributed in the hope that it will be useful,       *}
12 {*  but WITHOUT ANY WARRANTY; without even the implied warranty of        *}
13 {*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *}
14 {*  GNU General Public License for more details.                          *}
15 {*                                                                        *}
16 {*  You should have received a copy of the GNU General Public License     *}
17 {*  along with this program; if not, write to the Free Software           *}
18 {*  Foundation, Inc.,                                                     *}
19 {*  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA               *}
20 {*                                                                        *}
21 {**************************************************************************}
22
23 {include file=search/quick.form.tpl show_js=1}
24 <h1>Comment faire une recherche ?</h1>
25
26 <h2>Nom, Prenom, Promo ...</h2>
27
28 <p>
29 La ligne de recherche ci-dessus accepte non seulement des mélanges de <strong>noms</strong> et de <strong>prénoms</strong> ...
30 mais elle accepte de plus la syntaxe suivante pour les <strong>promos</strong> :
31 </p>
32 <ul>
33   <li>1990 : signifie appartient à la promo 1990</li>
34   <li>1990-2000 : signifie sur la promo 1990 à 2000</li>
35   <li>&lt;1990 : signifie promos inférieures ou égales à 1990</li>
36   <li>&gt;1990 : signifie promos supérieures ou égales à 1990</li>
37 </ul>
38 <p>
39 Ainsi, rechercher tous les "Dupont" sur les promos 1980 à 1990 et sur la promo 2000 se fait avec la recherche :
40 [ Dupont 1980-1990 2000 ]
41 </p>
42
43 <h2>Astuce pour les noms ...</h2>
44 <p>
45 Parfois on ne sait plus si le nom qu'on recherche s'écrit « Lenormand », « Le Normand » ou « Le-Normand » ...
46 </p>
47 <p>
48 Pour éviter ce genre d'écueils, il suffit de chercher [ Le Normand ].<br />
49 En effet, le moteur de recherche va alors chercher tous les utilisateurs dont le nom contient 'Le' <strong>et</strong> 'Normand'
50 sans distinction de casse et sans tenir compte des accents.
51 </p>
52
53 {min_auth level="cookie"}
54 <h2>Barre de recherche pour Firefox</h2>
55 <script type="text/javascript">
56 {literal}
57 function addEngine() {
58   if ((typeof window.sidebar == "object") && (typeof window.sidebar.addSearchEngine == "function")) {
59    {/literal}
60     window.sidebar.addSearchEngine(
61       "{$baseurl|replace:"https":"http"}/xorg.src",
62       "{$baseurl|replace:"https":"http"}/images/xorg.png",
63       "Recherche rapide X.org",
64       "Academic");
65   {literal}
66   } else { alert("Impossible d'installer la barre de recherche Firefox"); }
67 }
68 {/literal}
69 </script>
70 <p>Tu peux <a href="javascript:addEngine()">installer</a> la barre de recherche rapide directement dans ton navigateur.
71 </p>
72 {/min_auth}
73
74 <h2>Polytechniciens des promotions 1919 et précédentes</h2>
75 <p>Notre base de données ne contient que les polytechniciens depuis la promotion 1920. Pour effectuer des recherches dans les
76 promotions précédentes, il faut utiliser l'<a href="http://biblio.polytechnique.fr/F/">annuaire en ligne de la bibliothèque de
77 l'École</a>.</p>
78
79 {* vim:set et sw=2 sts=2 sws=2: *}