From 30476fac678c338052ed5f4bdb7544f5ebcb3374 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Thu, 23 Aug 2007 06:20:13 +0000 Subject: [PATCH] removing td when renaming : long file currently appears in a too long line + adding the case whene we check nothing and click 'delete' --- bureau/admin/bro_main.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/bureau/admin/bro_main.php b/bureau/admin/bro_main.php index d1c651ad..cbc76f1d 100644 --- a/bureau/admin/bro_main.php +++ b/bureau/admin/bro_main.php @@ -61,7 +61,7 @@ if ($formu) { if (!$bro->DeleteFile($d,$R)) { print $err->errstr(); } - } elseif (!$cancel){ + } elseif (!$cancel && is_array($d)) { include("head.php"); ?> @@ -145,18 +145,17 @@ include("head.php"); \n"; echo "
\n"; echo "\n"; echo "\n"; - echo ""._("Rename").""; + echo "

"._("Rename")."

"; for ($i=0;$i".$d[$i].""; - echo ""; + echo "

"._("Old Name:")." ".$d[$i]."
"; + echo _("New Name:")."

"; } - echo ""; - echo "\n"; + echo "

"; + echo "\n"; echo "
\n"; }