Tweak display of compressed file information
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 16 Aug 2010 07:46:19 +0000 (01:46 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 16 Aug 2010 19:44:20 +0000 (13:44 -0600)
framework/Mime_Viewer/lib/Horde/Mime/Viewer/Rar.php
framework/Mime_Viewer/lib/Horde/Mime/Viewer/Tgz.php
framework/Mime_Viewer/lib/Horde/Mime/Viewer/Zip.php

index 474bf6f..bc7ba4e 100644 (file)
@@ -80,10 +80,7 @@ class Horde_Mime_Viewer_Rar extends Horde_Mime_Viewer_Base
 
         $monospace = $this->getConfigParam('monospace');
 
-        $text = '<strong>' .
-            htmlspecialchars(sprintf(_("Contents of \"%s\""), $name)) .
-            ":</strong>\n" .
-            '<table><tr><td align="left"><span ' .
+        $text = '<table><tr><td align="left"><span ' .
             ($monospace ? 'class="' . $monospace . '">' : 'style="font-family:monospace">') .
             $this->_textFilter(_("Archive Name") . ':  ' . $name, 'space2html', array(
                 'charset' => $charset,
index ed91cc0..49db5ea 100644 (file)
@@ -98,8 +98,7 @@ class Horde_Mime_Viewer_Tgz extends Horde_Mime_Viewer_Base
 
         $monospace = $this->getConfigParam('monospace');
 
-        $text = '<strong>' . htmlspecialchars(sprintf(_("Contents of \"%s\""), $name)) . ":</strong>\n" .
-            '<table><tr><td align="left"><span ' .
+        $text = '<table><tr><td align="left"><span ' .
             ($monospace ? 'class="' . $monospace . '">' : 'style="font-family:monospace">') .
             $this->_textFilter(_("Archive Name") . ':  ' . $name, 'Space2html', array(
                 'charset' => $charset,
index 9d1ba0e..635aef3 100644 (file)
@@ -99,8 +99,7 @@ class Horde_Mime_Viewer_Zip extends Horde_Mime_Viewer_Base
 
         $monospace = $this->getConfigParam('monospace');
 
-        $text = '<strong>' . htmlspecialchars(sprintf(_("Contents of \"%s\""), $name)) . ":</strong>\n" .
-            '<table><tr><td align="left"><span ' .
+        $text = '<table><tr><td align="left"><span ' .
             ($monospace ? 'class="' . $monospace . '">' : 'style="font-family:monospace">') .
             $this->_textFilter(
                 _("Archive Name") . ': ' . $name . "\n" .