X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fbrowse%2Fsvc_acct_pop.cgi;h=f3b2966a64b0a4e04dcf2099ff97dd21459c0bd8;hb=a4c96748eb6eab29a70f3a944c6520283a635c78;hp=e5a611763f92d3a7fc94c93874032a1ea2e28108;hpb=91387f8f489e561deaf1de052d80ef800a4970a3;p=freeside.git
diff --git a/httemplate/browse/svc_acct_pop.cgi b/httemplate/browse/svc_acct_pop.cgi
index e5a611763..f3b2966a6 100755
--- a/httemplate/browse/svc_acct_pop.cgi
+++ b/httemplate/browse/svc_acct_pop.cgi
@@ -1,22 +1,7 @@
+
<%
-#
-use strict;
-use vars qw( $cgi $p $svc_acct_pop );
-use CGI;
-use CGI::Carp qw(fatalsToBrowser);
-use FS::UID qw(cgisuidsetup);
-use FS::Record qw(qsearch qsearchs);
-use FS::CGI qw(header menubar table popurl);
-use FS::svc_acct_pop;
-
-$cgi = new CGI;
-
-&cgisuidsetup($cgi);
-
-$p = popurl(2);
-
-print $cgi->header( @FS::CGI::header ), header('POP Listing', menubar(
+print header('POP Listing', menubar(
'Main Menu' => $p,
)), "Points of Presence
", &table(), <
@@ -29,7 +14,7 @@ print $cgi->header( @FS::CGI::header ), header('POP Listing', menubar(
END
-foreach $svc_acct_pop ( sort {
+foreach my $svc_acct_pop ( sort {
#$a->getfield('popnum') <=> $b->getfield('popnum')
$a->state cmp $b->state || $a->city cmp $b->city
|| $a->ac <=> $b->ac || $a->exch <=> $b->exch || $a->loc <=> $b->loc