ldapsaisie/public_html/templates/default/LSformElement_uri_field.tpl

13 lines
489 B
Smarty
Raw Permalink Normal View History

{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}