Ignore:
Timestamp:
09/27/12 18:13:16 (12 years ago)
Author:
Kris Deugau
Message:

/branches/htmlform

Final prep for merge back to trunk.

  • Remove lockin on /ip/ web path as with /branches/stable r507.
  • Fix a buglet with the body text color.
  • Remove the lingering header and footer template files

See #3.

Location:
branches/htmlform/cgi-bin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/htmlform/cgi-bin/MyIPDB.pm

    r437 r511  
    2222# DB host is optional.
    2323my $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 = '';
    2428
    2529# Set some globals declared in IPDB.pm.  Most of these only affect mailNotify().
  • branches/htmlform/cgi-bin/admin.cgi

    r505 r511  
    518518
    519519##fixme:  make me a footer param!
    520 print qq(<hr><div><a href="/ip/">Back</a> to main interface</div>\n);
     520print qq(<hr><div><a href="$IPDB::webpath/">Back</a> to main interface</div>\n);
    521521
    522522# We print the footer here, so we don't have to do it elsewhere.
  • branches/htmlform/cgi-bin/main.cgi

    r505 r511  
    7777$header->param(version => $IPDB::VERSION);
    7878$header->param(addperm => $IPDBacl{$authuser} =~ /a/);
     79$header->param(webpath => $IPDB::webpath);
    7980print "Content-type: text/html\n\n", $header->output;
    8081
     
    208209# can't do this yet, too many blowups
    209210#print "Content-type: text/html\n\n", $header->output;
    210 
     211$page->param(webpath => $IPDB::webpath);
    211212print $page->output;
    212213
    213214# include the admin tools link in the output?
    214215$footer->param(adminlink => ($IPDBacl{$authuser} =~ /A/));
    215 
     216$footer->param(webpath => $IPDB::webpath);
    216217print $footer->output;
    217218
Note: See TracChangeset for help on using the changeset viewer.