diff options
author | ivan <ivan> | 2009-09-25 10:14:30 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-09-25 10:14:30 +0000 |
commit | 81e426fe755eaea508041bc2d7b25ac44c777434 (patch) | |
tree | 95a9a5fe952a77274f40e660400415e6b2db2997 /httemplate/config/config-view.cgi | |
parent | 25b0525eb1f0d018b893a7bdc96b92a8f446020f (diff) |
nomadix, RT#5876
Diffstat (limited to 'httemplate/config/config-view.cgi')
-rw-r--r-- | httemplate/config/config-view.cgi | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/httemplate/config/config-view.cgi b/httemplate/config/config-view.cgi index 0f6c99232..80a65d09b 100644 --- a/httemplate/config/config-view.cgi +++ b/httemplate/config/config-view.cgi @@ -156,7 +156,9 @@ Click on a configuration value to change it. % } elsif ( $type eq 'textarea' % || $type eq 'editlist' -% || $type eq 'selectmultiple' ) { +% || $type eq 'selectmultiple' +% ) +% { <tr> <td id="<% $agentnum.$i->key.$n %>" bgcolor="#ffffff"> @@ -197,7 +199,7 @@ Click on a configuration value to change it. </td> </tr> -% } elsif ( $type eq 'select-sub' ) { +% } elsif ( $type eq 'select-sub' ) { <tr> <td id="<% $agentnum.$i->key.$n %>" bgcolor="#ffffff"> @@ -206,12 +208,25 @@ Click on a configuration value to change it. </td> </tr> -% } else { +% } elsif ( $type eq 'select-part_svc' ) { +% my @svcparts = $conf->config($i->key, $agentnum); + + <tr> + <td id="<% $agentnum.$i->key.$n %>" bgcolor="#ffffff"> + <% join('<BR>', map { $_ # ': '. $svc + } + @svcparts + ) + %> + </td> + </tr> + +% } else { <tr><td> <font color="#ff0000">unknown type <% $type %></font> </td></tr> -% } +% } % $n++; % } |