From c82d349f864e6bd9f96fd1156903bc1f7193a203 Mon Sep 17 00:00:00 2001 From: cvs2git Date: Mon, 27 Dec 2010 00:04:45 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'. --- httemplate/edit/reg_code.cgi | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 httemplate/edit/reg_code.cgi (limited to 'httemplate/edit/reg_code.cgi') diff --git a/httemplate/edit/reg_code.cgi b/httemplate/edit/reg_code.cgi deleted file mode 100644 index 76790ab02..000000000 --- a/httemplate/edit/reg_code.cgi +++ /dev/null @@ -1,44 +0,0 @@ -<% include('/elements/header.html', 'Generate registration codes for '. $agent->agent) %> - -<% include('/elements/error.html') %> - -
- - -Generate -% my $num = ''; -% if ( $cgi->param('num') =~ /^\s*(\d+)\s*$/ ) { -% $num = $1; -% } - -registration codes for <% $agent->agent %> allowing the following packages: -

- -% foreach my $part_pkg ( qsearch('part_pkg', { 'disabled' => '' } ) ) { -% my $pkgpart = $part_pkg->pkgpart; - - param("pkgpart$pkgpart") ? 'CHECKED' : '' %>> - <% $part_pkg->pkg_comment %> -
- -% } - - -
- - -
- -<% include('/elements/footer.html') %> - -<%init> - -die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); - -my $agentnum = $cgi->param('agentnum'); -$agentnum =~ /^(\d+)$/ or errorpage("illegal agentnum $agentnum"); -$agentnum = $1; -my $agent = qsearchs('agent', { 'agentnum' => $agentnum } ); - - -- cgit v1.2.1