git.cweiske.de
/
phorkie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e48b75e
)
remove dead code
author
Christian Weiske
<cweiske@cweiske.de>
Tue, 27 Mar 2012 05:33:10 +0000
(07:33 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Tue, 27 Mar 2012 05:33:10 +0000
(07:33 +0200)
www/display.php
patch
|
blob
|
history
diff --git
a/www/display.php
b/www/display.php
index b6b7d7f7939242f9aa21505a35197087e1ed155b..f806c56b807f3f46d417884176c1c49eeb49d39f 100644
(file)
--- a/
www/display.php
+++ b/
www/display.php
@@
-8,30
+8,10
@@
require_once 'www-header.php';
$repo = new Repository();
$repo->loadFromRequest();
$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,
render(
'display',
array(
'repo' => $repo,
- /*
- 'description' => file_get_contents($repoDir . '/.git/description'),
- 'files' => $tplFiles,
- 'links' => array(
- 'edit' => '/' . $id . '/edit'
- )
- */
)
);
?>
)
);
?>