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 echo $viewsvn->paths
->construct_breadcrumb($path, false
);
21 $blame = new SVNBlame($repos, $relpath, @$viewsvn->in
['rev']);
23 echo '<table cellspacing="1" cellpadding="1" style="background-color: #EFEFEF" width="100%">';
25 foreach ($blame->fetch() AS $entry)
28 <tr style="background-color: white">
29 <td>' . $entry['rev'] . '</td>
30 <td>' . $entry['author'] . '</td>
31 <td>' . str_replace(array(' ', "\t"), array(' ', ' '), htmlspecialchars($entry['line'])) . '</td>
38 /*=====================================================================*\
39 || ###################################################################
42 || ###################################################################
43 \*=====================================================================*/