ldapsaisie/public_html/templates/default/LSformElement_uri_field.tpl
2020-05-04 11:53:12 +02:00

12 lines
738 B
Smarty

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