X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fconfig%2Fconfig.cgi;h=040ed0403005007a99ee28bd059f90da1c344b6d;hb=613464e6e7b634586bca9fabac145d2850b0f0f7;hp=5e73b59e1d822cd652277822e3eba397a4299da5;hpb=beab5e8857fa4961c22c7ccc49c9fea333c593a7;p=freeside.git
diff --git a/httemplate/config/config.cgi b/httemplate/config/config.cgi
index 5e73b59e1..040ed0403 100644
--- a/httemplate/config/config.cgi
+++ b/httemplate/config/config.cgi
@@ -44,13 +44,25 @@ Setting <% $key %>
no type
+% } elsif ( $type eq 'image' ) {
+
+ <% $conf->exists($key, $agentnum)
+ ? 'Current image
'.
+ '
'
+ : ''
+ %>
+
+
+ New image filename ">
+
% } elsif ( $type eq 'binary' ) {
Filename ">
% } elsif ( $type eq 'textarea' ) {
-
+
% } elsif ( $type eq 'checkbox' ) {
@@ -72,11 +84,9 @@ Setting <% $key %>
% '' => '', map { $_ => $_ } @{ $config_item->select_enum };
% } elsif ( $config_item->select_hash ) {
% if ( ref($config_item->select_hash) eq 'ARRAY' ) {
-% tie %hash, 'Tie::IxHash',
-% '' => '', @{ $config_item->select_hash };
+% tie %hash, 'Tie::IxHash', '' => '', @{ $config_item->select_hash };
% } else {
-% tie %hash, 'Tie::IxHash',
-% '' => '', %{ $config_item->select_hash };
+% tie %hash, 'Tie::IxHash', '' => '', %{ $config_item->select_hash };
% }
% } else {
% %hash = ( '' => 'WARNING: neither select_enum nor select_hash specified in Conf.pm for configuration option "'. $key. '"' );
@@ -121,7 +131,11 @@ Setting <% $key %>
% } elsif ( $type eq 'select-sub' ) {
-