{* * Headlist * * Head list template fragment * * @author Christopher Han * @copyright Copyright (c) 2010 Christopher Han * @packge GitPHP * @subpackage Template *} {* Loop and display each head *} {foreach from=$headlist item=head name=heads} {assign var=headcommit value=$head->GetCommit()} {/foreach} {if $hasmoreheads} {if $source == 'summary'} {else if $source == 'heads'} {/if} {/if}
{$head->GetName()}
{t}next{/t}