- LSformElement_select_object

-> Correction de bugs dans le fieldTemplate
This commit is contained in:
Benjamin Renard 2008-10-16 15:46:45 +00:00
parent 6cbdccbec2
commit e056019ba4

View file

@ -1,9 +1,6 @@
{if $freeze} {if $dn}
{if $dn} <a href='view.php?LSobject={$selectableObject}&amp;dn={$dn}' class='LSformElement_select_object'>{$txt}</a>
<a href='view.php?LSobject={$selectableObject}&amp;dn={$dn}' class='LSformElement_select_object'>{$txt}</a> {if !$freeze}<input type='hidden' class='LSformElement_select_object' name='{$attr_name}[]' value='{$dn}' />{/if}
{else}
{$noValueTxt}
{/if}
{else} {else}
<a href='view.php?LSobject={$selectableObject}&amp;dn={$dn}' class='LSformElement_select_object'>{$txt}</a><input type='hidden' class='LSformElement_select_object' name='{$attr_name}[]' value='{$dn}' /> {$noValueTxt}
{/if} {/if}