config.php: default is to search git from PATH.
[viewgit.git] / templates / commit.php
blobda1a5adbbec838945346048cf2e5fa33efba8f98
1 <h1><?php echo htmlentities($page['message_firstline']); ?></h1>
3 <table class="commit">
4 <tbody>
5 <tr>
6 <td>Author</td>
7 <td><?php echo htmlentities($page['author_name']); ?> &lt;<?php echo htmlentities($page['author_mail']); ?>&gt;</td>
8 </tr>
9 <tr>
10 <td>Author date</td>
11 <td><?php echo $page['author_datetime']; ?></td>
12 </tr>
13 <tr>
14 <td>Author local date</td>
15 <td><?php echo $page['author_datetime_local']; ?></td>
16 </tr>
17 <tr>
18 <td>Committer</td>
19 <td><?php echo htmlentities($page['committer_name']); ?> &lt;<?php echo htmlentities($page['committer_mail']); ?>&gt;</td>
20 </tr>
21 <tr>
22 <td>Committer date</td>
23 <td><?php echo $page['committer_datetime']; ?></td>
24 </tr>
25 <tr>
26 <td>Committer local date</td>
27 <td><?php echo $page['committer_datetime_local']; ?></td>
28 </tr>
29 <tr>
30 <td>Commit</td>
31 <td><?php echo $page['commit_id']; ?></td>
32 </tr>
33 <tr>
34 <td>Tree</td>
35 <td><a href="<?php echo makelink(array('a' => 'tree', 'p' => $page['project'], 'h' => $page['tree_id'], 'hb' => $page['commit_id'])); ?>"><?php echo $page['tree_id']; ?></a></td>
36 </tr>
37 <?php
38 foreach ($page['parents'] as $parent) {
39 echo "<tr>\n";
40 echo "\t<td>Parent</td>\n";
41 echo "\t<td><a href=\"". makelink(array('a' => 'commit', 'p' => $page['project'], 'h' => $parent)) ."\">$parent</a></td>\n";
42 echo "</tr>\n";
45 </tbody>
46 </table>
48 <div class="commitmessage"><pre><?php echo htmlentities($page['message_full']); ?></pre></div>
50 <?php /* TODO: list of files changed */ ?>