From f624d50f5ba5ffbbb1b24ce4d285b23d416fda47 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 13 Nov 2010 21:47:00 +0000 Subject: [PATCH] New: Text files are opend in a new tab. --- htdocs/core/class/html.formfile.class.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index d82db7d3c8d..ceb8780f908 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -410,7 +410,10 @@ class FormFile // Show file name with link to download if (!$iconPDF) print ''; - print ''; + print ''; if (!$iconPDF) { print img_mime($file["name"],$langs->trans("File").': '.$file["name"]).' '.dol_trunc($file["name"],$maxfilenamelength);