allow people to add more files when editing
[phorkie.git] / www / display.php
index b6b7d7f7939242f9aa21505a35197087e1ed155b..f806c56b807f3f46d417884176c1c49eeb49d39f 100644 (file)
@@ -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'
-        )
-        */
     )
 );
 ?>