X-Git-Url: http://git.pk910.de/?p=phpgitweb.git;a=blobdiff_plain;f=htdocs%2Fpages%2Fsummary.class.php;fp=htdocs%2Fpages%2Fsummary.class.php;h=0e3eae63ff62a39c88482c0da6f84f306bfef04a;hp=360ae01b4808fbb7e5af74757c5845afef2f100f;hb=394a07ff3e283f94c7ead44e8bd02d44c223314b;hpb=ce9f1b8b05ff571f6922460cf91b45aa5a119d94 diff --git a/htdocs/pages/summary.class.php b/htdocs/pages/summary.class.php index 360ae01..0e3eae6 100644 --- a/htdocs/pages/summary.class.php +++ b/htdocs/pages/summary.class.php @@ -24,9 +24,10 @@ class page_summary { public function main($phpgitweb, $project) { $this->phpgitweb = $phpgitweb; if(!$project) - return; + return new ContentProvider('main', 'err400'); $project['refs'] = $phpgitweb->get_project_loader()->getProjectRefs($project); $phpgitweb->append_header_nav("summary", null, true); + $phpgitweb->append_title("summary"); $this->page = new ContentProvider('summary', 'main'); @@ -49,7 +50,7 @@ class page_summary { $this->page->set('shortlog', $shortlog->generate_shortlog($project, null, 16, 0, null, false)); $first_commit = $shortlog->get_first_commit(); - $this->page->set('last_change', date('r', $first_commit['committer_time'])); + $this->page->set('last_change', gmdate('r', $first_commit['committer_time'])); return $this->page; }