cvs: docweb /www revcheck.php

[email protected] ("Nuno Lopes")
Newsgroups php.doc.web
Message-ID <cvsnlopess1139178983@cvsserver>
nlopess		Sun Feb  5 22:36:23 2006 UTC

  Modified files:              
    /docweb/www	revcheck.php 
  Log:
  update links to on-line CVS diffs
  
http://cvs.php.net/viewcvs.cgi/docweb/www/revcheck.php?r1=1.20&r2=1.21&diff_format=u
Index: docweb/www/revcheck.php
diff -u docweb/www/revcheck.php:1.20 docweb/www/revcheck.php:1.21
--- docweb/www/revcheck.php:1.20	Sun Feb  5 20:50:07 2006
+++ docweb/www/revcheck.php	Sun Feb  5 22:36:23 2006
@@ -1,5 +1,5 @@
 <?php
-/* $Id: revcheck.php,v 1.20 2006/02/05 20:50:07 nlopess Exp $ */
+/* $Id: revcheck.php,v 1.21 2006/02/05 22:36:23 nlopess Exp $ */
 
 include '../include/init.inc.php';
 include '../include/lib_revcheck.inc.php';
@@ -470,18 +470,18 @@
 
                     // If we have a 'numeric' revision diff and it is not zero,
                     // make a link to the CVS repository's diff script
-                    $r["short_name"] = "<a href=\"http://cvs.php.net/diff.php/" .
+                    $r['short_name'] = '<a href="http://cvs.php.net/viewcvs.cgi/' .
                     $PROJECTS[$project][2] . $r['name'] .'/' . $r['file'] .
                     "?r1=1." . $r["trans_rev"] .
                     "&amp;r2=1." . $r["en_rev"] .
-                    "&amp;ty=u\">" . $r["file"] . "</a>";
+                    '&amp;view=patch">' . $r['file'] . '</a>';
 
                     // Add a [NoWS] link
-                    $r['short_name'] .= ' <a href="http://cvs.php.net/diff.php/' .
+                    $r['short_name'] .= ' <a href="http://cvs.php.net/viewcvs.cgi/' .
                     $PROJECTS[$project][2] . $r['name'] .'/' . $r['file'] .
                     '?r1=1.' . $r['trans_rev'] .
                     '&amp;r2=1.' . $r['en_rev'] .
-                    '&amp;ty=u&amp;ws=0">[NoWS]</a>';
+                    '">[NoWS]</a>';
 
 
                     // Write out the line for the current file (get file name shorter)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.