| 70 |
// we show only the last 10 commits by default |
// we show only the last 10 commits by default |
| 71 |
for ($i = 0; $i < 9; $i++) { |
for ($i = 0; $i < 9; $i++) { |
| 72 |
$desc = html_entity_decode($rs["items"][$i]["description"]); |
$desc = html_entity_decode($rs["items"][$i]["description"]); |
| 73 |
$desc = preg_replace("/Commit by \([\w-]+\)\( ::.*\)/", |
$desc = preg_replace("/(Commit by.*)<strong>(.*)<\/strong>/", |
| 74 |
"Commit by <a href=\"http:\/\/alioth.debian.org\/users\/$2\">$2<\/a>$3", |
"\\1<strong><a href=\"http://alioth.debian.org/users/\\2\">\\2</strong>", |
| 75 |
$desc); |
$desc); |
| 76 |
?> |
?> |
| 77 |
<tr> |
<tr> |
| 78 |
<td><?=$rs["items"][$i]["pubDate"]?></td> |
<td><?=$rs["items"][$i]["pubDate"]?></td> |
| 79 |
<td>debian-med</td> |
<td>debian-med</td> |
|
s/\(^.* \)\(.*\)\( ::.*\)/\1<a>\2<\/a>\3/g |
|
| 80 |
<td><?=$desc?></td> |
<td><?=$desc?></td> |
| 81 |
<td><a href="<?=$rs["items"][$i]["link"]?>">»</a></td> |
<td><a href="<?=$rs["items"][$i]["link"]?>">»</a></td> |
| 82 |
</tr> |
</tr> |