{* * blame.tpl * gitphp: A PHP git repository browser * Component: Blame view template * * Copyright (C) 2010 Christopher Han *} {include file='header.tpl'} {include file='title.tpl' titlecommit=$commit} {include file='path.tpl' pathobject=$hash target='blob'}
{foreach from=$hash->GetData(true) item=blobline name=blob} {assign var=blamecommit value=$blame[$smarty.foreach.blob.iteration]} {if $blamecommit} {cycle values="light,dark" assign=rowclass} {/if} {/foreach}
{if $blamecommit} {$blamecommit->GetAuthorEpoch()|date_format:"%F %X"} {/if} {if $blamecommit} {$blamecommit->GetAuthor()} {/if} {$smarty.foreach.blob.iteration} {$blobline|escape}
{include file='footer.tpl'}