X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fconfig%2Fconfig.cgi;h=5e73b59e1d822cd652277822e3eba397a4299da5;hb=beab5e8857fa4961c22c7ccc49c9fea333c593a7;hp=b32f654d4cc3adce7c4ff85f9a26c27c3b79b8d9;hpb=c082dd1a35a2e25b97f28ee137ec2c5b3b8052ca;p=freeside.git diff --git a/httemplate/config/config.cgi b/httemplate/config/config.cgi index b32f654d4..5e73b59e1 100644 --- a/httemplate/config/config.cgi +++ b/httemplate/config/config.cgi @@ -20,10 +20,7 @@ function SafeOnsubmit() { } -% if ( $cgi->param('error') ) { - Error: <% $cgi->param('error') %> -

-% } +<% include('/elements/error.html') %>
@@ -53,7 +50,7 @@ Setting <% $key %> % } elsif ( $type eq 'textarea' ) { - + % } elsif ( $type eq 'checkbox' ) { @@ -62,7 +59,7 @@ Setting <% $key %> % } elsif ( $type eq 'text' ) { - " type="text" value="<% $conf->exists($key, $agentnum) ? $conf->config($key, $agentnum) : '' %>"> + " type="text" value="<% $conf->exists($key, $agentnum) ? $conf->config($key, $agentnum) : '' |h %>"> % } elsif ( $type eq 'select' || $type eq 'selectmultiple' ) {