1 <h1
><a href
="<?php echo makelink(array('a' => 'shortlog', 'p' => $page['project'])); ?>">Shortlog
</a
></h1
>
3 <table
class="shortlog">
6 <th
class="date">Date
</th
>
7 <th
class="author">Author
</th
>
8 <th
class="message">Message
</th
>
9 <th
class="actions">Actions
</th
>
14 $page['lasthash'] = 'HEAD';
15 foreach ($page['shortlog'] as $l) {
17 echo "\t<td>$l[date]</td>\n";
18 echo "\t<td>". htmlentities($l['author']) ."</td>\n";
19 echo "\t<td><a href=\"". makelink(array('a' => 'commit', 'p' => $page['project'], 'h' => $l['commit_id'])) ."\">". htmlentities($l['message']) ."</a></td>\n";
21 echo "[<a href=\"". makelink(array('a' => 'commitdiff', 'p' => $page['project'], 'h' => $l['commit_id'])) ."\">commitdiff</a>]";
22 echo "[<a href=\"". makelink(array('a' => 'tree', 'p' => $page['project'], 'h' => $l['tree'], 'hb' => $l['commit_id'])) ."\">tree</a>]";
23 echo "[<a href=\"". makelink(array('a' => 'archive', 'p' => $page['project'], 'h' => $l['tree'], 't' => 'targz')) ."\">tar/gz</a>]";
24 echo "[<a href=\"". makelink(array('a' => 'archive', 'p' => $page['project'], 'h' => $l['tree'], 't' => 'zip')) ."\">zip</a>]";
27 $page['lasthash'] = $l['commit_id'];
34 if ($page['lasthash'] !== 'HEAD') {
35 echo "<p><a href=\"". makelink(array('a' => 'shortlog', 'p' => $page['project'], 'h' => $page['lasthash'])) ."\">More...</a></p>";