{* * Taglist * * Tag list template fragment * * @author Christopher Han * @copyright Copyright (c) 2010 Christopher Han * @packge GitPHP * @subpackage Template *} {foreach from=$taglist item=tag name=tag} {assign var=object value=$tag->GetObject()} {assign var=tagcommit value=$tag->GetCommit()} {assign var=objtype value=$tag->GetType()} {/foreach} {if $hasmoretags} {if $source == 'summary'} {else if $source == 'tags'} {/if} {/if}
{if $tagcommit}{else}{/if} {if $objtype == 'commit'} {$tag->GetName()} {elseif $objtype == 'tag'} {$tag->GetName()} {elseif $objtype == 'blob'} {$tag->GetName()} {/if} {assign var=comment value=$tag->GetComment()} {if count($comment) > 0} {$comment[0]} {/if}
{t}next{/t}