From: Michael M Slusarz Date: Mon, 16 Aug 2010 07:46:19 +0000 (-0600) Subject: Tweak display of compressed file information X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=061b830c421e3abfd060f5bde6eae91d5330fb47;p=horde.git Tweak display of compressed file information --- diff --git a/framework/Mime_Viewer/lib/Horde/Mime/Viewer/Rar.php b/framework/Mime_Viewer/lib/Horde/Mime/Viewer/Rar.php index 474bf6f4a..bc7ba4e64 100644 --- a/framework/Mime_Viewer/lib/Horde/Mime/Viewer/Rar.php +++ b/framework/Mime_Viewer/lib/Horde/Mime/Viewer/Rar.php @@ -80,10 +80,7 @@ class Horde_Mime_Viewer_Rar extends Horde_Mime_Viewer_Base $monospace = $this->getConfigParam('monospace'); - $text = '' . - htmlspecialchars(sprintf(_("Contents of \"%s\""), $name)) . - ":\n" . - '
' : 'style="font-family:monospace">') . $this->_textFilter(_("Archive Name") . ': ' . $name, 'space2html', array( 'charset' => $charset, diff --git a/framework/Mime_Viewer/lib/Horde/Mime/Viewer/Tgz.php b/framework/Mime_Viewer/lib/Horde/Mime/Viewer/Tgz.php index ed91cc027..49db5eaee 100644 --- a/framework/Mime_Viewer/lib/Horde/Mime/Viewer/Tgz.php +++ b/framework/Mime_Viewer/lib/Horde/Mime/Viewer/Tgz.php @@ -98,8 +98,7 @@ class Horde_Mime_Viewer_Tgz extends Horde_Mime_Viewer_Base $monospace = $this->getConfigParam('monospace'); - $text = '' . htmlspecialchars(sprintf(_("Contents of \"%s\""), $name)) . ":\n" . - '
' : 'style="font-family:monospace">') . $this->_textFilter(_("Archive Name") . ': ' . $name, 'Space2html', array( 'charset' => $charset, diff --git a/framework/Mime_Viewer/lib/Horde/Mime/Viewer/Zip.php b/framework/Mime_Viewer/lib/Horde/Mime/Viewer/Zip.php index 9d1ba0e0c..635aef310 100644 --- a/framework/Mime_Viewer/lib/Horde/Mime/Viewer/Zip.php +++ b/framework/Mime_Viewer/lib/Horde/Mime/Viewer/Zip.php @@ -99,8 +99,7 @@ class Horde_Mime_Viewer_Zip extends Horde_Mime_Viewer_Base $monospace = $this->getConfigParam('monospace'); - $text = '' . htmlspecialchars(sprintf(_("Contents of \"%s\""), $name)) . ":\n" . - '
' : 'style="font-family:monospace">') . $this->_textFilter( _("Archive Name") . ': ' . $name . "\n" .