{* * tree.tpl * gitphp: A PHP git repository browser * Component: Tree view template * * Copyright (C) 2009 Christopher Han *} {include file='header.tpl'} {* Nav *} {if $fullnav}
{$title} {if $hashbaseref} {$hashbaseref} {/if}
{else}
{$hash}
{/if} {* Path *}
[{$project}] / {foreach from=$paths item=path} {$path.short} / {/foreach}
{* List files *} {section name=tree loop=$treelines} {if $treelines[tree].type == "blob"} {elseif $treelines[tree].type == "tree"} {/if} {/section}
{$treelines[tree].filemode} {$treelines[tree].name} {$treelines[tree].name}
{include file='footer.tpl'}