[freeside-commits] freeside/httemplate/elements popup_link.html, 1.4, 1.5

Ivan,,, ivan at wavetail.420.am
Mon Mar 31 14:45:02 PDT 2008


Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv14255/elements

Modified Files:
	popup_link.html 
Log Message:
move config edit popup to elements/popup_link.html

Index: popup_link.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/popup_link.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- popup_link.html	31 Mar 2008 21:11:02 -0000	1.4
+++ popup_link.html	31 Mar 2008 21:45:00 -0000	1.5
@@ -18,11 +18,15 @@
     'width'          => '540',
     'color'          => '#ff0000',
     'closetext'      => 'Go Away',      # the value '' removes the link
+    'aname'          => "target", # link NAME= value, useful for #targets
   } )
 
 </%doc>
 % if ($params->{'action'} && $label) {
-<A HREF="javascript:void(0);" onClick="<% $onclick %>"><% $label %></A>\
+<A HREF="javascript:void(0);"
+   onClick="<% $onclick %>"
+   <% $params->{'aname'} ? 'NAME="'. $params->{'aname'}. '"' : '' %>
+><% $label %></A>\
 % }
 <%init>
 



More information about the freeside-commits mailing list