{* * blob.tpl * gitphp: A PHP git repository browser * Component: Blob view template * * Copyright (C) 2009 Christopher Han *} {include file='header.tpl'} {include file='title.tpl' titlecommit=$commit} {include file='path.tpl' pathobject=$blob target='blobplain'}
{if $datatag} {* We're trying to display an image *}
{elseif $geshi} {* We're using the highlighted output from geshi *} {$geshiout} {else} {* Just plain display *}
{foreach from=$bloblines item=line name=bloblines}
{$smarty.foreach.bloblines.iteration}
{/foreach}
{foreach from=$bloblines item=line name=bloblines}
{$line|escape}
{/foreach}
{/if}
{include file='footer.tpl'}