-
- <% $i->key %> - <% $i->description %>
+ | <% include('/elements/popup_link.html',
+ 'action' => 'config.cgi?key='. $i->key.
+ ';agentnum='. $agentnum,
+ 'width' => $width,
+ 'height' => $height,
+ 'actionlabel' => 'Enter configuration value',
+ 'label' => ''. $i->key. '',
+ 'aname' => $i->key,
+ )
+ %>: <% $i->description %>
|
-% foreach my $type ( ref($i->type) ? @{$i->type} : $i->type ) {
+% foreach my $type (@types) {
% my $n = 0;
% if ( $type eq '' ) {
@@ -72,9 +89,13 @@
-
-<% encode_entities(join("\n", $conf->config($i->key, $agentnum) ) ) %>
-
+
+<% encode_entities(join("\n",
+ map { length($_) > 88 ? substr($_,0,88).'...' : $_ }
+ $conf->config($i->key, $agentnum)
+ ) )
+%>
+
|
% } elsif ( $type eq 'checkbox' ) {
@@ -114,15 +135,16 @@
|