{* * blobdiff.tpl * gitphp: A PHP git repository browser * Component: Blobdiff view template * * Copyright (C) 2009 Christopher Han *} {include file='header.tpl'} {include file='title.tpl' titlecommit=$commit} {include file='path.tpl' pathobject=$blobparent target='blob'}
{* Display the from -> to diff header *} {t}blob{/t}:{if $file}a/{$file}{else}{$blobparent->GetHash()}{/if} -> {t}blob{/t}:{if $file}b/{$file}{else}{$blob->GetHash()}{/if}
{* Display the sidebysidediff *} {foreach from=$filediff->GetDiffSplit() item=lineinfo} {/foreach}
{$lineinfo[1]|escape} {$lineinfo[2]|escape}
{include file='footer.tpl'}