Don't assign return value of new by reference.
[viewgit.git] / templates / tags.php
blob192017a8548afc6ba1da8d306ce0e38e4a4e426a
1 <h1>Tags</h1>
3 <table class="heads">
4 <thead>
5 <tr>
6 <th class="date">Date</th>
7 <th class="branch">Tag</th>
8 <th class="actions">Actions</th>
9 </tr>
10 </thead>
11 <tbody>
12 <?php
13 $tr_class = 'even';
14 foreach ($page['tags'] as $tag) {
15 $tr_class = $tr_class=="odd" ? "even" : "odd";
16 echo "<tr class=\"$tr_class\">\n";
17 echo "\t<td>$tag[date]</td>\n";
18 echo "\t<td><a href=\"". makelink(array('a' => 'shortlog', 'p' => $page['project'], 'h' => $tag['fullname'])) ."\">$tag[name]</a></td>\n";
19 echo "\t<td></td>\n";
20 echo "</tr>\n";
23 </tbody>
24 </table>