Add Troubleshooting section to README.
[viewgit.git] / templates / index.php
blob61c279f0855740ead2d8d620e6ff8296134d8c5d
2 <table id="projects">
3 <thead>
4 <tr>
5 <th>Project</th>
6 <th>Description</th>
7 <th>Last Commit</th>
8 <th>Last Change</th>
9 <th>Actions</th>
10 </tr>
11 </thead>
12 <tbody>
13 <?php
14 foreach ($page['projects'] as $p) {
15 $tr_class = $tr_class=="odd" ? "even" : "odd";
16 echo "<tr class=\"$tr_class\">\n";
17 echo "\t<td><a href=\"". makelink(array('a' => 'summary', 'p' => $p['name'])) ."\">$p[name]</a>";
18 if ($p['www']) {
19 //echo "<a href=\"$p[www]\" class=\"external\">&#8599;</a>";
20 tpl_extlink($p['www']);
22 echo "</td>\n";
23 echo "\t<td>". htmlentities_wrapper($p['description']) ."</td>\n";
24 echo "\t<td>". htmlentities_wrapper($p['message']) ."</td>\n";
25 echo "\t<td>". htmlentities_wrapper($p['head_datetime']) ."</td>\n";
26 echo "\t<td>";
27 echo "<a href=\"". makelink(array('a' => 'tree', 'p' => $p['name'], 'h' => $p['head_tree'], 'hb' => $p['head_hash'])) ."\" class=\"tree_link\" title=\"Tree\">tree</a>";
28 echo " <a href=\"". makelink(array('a' => 'archive', 'p' => $p['name'], 'h' => $p['head_tree'], 'hb' => $p['head_hash'], 't' => 'targz')) ."\" rel=\"nofollow\" class=\"tar_link\" title=\"tar/gz\">tar/gz</a>";
29 echo " <a href=\"". makelink(array('a' => 'archive', 'p' => $p['name'], 'h' => $p['head_tree'], 'hb' => $p['head_hash'], 't' => 'zip')) ."\" rel=\"nofollow\" class=\"zip_link\" title=\"zip\">zip</a>";
30 echo "</td>\n";
31 echo "</tr>\n";
34 </tbody>
35 </table>