[freeside-commits] freeside/httemplate/browse access_group.html, 1.4, 1.4.2.1 access_user.html, 1.5.2.1, 1.5.2.2 addr_block.cgi, 1.4.2.1, 1.4.2.2 agent.cgi, 1.37.2.1, 1.37.2.2 agent_type.cgi, 1.18, 1.18.2.1 nas.cgi, 1.8, 1.8.2.1 part_pkg.cgi, 1.37.2.1, 1.37.2.2 part_svc.cgi, 1.30.2.3, 1.30.2.4 part_virtual_field.cgi, 1.6.2.1, 1.6.2.2 payment_gateway.html, 1.5, 1.5.2.1 reason.html, 1.2.2.2, 1.2.2.3 router.cgi, 1.8.2.1, 1.8.2.2
Ivan,,,
ivan at wavetail.420.am
Sun Jan 13 12:38:39 PST 2008
- Previous message: [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
- Next message: [freeside-commits] freeside/httemplate/view cust_bill.cgi, 1.38, 1.39 svc_acct.cgi, 1.55, 1.56 svc_broadband.cgi, 1.13, 1.14 svc_domain.cgi, 1.24, 1.25 svc_external.cgi, 1.7, 1.8 svc_forward.cgi, 1.15, 1.16 svc_www.cgi, 1.17, 1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail:/tmp/cvs-serv5470
Modified Files:
Tag: FREESIDE_1_7_BRANCH
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.5.2.1
retrieving revision 1.5.2.2
diff -u -d -r1.5.2.1 -r1.5.2.2
--- access_user.html 30 Nov 2007 01:24:19 -0000 1.5.2.1
+++ access_user.html 13 Jan 2008 20:38:37 -0000 1.5.2.2
@@ -1,11 +1,9 @@
<% 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,
- 'html_posttotal' => $posttotal,
'name' => 'internal users',
+ 'html_posttotal' => $posttotal,
'query' => { 'table' => 'access_user',
'hashref' => \%search,
'extra_sql' => 'ORDER BY last, first',
Index: access_group.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/access_group.html,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- access_group.html 30 Jan 2007 20:59:13 -0000 1.4
+++ access_group.html 13 Jan 2008 20:38:36 -0000 1.4.2.1
@@ -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.37.2.1
retrieving revision 1.37.2.2
diff -u -d -r1.37.2.1 -r1.37.2.2
--- agent.cgi 14 Aug 2007 21:47:25 -0000 1.37.2.1
+++ agent.cgi 13 Jan 2008 20:38:37 -0000 1.37.2.2
@@ -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.6.2.1
retrieving revision 1.6.2.2
diff -u -d -r1.6.2.1 -r1.6.2.2
--- part_virtual_field.cgi 25 Dec 2007 23:49:50 -0000 1.6.2.1
+++ part_virtual_field.cgi 13 Jan 2008 20:38:37 -0000 1.6.2.2
@@ -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.4.2.1
retrieving revision 1.4.2.2
diff -u -d -r1.4.2.1 -r1.4.2.2
--- addr_block.cgi 25 Dec 2007 23:49:49 -0000 1.4.2.1
+++ addr_block.cgi 13 Jan 2008 20:38:37 -0000 1.4.2.2
@@ -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.37.2.1
retrieving revision 1.37.2.2
diff -u -d -r1.37.2.1 -r1.37.2.2
--- part_pkg.cgi 12 Apr 2007 03:18:25 -0000 1.37.2.1
+++ part_pkg.cgi 13 Jan 2008 20:38:37 -0000 1.37.2.2
@@ -1,9 +1,8 @@
<% include( 'elements/browse.html',
'title' => 'Package Definitions',
- 'menubar' => [ 'Main Menu' => $p ],
'html_init' => $html_init,
- 'html_posttotal' => $posttotal,
'name' => 'package definitions',
+ 'html_posttotal' => $posttotal,
'query' => { 'select' => $select,
'table' => 'part_pkg',
'hashref' => \%search,
Index: part_svc.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/part_svc.cgi,v
retrieving revision 1.30.2.3
retrieving revision 1.30.2.4
diff -u -d -r1.30.2.3 -r1.30.2.4
--- part_svc.cgi 13 Sep 2007 22:25:34 -0000 1.30.2.3
+++ part_svc.cgi 13 Jan 2008 20:38:37 -0000 1.30.2.4
@@ -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.2.2.2
retrieving revision 1.2.2.3
diff -u -d -r1.2.2.2 -r1.2.2.3
--- reason.html 10 Jan 2008 21:14:55 -0000 1.2.2.2
+++ reason.html 13 Jan 2008 20:38:37 -0000 1.2.2.3
@@ -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.18.2.1
diff -u -d -r1.18 -r1.18.2.1
--- agent_type.cgi 30 Jan 2007 20:59:13 -0000 1.18
+++ agent_type.cgi 13 Jan 2008 20:38:37 -0000 1.18.2.1
@@ -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.8.2.1
retrieving revision 1.8.2.2
diff -u -d -r1.8.2.1 -r1.8.2.2
--- router.cgi 25 Dec 2007 23:49:51 -0000 1.8.2.1
+++ router.cgi 13 Jan 2008 20:38:37 -0000 1.8.2.2
@@ -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> | <%$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.5.2.1
diff -u -d -r1.5 -r1.5.2.1
--- payment_gateway.html 30 Jan 2007 20:59:13 -0000 1.5
+++ payment_gateway.html 13 Jan 2008 20:38:37 -0000 1.5.2.1
@@ -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.8.2.1
diff -u -d -r1.8 -r1.8.2.1
--- nas.cgi 23 Aug 2006 22:25:37 -0000 1.8
+++ nas.cgi 13 Jan 2008 20:38:37 -0000 1.8.2.1
@@ -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>
- Previous message: [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
- Next message: [freeside-commits] freeside/httemplate/view cust_bill.cgi, 1.38, 1.39 svc_acct.cgi, 1.55, 1.56 svc_broadband.cgi, 1.13, 1.14 svc_domain.cgi, 1.24, 1.25 svc_external.cgi, 1.7, 1.8 svc_forward.cgi, 1.15, 1.16 svc_www.cgi, 1.17, 1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list