com web/doc: PHP-GTK and PEAR are no longer supported on this site: include/lib_general.inc.php include/lib_proj_lang .inc.php scripts/checkent.php scripts/gen_picture _info_all_lang.php scripts/rev.php templates/all/ www/shared/nav_projects.tpl.php
Commit: 47f7007318ea0c47a943ab569fa3cfa7b41cbac2
Author: Sobak <[email protected]> Tue, 18 Mar 2014 05:27:00 +0100
Parents: f85b309b6bb9ede2610758e28baadb54d211c012
Branches: master
Link: http://git.php.net/?p=web/doc.git;a=commitdiff;h=47f7007318ea0c47a943ab569fa3cfa7b41cbac2
Log:
PHP-GTK and PEAR are no longer supported on this site
Changed paths:
M include/lib_general.inc.php
M include/lib_proj_lang.inc.php
M scripts/checkent.php
M scripts/gen_picture_info_all_lang.php
M scripts/rev.php
M templates/all/www/shared/nav_projects.tpl.php
Diff:
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 @@
<a href="<?php echo get_insite_address('www'); ?>" class="logo logo-all">&docweb.common.all;</a>
<a href="<?php echo get_insite_address('php'); ?>" class="logo logo-php">&docweb.common.project.php;</a>
- <a href="<?php echo get_insite_address('pear'); ?>" class="logo logo-pear">&docweb.common.project.pear;</a>
- <a href="<?php echo get_insite_address('gtk'); ?>" class="logo logo-gtk">&docweb.common.project.php-gtk;</a>
<a href="<?php echo get_insite_address('phd'); ?>" class="logo logo-phd">&docweb.common.project.phd;</a>
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.