Use smarty plugins in mail templates.
[platal.git] / templates / profile / jobs.tpl
index 69022ff..759221d 100644 (file)
 {*                                                                        *}
 {**************************************************************************}
 
-
-{foreach from=$entreprises item=job key=i}
-<div id="{"job_`$i`_cont"}">
-{include file="profile/jobs.job.tpl" i=$i job=$job}
-</div>
+{foreach from=$jobs item=job key=i}
+{include file="profile/jobs.job.tpl" i=$i job=$job new=false}
 {/foreach}
 {if $jobs|@count eq 0}
-<div id="job_0_cont">
-{include file="profile/jobs.job.tpl" i=0 job=0}
-</div>
+{include file="profile/jobs.job.tpl" i=0 job=0 new=true}
 {/if}
 
 <div id="add_job" class="center">
   </a>
 </div>
 
-<table class="bicol" summary="CV">
+<table class="bicol" summary="CV" style="margin-top: 1.5em">
   <tr>
     <th>
-      Informations professionnelles - CV
+      <div class="flags" style="float: left">
+        <input type="checkbox" name="accesCV" checked="checked" disabled="disabled" />
+        {icon name="flag_red" title="privĂ©"}
+      </div>
+      Curriculum vitae
     </th>
   </tr>
   <tr>
     <td>
       <div style="float: left; width: 25%">
-        <div class="titre">Curriculum vitae&nbsp;:</div>
-        <div class="flags">
-          <span class="rouge"><input type="checkbox" name="accesCV" checked="checked" disabled="disabled" /></span>
-          <span class="texte">privĂ©</span>
-        </div>
-        <div class="smaller" style="margin-top: 30px">
+        <div class="smaller" style="margin-top: 40px">
           <a href="Xorg/FAQ?display=light#cv" class="popup_800x480">
             {icon name="lightbulb" title="Astuce"}Comment remplir mon CV&nbsp;?
           </a><br />
@@ -67,7 +61,7 @@
       </div>
       <div style="float: right">
         <div id="cv_preview" style="display: none"></div>
-        <textarea name="cv" id="cv" rows="15" cols="55">{$cv}</textarea>
+        <textarea name="cv" {if $errors.cv}class="error"{/if} id="cv" rows="15" cols="55">{$cv}</textarea>
       </div>
     </td>
   </tr>