ldapsaisie/public_html/templates/default/LSformElement_uri_field.tpl

13 lines
693 B
Smarty
Raw Normal View History

{if $freeze}
<span class='LSformElement_text'>
{if $value}
2018-06-15 15:25:25 +02:00
<a class='{$uriClass|escape:"htmlall"}' href='{$uriPrefix|escape:"htmlall"}{$value|escape:"htmlall"}'{if $uriLinkTitle} title='{$uriLinkTitle|escape:"htmlall"}'{/if}{if $uriTarget} target='{$uriTarget|escape:"htmlall"}'{/if}>{$value|escape:"htmlall"}</a>
{else}
{$noValueTxt|escape:"htmlall"}
{/if}
</span>
2018-06-15 15:25:25 +02:00
<input type='hidden' name='{$attr_name|escape:"htmlall"}[]' class='LSformElement_text' value='{$value|escape:"htmlall"}'/>
{else}
2018-06-15 15:25:25 +02:00
<input type='text' name='{$attr_name|escape:"htmlall"}[]' class='LSformElement_text {$uriClass|escape:"htmlall"}' value='{$value|escape:"htmlall"}' autocomplete="off"/>
{/if}