LSformElement_uri_field/template : Added link target specification feature.
authorBenjamin Renard <brenard@aconit.easter-eggs.fr>
Wed, 27 Jan 2010 14:47:49 +0000 (15:47 +0100)
committerBenjamin Renard <brenard@aconit.easter-eggs.fr>
Wed, 27 Jan 2010 14:47:49 +0000 (15:47 +0100)
public_html/templates/default/LSformElement_uri_field.tpl

index e30ec28..89a057e 100644 (file)
@@ -1,7 +1,7 @@
 {if $freeze}
   <span class='LSformElement_text'>
   {if $value}
-    <a class='{$uriClass}' href='{$uriPrefix}{$value}'>{$value}</a>
+    <a class='{$uriClass}' href='{$uriPrefix}{$value}'{if $uriTarget} target='{$uriTarget}'{/if}>{$value}</a>
   {else}
     {$noValueTxt}
   {/if}