correctly allow re-editing of config options with " in them
[freeside.git] / httemplate / config / config.cgi
index d58c2f8..5e73b59 100644 (file)
@@ -50,7 +50,7 @@ Setting <b><% $key %></b>
 
 %   } elsif ( $type eq 'textarea' ) { 
 
-  <textarea name="<% "$key$n" %>" rows=18 cols=88 wrap="off"><% join("\n", $conf->config($key, $agentnum)) %></textarea>
+  <textarea name="<% "$key$n" %>" rows=12 cols=88 wrap="off"><% join("\n", $conf->config($key, $agentnum)) %></textarea>
 
 %   } elsif ( $type eq 'checkbox' ) { 
 
@@ -59,7 +59,7 @@ Setting <b><% $key %></b>
 
 %   } elsif ( $type eq 'text' )  { 
 
-  <input name="<% "$key$n" %>" type="text" value="<% $conf->exists($key, $agentnum) ? $conf->config($key, $agentnum) : '' %>">
+  <input name="<% "$key$n" %>" type="text" value="<% $conf->exists($key, $agentnum) ? $conf->config($key, $agentnum) : '' |h %>">
 
 %   } elsif ( $type eq 'select' || $type eq 'selectmultiple' )  {