my $resume_url="/resume/ResumeJanKratochvil.pm/ResumeJanKratochvil.html";
+sub vskip_hr($) { return "<hr />\n".My::Web::vskip("1ex"); }
+
# Only to be used privately by My::Web !
our %WebConfig=(
"admin_mail"=>'web-www.jankratochvil.net@jankratochvil.net',
|| $name eq "lace";
return escapeHTML($name);
},
- "viewcvs_My"=>"http://cvs.jankratochvil.net/viewcvs/MyWeb/",
- "viewcvs"=>"http://cvs.jankratochvil.net/viewcvs/www/www.jankratochvil.net/",
+# "viewcvs_My"=>"http://cvs.jankratochvil.net/viewcvs/MyWeb/",
+# "viewcvs"=>"http://cvs.jankratochvil.net/viewcvs/www/www.jankratochvil.net/",
+ "viewcvs_My"=>"//git.jankratochvil.net/?p=MyWeb.git;a=blob;hb=HEAD;f=",
+ "viewcvs"=>"//git.jankratochvil.net/?p=www.jankratochvil.net.git;a=blob;hb=HEAD;f=",
"title_prefix"=>"Jan Kratochvil",
- "project_viewcvs"=>"http://cvs.jankratochvil.net/viewcvs/",
- "pserver"=>':pserver:pserver:@cvs.jankratochvil.net',
- "pserver_path"=>"/cvs",
+# "project_viewcvs"=>"http://cvs.jankratochvil.net/viewcvs/",
+ "project_viewcvs"=>"//git.jankratochvil.net/",
+# "pserver"=>':pserver:pserver:@cvs.jankratochvil.net',
+# "pserver_path"=>"/cvs",
"resume_url"=>$resume_url,
- "mailman_url" =>sub { return "http://".$My::Web::W->{"web_hostname"}."/mailman/"; },
- "pipermail_url"=>sub { return "http://".$My::Web::W->{"web_hostname"}."/pipermail/"; },
+# "mailman_url" =>sub { return "http://".$My::Web::W->{"web_hostname"}."/mailman/"; },
+# "pipermail_url"=>sub { return "http://".("www2.jankratochvil.net"||$My::Web::W->{"web_hostname"})."/pipermail/"; },
"heading"=>sub () {
my $r="";
$r.='<table border="0" style="font-size: larger;" class="margin-center"><tr>'."\n";
.'<tr>'."\n";
my @sections=(
"/project/"=>"Projects",
- "http://cvs.jankratochvil.net/"=>"CVS",
+ "/product/"=>"Products",
+ "//git.jankratochvil.net/"=>"GIT",
# "/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.='<td style="padding: 5px;">';
$r.=(($My::Web::W->{"section"} || "") eq $section_name ? "<b>$section_name</b>"
: My::Web::a_href($section_path,$section_name,
- "attr"=>'style="text-decoration: inherit; /* revoke underline */;"'));
+ "attr"=>($chosen
+ ? 'style="text-decoration: underline; font-weight: bold;"'
+ : 'style="text-decoration: inherit; /* revoke underline */"')));
$r.="</td>\n";
}
$r.='</tr></table>'."\n";
$r.='</td>'."\n";
$r.='</tr></table>'."\n";
if (!$My::Web::W->{"heading_novskip"}) {
- $r.="<hr />\n";
- $r.=My::Web::vskip("6ex");
+ $r.=WebConfig->vskip_hr();
}
return $r;
},
</table>
HERE
},
- "no_job"=>0,
+ "no_job"=>1,
"css_inherit"=>1,
);