From: Michael M Slusarz Date: Wed, 12 Nov 2008 05:39:49 +0000 (-0700) Subject: No need for external status message anymore. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=8eb5c232f6dcfbacc3d562e9eb8f1447bf852b27;p=horde.git No need for external status message anymore. --- 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']