From 8eb5c232f6dcfbacc3d562e9eb8f1447bf852b27 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 11 Nov 2008 22:39:49 -0700 Subject: [PATCH] No need for external status message anymore. --- imp/config/mime_drivers.php.dist | 3 --- imp/lib/Mime/Viewer/html.php | 8 -------- 2 files changed, 11 deletions(-) diff --git a/imp/config/mime_drivers.php.dist b/imp/config/mime_drivers.php.dist index 0c7e4290a..b4961825f 100644 --- a/imp/config/mime_drivers.php.dist +++ b/imp/config/mime_drivers.php.dist @@ -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, diff --git a/imp/lib/Mime/Viewer/html.php b/imp/lib/Mime/Viewer/html.php index 92d21cdb4..5b1e62d30 100644 --- a/imp/lib/Mime/Viewer/html.php +++ b/imp/lib/Mime/Viewer/html.php @@ -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'] -- 2.11.0