diff --git a/includes/saisie/index.php b/includes/saisie/index.php
index 0f546958e..25659168a 100644
--- a/includes/saisie/index.php
+++ b/includes/saisie/index.php
@@ -82,6 +82,9 @@ switch ( $action ) {
$output = '
';
diff --git a/includes/saisie/saisie_logo_upload.php b/includes/saisie/saisie_logo_upload.php
index cbca3bf2c..aafc13453 100644
--- a/includes/saisie/saisie_logo_upload.php
+++ b/includes/saisie/saisie_logo_upload.php
@@ -20,18 +20,17 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST')
}
if ( !empty($ext) ){
// on copie le fichier dans le dossier de destination
- $name_file = 'tmp_'.$siren.'.'.$ext;
+ $name_file = $siren.'.'.$ext;
if ( file_exists(PATH_LOGOS . $name_file) ){
unlink(PATH_LOGOS . $name_file);
}
if( !move_uploaded_file($tmp_file, PATH_LOGOS . $name_file) ) {
$output.= '';
} else {
- $output.= 'Fichier récupérer.
';
+ $output.= '';
$output.= '
';
- $output.= 'Sauvegarder l\'image';
- $output.= '
';
- $output.= 'Editer l\'image';
+ $output.= 'Editer l\'image';
}
} else {
$output.= '';
diff --git a/includes/saisie/saisie_logo_url.php b/includes/saisie/saisie_logo_url.php
index e7db404ab..52c41c00e 100644
--- a/includes/saisie/saisie_logo_url.php
+++ b/includes/saisie/saisie_logo_url.php
@@ -24,10 +24,7 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST')
fclose($fp);
$output = '