2 /*=====================================================================*\
3 || ################################################################### ||
4 || # ViewSVN [#]version[#]
5 || # --------------------------------------------------------------- # ||
6 || # Copyright ©2002-[#]year[#] by Iris Studios, Inc. All Rights Reserved. # ||
7 || # This file may not be reproduced in any way without permission. # ||
8 || # --------------------------------------------------------------- # ||
9 || # User License Agreement at http://www.iris-studios.com/license/ # ||
10 || ################################################################### ||
11 \*=====================================================================*/
13 require_once('./global.php');
15 $path = $viewsvn->paths
->parse();
16 $repos = $viewsvn->paths
->fetch_repos($path);
17 $relpath = $viewsvn->paths
->fetch_path($path);
19 $listing = $viewsvn->svn
->ls($repos, $relpath, 0);
26 echo '<li><a href="/viewsvn/' . $viewsvn->paths
->out('browse.php', $path . '..') . '">Up One Level</a></li>';
29 foreach ($listing AS $item)
32 if ($item{ strlen($item) - 1 } == '/')
34 echo '<a href="/viewsvn/' . $viewsvn->paths
->out('browse.php', $path . $item) . '">' . $item . '</a>';
38 echo '<a href="/viewsvn/' . $viewsvn->paths
->out('log.php', $path . $item) . '">'. $item . '</a>';
46 /*=====================================================================*\
47 || ###################################################################
50 || ###################################################################
51 \*=====================================================================*/