diff --git a/library/ZendAfi/View/Helper/Admin/FileManager/File.php b/library/ZendAfi/View/Helper/Admin/FileManager/File.php index d7d821f2a8216b4d750dc4951933f2cb28575737..aec701367c92b32a63826e626382f3c9650ad7ff 100644 --- a/library/ZendAfi/View/Helper/Admin/FileManager/File.php +++ b/library/ZendAfi/View/Helper/Admin/FileManager/File.php @@ -97,7 +97,7 @@ class ZendAfi_View_Helper_Admin_FileManager_File extends ZendAfi_View_Helper_Bas $preview = $this->_tag('h3' , $this->_('Contenu du fichier')) . $this->_tag('pre', - $file->getContent()); + htmlentities($file->getContent())); return $this->_tag('div', implode([$dl, diff --git a/public/opac/java/file-manager/file-manager.css b/public/opac/java/file-manager/file-manager.css index 016a14553d9cd0bcf25a00f8bcb4e19e351849ad..affd51cb52f7692aec6202d075609703d693644d 100644 --- a/public/opac/java/file-manager/file-manager.css +++ b/public/opac/java/file-manager/file-manager.css @@ -121,7 +121,6 @@ body .file-manager .browser [id^="file-manage"] * { background-color: transparent; } -body #opac-dialog .browser dl, body #opac-dialog .browser dl, body #opac-dialog .browser dd, body .file-manager dt, @@ -247,10 +246,8 @@ body .file-manager .browser dl { text-align: left; } -body #opac-dialog .browser dl, body #opac-dialog .browser dl dt, body #opac-dialog .browser dl dd , -body .file-manager .browser dl, body .file-manager .browser dl dt, body .file-manager .browser dl dd { float: left; @@ -327,4 +324,5 @@ body #opac-dialog .browser pre, body .file-manager .browser pre { max-height: 300px; overflow: auto; + width: 100%; } \ No newline at end of file