Use smarty plugins in mail templates.
[platal.git] / templates / profile / general.tpl
index 770d403..37ca92d 100644 (file)
@@ -25,9 +25,8 @@
   <tr>
     <th colspan="2">
       <div class="flags" style="float: left">
-        <span class="vert">
-          <input type="checkbox" disabled="disabled" checked="checked" />
-        </span>
+        <input type="checkbox" disabled="disabled" checked="checked" />
+        {icon name="flag_green" title="site public"}
       </div>
       Informations générales
     </th>
   </tr>
   <tr>
     <td class="flags">
-      <span class="orange">
-        <input type="checkbox" name="synchro_ax" {if $synchro_ax}checked="checked" {/if}/>
-      </span>
+      <input type="checkbox" name="synchro_ax" {if $synchro_ax}checked="checked" {/if}/>
+      {icon name="flag_orange" title="transmis à l'AX"}
       <span class="texte">
         Autoriser la synchronisation vers l'AX par des administrateurs ou des scripts automatiques.
       </span>
   <tr>
     <th colspan="2">
       <div class="flags" style="float: left">
-        <span class="vert"><input type="checkbox" name="photo_pub" {if $photo_pub eq 'public'}checked="checked" {/if}/></span>
+        <input type="checkbox" name="photo_pub" {if $photo_pub eq 'public'}checked="checked" {/if}/>
+        {icon name="flag_green" title="site public"}
       </div>
       Trombinoscope
     </th>
   <tr>
     <td>
       <span class="flags">
-        <span class="rouge">
         <input type="checkbox" checked="checked" disabled="disabled" />
-        </span>
+        {icon name="flag_red" title="privé"}
       </span>&nbsp;
       <span class="titre">Surnom</span>
     </td>
       <input type="text" size="18" maxlength="18" name="mobile"
              {if $errors.mobile}class="error"{/if} value="{$mobile}" />
       <span class="flags">
-        {include file="include/flags.radio.tpl" name="mobile_pub" notable="true" var=$mobile_pub display="div"}
+        {include file="include/flags.radio.tpl" name="mobile_pub" val=$mobile_pub}
       </span>
     </td>
   </tr>
   <tr>
     <td>
       <span class="flags">
-        <span class="vert">
         <input type="checkbox" name="web_pub" {if $web_pub eq 'public'}checked="checked"{/if} />
-        </span>
+        {icon name="flag_green" title="site public"}
       </span>&nbsp;
       <span class="titre">Page web Perso</span>
     </td>
              {if $errors.web}class="error"{/if} value="{$web}" />
     </td>
   </tr>
-  <tr>
+  <tr class="pair">
     <td>
       <div>
         <span class="flags">
-          <span class="vert">
           <input type="checkbox" name="freetext_pub" {if $freetext_pub eq 'public'}checked="checked"{/if} />
-          </span>
+          {icon name="flag_green" title="site public"}
         </span>&nbsp;
         <span class="titre">Complément libre</span><br />
         <span class="comm">Commentaire ? ICQ ? etc...</span>
       </div>
       <div class="smaller" style="margin-top: 30px">
         <a href="wiki_help/notitle" class="popup3">
-          {icon name=information title="Syntaxe wiki"} Voir la syntaxe wiki autorisée pour le commentaire
+          {icon name=information title="Syntaxe wiki"} Voir la syntaxe wiki autorisée
         </a>
         <div class="center">
           <input type="submit" name="preview" value="Aperçu"
     <td>
       <div id="ft_preview" style="display: none"></div>
       <textarea name="freetext" {if $errors.freetext}class="error"{/if}
-                id="freetext" rows="8" cols="35" >{$freetext}</textarea>
+                id="freetext" rows="8" cols="50" >{$freetext}</textarea>
     </td>
   </tr>
 </table>