From 647b74fcb275dadefff6005ccdf6689af98d5e8f Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Sat, 21 May 2005 08:58:19 +0000 Subject: [PATCH] fix the revcheck problem reported by Moosh: non-phpdoc diffs broken --- include/lib_proj_lang.inc.php | 15 ++++++++------- www/revcheck.php | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/include/lib_proj_lang.inc.php b/include/lib_proj_lang.inc.php index da976f4..d3cdc93 100644 --- a/include/lib_proj_lang.inc.php +++ b/include/lib_proj_lang.inc.php @@ -26,13 +26,14 @@ $Id$ // Map of supported documentation types to CVS module names $PROJECTS = array( - 'www' => array('Documentation', ''), - 'php' => array('PHP Documentation', 'phpdoc-all'), - 'smarty' => array('Smarty', 'smarty/docs'), - 'pear' => array('PEAR Documentation', 'peardoc'), - 'gtk' => array('PHP-GTK Documentation', 'php-gtk-docs'), - 'livedocs' => array('Livedocs', ''), - 'pecl' => array('PECL Documentation', ''), +// project => (Name, local folder, cvs module) + 'www' => array('Documentation', '', ''), + 'php' => array('PHP Documentation', 'phpdoc-all', 'phpdoc/en'), + 'smarty' => array('Smarty', 'smarty/docs', 'smarty/docs/en'), + 'pear' => array('PEAR Documentation', 'peardoc', 'peardoc/en'), + 'gtk' => array('PHP-GTK Documentation', 'php-gtk-doc', 'php-gtk-doc/manual/en'), + 'livedocs' => array('Livedocs', '', ''), + 'pecl' => array('PECL Documentation', '', ''), ); // Supported languages diff --git a/www/revcheck.php b/www/revcheck.php index 52daa0b..ba00d81 100644 --- a/www/revcheck.php +++ b/www/revcheck.php @@ -410,7 +410,7 @@ END_OF_MULTILINE; // 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"] = "" . $r["file"] . "";