[freeside-commits] freeside/httemplate/browse addr_block.cgi, 1.4, 1.4.2.1 part_virtual_field.cgi, 1.6, 1.6.2.1 router.cgi, 1.8, 1.8.2.1
Ivan,,,
ivan at wavetail.420.am
Tue Dec 25 15:49:53 PST 2007
Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail:/tmp/cvs-serv14080/httemplate/browse
Modified Files:
Tag: FREESIDE_1_7_BRANCH
addr_block.cgi part_virtual_field.cgi router.cgi
Log Message:
ho ho ho, merry XSSmas
Index: router.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/router.cgi,v
retrieving revision 1.8
retrieving revision 1.8.2.1
diff -u -d -r1.8 -r1.8.2.1
--- router.cgi 30 Jan 2007 20:59:13 -0000 1.8
+++ router.cgi 25 Dec 2007 23:49:51 -0000 1.8.2.1
@@ -1,16 +1,10 @@
<% include("/elements/header.html",'Routers', menubar('Main Menu' => $p)) %>
%
-%
%my @router = qsearch('router', {});
%my $p2 = popurl(2);
-%
-%
-% if ($cgi->param('error')) {
- <FONT SIZE="+1" COLOR="#ff0000">Error: <%$cgi->param('error')%></FONT>
- <BR><BR>
-% }
-%
+<% include('/elements/error.html') %>
+
%my $hidecustomerrouters = 0;
%my $hideurl = '';
%if ($cgi->param('hidecustomerrouters') eq '1') {
Index: part_virtual_field.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/part_virtual_field.cgi,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -d -r1.6 -r1.6.2.1
--- part_virtual_field.cgi 30 Jan 2007 20:59:13 -0000 1.6
+++ part_virtual_field.cgi 25 Dec 2007 23:49:50 -0000 1.6.2.1
@@ -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)) {
Index: addr_block.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/addr_block.cgi,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- addr_block.cgi 30 Jan 2007 20:59:13 -0000 1.4
+++ addr_block.cgi 25 Dec 2007 23:49:49 -0000 1.4.2.1
@@ -1,6 +1,5 @@
<% include("/elements/header.html",'Address Blocks', menubar('Main Menu' => $p)) %>
-%
-%
+
%use NetAddr::IP;
%
%my @addr_block = qsearch('addr_block', {});
@@ -8,14 +7,8 @@
%my $block;
%my $p2 = popurl(2);
%my $path = $p2 . "edit/process/addr_block";
-%
-%
-% if ($cgi->param('error')) {
-
- <FONT SIZE="+1" COLOR="#ff0000">Error: <%$cgi->param('error')%></FONT>
- <BR><BR>
-% }
+<% include('/elements/error.html') %>
<%table()%>
% foreach $block (sort {$a->NetAddr cmp $b->NetAddr} @addr_block) {
More information about the freeside-commits
mailing list