Happy New Year!
[platal.git] / templates / deltaten / index.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2014 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
24 {if $plset_count}
25 {include core=plset.tpl}
26 {else}
27 {include wiki=Docs.Deltaten}
28 {/if}
29
30 <a id="deltaten"></a>
31
32 <script type="text/javascript">//<![CDATA[
33   {literal}$(function() { load_advanced_search({{/literal}{foreach from=$smarty.request key=key item=item name="load"}"{$key}":"{$item}"{if not $smarty.foreach.load.last},{/if}{/foreach}{literal}}); });{/literal}
34 //]]></script>
35
36 <form id="recherche" action="deltaten/search" method="get" onsubmit="return cleanForm(this, 'deltaten/search')">
37   <table class="bicol" cellpadding="3" summary="Recherche">
38     <tr>
39       <th colspan="2">
40         Opération N N-10
41       </th>
42     </tr>
43     <tr>
44       <td colspan="2" class="titre">
45       Cette recherche est effectuée uniquement au sein des membres de la promotion {$deltaten_promo_old} participant à l'opération N N-10.
46       </td>
47     </tr>
48     <tr>
49       <th colspan="2">Géographie</th>
50     </tr>
51     {include file="search/adv.form.autocomplete_select.tpl" description="Pays" name="country"
52       value_text=$smarty.request.country_text value=$smarty.request.country title="Tous les pays"}
53     {include file="search/adv.form.address_component.tpl" description="Région, province, état…" name="administrative_area_level_1"
54       value=$smarty.request.administrative_area_level_1}
55     {include file="search/adv.form.address_component.tpl" description="Département, comté…" name="administrative_area_level_2"
56       value=$smarty.request.administrative_area_level_2}
57     <tr id="locality_text">
58       <td>Ville</td>
59       <td><input type="text" class="autocomplete" name="locality_text" size="32" value="{$smarty.request.locality_text}" /></td>
60     </tr>
61     {include file="search/adv.form.address_component.tpl" description="Ville" name="locality" value=$smarty.request.locality}
62     {include file="search/adv.form.address_component.tpl" description="Code postal" name="postal_code" value=$smarty.request.postal_code}
63     <tr>
64       <td colspan="2">
65         <label for="only_current">
66           <input name="only_current" id="only_current" type="checkbox"{if $smarty.request.only_current} checked="checked"{/if}/>
67           Chercher uniquement les adresses actuelles.
68         </label>
69       </td>
70     </tr>
71     <tr>
72       <th colspan="2">Activité</th>
73     </tr>
74     <tr>
75       <td>Entreprise</td>
76       <td><input type="text" class="autocomplete" name="entreprise" size="32" value="{$smarty.request.entreprise}" /></td>
77     </tr>
78     <tr>
79       <td>Description</td>
80       <td><input type="text" class="autocomplete" name="description" size="32" value="{$smarty.request.description}" /></td>
81     </tr>
82     <tr>
83       <td>Mots-clefs</td>
84       <td>
85         <input name="jobtermTxt" type="text" class="autocomplete{if $smarty.request.jobterm} hidden_valid{/if}" style="display:none" size="32"
86                value="{$smarty.request.jobtermTxt}"/>
87         <input name="jobterm" class="autocompleteTarget" type="hidden" value="{$smarty.request.jobterm}"/>
88         <a href="jobterm" class="autocompleteToSelect">{icon name="table" title="Tous les mots-clefs"}</a>
89       </td>
90     </tr>
91     <tr>
92       <th colspan="2">Divers</th>
93     </tr>
94     <tr>
95       <td>Sexe</td>
96       <td>
97         <table>
98           <tr>
99             <td style="width:100px">
100               <input type="radio" name="woman" value="0" {if !$smarty.request.woman}checked="checked"{/if} id="woman0"/><label for="woman0">indifférent</label>
101             </td>
102             <td style="width:100px">
103               <input type="radio" name="woman" value="1" {if $smarty.request.woman eq 1}checked="checked"{/if} id="woman1"/><label for="woman1">homme</label>
104             </td>
105             <td style="width:100px">
106               <input type="radio" name="woman" value="2" {if $smarty.request.woman eq 2}checked="checked"{/if} id="woman2"/><label for="woman2">femme</label>
107             </td>
108           </tr>
109         </table>
110       </td>
111     </tr>
112     <tr>
113       <td>Nationalité</td>
114       <td>
115         <input name="nationaliteTxt" type="text" class="autocomplete" style="display:none" size="32"
116                value="{$smarty.request.nationaliteTxt}"/>
117         <input name="nationalite" class="autocompleteTarget" type="hidden" value="{$smarty.request.nationalite}"/>
118         <a href="nationalite" class="autocompleteToSelect">{icon name="table" title="Toutes les nationalités"}</a>
119       </td>
120     </tr>
121     {if hasPerm('directory_private')}
122     <tr>
123       <td>Binet</td>
124       <td>
125         <input name="binetTxt" type="text" class="autocomplete" style="display:none" size="32"
126                value="{$smarty.request.binetTxt}"/>
127         <input name="binet" class="autocompleteTarget" type="hidden" value="{$smarty.request.binet}"/>
128         <a href="binet" class="autocompleteToSelect">{icon name="table" title="Tous les binets"}</a>
129       </td>
130     </tr>
131     {/if}
132     <tr>
133       <td>Groupe X</td>
134       <td>
135         <input name="groupexTxt" type="text" class="autocomplete" style="display:none" size="32"
136                value="{$smarty.request.groupexTxt}"/>
137         <input name="groupex" class="autocompleteTarget" type="hidden" value="{$smarty.request.groupex}"/>
138         <a href="groupex" class="autocompleteToSelect">{icon name="table" title="Tous les groupes X"}</a>
139       </td>
140     </tr>
141     {if hasPerm('directory_private')}
142     <tr>
143       <td>Section</td>
144       <td>
145         <input name="sectionTxt" type="text" class="autocomplete" style="display:none" size="32"
146                value="{$smarty.request.sectionTxt}"/>
147         <input name="section" class="autocompleteTarget" type="hidden" value="{$smarty.request.section}"/>
148         <a href="section" class="autocompleteToSelect">{icon name="table" title="Toutes les sections"}</a>
149       </td>
150     </tr>
151     {/if}
152     <tr>
153       <th colspan="2">Formation</th>
154     </tr>
155     <tr>
156       <td>Formation</td>
157       <td>
158         <input name="schoolTxt" type="text" class="autocomplete" style="display:none" size="32"
159                value="{$smarty.request.schoolTxt}"/>
160         <input name="school" class="autocompleteTarget" type="hidden" value="{$smarty.request.school}"/>
161         <a href="school" class="autocompleteToSelect">{icon name="table" title="Toutes les formations"}</a>
162       </td>
163     </tr>
164     <tr>
165       <td>Diplôme</td>
166       <td>
167         <input name="diploma" size="32" value="{$smarty.request.diploma}"/>
168       </td>
169     </tr>
170     <tr>
171       <th colspan="2">Opération N N-10</th>
172     </tr>
173     <tr>
174       <td>
175         Message spécifique (recherche texte)&nbsp;:
176       </td>
177       <td>
178         <input type="text" value="{$smarty.request.deltaten_message}" size="30" name="deltaten_message" />
179       </td>
180     </tr>
181     <tr><td colspan="2"></td></tr>
182     <tr>
183       <td colspan="2" style="text-align: center">
184           <input type="submit" value="Chercher" />
185       </td>
186     </tr>
187   </table>
188 </form>
189
190 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}