зеркало из https://github.com/microsoft/git.git
gitweb: align comments to code
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Acked-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
0dbf027ad2
Коммит
41a4d16e20
|
@ -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) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче