- {if $googleapps eq 'active'}
- <tr class="{cycle values="pair,impair"}">
- <td><strong>Compte GMail / Google Apps</strong></td>
- <td>
- <input type="checkbox" value="googleapps" disabled="disabled"
- {if in_array('googleapps', $storage)}checked="checked"{/if} />
- </td>
- <td>-</td>
- <td>
- <a href="emails/redirect#googleapps">{icon name=information title="Plus d'informations"}</a>
- </td>
- </tr>
- {/if}
- <script type="text/javascript">activeEnable(); showRemove();</script>
- <tr class="{cycle values="pair,impair"}"><td colspan="4">
- <form action="emails/redirect" method="post">
- <div>
- <br />
- Ajouter une adresse email :
- <input type="text" size="35" maxlength="60" name="email" value="" />
- <input type="submit" value="ajouter" name="emailop" />
- </div>
- </form>
- </td></tr>
+ <form action="emails/redirect" method="post">
+ {cycle values="pair,impair" assign=class_combobox}
+ {include file="include/emails.combobox.tpl" name="email" val=$email class=$class_combobox error=$error_email}
+ <tr class=$class_combobox><td colspan="4"><div>
+ <input type="submit" value="ajouter" name="emailop" />
+ {xsrf_token_field}
+ </div></td></tr>
+ </form>