{* * commitdiff.tpl * gitphp: A PHP git repository browser * Component: Commitdiff view template * * Copyright (C) 2009 Christopher Han *} {include file='header.tpl'} {* Nav *}


{$title}{if $commitref} {$commitref}{/if}
{foreach from=$comment item=line} {$line}
{/foreach}
{* Diff each file changed *} {section name=difftree loop=$difftreelines} {if $difftreelines[difftree].status == "A"} {elseif $difftreelines[difftree].status == "D"} {elseif $difftreelines[difftree].status == "M"} {if $difftreelines[difftree].from_id != $difftreelines[difftree].to_id} {/if} {/if} {include file='filediff.tpl' diff=$difftreelines[difftree].diffout} {/section}
{include file='footer.tpl'}