summaryrefslogtreecommitdiff
path: root/httemplate/config
diff options
context:
space:
mode:
authorivan <ivan>2007-12-25 23:49:23 +0000
committerivan <ivan>2007-12-25 23:49:23 +0000
commit2a6aa24137ddd389c1e644f5ece325c5b5dbaf3a (patch)
tree4880aeadc116d1dcb04bb6d0914ac39c17bddc8e /httemplate/config
parenta35faaccc20e2214d91876744c45322a3a220bb5 (diff)
ho ho ho, merry XSSmas
Diffstat (limited to 'httemplate/config')
-rw-r--r--httemplate/config/config.cgi5
1 files changed, 1 insertions, 4 deletions
diff --git a/httemplate/config/config.cgi b/httemplate/config/config.cgi
index b32f654d4..d58c2f89b 100644
--- a/httemplate/config/config.cgi
+++ b/httemplate/config/config.cgi
@@ -20,10 +20,7 @@ function SafeOnsubmit() {
}
</SCRIPT>
-% if ( $cgi->param('error') ) {
- <FONT SIZE="+1" COLOR="#ff0000">Error: <% $cgi->param('error') %></FONT>
- <BR><BR>
-% }
+<% include('/elements/error.html') %>
<FORM NAME="OneTrueForm" ACTION="config-process.cgi" METHOD="POST" enctype="multipart/form-data" onSubmit="SafeOnsubmit()">
<INPUT TYPE="hidden" NAME="agentnum" VALUE="<% $agentnum %>">