cvs: peardoc /scripts revcheck_pear.php
| From: | Yannick Torres | Date: | Fri, 16 Dec 2005 18:38:00 +0000 |
| Subject: | cvs: peardoc /scripts revcheck_pear.php | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-7319@lists.php.net to get a copy of this message | ||
yannick Fri Dec 16 18:38:00 2005 EDT
Modified files:
/peardoc/scripts revcheck_pear.php
Log:
fix links to new cvs server
http://cvs.php.net/viewcvs.cgi/peardoc/scripts/revcheck_pear.php?r1=1.6&r2=1.7&diff_format=u
Index: peardoc/scripts/revcheck_pear.php
diff -u peardoc/scripts/revcheck_pear.php:1.6 peardoc/scripts/revcheck_pear.php:1.7
--- peardoc/scripts/revcheck_pear.php:1.6 Sun Jul 3 08:37:23 2005
+++ peardoc/scripts/revcheck_pear.php Fri Dec 16 18:37:59 2005
@@ -20,7 +20,7 @@
# | Jan Fabry <cheezy@php.net> |
# | Thierry Bothorel <thierry_bo@php.net> |
# +----------------------------------------------------------------------+
-# $Id: revcheck_pear.php,v 1.6 2005/07/03 08:37:23 yannick Exp $
+# $Id: revcheck_pear.php,v 1.7 2005/12/16 18:37:59 yannick Exp $
# EN-Revision: 1.35 Maintainer: thierry_bo Status: ready
*/
error_reporting (E_ALL ^ E_NOTICE);
@@ -88,7 +88,7 @@
// Option for the link to cvs.php.net: normal: "&f=h"
// long diff: "&f=h&num=10", unified (text): "&f=u"
-define("CVS_OPT", "&f=h&num=10");
+define("CVS_OPT", "");
// Initializing variables from parameters
$LANG = $argv[1];
@@ -1012,19 +1012,19 @@
// Guess the new directory from the full name of the file
$new_dir = dirname($file);
-
+
// If this is a new directory, put out dir headline
if ($new_dir != $prev_dir) {
-
+
// Print out directory header if not "."
print "<tr class=blue><th
colspan=2>$new_dir</th></tr>\n";
-
+
// Store the new actual directory
$prev_dir = $new_dir;
}
-
- print "<tr class=wip><td><a href=\"http://cvs.php.net/co.php/peardoc/en/$file\">$short_file</a></td>"
.
- "<td class=r>$info[0]</td></tr>\n";
+
+ print "<tr class=wip><td><a href=\"http://cvs.php.net/co.php/peardoc/en/$file?view=markup\">$short_file</a></td>"
.
+ "<td class=r>$info[0]</td></tr>\n";
}
print
"</table>\n<p> </p>\n$navbar<p> </p>\n";