[{INCLUDE templates/header.html}]
<h1>TR{Repository browsing}}</h1>
<p class="hdesc">
<a href="repositoryview.php?r=${REPOSITORY_ENCODED}">${REPOSITORY}</a>
: ${CURRENTPATH}
</p>
<table class="datatable">
<thead>
<tr>
<th width="22">
[{IFDEF IS_REPOSITORY_ROOT}]
<a href="repositorylist.php">
<img src="templates/icons/back.png" alt="TR{Back}}">
</a>
[{/IFDEF}]
[{IFDEF !IS_REPOSITORY_ROOT}]
<a href="repositoryview.php?r=${REPOSITORY_ENCODED}&p=${BACKLINKPATH_ENCODED}">
<img src="templates/icons/back.png" alt="TR{Back}}">
</a>
[{/IFDEF}]
</th>
<th width="22">#</th>
<th>TR{File name}}</th>
<th width="150">TR{Author}}</th>
<th width="80">TR{Revision}}</th>
</tr>
</thead>
<tfoot>
<tr>
<td>
[{IFDEF IS_REPOSITORY_ROOT}]
<a href="repositorylist.php">
<img src="templates/icons/back.png" alt="TR{Back}}">
</a>
[{/IFDEF}]
[{IFDEF !IS_REPOSITORY_ROOT}]
<a href="repositoryview.php?r=${REPOSITORY_ENCODED}&p=${BACKLINKPATH_ENCODED}">
<img src="templates/icons/back.png" alt="TR{Back}}">
</a>
[{/IFDEF}]
</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tfoot>
<tbody>
[{LOOP folders}]
<tr>
<td>
[{IFDEF ACCESSPATH_EDIT_ACTIVE && ACL_accesspaths_add}]
<a href="accesspathcreate.php?r=${REPOSITORY_ENCODED}&p=${folders}{encodedRelativePath}">
<img src="templates/icons/addpath.png" alt="Add access path" title="TR{Add access path}}">
</a>
[{/IFDEF}]
</td>
<td>
<a href="repositoryview.php?r=${REPOSITORY_ENCODED}&p=${folders}{encodedRelativePath}">
<img src="templates/icons/folder.png" border="0" alt="Folder">
</a>
</td>
<td>
<a href="repositoryview.php?r=${REPOSITORY_ENCODED}&p=${folders}{encodedRelativePath}">
${folders}{name}
</a>
</td>
<td>${folders}{author}</td>
<td align="right">${folders}{revision}</td>
</tr>
[{/LOOP}]
[{LOOP files}]
<tr>
<td>
[{IFDEF ACCESSPATH_EDIT_ACTIVE && ACL_accesspaths_add}]
<a href="accesspathcreate.php?r=${REPOSITORY_ENCODED}&p=${files}{encodedRelativePath}">
<img src="templates/icons/addpath.png" alt="Add access path" title="TR{Add access path}}">
</a>
[{/IFDEF}]
</td>
<td><img src="templates/icons/file.png" border="0" alt="Folder"></td>
<td>${files}{name}</td>
<td>${files}{author}</td>
<td align="right">${files}{revision}</td>
</tr>
[{/LOOP}]
</tbody>
</table>
[{INCLUDE templates/footer.html}]