From d820634ebe6b00d7ab036fb8b1a434460b1052d8 Mon Sep 17 00:00:00 2001 From: "Committo,Ergo:sum" <esj@rezo.net> Date: Wed, 12 Jul 2006 07:10:17 +0000 Subject: [PATCH] =?UTF-8?q?r=C3=A9pertoire=20de=20t=C3=A9l=C3=A9chargement?= =?UTF-8?q?=20des=20logos=20personnalis=C3=A9=20pour=20les=20admins=20rest?= =?UTF-8?q?reints?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecrire/inc/logos.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ecrire/inc/logos.php b/ecrire/inc/logos.php index 6dd3d0ce74..35378d9baf 100644 --- a/ecrire/inc/logos.php +++ b/ecrire/inc/logos.php @@ -148,12 +148,13 @@ function afficher_logo($titre, $id_objet, $mode, $id, $script) { } if (!$afficher) { - echo _T('info_installer_images_dossier', - array('upload' => '<b>' . $dir_ftp . '</b>')); + if ($dir_ftp) + echo _T('info_installer_images_dossier', + array('upload' => '<b>' . $dir_ftp . '</b>')); } else { echo "\n<div style='text-align: left'>", _T('info_selectionner_fichier', - array('upload' => '<b>' . _DIR_TRANSFERT . '</b>')), + array('upload' => '<b>' . $dir_ftp . '</b>')), ":</div>"; echo "\n<select name='source' CLASS='forml' size='1'>"; echo $afficher; -- GitLab