diff options
author | ivan <ivan> | 2008-03-31 21:45:00 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-03-31 21:45:00 +0000 |
commit | 4026c3c89e0c73b261e071508b863479aaf12628 (patch) | |
tree | e33b3d59d56074d5eda4f0e410300beffc751f46 /httemplate/config | |
parent | bf59eef2c56025c005c17afd73fc8b23ea68d7ec (diff) |
move config edit popup to elements/popup_link.html
Diffstat (limited to 'httemplate/config')
-rw-r--r-- | httemplate/config/config-view.cgi | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/httemplate/config/config-view.cgi b/httemplate/config/config-view.cgi index f5cead575..b769e0813 100644 --- a/httemplate/config/config-view.cgi +++ b/httemplate/config/config-view.cgi @@ -59,9 +59,16 @@ Click on a configuration value to change it. % } <tr> - <td><a href="javascript:void(0);" onClick="overlib( OLiframeContent('config.cgi?key=<% $i->key %>;agentnum=<% $agentnum %>', <% $width %>, <% $height %>, 'config_popup' ), CAPTION, 'Enter configuration value', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK ); return false;" name="<% $i->key %>"> -%# <b><% $i->key %></b></a> - <% $i->description %> - <b><% $i->key %></b></a>: <% $i->description %> + <td><% include('/elements/popup_link.html', + 'action' => 'config.cgi?key='. $i->key. + ';agentnum='. $agentnum, + 'width' => $width, + 'height' => $height, + 'actionlabel' => 'Enter configuration value', + 'label' => '<b>'. $i->key. '</b>', + 'aname' => $i->key, + ) + %>: <% $i->description %> </td> <td><table border=0> % foreach my $type (@types) { |