LSformElement::select_object : display unrecognized values and detect value correspon...
[ldapsaisie.git] / public_html / templates / default / LSformElement_select_object.tpl
1 {if !$freeze}
2 <table class='LSformElement_select_object_searchAdd'>
3   <tr class='LSformElement_select_object_searchAdd'>
4     <td class='LSformElement_select_object_searchAdd'>
5 {/if}
6       <ul class='LSform LSformElement_select_object' id='{$attr_name}'>
7         {foreach from=$values item=txt key=dn}
8           <li>{include file=$fieldTemplate}</li>
9         {foreachelse}
10           {assign var=dn value=""} 
11           {assign var=txt value=""} 
12           <li>{include file=$fieldTemplate}</li>
13         {/foreach}
14       </ul>
15 {if !$freeze}
16     </td>
17     <td class='LSformElement_select_object_searchAdd'></td>
18   </tr>
19 </table>
20 {/if}
21 {if !empty($unrecognizedValues)}
22   <ul class="LSform">
23   {foreach from=$unrecognizedValues item=v}
24     <li class="LSform-errors">{getFData format=$unrecognizedValueLabel data=$v}</li>
25   {/foreach}
26   <ul>
27 {/if}