X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=htdocs%2Fpages%2Fsummary.class.php;h=09bdb4caf7836bc4a06e43b45d059208bb79dd83;hb=b400fe63ce2c5db919a479101e8b261f479e8d0b;hp=360ae01b4808fbb7e5af74757c5845afef2f100f;hpb=bb1fc2c20c1ec39257c6e89cae030636c15edad3;p=phpgitweb.git diff --git a/htdocs/pages/summary.class.php b/htdocs/pages/summary.class.php index 360ae01..09bdb4c 100644 --- a/htdocs/pages/summary.class.php +++ b/htdocs/pages/summary.class.php @@ -24,9 +24,11 @@ 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"); + CommitLoader::parse(true); $this->page = new ContentProvider('summary', 'main'); @@ -49,7 +51,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; }