summaryrefslogtreecommitdiff
path: root/httemplate/edit/agent.cgi
diff options
context:
space:
mode:
authorivan <ivan>2007-12-25 23:50:19 +0000
committerivan <ivan>2007-12-25 23:50:19 +0000
commit954ed54e8053a3333ca407deb5efcfffb4f28f8d (patch)
tree660ae00d4b5cd34b86df03ab341ba693414453d1 /httemplate/edit/agent.cgi
parent5b154002e54a10d763d0039fe925a98c04da18e2 (diff)
ho ho ho, merry XSSmas
Diffstat (limited to 'httemplate/edit/agent.cgi')
-rwxr-xr-xhttemplate/edit/agent.cgi5
1 files changed, 1 insertions, 4 deletions
diff --git a/httemplate/edit/agent.cgi b/httemplate/edit/agent.cgi
index 5992bfae0..9ad18ea6f 100755
--- a/httemplate/edit/agent.cgi
+++ b/httemplate/edit/agent.cgi
@@ -24,11 +24,8 @@
'Main Menu' => $p,
'View all agents' => $p. 'browse/agent.cgi',
)) %>
-% if ( $cgi->param('error') ) {
-
-<FONT SIZE="+1" COLOR="#ff0000">Error: <% $cgi->param('error') %></FONT>
-% }
+<% include('/elements/error.html') %>
<FORM ACTION="<%popurl(1)%>process/agent.cgi" METHOD=POST>
<INPUT TYPE="hidden" NAME="agentnum" VALUE="<% $hashref->{agentnum} %>">