From: Stricted Date: Fri, 24 May 2013 20:17:52 +0000 (+0200) Subject: some changes X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4da8b4e61a7b9101339df5216cac4ce873812464;p=gitweb.git some changes --- diff --git a/index.cgi b/index.cgi index 43b9f18..aa1d860 100644 --- a/index.cgi +++ b/index.cgi @@ -111,6 +111,10 @@ our $javascript = "static/gitweb.js"; our $logo_url = "http://git-scm.com/"; our $logo_label = "git homepage"; +# URI and label (title) of footer +our $footer_url = "http://git-scm.com/"; +our $footer_label = "git homepage"; + # source of projects list our $projects_list = ""; @@ -4094,7 +4098,7 @@ sub git_footer_html { } else { my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime; $year += 1900; - print "\n"; + print "\n"; print $cgi->a({-href => href(project=>undef, action=>"opml", project_filter => $project_filter), -class => $feed_class}, "OPML") . " "; @@ -5426,11 +5430,9 @@ sub git_project_list_rows { $from = 0 unless defined $from; $to = $#$projlist if (!defined $to || $#$projlist < $to); - my $count; my $alternate = 1; for (my $i = $from; $i <= $to; $i++) { my $pr = $projlist->[$i]; - $count++; if ($alternate) { print "\n"; } else { @@ -5475,7 +5477,13 @@ sub git_project_list_rows { "\n" . "\n"; } - print "  ".$count." projects found  "; + print ""; + if ($check_forks) { + print " "; + } else { + print " "; + } + print "".($to + 1)." project".($to = 1 ? "s" : "")." found "; } sub git_project_list_body {