Location: PHPKode > projects > ViewSVN > templates/list.php
<?php
require('path.php');

?>
<pre>
<table class="list sortable">
<thead>
	<tr>
		<th>File</th>
		<th>Rev.</th>
		<th>Changed</th>
		<th>Size</th>
	</tr>
</thead>
<tbody>
<?php
foreach ($page['nodes'] as $n) {
	echo "<tr class=\"". ($n['isdir'] ? 'dir' : 'file') ."\">\n";
	echo "\t<td>";
	$do = ($n['isdir'] ? 'browse' : 'view');
	$defparams = array('do' => $do, 'project' => $page['project'], 'path' => "$page[path]$n[filename]");
	echo "<a href=\"". makelink(array_merge($defparams, array('rev' => $page['rev']))) ."\">";
	echo "$n[filename_shown]". ($n['isdir'] ? '/' : '') ."</a>\n";
	echo "</td>\n";
	echo "\t<td><a href=\"". makelink(array_merge($defparams, array('rev' => $n['rev']))) . "\">$n[rev]</a></td>\n";
	echo "\t<td>". strftime($config['browse_changed_format'], $n['age']) ."</td>\n";
	echo "\t<td class=\"size\">$n[size]</td>\n";
	echo "</tr>\n";
}
?>
</tbody>
</table>
</pre>
Return current item: ViewSVN