{* * 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 diff *} {include file='filediff.tpl' diff=$filediff->GetDiff($file, false, true)}
{include file='footer.tpl'}