[freeside-commits] freeside/httemplate/elements popup_link.html, 1.7, 1.8
Ivan,,,
ivan at wavetail.420.am
Fri Jul 18 15:30:49 PDT 2008
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv8386
Modified Files:
popup_link.html
Log Message:
add target param, i thought this was needed for something...
Index: popup_link.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/popup_link.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- popup_link.html 1 Apr 2008 06:26:18 -0000 1.7
+++ popup_link.html 18 Jul 2008 22:30:46 -0000 1.8
@@ -18,14 +18,18 @@
'height' => 336,
'color' => '#ff0000',
'closetext' => 'Go Away', # the value '' removes the link
+
+ #uncommon opt
'aname' => "target", # link NAME= value, useful for #targets
+ 'target' => '_parent',
} )
</%doc>
% if ($params->{'action'} && $label) {
<A HREF="javascript:void(0);"
onClick="<% $onclick %>"
- <% $params->{'aname'} ? 'NAME="'. $params->{'aname'}. '"' : '' %>
+ <% $params->{'aname'} ? 'NAME="'. $params->{'aname'}. '"' : '' %>
+ <% $params->{'target'} ? 'TARGET="'. $params->{'target'}. '"' : '' %>
><% $label %></A>\
% }
<%init>
More information about the freeside-commits
mailing list