[freeside-commits] freeside/httemplate/browse access_group.html, 1.5, 1.6 access_user.html, 1.7, 1.8 addr_block.cgi, 1.5, 1.6 agent.cgi, 1.40, 1.41 agent_type.cgi, 1.18, 1.19 nas.cgi, 1.8, 1.9 part_pkg.cgi, 1.42, 1.43 part_svc.cgi, 1.33, 1.34 part_virtual_field.cgi, 1.7, 1.8 payment_gateway.html, 1.5, 1.6 reason.html, 1.5, 1.6 router.cgi, 1.9, 1.10

Ivan,,, ivan at wavetail.420.am
Sun Jan 13 12:38:32 PST 2008


Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail:/tmp/cvs-serv5441

Modified Files:
	access_group.html access_user.html addr_block.cgi agent.cgi 
	agent_type.cgi nas.cgi part_pkg.cgi part_svc.cgi 
	part_virtual_field.cgi payment_gateway.html reason.html 
	router.cgi 
Log Message:
ACLs

Index: access_user.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/access_user.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- access_user.html	30 Nov 2007 01:24:18 -0000	1.7
+++ access_user.html	13 Jan 2008 20:38:29 -0000	1.8
@@ -1,8 +1,6 @@
 <% include( 'elements/browse.html',
                  'title'              => 'Internal Users',
-                 'menubar'            => [ #'Main menu' => $p,
-                                           'Internal access groups' => $p.'browse/access_group.html',
-                                         ],
+                 'menubar'            => [ 'Internal access groups' => $p.'browse/access_group.html', ],
                  'html_init'          => $html_init,
                  'name'               => 'internal users',
                  'disableable'        => 1,

Index: access_group.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/access_group.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- access_group.html	1 Aug 2007 22:24:57 -0000	1.5
+++ access_group.html	13 Jan 2008 20:38:29 -0000	1.6
@@ -1,8 +1,6 @@
 <% include( 'elements/browse.html',
                  'title'       => 'Internal Access Groups',
-                 'menubar'     => [ # 'Main menu' => $p,
-                                    'Internal users' => $p.'browse/access_user.html',
-                                  ],
+                 'menubar'     => [ 'Internal users' => $p.'browse/access_user.html', ],
                  'html_init'   => $html_init,
                  'name'        => 'internal access groups',
                  'query'       => { 'table'     => 'access_group',

Index: agent.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/agent.cgi,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- agent.cgi	14 Aug 2007 21:46:18 -0000	1.40
+++ agent.cgi	13 Jan 2008 20:38:29 -0000	1.41
@@ -1,5 +1,4 @@
 <% include("/elements/header.html",'Agent Listing', menubar(
-  'Main Menu'   => $p,
   'Agent Types' => $p. 'browse/agent_type.cgi',
 #  'Add new agent' => '../edit/agent.cgi'
 )) %>

Index: part_virtual_field.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/part_virtual_field.cgi,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- part_virtual_field.cgi	25 Dec 2007 23:49:20 -0000	1.7
+++ part_virtual_field.cgi	13 Jan 2008 20:38:30 -0000	1.8
@@ -1,13 +1,4 @@
-<% include("/elements/header.html",'Virtual field definitions', menubar('Main Menu'   => $p)) %>
-
-%my %pvfs;
-%my $block;
-%my $p2 = popurl(2);
-%my $dbtable;
-%
-%foreach (qsearch('part_virtual_field', {})) {
-%  push @{ $pvfs{$_->dbtable} }, $_;
-%}
+<% include('/elements/header.html', 'Virtual field definitions') %>
 
 <% include('/elements/error.html') %>
 
@@ -32,9 +23,20 @@
 </TABLE>
 % } 
 
-</BODY>
-</HTML>
+<% include('/elements/footer.html') %>
+
 <%init>
+
 die "access denied"
   unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
+my %pvfs;
+my $block;
+my $p2 = popurl(2);
+my $dbtable;
+
+foreach (qsearch('part_virtual_field', {})) {
+  push @{ $pvfs{$_->dbtable} }, $_;
+}
+
 </%init>

Index: addr_block.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/addr_block.cgi,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- addr_block.cgi	25 Dec 2007 23:49:20 -0000	1.5
+++ addr_block.cgi	13 Jan 2008 20:38:29 -0000	1.6
@@ -1,12 +1,4 @@
-<% include("/elements/header.html",'Address Blocks', menubar('Main Menu'   => $p)) %>
-
-%use NetAddr::IP;
-%
-%my @addr_block = qsearch('addr_block', {});
-%my @router = qsearch('router', {});
-%my $block;
-%my $p2 = popurl(2);
-%my $path = $p2 . "edit/process/addr_block";
+<% include('/elements/header.html', 'Address Blocks') %>
 
 <% include('/elements/error.html') %>
 
@@ -71,9 +63,18 @@
     </FORM>
   </TR>
 </TABLE>
-</BODY>
-</HTML>
+
+<% include('/elements/footer.html') %>
+
 <%init>
+
 die "access denied"
   unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
+my @addr_block = qsearch('addr_block', {});
+my @router = qsearch('router', {});
+my $block;
+my $p2 = popurl(2);
+my $path = $p2 . "edit/process/addr_block";
+
 </%init>

Index: part_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/part_pkg.cgi,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- part_pkg.cgi	10 Oct 2007 18:14:23 -0000	1.42
+++ part_pkg.cgi	13 Jan 2008 20:38:30 -0000	1.43
@@ -1,6 +1,5 @@
 <% include( 'elements/browse.html',
                  'title'              => 'Package Definitions',
-                 'menubar'            => [ 'Main Menu' => $p ],
                  'html_init'          => $html_init,
                  'name'               => 'package definitions',
                  'disableable'        => 1,

Index: part_svc.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/part_svc.cgi,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- part_svc.cgi	13 Sep 2007 22:25:33 -0000	1.33
+++ part_svc.cgi	13 Jan 2008 20:38:30 -0000	1.34
@@ -1,4 +1,4 @@
-<% include("/elements/header.html",'Service Definition Listing', menubar( 'Main Menu' => $p) ) %>
+<% include('/elements/header.html', 'Service Definition Listing') %>
 
 <SCRIPT>
 function part_export_areyousure(href) {

Index: reason.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/reason.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- reason.html	10 Jan 2008 21:14:54 -0000	1.5
+++ reason.html	13 Jan 2008 20:38:30 -0000	1.6
@@ -1,9 +1,7 @@
 <% include( 'elements/browse.html',
                  'title'       => ucfirst($classname) . ' Reasons',
-                 'menubar'     => [ # 'Main menu' => $p,
-                                    ucfirst($classname) . ' Reason Types' =>
-				       $p.'browse/reason_type.html?class='.
-				       $class,
+                 'menubar'     => [ ucfirst($classname).' Reason Types' =>
+				      $p."browse/reason_type.html?class=$class"
                                   ],
                  'html_init'   => $html_init,
                  'name'        => $classname . ' reasons',

Index: agent_type.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/agent_type.cgi,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- agent_type.cgi	30 Jan 2007 20:59:13 -0000	1.18
+++ agent_type.cgi	13 Jan 2008 20:38:30 -0000	1.19
@@ -1,8 +1,6 @@
 <% include( 'elements/browse.html',
                  'title'   => 'Agent Types',
-                 'menubar'     => [ #'Main menu' => $p,
-                                    'Agents'    =>"${p}browse/agent.cgi",
-                                  ],
+                 'menubar'     => [ 'Agents'    =>"${p}browse/agent.cgi", ],
                  'html_init'   => $html_init,
                  'name'        => 'agent types',
                  'query'       => { 'table'     => 'agent_type',

Index: router.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/router.cgi,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- router.cgi	25 Dec 2007 23:49:21 -0000	1.9
+++ router.cgi	13 Jan 2008 20:38:30 -0000	1.10
@@ -1,7 +1,4 @@
-<% include("/elements/header.html",'Routers', menubar('Main Menu'   => $p)) %>
-%
-%my @router = qsearch('router', {});
-%my $p2 = popurl(2);
+<% include('/elements/header.html', 'Routers') %>
 
 <% include('/elements/error.html') %>
 
@@ -16,8 +13,6 @@
 %  $cgi->param('hidecustomerrouters', 1);
 %  $hideurl = '<A HREF="' . $cgi->self_url() . '">Hide customer routers</A>';
 %}
-%
-
 
 <A HREF="<%$p2%>edit/router.cgi">Add a new router</A>&nbsp;|&nbsp;<%$hideurl%>
 
@@ -50,9 +45,15 @@
 % } 
 
 </TABLE>
-</BODY>
-</HTML>
+
+<% include('/elements/footer.html') %>
+
 <%init>
+
 die "access denied"
   unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
+my @router = qsearch('router', {});
+my $p2 = popurl(2);
+
 </%init>

Index: payment_gateway.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/payment_gateway.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- payment_gateway.html	30 Jan 2007 20:59:13 -0000	1.5
+++ payment_gateway.html	13 Jan 2008 20:38:30 -0000	1.6
@@ -1,5 +1,4 @@
 <% include("/elements/header.html",'Payment gateways', menubar(
-  'Main Menu' => $p,
   'Agents'    => $p. 'browse/agent.cgi',
 )) %>
 
@@ -62,8 +61,9 @@
 
 
 </TABLE>
-</BODY>
-</HTML>
+
+<% include('/elements/footer.html') %>
+
 <%init>
 
 die "access denied"

Index: nas.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/nas.cgi,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- nas.cgi	23 Aug 2006 22:25:37 -0000	1.8
+++ nas.cgi	13 Jan 2008 20:38:30 -0000	1.9
@@ -1,9 +1,4 @@
-<!-- mason kludge -->
-%
-%
-%print header('NAS ports', menubar(
-%  'Main Menu' => $p,
-%));
+%print header('NAS ports');
 %
 %my $now = time;
 %
@@ -79,3 +74,9 @@
 %#  <TH>NAS</
 %
 
+<%init>
+
+#this hasn't been used in ages, and isn't linked from anywhere...
+die 'NAS browse not currently active';
+
+</%init>



More information about the freeside-commits mailing list