Changeset 511 for branches/htmlform/cgi-bin
- Timestamp:
- 09/27/12 18:13:16 (12 years ago)
- Location:
- branches/htmlform/cgi-bin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/htmlform/cgi-bin/MyIPDB.pm
r437 r511 22 22 # DB host is optional. 23 23 my $dbhost = 'ipdb-db'; 24 25 # Quick workaround for fixed web path. Set this to the absolute web path to 26 # your IPDB install, or leave blank for installation at the webroot. 27 $IPDB::webpath = ''; 24 28 25 29 # Set some globals declared in IPDB.pm. Most of these only affect mailNotify(). -
branches/htmlform/cgi-bin/admin.cgi
r505 r511 518 518 519 519 ##fixme: make me a footer param! 520 print qq(<hr><div><a href=" /ip/">Back</a> to main interface</div>\n);520 print qq(<hr><div><a href="$IPDB::webpath/">Back</a> to main interface</div>\n); 521 521 522 522 # We print the footer here, so we don't have to do it elsewhere. -
branches/htmlform/cgi-bin/main.cgi
r505 r511 77 77 $header->param(version => $IPDB::VERSION); 78 78 $header->param(addperm => $IPDBacl{$authuser} =~ /a/); 79 $header->param(webpath => $IPDB::webpath); 79 80 print "Content-type: text/html\n\n", $header->output; 80 81 … … 208 209 # can't do this yet, too many blowups 209 210 #print "Content-type: text/html\n\n", $header->output; 210 211 $page->param(webpath => $IPDB::webpath); 211 212 print $page->output; 212 213 213 214 # include the admin tools link in the output? 214 215 $footer->param(adminlink => ($IPDBacl{$authuser} =~ /A/)); 215 216 $footer->param(webpath => $IPDB::webpath); 216 217 print $footer->output; 217 218
Note:
See TracChangeset
for help on using the changeset viewer.