- <% foreach my $type ( ref($i->type) ? @{$i->type} : $i->type ) {
- my $n = 0; %>
- <% if ( $type eq '' ) { %>
- <tr><td><font color="#ff0000">no type</font></td></tr>
- <% } elsif ( $type eq 'textarea' || $type eq 'editlist' ) { %>
- <tr><td bgcolor="#ffffff">
+% foreach my $type ( ref($i->type) ? @{$i->type} : $i->type ) {
+% my $n = 0;
+% if ( $type eq '' ) {
+
+ <tr>
+ <td><font color="#ff0000">no type</font></td>
+ </tr>
+% } elsif ( $type eq 'binary' ) {
+
+ <tr>
+ <% $conf->exists($i->key)
+ ? qq!<a href="config-download.cgi?!. $i->key. qq!">download</a>!
+ : 'empty'
+ %>
+ </tr>
+% } elsif ( $type eq 'textarea'
+% || $type eq 'editlist'
+% || $type eq 'selectmultiple' ) {
+
+ <tr>
+ <td bgcolor="#ffffff">