From 797608453416aae7b698e5ab8832af998ce87d88 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 17 Apr 2011 15:49:31 +0000 Subject: [PATCH] Enable style swap in ecm module --- htdocs/core/class/html.formfile.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index bdf6e2ceb3d..f04ff69d936 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -375,7 +375,7 @@ class FormFile print ''; print ''; - + // Hook of thirdparty module if (! empty($hooks) && is_array($hooks)) { @@ -490,7 +490,7 @@ class FormFile // Affiche liste des documents existant if (empty($useinecm)) print_titre($langs->trans("AttachedFiles")); - else { $bc[true]=''; $bc[false]=''; }; + //else { $bc[true]=''; $bc[false]=''; }; $url=$_SERVER["PHP_SELF"]; print ''; print ''; @@ -513,7 +513,7 @@ class FormFile if (! $relativepath) $relativepath=dol_sanitizeFileName($object->ref).'/'; $var=!$var; - print "
"; + print '
'; //print "XX".$file['name']; //$file['name'] must be utf8 print '