X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_477.html;h=2a6878ef4fb946b8224f4d5eb6878aa0488aef27;hb=0f359d5480aa1621d73ee802f420e8951abc620d;hp=542824b89669a2139a9e7bbe3bdd4ce472ec08e8;hpb=a06bd793c13d7d616d698f517be88b1812e8cea9;p=freeside.git diff --git a/httemplate/search/report_477.html b/httemplate/search/report_477.html index 542824b89..2a6878ef4 100755 --- a/httemplate/search/report_477.html +++ b/httemplate/search/report_477.html @@ -1,54 +1,57 @@ -<% include('/elements/header.html', 'FCC Form 477 Report' ) %> +% if ( $conf->exists('old_fcc_report') ) { +% $m->clear_buffer; +% $m->print($cgi->redirect($fsurl . 'search/old477/report_477.html')); +% $m->abort; +% } +<& /elements/header.html, 'FCC Form 477 Report' &>
-<% include('/elements/footer.html') %> +<& /elements/footer.html &> <%init> die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('List packages'); +my $conf = FS::Conf->new; %init>