From 608f5b71048140aeef0847e2d097065650188d0c Mon Sep 17 00:00:00 2001 From: x2003bruneau Date: Mon, 6 Mar 2006 14:22:11 +0000 Subject: [PATCH] =?utf8?q?N'utilise=20plus=20de=20pj.php=20distinct=20du?= =?utf8?q?=20index.php=20pour=20les=20pi=C3=83=C5=A1ces=20jointes?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@31 9869982d-c50d-0410-be91-f2a2ec7c7c7b --- banana/post.inc.php | 4 ++-- examples/index.php | 4 ++++ examples/pj.php | 39 --------------------------------------- 3 files changed, 6 insertions(+), 41 deletions(-) delete mode 100644 examples/pj.php 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 -
-
- - - - -- 2.1.4