{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2007 Polytechnique.org *}
+{* Copyright (C) 2003-2009 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* *}
{**************************************************************************}
-{if $ajaxtel}
-<?xml version="1.0" encoding="utf-8"?>
-{/if}
{assign var=telpref value="`$adpref`[tel][`$t`]"}
{assign var=telid value="`$adid`_tel_`$t`"}
<div style="float: right" class="flags">
- {include file="include/flags.radio.tpl" name="`$telpref`[pub]" val=$tel.pub display="div"}
+ {include file="include/flags.radio.tpl" name="`$telpref`[pub]" val=$tel.pub}
</div>
<span class="titre">N°{$t+1}</span>
<input type="hidden" name="{$telpref}[removed]" value="0" />
<input type="text" size="10" maxlength="30" name="{$telpref}[type]" value="{$tel.type|default:"Tél."}" />
-<input type="text" size="19" maxlength="28" name="{$telpref}[tel]" value="{$tel.tel}" />
+<input type="text" size="19" maxlength="28" name="{$telpref}[tel]" {if $tel.error}class="error"{/if} value="{$tel.tel}" />
<a href="javascript:removeObject('{$telid}', '{$telpref}')">
{icon name=cross title="Supprimer ce numéro de téléphone"}
</a>