From: x2003bruneau Date: Mon, 6 Mar 2006 14:22:11 +0000 (+0000) Subject: N'utilise plus de pj.php distinct du index.php pour les piÚces jointes X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=236c6b2a0f6e71f87c0d3b93d9578c5a3a32c5d4;p=banana.git N'utilise plus de pj.php distinct du index.php pour les piÚces jointes git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@31 9869982d-c50d-0410-be91-f2a2ec7c7c7b --- diff --git a/banana/post.inc.php b/banana/post.inc.php index e0f3c5f..4c53722 100644 --- a/banana/post.inc.php +++ b/banana/post.inc.php @@ -384,8 +384,8 @@ class BananaPost $i = 0; foreach ($this->pj as $file) { $res .= $file['filename'].' ('.$file['MIME'].') : '; - $res .= 'télécharger'; - $res .= ' . aperçu'; + $res .= 'télécharger'; + $res .= ' . aperçu'; $res .= '
'; $i++; } diff --git a/examples/index.php b/examples/index.php index 7893f06..1fd3455 100644 --- a/examples/index.php +++ b/examples/index.php @@ -10,6 +10,7 @@ require_once("banana/banana.inc.php"); $res = Banana::run(); +if ($res != "") { ?> @@ -33,3 +34,6 @@ $res = Banana::run(); + diff --git a/examples/pj.php b/examples/pj.php deleted file mode 100644 index dd55f19..0000000 --- a/examples/pj.php +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - Banana, a NNTP<->Web Gateway - - - -
- -
- Banana, a Web interface for a NNTP Server
- Developed under GPL License for Polytechnique.org -
-
- - - -