{* * 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}
{$headcommit->GetAge()|agestring} {$head->GetName()}