X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/027c801a4dc51db673bcbfcfbd396845f244e357..d5901a1fcc8b79f9a23bd3888ef2f281f07b9459:/www/list.php diff --git a/www/list.php b/www/list.php index 750e811..d4934bd 100644 --- a/www/list.php +++ b/www/list.php @@ -22,11 +22,14 @@ $pager = new Html_Pager( $repoCount, $perPage, $page + 1, '/list/%d' ); +$db = new Database(); render( 'list', array( - 'repos' => $repos, - 'pager' => $pager, + 'repos' => $repos, + 'pager' => $pager, + 'recents' => $db->getSearch()->listAll(0, 5, 'modate', 'desc'), + 'dh' => new \Date_HumanDiff(), ) ); ?>