5 include('/elements/init_overlib.html')
7 include( '/elements/popup_link-ping.html', { #hashref or a list, either way
12 <% include('/elements/popup_link.html', $params ) %>\
15 my $params = { 'closetext' => 'Close' };
17 if (ref($_[0]) eq 'HASH') {
18 $params = { %$params, %{ $_[0] } };
20 $params = { %$params, @_ };
23 $params->{'label'} ||= 'ping';
24 $params->{'actionlabel'} ||= 'Ping '. $params->{'ip'};
25 $params->{'width'} ||= 350;
26 $params->{'height'} ||= 220;
28 $params->{'action'} = $p. 'misc/ping.html?'. $params->{'ip'};