/[debian-med]/trunk/community/website/index.php
ViewVC logotype

Diff of /trunk/community/website/index.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 517 by hanska-guest, Tue Oct 2 13:49:06 2007 UTC revision 518 by hanska-guest, Tue Oct 2 14:05:37 2007 UTC
# Line 70  Line 70 
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"]?>">&raquo;</a></td>                                          <td><a href="<?=$rs["items"][$i]["link"]?>">&raquo;</a></td>
82                                  </tr>                                  </tr>

Legend:
Removed from v.517  
changed lines
  Added in v.518

  ViewVC Help
Powered by ViewVC 1.1.5