+ my $EVL;
+ if (open($EVL, '<:encoding(utf8)', $self->{-toppath}.'/'.$incdir.'/header.pl')) {
+ my $prm;
+ while (<$EVL>) {
+ $prm .= $_;
+ }
+ close($EVL);
+ %_ = (
+ -version => $version,
+ -depth => $self->{-depth},
+ -title => $title,
+ -titleimage => $titleimage,
+ -path => $self->{-fullpath},
+ -breadcrumbs => "breadcrumbs unimplemented",
+ );
+ print $IND eval $prm,"\n";
+ } else {
+ print STDERR "could not open ",
+ $self->{-toppath}.'/'.$incdir.'/header.pl',
+ " ($!), reverting to default header";
+ print $IND a({-href=>"../index.html"},"UP"),"\n";
+ if ($titleimage) {
+ print $IND img({-src=>$titleimage,
+ -class=>'titleimage',
+ -alt=>'Title Image'}),"\n";
+ }
+ print $IND h1({-class=>'title'},$title),
+ br({-clear=>'all'}),"\n";
+ }