ldapsaisie/public_html/templates/default/LSformElement_select_object.tpl

28 lines
868 B
Smarty
Raw Normal View History

{if !$freeze}
<table class='LSformElement_select_object_searchAdd'>
<tr class='LSformElement_select_object_searchAdd'>
<td class='LSformElement_select_object_searchAdd'>
{/if}
<ul class='LSform LSformElement_select_object' id='{$attr_name|escape:"quotes"}'>
{foreach from=$values item=txt key=dn}
<li>{include file="ls:$fieldTemplate"}</li>
{foreachelse}
{assign var=dn value=""}
{assign var=txt value=""}
<li>{include file="ls:$fieldTemplate"}</li>
{/foreach}
</ul>
{if !$freeze}
</td>
<td class='LSformElement_select_object_searchAdd'></td>
</tr>
</table>
{/if}
{if !empty($unrecognizedValues)}
<ul class="LSform">
{foreach from=$unrecognizedValues item=v}
<li class="LSform-errors">{getFData format=$unrecognizedValueLabel data=$v}</li>
{/foreach}
<ul>
{/if}