/[svn.andrew.net.au]/changelogs.debian.net/changelog.php
ViewVC logotype

Diff of /changelogs.debian.net/changelog.php

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

revision 4 by apollock, Wed Jun 28 04:30:16 2006 UTC revision 17 by apollock, Wed May 16 06:44:39 2007 UTC
# Line 57  The package name you provided, <B><?php Line 57  The package name you provided, <B><?php
57                          $result = ereg_replace("#([[:digit:]]{1,6})", "#<a href=\"http://bugs.debian.org/\\1\" class=\"bts\" title=\"View bug #\\1 in the BTS\">\\1</a>", $result);                          $result = ereg_replace("#([[:digit:]]{1,6})", "#<a href=\"http://bugs.debian.org/\\1\" class=\"bts\" title=\"View bug #\\1 in the BTS\">\\1</a>", $result);
58    
59                          foreach (explode("\n", $result) as $line) {                          foreach (explode("\n", $result) as $line) {
60                                  if (ereg("\(.*\) (unstable|stable|testing|experimental); urgency=", $line)) {                                  if (ereg("\((.*)\) (unstable|stable|testing|experimental); urgency=", $line, $matches)) {
61                                          $line = "<span class=\"header\">" . $line . "</span>";                                          $line = "<a name=\"" . $matches[1] . "\"><span class=\"header\">" . $line . "</span></a>";
62                                  }                                  }
63                                  if (ereg("^ --",$line)) {                                  if (ereg("^ --",$line)) {
64                                          $line = ereg_replace("-- (.*) &lt;(.*)&gt;", "-- \\1 &lt;<a href=\"http://qa.debian.org/developer.php?login=\\2\" class=\"ddpo\" title=\"View the Debian Developer Package Overview for \\1\">\\2</a>&gt;", $line);                                          $line = ereg_replace("-- (.*) &lt;(.*)&gt;", "-- \\1 &lt;<a href=\"http://qa.debian.org/developer.php?login=\\2\" class=\"ddpo\" title=\"View the Debian Developer Package Overview for \\1\">\\2</a>&gt;", $line);

Legend:
Removed from v.4  
changed lines
  Added in v.17

  ViewVC Help
Powered by ViewVC 1.1.22