X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/5f427dd38c8d47711ea73015076bb390761e05dd..4d3b1690a86631b4b1abc74dfa4c4e5bde8faf10:/www/display.php diff --git a/www/display.php b/www/display.php index b6b7d7f..f806c56 100644 --- a/www/display.php +++ b/www/display.php @@ -8,30 +8,10 @@ require_once 'www-header.php'; $repo = new Repository(); $repo->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' - ) - */ ) ); ?>