xhtml !!!!!!!!!!!!!!!!!!!!!
authorx2000habouzit <x2000habouzit>
Sat, 17 Jul 2004 12:18:03 +0000 (12:18 +0000)
committerx2000habouzit <x2000habouzit>
Sat, 17 Jul 2004 12:18:03 +0000 (12:18 +0000)
templates/profil/general.tpl
templates/profil/mentor.tpl

index cdb2d60..ec5c2a3 100644 (file)
+{* $Id: general.tpl,v 1.2 2004-07-17 12:19:26 x2000habouzit Exp $ *}
+
 {include file="applis.js.tpl"}
 <div class="blocunite_tab">
-    <table class="bicol" width="98%" cellspacing="0" cellpadding="0" 
+  <table class="bicol" width="98%" cellspacing="0" cellpadding="0" 
     summary="Profil : Informations générales">
-      <tr>
-        <th colspan="2">
-          Informations générales
-        </th>
-      </tr>
-      <tr>
-       <td colspan="2" class="pflags">
-          <table class="flags" border="0" cellspacing="0" summary="Flags">
-            <tr>
-              <td class="vert">
-                <input type="checkbox" disabled checked>
-              </td>
-             <td class="texte">
-               site public
-              </td>
-            </tr>
-          </table>
-        </td>
-      </tr>
-      <tr>
-        <td class="colg">
-         <span class="titre">Identité</span>
-        </td>
-       <td class="cold">
-         <span class="nom">{$prenom} {$nom} X{$promo}</span>
-       </td>
-      </tr>     
-{if $femme}
-      <tr>
-        <td class="colg">
-         <span class="titre">Nom de mariage</span><br />
-         <span class="comm">(si différent de {$nom} seulement)</span>
-       </td>
-       <td class="cold">
-         <span class="nom">{$epouse|default:"Aucun"}</span>
-         <span class="lien"><a href="epouse.php">modifier</a></span>
-       </td>
-      </tr>
-{/if}
-      <tr>
-        <td class="colg">
-         <span class="titre">Nationalité</span>
-       </td>
-       <td class="cold">
-         <select name="nationalite">
-           {select_db_table table="nationalites" valeur=$nationalite}
-         </select>
-        </td>
-      </tr>
-      <tr>
-        <td class="colg">
-          <span class="titre">Application</span><br />
-         <span class="comm">(4ème année de l'X)</span>
-        </td>
-        <td class="cold">
-          <select name="appli_id1" onChange="fillType(this.form.appli_type1, this.selectedIndex-1);">  
-               {applis_options selected=$appli_id1}
-          </select>
-          <br />
-          <select name="appli_type1">
-           <option value=""></option>
-         </select>
-<script type="text/javascript">
-<!--
-  fillType(document.prof_annu.appli_type1, document.prof_annu.appli_id1.selectedIndex-1);
-  selectType(document.prof_annu.appli_type1, '{dyn x=$appli_type1}');
-//-->
-</script>
-        </td>
-      </tr>
-      <tr>
-        <td class="dcolg">
-         <span class="titre">Post-application</span>
-        </td>
-        <td class="dcold">
-          <select name="appli_id2" onChange="fillType(this.form.appli_type2, this.selectedIndex-1);">   
-           {applis_options selected=$appli_id2}
-         </select>
-          <br />
-          <select name="appli_type2">
-           <option value=""></option>
-         </select>
-<script type="text/javascript">
-<!--
-  fillType(document.prof_annu.appli_type2, document.prof_annu.appli_id2.selectedIndex-1);
-  selectType(document.prof_annu.appli_type2, '{dyn x=$appli_type2}');
-//-->
-</script>
-        </td>
-      </tr>
-    </table>
-  </div>
+    <tr>
+      <th colspan="2">
+        Informations générales
+      </th>
+    </tr>
+    <tr>
+      <td colspan="2" class="pflags">
+        <table class="flags" cellspacing="0" summary="Flags">
+          <tr>
+            <td class="vert">
+              <input type="checkbox" disabled="disabled" checked="checked" />
+            </td>
+            <td class="texte">
+              site public
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+    <tr>
+      <td class="colg">
+        <span class="titre">Identité</span>
+      </td>
+      <td class="cold">
+        <span class="nom">{$prenom} {$nom} X{$promo}</span>
+      </td>
+    </tr>     
+    {if $femme}
+    <tr>
+      <td class="colg">
+        <span class="titre">Nom de mariage</span><br />
+        <span class="comm">(si différent de {$nom} seulement)</span>
+      </td>
+      <td class="cold">
+        <span class="nom">{$epouse|default:"Aucun"}</span>
+        <span class="lien"><a href="epouse.php">modifier</a></span>
+      </td>
+    </tr>
+    {/if}
+    <tr>
+      <td class="colg">
+        <span class="titre">Nationalité</span>
+      </td>
+      <td class="cold">
+        <select name="nationalite">
+          {select_db_table table="nationalites" valeur=$nationalite}
+        </select>
+      </td>
+    </tr>
+    <tr>
+      <td class="colg">
+        <span class="titre">Application</span><br />
+        <span class="comm">(4ème année de l'X)</span>
+      </td>
+      <td class="cold">
+        <select name="appli_id1" onChange="fillType(this.form.appli_type1, this.selectedIndex-1);">  
+          {applis_options selected=$appli_id1}
+        </select>
+        <br />
+        <select name="appli_type1">
+          <option value=""></option>
+        </select>
+        <script type="text/javascript">
+          <!--
+          fillType(document.prof_annu.appli_type1, document.prof_annu.appli_id1.selectedIndex-1);
+          selectType(document.prof_annu.appli_type1, '{dyn x=$appli_type1}');
+          //-->
+        </script>
+      </td>
+    </tr>
+    <tr>
+      <td class="dcolg">
+        <span class="titre">Post-application</span>
+      </td>
+      <td class="dcold">
+        <select name="appli_id2" onChange="fillType(this.form.appli_type2, this.selectedIndex-1);">   
+          {applis_options selected=$appli_id2}
+        </select>
+        <br />
+        <select name="appli_type2">
+          <option value=""></option>
+        </select>
+        <script type="text/javascript">
+          <!--
+          fillType(document.prof_annu.appli_type2, document.prof_annu.appli_id2.selectedIndex-1);
+          selectType(document.prof_annu.appli_type2, '{dyn x=$appli_type2}');
+          //-->
+        </script>
+      </td>
+    </tr>
+  </table>
+</div>
 
 <div class="bolcunite">
-    <table class="bicol" width="98%" cellspacing="0" cellpadding="0"
+  <table class="bicol" width="98%" cellspacing="0" cellpadding="0"
     summary="Profil: Trombinoscope">
-      <tr>
-        <th colspan="3">
-          Trombinoscope
-        </th>
-      </tr>
-      <tr>
-        <td class="col" colspan="3">
-          Pour profiter de cette fonction intéressante, tu dois disposer 
-         quelque part (sur ton ordinateur ou sur Internet) d'une photo
-         d'identité (dans un fichier au format JPEG, PNG ou GIF).<br />
-         <div align="center">
-           <span class="lien"><a href="javascript:x()" onclick="popWin('trombino.php','trmb','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=750,height=480')">Éditer ta photo</a></span>
-         </div>
-        </td>
-      </tr>
-      <tr>
-        <td class="col" colspan=3>
-          <table cellspacing="0" cellpadding="0" border="0" summary="Trombinoscope">
-           <tr>
-             <td class="dcold">
-               Voilà la photo qui apparaîtra sur la fiche de ton profil (si tu viens
-               de changer ta photo, la photo affichée peut correspondre à ton ancien
-               profil : c'est le cas si elle n'a pas encore été validée par un administrateur du site !
-                <a href="javascript:x()" onclick="popWin('x.php?x={$smarty.session.username}&amp;modif=new','_blank','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=620,height=370')">nouvelle photo</a>).
-             </td>
-             <td class="dcolg">
-               <img src="getphoto.php?x={$smarty.session.uid}{*{if $smarty.cookies|@count == 0}&amp;{php}echo SID;{/php}{/if}*}" width=80 alt=" [ PHOTO ] ">
-             </td>
-           </tr>
-         </table>
-        </td>
-      </tr>
-    </table>
-  </div>
-  <div class="blocunite">
-    <table class="bicol" width="98%" cellspacing="0" cellpadding="0"
+    <tr>
+      <th colspan="3">
+        Trombinoscope
+      </th>
+    </tr>
+    <tr>
+      <td class="col" colspan="3">
+        Pour profiter de cette fonction intéressante, tu dois disposer 
+        quelque part (sur ton ordinateur ou sur Internet) d'une photo
+        d'identité (dans un fichier au format JPEG, PNG ou GIF).<br />
+        <div align="center">
+          <span class="lien"><a href="javascript:x()" onclick="popWin('trombino.php','trmb','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=750,height=480')">Éditer ta photo</a></span>
+        </div>
+      </td>
+    </tr>
+    <tr>
+      <td class="col" colspan=3>
+        <table cellspacing="0" cellpadding="0" summary="Trombinoscope">
+          <tr>
+            <td class="dcold">
+              Voilà la photo qui apparaîtra sur la fiche de ton profil (si tu viens
+              de changer ta photo, la photo affichée peut correspondre à ton ancien
+              profil : c'est le cas si elle n'a pas encore été validée par un administrateur du site !
+              <a href="javascript:x()" onclick="popWin('x.php?x={$smarty.session.username}&amp;modif=new','_blank','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=620,height=370')">nouvelle photo</a>).
+            </td>
+            <td class="dcolg">
+              <img src="getphoto.php?x={$smarty.session.uid}{*{if $smarty.cookies|@count == 0}&amp;{php}echo SID;{/php}{/if}*}" width=80 alt=" [ PHOTO ] ">
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+  </table>
+</div>
+<div class="blocunite">
+  <table class="bicol" width="98%" cellspacing="0" cellpadding="0"
     summary="Profil: Divers">
-      <tr>
-        <th colspan="2">
-         Divers
-       </th>
-      </tr>
-         <tr>
-          <td colspan="2" class="pflags">
-         <table class="flags" summary="Flags" cellpadding="0" cellspacing="0" border="0">
-           <tr>
-             <td class="vert">
-               <input type="checkbox" name="mobile_public" value="V"
-               {if $mobile_public}checked{/if} />
-             </td>
-             <td class="texte">
-               site public
-             </td>
-             <td class="orange">
-               <input type="checkbox" name="mobile_ax" value="O"
-               {if $mobile_ax}checked{/if} />
-             </td>
-             <td class="texte">
-               transmis à l'AX
-             </td>
-              <td class="texte">
-                <a href="javascript:x()" onclick="popWin('aide.php#flags','remplissage','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=400,height=500')">Quelle couleur ??</a>
-              </td>
-           </tr>
-         </table>
-       </td>
-      </tr>
-      <tr>
-        <td class="colg">
-         <span class="titre">Téléphone mobile</span>
-       </td>
-        <td class="cold">
-          <input type="text" size="18" maxlength="18" name="mobile"
-           value="{$mobile|print_html}">
-       </td>
-      </tr>
-      <tr>
-       <td colspan="2" class="flags">
-         <table class="flags" summary="Flags" cellpadding="0" cellspacing="0" border="0">
-           <tr>
-             <td class="vert">
-               <input type="checkbox" name="web_public" value="V"
-               {if $web_public}checked{/if} />
-             </td>
-             <td class="texte">
-               site public
-             </td>
-              <td class="texte">
-                <a href="javascript:x()" onclick="popWin('aide.php#flags','remplissage','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=400,height=500')">Quelle couleur ??</a>
-              </td>
-           </tr>
-         </table>
-       </td>
-      </tr>
-      <tr>
-        <td class="dcolg">
-         <span class="titre">Page web Perso</span>
-       </td>
-        <td class="dcold">
-          <input type="text" size="35" maxlength="95" name="web"  
-             value="{$web|print_html}">
-        </td>
-      </tr>
-         <tr>
-       <td colspan="2" class="pflags">
-         <table class="flags" summary="Flags" cellpadding="0" cellspacing="0" border="0">
-           <tr>
-             <td class="vert">
-               <input type="checkbox" name="libre_public" value="1"
-               {if $libre_public}checked{/if} />
-                     </td>
-             <td class="texte">
-               site public
-             </td>
-              <td class="texte">
-                <a href="javascript:x()" onclick="popWin('aide.php#flags','remplissage','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=400,height=500')">Quelle couleur ??</a>
-              </td>
-           </tr>
-         </table>
-       </td>
-      </tr>
-      <tr>
-       <td class="dcolg">
-         <span class="titre">Complément libre</span>
-         <span class="comm">Commentaire? ICQ? etc...</span>
-       </td>
-       <td class="dcold">
-         <textarea name="libre" rows="3" cols="29" >{$libre|print_html}</textarea>
-       </td>
-      </tr>
-    </table>
+    <tr>
+      <th colspan="2">
+        Divers
+      </th>
+    </tr>
+    <tr>
+      <td colspan="2" class="pflags">
+        <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
+          <tr>
+            <td class="vert">
+              <input type="checkbox" name="mobile_public" value="V"
+              {if $mobile_public}checked="checked"{/if} />
+            </td>
+            <td class="texte">
+              site public
+            </td>
+            <td class="orange">
+              <input type="checkbox" name="mobile_ax" value="O"
+              {if $mobile_ax}checked="checked"{/if} />
+            </td>
+            <td class="texte">
+              transmis à l'AX
+            </td>
+            <td class="texte">
+              <a href="javascript:x()" onclick="popWin('aide.php#flags','remplissage','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=400,height=500')">Quelle couleur ??</a>
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+    <tr>
+      <td class="colg">
+        <span class="titre">Téléphone mobile</span>
+      </td>
+      <td class="cold">
+        <input type="text" size="18" maxlength="18" name="mobile"
+        value="{$mobile|print_html}" />
+      </td>
+    </tr>
+    <tr>
+      <td colspan="2" class="flags">
+        <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
+          <tr>
+            <td class="vert">
+              <input type="checkbox" name="web_public" value="V"
+              {if $web_public}checked="checked"{/if} />
+            </td>
+            <td class="texte">
+              site public
+            </td>
+            <td class="texte">
+              <a href="javascript:x()" onclick="popWin('aide.php#flags','remplissage','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=400,height=500')">Quelle couleur ??</a>
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+    <tr>
+      <td class="dcolg">
+        <span class="titre">Page web Perso</span>
+      </td>
+      <td class="dcold">
+        <input type="text" size="35" maxlength="95" name="web"  
+        value="{$web|print_html}" />
+      </td>
+    </tr>
+    <tr>
+      <td colspan="2" class="pflags">
+        <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
+          <tr>
+            <td class="vert">
+              <input type="checkbox" name="libre_public" value="1"
+              {if $libre_public}checked="checked"{/if} />
+            </td>
+            <td class="texte">
+              site public
+            </td>
+            <td class="texte">
+              <a href="javascript:x()" onclick="popWin('aide.php#flags','remplissage','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=400,height=500')">Quelle couleur ??</a>
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+    <tr>
+      <td class="dcolg">
+        <span class="titre">Complément libre</span>
+        <span class="comm">Commentaire? ICQ? etc...</span>
+      </td>
+      <td class="dcold">
+        <textarea name="libre" rows="3" cols="29" >{$libre|print_html}</textarea>
+      </td>
+    </tr>
+  </table>
 </div>
+
+{* vim:set et sw=2 sts=2 sws=2: *}
index 8bd5b73..9c05f16 100644 (file)
+{* $Id: mentor.tpl,v 1.3 2004-07-17 12:18:03 x2000habouzit Exp $ *}
+
 {literal}
 <script language="JavaScript" type="text/javascript">
-<!--
+  <!--
+
+  function mentor_pays_add()
+  {
+    var selid = document.prof_annu.mentor_pays_id_new.selectedIndex;
+    document.prof_annu.mentor_pays_id.value = document.prof_annu.mentor_pays_id_new.options[selid].value;
+    document.prof_annu.mentor_pays_name.value = document.prof_annu.mentor_pays_id_new.options[selid].text;
+    document.prof_annu.mentor_pays_op.value = "ajouter";
+    document.prof_annu.submit();
+  } // function mentor_pays_add()
 
-    function mentor_pays_add()
-    {
-        var selid = document.prof_annu.mentor_pays_id_new.selectedIndex;
-        document.prof_annu.mentor_pays_id.value = document.prof_annu.mentor_pays_id_new.options[selid].value;
-       document.prof_annu.mentor_pays_name.value = document.prof_annu.mentor_pays_id_new.options[selid].text;
-        document.prof_annu.mentor_pays_op.value = "ajouter";
-       document.prof_annu.submit();
-    } // function mentor_pays_add()
+  function mentor_pays_del( pid )
+  {
+    document.prof_annu.mentor_pays_id.value = pid;
+    document.prof_annu.mentor_pays_op.value = "retirer";
+    document.prof_annu.submit();
+  } // function mentor_pays_del( pid )
 
-    function mentor_pays_del( pid )
-    {
-        document.prof_annu.mentor_pays_id.value = pid;
-        document.prof_annu.mentor_pays_op.value = "retirer";
-        document.prof_annu.submit();
-    } // function mentor_pays_del( pid )
-    
-    function mentor_secteur_add()
-    {
-        var selid_secteur = document.prof_annu.mentor_secteur_id_new.selectedIndex;
-        document.prof_annu.mentor_secteur_id.value = document.prof_annu.mentor_secteur_id_new.options[selid_secteur].value;
-       document.prof_annu.mentor_secteur_name.value = document.prof_annu.mentor_secteur_id_new.options[selid_secteur].text;
-       var selid_ss_secteur = document.prof_annu.mentor_ss_secteur_id_new.selectedIndex;
-        document.prof_annu.mentor_ss_secteur_id.value = document.prof_annu.mentor_ss_secteur_id_new.options[selid_ss_secteur].value;
-       document.prof_annu.mentor_ss_secteur_name.value = document.prof_annu.mentor_ss_secteur_id_new.options[selid_ss_secteur].text;
-        document.prof_annu.mentor_secteur_op.value = "ajouter";
-       document.prof_annu.submit();
-    } // function mentor_secteur_add()
+  function mentor_secteur_add()
+  {
+    var selid_secteur = document.prof_annu.mentor_secteur_id_new.selectedIndex;
+    document.prof_annu.mentor_secteur_id.value = document.prof_annu.mentor_secteur_id_new.options[selid_secteur].value;
+    document.prof_annu.mentor_secteur_name.value = document.prof_annu.mentor_secteur_id_new.options[selid_secteur].text;
+    var selid_ss_secteur = document.prof_annu.mentor_ss_secteur_id_new.selectedIndex;
+    document.prof_annu.mentor_ss_secteur_id.value = document.prof_annu.mentor_ss_secteur_id_new.options[selid_ss_secteur].value;
+    document.prof_annu.mentor_ss_secteur_name.value = document.prof_annu.mentor_ss_secteur_id_new.options[selid_ss_secteur].text;
+    document.prof_annu.mentor_secteur_op.value = "ajouter";
+    document.prof_annu.submit();
+  } // function mentor_secteur_add()
 
-    function mentor_secteur_del( sid )
-    {
-        document.prof_annu.mentor_secteur_id.value = sid;
-        document.prof_annu.mentor_secteur_op.value = "retirer";
-        document.prof_annu.submit();
-    } // function mentor_secteur_del( sid )
+  function mentor_secteur_del( sid )
+  {
+    document.prof_annu.mentor_secteur_id.value = sid;
+    document.prof_annu.mentor_secteur_op.value = "retirer";
+    document.prof_annu.submit();
+  } // function mentor_secteur_del( sid )
 
-//-->
+  //-->
 </script>
 {/literal}
 
- <p class="normal">
-   Si tu acceptes que ceux de nos camarades qui,
-   <ul>
-     <li>encore jeunes, sont en train de bâtir leur projet professionnel,</li>
-     <li>ou bien, plus âgés, souhaitent réorienter leur carrière,</li>
-   </ul>
-   te contactent afin de te demander conseil, dans les domaines que tu connais
-   bien, et pour lesquels tu pourrais les aider, remplis cette rubrique.<br>
-   Tu peux mentionner ici les domaines de compétences, les expériences 
-   notamment internationales sur la base desquels tu seras identifiable depuis
-   <a href="referent.php">la page de recherche d'un conseil professionnel</a>.
- </p>
+<p class="normal">
+Si tu acceptes que ceux de nos camarades qui,
+<ul>
+  <li>encore jeunes, sont en train de bâtir leur projet professionnel,</li>
+  <li>ou bien, plus âgés, souhaitent réorienter leur carrière,</li>
+</ul>
+te contactent afin de te demander conseil, dans les domaines que tu connais
+bien, et pour lesquels tu pourrais les aider, remplis cette rubrique.<br />
+Tu peux mentionner ici les domaines de compétences, les expériences 
+notamment internationales sur la base desquels tu seras identifiable depuis
+<a href="referent.php">la page de recherche d'un conseil professionnel</a>.
+</p>
 
- <div class="blocunite_tab">
-    <table class="bicol" width="98%" cellspacing="0" cellpadding="0" 
+<div class="blocunite_tab">
+  <table class="bicol" cellspacing="0" cellpadding="0" 
     summary="Profil: Mentoring">
-      <tr>
-        <th colspan="3">
-         Pays dont tu connais bien la culture professionnelle
-       </th>
-      </tr>
-      <input type="hidden" value="" name="mentor_pays_op">
-      <input type="hidden" value="00" name="mentor_pays_id">
-      <input type="hidden" value="" name="mentor_pays_name">
-      <tr>
-       <td colspan="3" class="pflags">
-         <table class="flags" summary="Flags" cellpadding="0" cellspacing="0" border="0">
-           <tr>
-             <td class="rouge">
-               <input type="checkbox" name="accesX" checked disabled>
-             </td>
-             <td class="texte">
-               ne peut être ni public ni transmis à l'AX
-             </td>
-           </tr>
-         </table>
-       </td>
-      </tr>
-      <tr class="impair">
-        <td class="colg">
-         <span class="titre">Pays</span>
-       </td>
-       <td class="colm">
-          <span class="titre"></span>
-       </td>
-        <td class="cold" width="15%">
+    <tr>
+      <th colspan="3">
+        Pays dont tu connais bien la culture professionnelle
+      </th>
+    </tr>
+    <input type="hidden" value="" name="mentor_pays_op" />
+    <input type="hidden" value="00" name="mentor_pays_id" />
+    <input type="hidden" value="" name="mentor_pays_name" />
+    <tr>
+      <td colspan="3" class="pflags">
+        <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
+          <tr>
+            <td class="rouge">
+              <input type="checkbox" name="accesX" checked="checked" disabled="disabled" />
+            </td>
+            <td class="texte">
+              ne peut être ni public ni transmis à l'AX
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+    <tr class="impair">
+      <td class="colg">
+        <span class="titre">Pays</span>
+      </td>
+      <td class="colm">
+        <span class="titre"></span>
+      </td>
+      <td class="cold" style="width:15%">
         &nbsp;
-       </td>
-      </tr>
-   {section name=pays loop=$nb_mentor_pays+1 start=1}
-     {assign var='i' value=$smarty.section.pays.index}
-       {if $i%2}
-         <tr class="pair">
-       {else}
-         <tr class="impair">
-       {/if}
-       <td class="colg">
-         <span class="valeur">{$mentor_pays.$i|print_html}</span>
-       </td>
-       <td class="colm">
-       <span class="valeur">&nbsp;&nbsp;</span>
-       </td>
-        <td class="cold">
-         <span class="lien"><a href="javascript:mentor_pays_del('{$mentor_pid.$i}');">retirer</a></span>
-        </td>
-      </tr>
-     {/section}
-     {if $nb_mentor_pays < $max_mentor_pays}
-       {if $i%2}
-         <tr class="pair">
-       {else}
-         <tr class="impair">
-       {/if}
-       <td class="colg">
-        <select name="mentor_pays_id_new">
-          {geoloc_pays pays='00'}
-        </select>
-       </td>
-       <td class="colm">
-       </td>
-       <td class="cold">
-        <span class="lien"><a href="javascript:mentor_pays_add();">ajouter</a></span>
-       </td>
-      </tr>
-     {/if}
-   </table>
-</div>
-
-<div class="blocunite">
-    <table class="bicol" width="98%" cellspacing="0" cellpadding="0" 
-    summary="Profil: Mentoring">
-      <tr>
-        <th colspan="3">
-         Secteurs d'activité dans lesquels tu as beaucoup exercé
-       </th>
-      </tr>
-      <input type="hidden" value="" name="mentor_secteur_op">
-      <input type="hidden" value="" name="mentor_secteur_id">
-      <input type="hidden" value="" name="mentor_secteur_name">
-      <input type="hidden" value="" name="mentor_ss_secteur_id">
-      <input type="hidden" value="" name="mentor_ss_secteur_name">
-      <tr>
-       <td colspan="3" class="pflags">
-         <table class="flags" summary="Flags" cellpadding="0" cellspacing="0" border="0">
-           <tr>
-             <td class="rouge">
-               <input type="checkbox" name="accesX" checked disabled>
-             </td>
-             <td class="texte">
-               ne peut être ni public ni transmis à l'AX
-             </td>
-           </tr>
-         </table>
-       </td>
-      </tr>
+      </td>
+    </tr>
+    {section name=pays loop=$nb_mentor_pays+1 start=1}
+    {assign var='i' value=$smarty.section.pays.index}
+    {if $i%2}
+    <tr class="pair">
+      {else}
       <tr class="impair">
+        {/if}
         <td class="colg">
-         <span class="titre">Secteur</span>
-       </td>
-       <td class="colm">
-          <span class="titre">Sous-Secteur</span>
-       </td>
-        <td class="cold" width="15%">
-        &nbsp;
-       </td>
-      </tr>
-   {section name=secteur loop=$nb_mentor_secteurs+1 start=1}
-     {assign var='i' value=$smarty.section.secteur.index}
-     {if $i%2}
-      <tr class="pair">
-     {else}
-      <tr class="impair">
-     {/if}
-       <td class="colg">
-          <span class="valeur">{$mentor_secteur.$i|print_html}</span>
-       </td>
-       <td class="colm">
-       <span class="valeur">{$mentor_ss_secteur.$i|print_html}</span>
-       </td>
+          <span class="valeur">{$mentor_pays.$i|print_html}</span>
+        </td>
+        <td class="colm">
+          <span class="valeur">&nbsp;&nbsp;</span>
+        </td>
         <td class="cold">
-         <span class="lien"><a href="javascript:mentor_secteur_del('{$mentor_sid.$i}');">retirer</a></span>
+          <span class="lien"><a href="javascript:mentor_pays_del('{$mentor_pid.$i}');">retirer</a></span>
         </td>
       </tr>
       {/section}
-      {if $nb_mentor_secteurs < $max_mentor_secteurs}
+      {if $nb_mentor_pays < $max_mentor_pays}
+      {if $i%2}
+      <tr class="pair">
+        {else}
+        <tr class="impair">
+          {/if}
+          <td class="colg">
+            <select name="mentor_pays_id_new">
+              {geoloc_pays pays='00'}
+            </select>
+          </td>
+          <td class="colm">
+          </td>
+          <td class="cold">
+            <span class="lien"><a href="javascript:mentor_pays_add();">ajouter</a></span>
+          </td>
+        </tr>
+        {/if}
+      </table>
+    </div>
+
+    <div class="blocunite">
+      <table class="bicol" cellspacing="0" cellpadding="0" 
+        summary="Profil: Mentoring">
+        <tr>
+          <th colspan="3">
+            Secteurs d'activité dans lesquels tu as beaucoup exercé
+          </th>
+        </tr>
+        <input type="hidden" value="" name="mentor_secteur_op" />
+        <input type="hidden" value="" name="mentor_secteur_id" />
+        <input type="hidden" value="" name="mentor_secteur_name" />
+        <input type="hidden" value="" name="mentor_ss_secteur_id" />
+        <input type="hidden" value="" name="mentor_ss_secteur_name" />
+        <tr>
+          <td colspan="3" class="pflags">
+            <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
+              <tr>
+                <td class="rouge">
+                  <input type="checkbox" name="accesX" checked="checked" disabled="disabled" />
+                </td>
+                <td class="texte">
+                  ne peut être ni public ni transmis à l'AX
+                </td>
+              </tr>
+            </table>
+          </td>
+        </tr>
+        <tr class="impair">
+          <td class="colg">
+            <span class="titre">Secteur</span>
+          </td>
+          <td class="colm">
+            <span class="titre">Sous-Secteur</span>
+          </td>
+          <td class="cold" style="width:15%">
+            &nbsp;
+          </td>
+        </tr>
+        {section name=secteur loop=$nb_mentor_secteurs+1 start=1}
+        {assign var='i' value=$smarty.section.secteur.index}
+        {if $i%2}
+        <tr class="pair">
+          {else}
+          <tr class="impair">
+            {/if}
+            <td class="colg">
+              <span class="valeur">{$mentor_secteur.$i|print_html}</span>
+            </td>
+            <td class="colm">
+              <span class="valeur">{$mentor_ss_secteur.$i|print_html}</span>
+            </td>
+            <td class="cold">
+              <span class="lien"><a href="javascript:mentor_secteur_del('{$mentor_sid.$i}');">retirer</a></span>
+            </td>
+          </tr>
+          {/section}
+          {if $nb_mentor_secteurs < $max_mentor_secteurs}
           {if $i%2}
-           <tr class="pair">
-         {else}
-           <tr class="impair">
-         {/if}
-       <td class="colg">
-        <select name="mentor_secteur_id_new" OnChange="javascript:submit()">
-          {select_secteur secteur=$mentor_secteur_id_new}
-        </select>
-       </td>
-       <td class="colm">
-        <select name="mentor_ss_secteur_id_new">
-          {select_ss_secteur secteur=$mentor_secteur_id_new ss_secteur=''}
-        </select>
-       </td>
-       <td class="cold">
-        <span class="lien"><a href="javascript:mentor_secteur_add();">ajouter</a></span>
-       </td>
-             </tr>
-      {/if}
-   </table>
-</div>
+          <tr class="pair">
+            {else}
+            <tr class="impair">
+              {/if}
+              <td class="colg">
+                <select name="mentor_secteur_id_new" OnChange="javascript:submit()">
+                  {select_secteur secteur=$mentor_secteur_id_new}
+                </select>
+              </td>
+              <td class="colm">
+                <select name="mentor_ss_secteur_id_new">
+                  {select_ss_secteur secteur=$mentor_secteur_id_new ss_secteur=''}
+                </select>
+              </td>
+              <td class="cold">
+                <span class="lien"><a href="javascript:mentor_secteur_add();">ajouter</a></span>
+              </td>
+            </tr>
+            {/if}
+          </table>
+        </div>
 
-<div class="blocunite">
-    <table class="bicol" width="98%" cellspacing="0" cellpadding="0" 
-    summary="Profil: Mentoring">
-      <tr>
-        <th colspan="3">
-         Expérience et expertises que tu acceptes de faire partager
-       </th>
-      </tr>
-      <tr>
-       <td colspan="3" class="pflags">
-         <table class="flags" summary="Flags" cellpadding="0" cellspacing="0" border="0">
-           <tr>
-             <td class="rouge">
-               <input type="checkbox" name="accesX" checked disabled>
-             </td>
-             <td class="texte">
-               ne peut être ni public ni transmis à l'AX
-             </td>
-           </tr>
-         </table>
-       </td>
-      </tr>
-      <tr>
-        <td colspan="3">
-         Dans cette case il te faut indiquer en quelques mots ce qui t'a
-         amené à acquérir l'expérience indiquée, et dans quelle mesure tu
-         veux bien que ceux de nos camarades qui seraient intéressés par un
-         contact avec toi, en prenne l'initiative. <b>Il est obligatoire de
-         remplir cette dernière case pour apparaître dans la base de données
-         des "Mentors".</b>
-         <br />
-        </td>
-      </tr>
-      <tr>
-        <td colspan="3">
-         <textarea rows="8" cols="60" name="mentor_expertise">{$mentor_expertise|print_html}</textarea>
-       </td>
-      </tr>
-   </table>
-</div>
+        <div class="blocunite">
+          <table class="bicol" cellspacing="0" cellpadding="0" 
+            summary="Profil: Mentoring">
+            <tr>
+              <th colspan="3">
+                Expérience et expertises que tu acceptes de faire partager
+              </th>
+            </tr>
+            <tr>
+              <td colspan="3" class="pflags">
+                <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
+                  <tr>
+                    <td class="rouge">
+                      <input type="checkbox" name="accesX" checked="checked" disabled="disabled" />
+                    </td>
+                    <td class="texte">
+                      ne peut être ni public ni transmis à l'AX
+                    </td>
+                  </tr>
+                </table>
+              </td>
+            </tr>
+            <tr>
+              <td colspan="3">
+                Dans cette case il te faut indiquer en quelques mots ce qui t'a
+                amené à acquérir l'expérience indiquée, et dans quelle mesure tu
+                veux bien que ceux de nos camarades qui seraient intéressés par un
+                contact avec toi, en prenne l'initiative. <strong>Il est obligatoire de
+                  remplir cette dernière case pour apparaître dans la base de données
+                  des "Mentors".</strong>
+                <br />
+              </td>
+            </tr>
+            <tr>
+              <td colspan="3">
+                <textarea rows="8" cols="60" name="mentor_expertise">{$mentor_expertise|print_html}</textarea>
+              </td>
+            </tr>
+          </table>
+        </div>
+
+        {* vim:set et sw=2 sts=2 sws=2: *}