Add option for checking unknown emails for axletter
[platal.git] / templates / profile / jobs.job.tpl
index 07a50e6..63294af 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2008 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2009 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -42,7 +42,7 @@
           {include file="include/flags.radio.tpl" name="`$jobpref`[pub]" val=$job.pub}
         </div>
         Entreprise n°{$i+1}&nbsp;:
-        <input type="text" {if $job.name_error}class="error"{/if} size="35" maxlength="100"
+        <input type="text" class="enterprise_name {if $job.name_error}error{/if}" size="35" maxlength="100"
                name="{$jobpref}[name]" value="{$job.name}" />
         <a href="javascript:removeJob('{$jobid}', '{$jobpref}')">
           {icon name=cross title="Supprimer cet emploi"}
       <td>
         <select name="{$jobpref}[secteur]" onchange="updateJobSecteur({$i}, '{$jobid}', '{$jobpref}', ''); return true;">
           <option value="">&nbsp;</option>
-          {iterate from=$secteurs item=secteur}
+          {foreach from=$secteurs item=secteur}
           <option value="{$secteur.id}" {if $secteur.id eq $job.secteur}selected="selected"{/if}>
             {$secteur.label}
           </option>
-          {/iterate}
+          {/foreach}
         </select>
       </td>
     </tr>
@@ -88,7 +88,7 @@
         <select name="{$jobpref}[fonction]">
           <option value="">&nbsp;</option>
           {assign var=ingroup value=false}
-          {iterate from=$fonctions item=fonct}
+          {foreach from=$fonctions item=fonct}
           {if $fonct.title}
             {if $ingroup}</optgroup>{/if}
             <optgroup label="{$fonct.fonction_fr}">
@@ -97,7 +97,7 @@
           <option value="{$fonct.id}" {if $fonct.id eq $job.fonction}selected="selected"{/if}>
             {$fonct.fonction_fr}
           </option>
-          {/iterate}
+          {/foreach}
           {if $ingroup}</optgroup>{/if}
         </select>
       </td>
     </tr>
     <tr class="pair">
       <td colspan="2">
-        <span class="titre">E-mail professionnel&nbsp;:</span>
+        <span class="titre">Email professionnel&nbsp;:</span>
         <input type="text" size="30" maxlength="60" {if $job.email_error}class="error"{/if}
                name="{$jobpref}[email]" value="{$job.email}" />
         <span class="flags">
-          {include file="include/flags.radio.tpl" name="`$jobpref`[email_pub]" val=$job.mail_pub}
+          {include file="include/flags.radio.tpl" name="`$jobpref`[email_pub]" val=$job.email_pub}
         </span>
       </td>
     </tr>