\n";
@@ -4497,7 +4479,7 @@ sub git_print_header_div {
sub format_repo_url {
my ($name, $url) = @_;
- return "
$name
$url
\n";
+ return "
$name
$url
\n";
}
# Group output by placing it in a DIV element and adding a header.
@@ -4540,20 +4522,8 @@ sub git_print_section {
sub format_timestamp_html {
my $date = shift;
- my $strtime = $date->{'rfc2822'};
- my (undef, undef, $datetime_class) =
- gitweb_get_feature('javascript-timezone');
- if ($datetime_class) {
- $strtime = qq!$strtime!;
- }
-
- my $localtime_format = '(%02d:%02d %s)';
- $strtime .= ' ' .
- sprintf($localtime_format,
- $date->{'hour_local'}, $date->{'minute_local'}, $date->{'tz_local'});
-
- return $strtime;
+ return qq!!;
}
# Outputs the author name and date in long form
@@ -4878,11 +4848,11 @@ sub git_difftree_body {
my ($difftree, $hash, @parents) = @_;
my ($parent) = $parents[0];
my $have_blame = gitweb_check_feature('blame');
- print "
\n";
+ print("\n");
+
# If XSS prevention is on, we don't include README.html.
# TODO: Allow a readme in some safe format.
if (!$prevent_xss && -s "$projectroot/$project/README.html") {
+ print("\n");
print "