Broken charset -> revert r1831
[platal.git] / templates / profile / mentor.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2007 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 {literal}
25 <script type="text/javascript">
26   //<![CDATA[
27   function mentor_pays_add()
28   {
29     var selid = document.forms.prof_annu.mentor_pays_id_new.selectedIndex;
30     document.forms.prof_annu.mentor_pays_id.value = document.forms.prof_annu.mentor_pays_id_new.options[selid].value;
31     document.forms.prof_annu.mentor_pays_name.value = document.forms.prof_annu.mentor_pays_id_new.options[selid].text;
32     document.forms.prof_annu.mentor_pays_op.value = "ajouter";
33     document.forms.prof_annu.submit();
34   } // function mentor_pays_add()
35
36   function mentor_pays_del( pid )
37   {
38     document.forms.prof_annu.mentor_pays_id.value = pid;
39     document.forms.prof_annu.mentor_pays_op.value = "retirer";
40     document.forms.prof_annu.submit();
41   } // function mentor_pays_del( pid )
42
43   function mentor_secteur_add()
44   {
45     var selid_secteur = document.forms.prof_annu.mentor_secteur_id_new.selectedIndex;
46     document.forms.prof_annu.mentor_secteur_id.value = document.forms.prof_annu.mentor_secteur_id_new.options[selid_secteur].value;
47     document.forms.prof_annu.mentor_secteur_name.value = document.forms.prof_annu.mentor_secteur_id_new.options[selid_secteur].text;
48     var selid_ss_secteur = document.forms.prof_annu.mentor_ss_secteur_id_new.selectedIndex;
49     document.forms.prof_annu.mentor_ss_secteur_id.value = document.forms.prof_annu.mentor_ss_secteur_id_new.options[selid_ss_secteur].value;
50     document.forms.prof_annu.mentor_ss_secteur_name.value = document.forms.prof_annu.mentor_ss_secteur_id_new.options[selid_ss_secteur].text;
51     document.forms.prof_annu.mentor_secteur_op.value = "ajouter";
52     document.forms.prof_annu.submit();
53   } // function mentor_secteur_add()
54
55   function mentor_secteur_del( sid )
56   {
57     document.forms.prof_annu.mentor_secteur_id.value = sid;
58     document.forms.prof_annu.mentor_secteur_op.value = "retirer";
59     document.forms.prof_annu.submit();
60   } // function mentor_secteur_del( sid )
61
62   //]]>
63 </script>
64 {/literal}
65
66 <p>
67 Si tu acceptes que ceux de nos camarades qui,
68 </p>
69 <ul>
70   <li>encore jeunes, sont en train de bâtir leur projet professionnel,</li>
71   <li>ou bien, plus âgés, souhaitent réorienter leur carrière,</li>
72 </ul>
73 <p>
74 te contactent afin de te demander conseil, dans les domaines que tu connais
75 bien, et pour lesquels tu pourrais les aider, remplis cette rubrique.<br />
76 Tu peux mentionner ici les domaines de compétences, les expériences 
77 notamment internationales sur la base desquels tu seras identifiable depuis
78 <a href="referent/search">la page de recherche d'un conseil professionnel</a>.
79 </p>
80
81 <div class="blocunite_tab">
82   <table class="bicol" cellspacing="0" cellpadding="0" summary="Profil: Mentoring">
83     <tr>
84       <th colspan="3">
85         Pays dont tu connais bien la culture professionnelle
86         <input type="hidden" value="" name="mentor_pays_op" />
87         <input type="hidden" value="00" name="mentor_pays_id" />
88         <input type="hidden" value="" name="mentor_pays_name" />
89       </th>
90     </tr>
91     <tr>
92       <td colspan="3" class="pflags">
93         <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
94           <tr>
95             <td class="rouge">
96               <input type="checkbox" name="accesX" checked="checked" disabled="disabled" />
97             </td>
98             <td class="texte">
99               privé
100             </td>
101           </tr>
102         </table>
103       </td>
104     </tr>
105     <tr class="impair">
106       <td class="colg">
107         <span class="titre">Pays</span>
108       </td>
109       <td class="colm">
110         <span class="titre"></span>
111       </td>
112       <td class="cold" style="width:15%">
113         &nbsp;
114       </td>
115     </tr>
116     {foreach from=$mentor_pays item=pays key=i}
117     <tr class="{cycle values="pair,impair"}">
118       <td class="colg">
119         <span class="valeur">{$pays}</span>
120       </td>
121       <td class="colm">
122         <span class="valeur">&nbsp;&nbsp;</span>
123       </td>
124       <td class="cold">
125         <span class="lien"><a href="javascript:mentor_pays_del('{$mentor_pid.$i}');">retirer</a></span>
126       </td>
127     </tr>
128     {/foreach}
129     {if $can_add_pays}
130     <tr class="{cycle values="pair,impair"}">
131       <td class="colg">
132         <select name="mentor_pays_id_new">
133           {geoloc_country country='00'}
134         </select>
135       </td>
136       <td class="colm">
137       </td>
138       <td class="cold">
139         <span class="lien"><a href="javascript:mentor_pays_add();">ajouter</a></span>
140       </td>
141     </tr>
142     {/if}
143   </table>
144 </div>
145
146 <div class="blocunite">
147   <table class="bicol" cellspacing="0" cellpadding="0" 
148     summary="Profil: Mentoring">
149     <tr>
150       <th colspan="3">
151         Secteurs d'activité dans lesquels tu as beaucoup exercé
152         <input type="hidden" value="" name="mentor_secteur_op" />
153         <input type="hidden" value="" name="mentor_secteur_id" />
154         <input type="hidden" value="" name="mentor_secteur_name" />
155         <input type="hidden" value="" name="mentor_ss_secteur_id" />
156         <input type="hidden" value="" name="mentor_ss_secteur_name" />
157       </th>
158     </tr>
159     <tr>
160       <td colspan="3" class="pflags">
161         <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
162           <tr>
163             <td class="rouge">
164               <input type="checkbox" name="accesX" checked="checked" disabled="disabled" />
165             </td>
166             <td class="texte">
167               privé
168             </td>
169           </tr>
170         </table>
171       </td>
172     </tr>
173     <tr class="impair">
174       <td class="colg">
175         <span class="titre">Secteur</span>
176       </td>
177       <td class="colm">
178         <span class="titre">Sous-Secteur</span>
179       </td>
180       <td class="cold" style="width:15%">
181         &nbsp;
182       </td>
183     </tr>
184     {foreach from=$mentor_secteur item=secteur key=i}
185     <tr class="{cycle values="pair,impair"}">
186       <td class="colg">
187         <span class="valeur">{$secteur}</span>
188       </td>
189       <td class="colm">
190         <span class="valeur">{$mentor_ss_secteur.$i}</span>
191       </td>
192       <td class="cold">
193         <span class="lien"><a href="javascript:mentor_secteur_del('{$mentor_sid.$i}');">retirer</a></span>
194       </td>
195     </tr>
196     {/foreach}
197     {if $can_add_secteurs}
198     <tr class="{cycle values="pair,impair"}">
199       <td class="colg">
200         <select name="mentor_secteur_id_new" onchange="javascript:submit()">
201           {select_secteur secteur=$mentor_secteur_id_new}
202         </select>
203       </td>
204       <td class="colm">
205         <select name="mentor_ss_secteur_id_new">
206           {select_ss_secteur secteur=$mentor_secteur_id_new ss_secteur=''}
207         </select>
208       </td>
209       <td class="cold">
210         <span class="lien"><a href="javascript:mentor_secteur_add();">ajouter</a></span>
211       </td>
212     </tr>
213     {/if}
214   </table>
215 </div>
216
217 <div class="blocunite">
218   <table class="bicol" cellspacing="0" cellpadding="0" 
219     summary="Profil: Mentoring">
220     <tr>
221       <th colspan="3">
222         Expérience et expertises que tu acceptes de faire partager
223       </th>
224     </tr>
225     <tr>
226       <td colspan="3" class="pflags">
227         <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
228           <tr>
229             <td class="rouge">
230               <input type="checkbox" name="accesX" checked="checked" disabled="disabled" />
231             </td>
232             <td class="texte">
233               privé
234             </td>
235           </tr>
236         </table>
237       </td>
238     </tr>
239     <tr>
240       <td colspan="3">
241         Dans cette case il te faut indiquer en quelques mots ce qui t'a
242         amené à acquérir l'expérience indiquée, et dans quelle mesure tu
243         veux bien que ceux de nos camarades qui seraient intéressés par un
244         contact avec toi, en prenne l'initiative. <strong>Il est obligatoire de
245           remplir cette dernière case pour apparaître dans la base de données
246           des "Mentors".</strong>
247         <br />
248       </td>
249     </tr>
250     <tr>
251       <td colspan="3">
252         <textarea rows="8" cols="60" name="mentor_expertise">{$mentor_expertise}</textarea>
253       </td>
254     </tr>
255   </table>
256 </div>
257
258 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}