Changeset 449 for branches/htmlform/cgi-bin/admin.cgi
- Timestamp:
- 07/27/10 17:06:18 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/htmlform/cgi-bin/admin.cgi
r447 r449 16 16 use CGI::Carp qw(fatalsToBrowser); 17 17 use CGI::Simple; 18 use HTML::Template; 18 19 use DBI; 19 20 use CommonWeb qw(:ALL); … … 51 52 } 52 53 initIPDBGlobals($ip_dbh); 54 55 ##fixme - need to autofill this somehow 56 $ENV{HTML_TEMPLATE_ROOT} = '/home/kdeugau/dev/ipdb/trunk/templates'; 53 57 54 58 if ($IPDBacl{$authuser} !~ /A/) { … … 660 664 print qq(<hr><a href="/ip/">Back</a> to main interface</a>\n); 661 665 662 printFooter; 666 # We print the footer here, so we don't have to do it elsewhere. 667 my $footer = HTML::Template->new(filename => "footer.tmpl"); 668 # we're already in the admin tools, no need to provide a bottom link. maybe. 669 #$footer->param(adminlink => ($IPDBacl{$authuser} =~ /A/)); 670 671 print $footer->output; 663 672 664 673 $ip_dbh->disconnect;
Note:
See TracChangeset
for help on using the changeset viewer.