Skip to content

Commit

Permalink
Correction de la recherche dans la 9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gleu committed Dec 10, 2011
1 parent 3b56674 commit 7272aa9
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 45 deletions.
41 changes: 1 addition & 40 deletions www-docs.postgresql.fr/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@
$query = "SET client_encoding TO utf8;";
$result = pg_query($pgconn, $query);

$version['801'] = '8.1';
$version['802'] = '8.2';
$version['803'] = '8.3';
$version['804'] = '8.4';
$version['900'] = '9.0';
$version['910'] = '9.1';
$version['901'] = '9.1';
?>
<!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Expand Down Expand Up @@ -261,43 +259,6 @@ function addEngine(name,ext,cat,type)
</ul>
</div>
</div>
<div id="pg82">
<h2>Documentation PostgreSQL, version 8.2</h2>
<div class="listes">
<ul>
<li>Manuel au format HTML&nbsp;:
<a href="8.2/">Consultation en
ligne</a>,
t&eacute;l&eacute;chargement en
<a onclick="pageTracker._trackPageview('/pg821.zip');"
href="http://docs.postgresql.fr/8.2/pg82.zip">ZIP</a> ou
<a onclick="pageTracker._trackPageview('/pg82.tar.gz');"
href="http://docs.postgresql.fr/8.2/pg82.tar.gz">TAR.GZ</a>
</li>
<li>Manuel au format <a onclick="pageTracker._trackPageview('/pg82.chm');"
href="http://docs.postgresql.fr/8.2/pg82.chm">CHM</a>
(syst&egrave;me d'aide Windows)
</li>
<li>Manuel au format <a onclick="pageTracker._trackPageview('/pg82.pdf');"
href="http://docs.postgresql.fr/8.2/pg82.pdf">PDF</a>
</li>
<li>Document d'installation au format <a
onclick="pageTracker._trackPageview('/INSTALL82.html');"
href="http://docs.postgresql.fr/8.2/INSTALL.html">HTML</a> et
<a onclick="pageTracker._trackPageview('/INSTALL82.txt');"
href="http://docs.postgresql.fr/8.2/INSTALL.txt">texte</a>
</li>
<li><a onclick="pageTracker._trackPageview('/pg82.man.tar.gz');"
href="http://docs.postgresql.fr/8.2/pg82.man.tar.gz">Pages
man</a></li>
<!--
<li><a onclick="pageTracker._trackPageview('/plugin82.firefox');"
href="javascript:addEngine('pgfr-docs82','png','Computer',0)">
Plugin de recherche</a> pour Firefox et Mozilla</li>
-->
</ul>
</div>
</div>
</div>
</div>

Expand Down
40 changes: 38 additions & 2 deletions www-docs.postgresql.fr/index_obsoletes.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@
$query = "SET client_encoding TO utf8;";
$result = pg_query($pgconn, $query);

$version['801'] = '8.1';
$version['802'] = '8.2';
$version['803'] = '8.3';
$version['804'] = '8.4';
$version['900'] = '9.0';
$version['901'] = '9.1';
?>
<!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Expand Down Expand Up @@ -121,6 +120,43 @@ function addEngine(name,ext,cat,type)
<div id="docs">
<h1>Documentation des versions obsolètes</h1>
<p>Ces versions ne sont plus mises à jour par le projet PostgreSQL.</p>
<div id="pg82">
<h2>Documentation PostgreSQL, version 8.2</h2>
<div class="listes">
<ul>
<li>Manuel au format HTML&nbsp;:
<a href="8.2/">Consultation en
ligne</a>,
t&eacute;l&eacute;chargement en
<a onclick="pageTracker._trackPageview('/pg821.zip');"
href="http://docs.postgresql.fr/8.2/pg82.zip">ZIP</a> ou
<a onclick="pageTracker._trackPageview('/pg82.tar.gz');"
href="http://docs.postgresql.fr/8.2/pg82.tar.gz">TAR.GZ</a>
</li>
<li>Manuel au format <a onclick="pageTracker._trackPageview('/pg82.chm');"
href="http://docs.postgresql.fr/8.2/pg82.chm">CHM</a>
(syst&egrave;me d'aide Windows)
</li>
<li>Manuel au format <a onclick="pageTracker._trackPageview('/pg82.pdf');"
href="http://docs.postgresql.fr/8.2/pg82.pdf">PDF</a>
</li>
<li>Document d'installation au format <a
onclick="pageTracker._trackPageview('/INSTALL82.html');"
href="http://docs.postgresql.fr/8.2/INSTALL.html">HTML</a> et
<a onclick="pageTracker._trackPageview('/INSTALL82.txt');"
href="http://docs.postgresql.fr/8.2/INSTALL.txt">texte</a>
</li>
<li><a onclick="pageTracker._trackPageview('/pg82.man.tar.gz');"
href="http://docs.postgresql.fr/8.2/pg82.man.tar.gz">Pages
man</a></li>
<!--
<li><a onclick="pageTracker._trackPageview('/plugin82.firefox');"
href="javascript:addEngine('pgfr-docs82','png','Computer',0)">
Plugin de recherche</a> pour Firefox et Mozilla</li>
-->
</ul>
</div>
</div>
<div id="pg81">
<h2>Documentation PostgreSQL, version 8.1</h2>
<div class="listes">
Expand Down
3 changes: 1 addition & 2 deletions www-docs.postgresql.fr/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@
$query = "SET client_encoding TO utf8;";
$result = pg_query($pgconn, $query);

$version['801'] = '8.1';
$version['802'] = '8.2';
$version['803'] = '8.3';
$version['804'] = '8.4';
$version['900'] = '9.0';
$version['901'] = '9.1';
?>
<!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Expand Down
5 changes: 4 additions & 1 deletion www-docs.postgresql.fr/tools/addrelease.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,11 @@ function usage() {
case '9.0':
$version_int = 900;
break;
case '9.1':
$version_int = 901;
break;
default:
echo "Il s'agit d'une version majeure : 8.1, 8.2, 8.3, 8.4 ou 9.0.\n";
echo "Il s'agit d'une version majeure : 8.1, 8.2, 8.3, 8.4, 9.0 ou 9.1.\n";
exit;
break;
}
Expand Down

0 comments on commit 7272aa9

Please sign in to comment.