X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/5f427dd38c8d47711ea73015076bb390761e05dd..cceda6a059b90c8e7e1319529f3fe686b16dfcf3:/www/display.php diff --git a/www/display.php b/www/display.php index b6b7d7f..c8df8a9 100644 --- a/www/display.php +++ b/www/display.php @@ -1,5 +1,5 @@ loadFromRequest(); -/* -$tplFiles = array(); -foreach ($files as $file) { - $tplFile = array(); - $tplFile['filename'] = basename($file); - $tplFile['type'] = get_type_from_file($file); - //FIXME: highlight - $tplFile['content'] = file_get_contents($file); - $tplFile['raw'] = '/' . $id . '/raw/' . $tplFile['filename']; - $tplFiles[] = $tplFile; -} -*/ - render( 'display', array( 'repo' => $repo, - /* - 'description' => file_get_contents($repoDir . '/.git/description'), - 'files' => $tplFiles, - 'links' => array( - 'edit' => '/' . $id . '/edit' - ) - */ + 'dh' => new \Date_HumanDiff(), ) ); ?>