No need for external status message anymore.
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 12 Nov 2008 05:39:49 +0000 (22:39 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 12 Nov 2008 05:39:49 +0000 (22:39 -0700)
imp/config/mime_drivers.php.dist
imp/lib/Mime/Viewer/html.php

index 0c7e429..b496182 100644 (file)
@@ -73,9 +73,6 @@ $mime_drivers['imp']['html'] = array(
     'icons' => array(
         'default' => 'html.png'
     ),
-    /* If you don't want to display the link to open the HTML content in a
-     * separate window, set the following to false. */
-    'external' => true,
     /* Run 'tidy' on all HTML output? This requires at least version 2.0 of the
      * PECL 'tidy' extension to be installed on your system. */
     'tidy' => false,
index 92d21cd..5b1e62d 100644 (file)
@@ -218,14 +218,6 @@ class IMP_Horde_Mime_Viewer_html extends Horde_Mime_Viewer_html
             }
         }
 
-        /* If we are viewing inline, give option to view in separate window. */
-        if ($inline && $this->getConfigParam('external')) {
-            $cleanhtml['status'][] = array(
-                'text' => array($this->_params['contents']->linkViewJS($this->_mimepart, 'view_attach', _("Show this HTML in a new window?"))),
-                'type' => 'info'
-            );
-        }
-
         return array(
             'html' => $data,
             'status' => $cleanhtml['status']