Added inline visualization of text files from the repository.

This commit is contained in:
Loic d'Anterroches
2008-11-11 22:32:01 +01:00
parent 297d7290df
commit 9ac6e38e81
9 changed files with 208 additions and 9 deletions

View File

@@ -165,6 +165,12 @@ $ctl[] = array('regex' => '#^/p/([\-\w]+)/source/download/(\w+)/$#',
'model' => 'IDF_Views_Source',
'method' => 'download');
$ctl[] = array('regex' => '#^/p/([\-\w]+)/source/file/(\w+)/(.*)$#',
'base' => $base,
'priority' => 4,
'model' => 'IDF_Views_Source',
'method' => 'getFile');
$ctl[] = array('regex' => '#^/p/([\-\w]+)/source/treerev/$#',
'base' => $base,
'priority' => 4,