{* * atom.tpl * gitphp: A PHP git repository browser * Component: Atom feed template * * Copyright (C) 2010 Christian Weiske *} {$project->GetProject()} {$project->GetProject()} log {scripturl}?p={$project->GetProject()|rawurlencode} {if $log} {$log.0->GetCommitterEpoch()|date_format:"%Y-%m-%dT%H:%M:%S+00:00"} {/if} {foreach from=$log item=logitem} {scripturl}?p={$project->GetProject()|rawurlencode}&a=commit&h={$logitem->GetHash()} {$logitem->GetTitle()|escape:'html'} {$logitem->GetAuthorName()|escape:'html'} {$logitem->GetCommitterEpoch()|date_format:"%Y-%m-%dT%H:%M:%S+00:00"} {$logitem->GetCommitterEpoch()|date_format:"%Y-%m-%dT%H:%M:%S+00:00"} {$logitem->GetTitle()|escape:'html'}

{foreach from=$logitem->GetComment() item=line} {$line|htmlspecialchars}
{/foreach}

    {foreach from=$logitem->DiffToParent() item=diffline}
  • {$diffline->GetToFile()|htmlspecialchars}
  • {/foreach}
{/foreach}