diff --git a/include/lib_general.inc.php b/include/lib_general.inc.php index e8ba5a5..d027ac9 100644 --- a/include/lib_general.inc.php +++ b/include/lib_general.inc.php @@ -195,7 +195,7 @@ function site_nav_provider() $links['checkent'] = BASE_URL . '/checkent.php'; break; } - + // English only if ((LANGC == 'all' || LANGC == 'en') && SITE == 'php') { $links['orphan-notes'] = BASE_URL . '/orphan_notes.php'; diff --git a/include/lib_proj_lang.inc.php b/include/lib_proj_lang.inc.php index 0ac5e0c..ed97b89 100644 --- a/include/lib_proj_lang.inc.php +++ b/include/lib_proj_lang.inc.php @@ -29,8 +29,6 @@ $PROJECTS = array( // project => (Name, local folder, cvs module) 'www' => array('Documentation', '', ''), 'php' => array('PHP Documentation', DOC_DIR, 'phpdoc/en'), - 'pear' => array('PEAR Documentation', PEAR_DIR, 'peardoc/en'), - 'gtk' => array('PHP-GTK Documentation', GTK_DIR, 'php-gtk-doc/manual/en'), 'phd' => array('phd', '', ''), ); diff --git a/scripts/checkent.php b/scripts/checkent.php index 70c472c..51ac3cc 100755 --- a/scripts/checkent.php +++ b/scripts/checkent.php @@ -34,16 +34,6 @@ switch (isset($_SERVER['argv'][1]) ? $_SERVER['argv'][1] : false) { $entType = 'php'; break; - case 'peardoc': - $filename = SVN_DIR . '/' . PEAR_DIR. '/entities/global.ent'; - $entType = 'pear'; - break; - - case 'gtk': - $filename = SVN_DIR . GTK_DIR. '/manual/global.ent'; - $entType = 'gtk'; - break; - default: echo "Usage: {$_SERVER['argv'][0]} phpdoc|peardoc|gtk\n"; die(); diff --git a/scripts/gen_picture_info_all_lang.php b/scripts/gen_picture_info_all_lang.php index f220f90..0300a4e 100644 --- a/scripts/gen_picture_info_all_lang.php +++ b/scripts/gen_picture_info_all_lang.php @@ -11,9 +11,7 @@ include '../include/lib_revcheck.inc.php'; // Couleurs des barres, suivant le type de la doc $type_col_bar = array( -'php' => '9999cc', -'pear' => '339900', -'gtk' => '0099cc' +'php' => '9999cc' ); diff --git a/scripts/rev.php b/scripts/rev.php index 980353c..af90f60 100644 --- a/scripts/rev.php +++ b/scripts/rev.php @@ -65,7 +65,7 @@ include '../include/init.inc.php'; // grab the documentation type $TYPE = array_shift($argv); -if (!in_array($TYPE, array('php', 'pear'))) { +if ($TYPE != 'php') { echo "Error: The revcheck script is not available yet for $TYPE\n"; exit(0); } diff --git a/templates/all/www/shared/nav_projects.tpl.php b/templates/all/www/shared/nav_projects.tpl.php index fccf954..603bf1d 100644 --- a/templates/all/www/shared/nav_projects.tpl.php +++ b/templates/all/www/shared/nav_projects.tpl.php @@ -1,5 +1,3 @@ - -