'."\n";
+ # Do not:
+ # as the constant are always bad.
+ $r.=''."\n";
+ $r.=''
+ .''."\n";
+ $r.='Jan Kratochvil';
+# $r.=My::Web::a_href('http://www.jankratochvil.net/','Jan Kratochvil',
+# "attr"=>'style="text-decoration: inherit; /* revoke underline */;"');
+ $r.=' | ';
+ $r.=' | '."\n";
+ $r.=''."\n";
+ $r.=''
+ .''."\n";
+ my @sections=(
+ "/project/"=>"Projects",
+ "/product/"=>"Products",
+ "http://cvs.jankratochvil.net/"=>"CVS",
+# "/News.pm"=>"News",
+ $resume_url=>"Resume",
+ "/Contact.pm"=>"Contact",
+ );
+ while (@sections) {
+ my $section_path=shift @sections;
+ my $section_name=shift @sections;
+ my $class="";
+ if ($section_path=~m{^/(.*)$}) {
+ $class=$1;
+ $class=~s{/}{::}g;
+ $class=~s{[.]pm$}{};
+ }
+ my $chosen=($class && $My::Web::W->{"__PACKAGE__"}=~/^\Q$class\E/);
+ $r.='';
+ $r.=(($My::Web::W->{"section"} || "") eq $section_name ? "$section_name"
+ : My::Web::a_href($section_path,$section_name,
+ "attr"=>($chosen
+ ? 'style="text-decoration: underline; font-weight: bold;"'
+ : 'style="text-decoration: inherit; /* revoke underline */"')));
+ $r.=" | \n";
+ }
+ $r.=' '."\n";
+ $r.=' | '."\n";
+ $r.='