cvs: docweb /www revcheck.php
[email protected] ("Nuno Lopes")
| Newsgroups | php.doc.web |
|---|---|
| Message-ID | <cvsnlopess1116758434@cvsserver> |
nlopess Sun May 22 06:40:34 2005 EDT
Modified files:
/docweb/www revcheck.php
Log:
add a no-white-space diff link. may be usefull when upgrading to the new style
http://cvs.php.net/diff.php/docweb/www/revcheck.php?r1=1.16&r2=1.17&ty=u
Index: docweb/www/revcheck.php
diff -u docweb/www/revcheck.php:1.16 docweb/www/revcheck.php:1.17
--- docweb/www/revcheck.php:1.16 Sat May 21 04:58:19 2005
+++ docweb/www/revcheck.php Sun May 22 06:40:33 2005
@@ -1,5 +1,5 @@
<?php
-/* $Id: revcheck.php,v 1.16 2005/05/21 08:58:19 nlopess Exp $ */
+/* $Id: revcheck.php,v 1.17 2005/05/22 10:40:33 nlopess Exp $ */
include '../include/init.inc.php';
include '../include/lib_revcheck.inc.php';
@@ -415,6 +415,14 @@
"&r2=1." . $r["en_rev"] .
"&ty=u\">" . $r["file"] . "</a>";
+ // Add a [NoWS] link
+ $r['short_name'] .= ' <a href="http://cvs.php.net/diff.php/' .
+ $PROJECTS[$project][2] . $r['name'] .'/' . $r['file'] .
+ '?r1=1.' . $r['trans_rev'] .
+ '&r2=1.' . $r['en_rev'] .
+ '&ty=u&ws=0">[NoWS]</a>';
+
+
// Write out the line for the current file (get file name shorter)
echo "<tr class=\"{$CSS[$status_mark]}\">".
"<td>{$r['short_name']}</td>".