提交 41a4d16e 编写于 作者: G Giuseppe Bilotta 提交者: Junio C Hamano

gitweb: align comments to code

Signed-off-by: NGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Acked-by: NJakub Narebski <jnareb@gmail.com>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 0dbf027a
...@@ -2901,14 +2901,14 @@ sub git_header_html { ...@@ -2901,14 +2901,14 @@ sub git_header_html {
<meta name="robots" content="index, nofollow"/> <meta name="robots" content="index, nofollow"/>
<title>$title</title> <title>$title</title>
EOF EOF
# the stylesheet, favicon etc urls won't work correctly with path_info unless we # the stylesheet, favicon etc urls won't work correctly with path_info
# set the appropriate base URL # unless we set the appropriate base URL
if ($ENV{'PATH_INFO'}) { if ($ENV{'PATH_INFO'}) {
print '<base href="'.esc_url($my_url).'" />\n'; print '<base href="'.esc_url($my_url).'" />\n';
} }
# print out each stylesheet that exist # print out each stylesheet that exist, providing backwards capability
# for those people who defined $stylesheet in a config file
if (defined $stylesheet) { if (defined $stylesheet) {
#provides backwards capability for those people who define style sheet in a config file
print '<link rel="stylesheet" type="text/css" href="'.$stylesheet.'"/>'."\n"; print '<link rel="stylesheet" type="text/css" href="'.$stylesheet.'"/>'."\n";
} else { } else {
foreach my $stylesheet (@stylesheets) { foreach my $stylesheet (@stylesheets) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册