ldapsaisie/public_html/templates/default/LSformElement_uri_field.tpl
2015-08-12 12:21:20 +02:00

12 lines
489 B
Smarty

{if $freeze}
<span class='LSformElement_text'>
{if $value}
<a class='{$uriClass}' href='{$uriPrefix}{$value}'{if $uriLinkTitle} title='{$uriLinkTitle}'{/if}{if $uriTarget} target='{$uriTarget}'{/if}>{$value}</a>
{else}
{$noValueTxt}
{/if}
</span>
<input type='hidden' name='{$attr_name}[]' class='LSformElement_text' value="{$value}"/>
{else}
<input type='text' name='{$attr_name}[]' class='LSformElement_text {$uriClass}' value="{$value}" autocomplete="off"/>
{/if}