Ignore:
Timestamp:
07/28/10 16:46:21 (14 years ago)
Author:
Kris Deugau
Message:

/branches/htmlform

Move Javascript from the header into its own file
Convert index page (master block summary) to template
Convert header to template, use template header in main.cgi
and search.cgi - going to leave admin.cgi out for now
Update HTML in header, index, footer to HTML 4.01 strict
See #3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/htmlform/cgi-bin/search.cgi

    r449 r451  
    7474}
    7575
    76 # Headerize!  Make sure we replace the $$EXTRA0$$ bit as needed.
    77 printHeader('', ($IPDBacl{$authuser} =~ /a/ ?
    78         '<td align=right><a href="/ip/cgi-bin/main.cgi?action=assign">Add new assignment</a></td>' : ''
    79         ));
     76my $header = HTML::Template->new(filename => "header.tmpl");
     77$header->param(version => $IPDB::VERSION);
     78$header->param(addperm => $IPDBacl{$authuser} =~ /a/);
     79print "Content-type: text/html\n\n", $header->output;
    8080
    8181if ($webvar{stype} eq 'q') {
Note: See TracChangeset for help on using the changeset viewer.