ho ho ho, merry XSSmas
[freeside.git] / httemplate / browse / part_virtual_field.cgi
index 2e12603..5a1abe2 100644 (file)
@@ -1,6 +1,5 @@
 <% include("/elements/header.html",'Virtual field definitions', menubar('Main Menu'   => $p)) %>
-%
-%
+
 %my %pvfs;
 %my $block;
 %my $p2 = popurl(2);
@@ -9,13 +8,8 @@
 %foreach (qsearch('part_virtual_field', {})) {
 %  push @{ $pvfs{$_->dbtable} }, $_;
 %}
-%
-% if ($cgi->param('error')) { 
-
-   <FONT SIZE="+1" COLOR="#ff0000">Error: <%$cgi->param('error')%></FONT>
-   <BR><BR>
-% } 
 
+<% include('/elements/error.html') %>
 
 <A HREF="<%$p2%>edit/part_virtual_field.cgi"><I>Add a new field</I></A><BR><BR>
 % foreach $dbtable (sort { $a cmp $b } keys (%pvfs)) {