Example:
- <SCRIPT TYPE="text/javascript" SRC="overlibmws.js"></SCRIPT>
- <SCRIPT TYPE="text/javascript" SRC="iframecontentmws.js"></SCRIPT>
+ include('/elements/init_overlib.html')
- include( '/elements/cust_popup_link.html', { #hashref or a list, either way
+ include( '/elements/popup_link-cust_main.html', { #hashref or a list, either way
#required
'action' => 'content.html', # uri for content of popup which should
% }
<%init>
-my $params = { 'closetext' => 'Close' };
+my $params = { 'closetext' => emt('Close') };
if (ref($_[0]) eq 'HASH') {
$params = { %$params, %{ $_[0] } };
( $params->{'action'} =~ /\?/ ? ';' : '?' ).
'custnum='. $params->{'cust_main'}->custnum;
+$params->{'action'} .= ";$_=".$params->{$_}
+ foreach grep $params->{$_},
+ qw( lock_pkgpart lock_locationnum qualnum svcpart );
+
</%init>