From 75d91f00f1fcd9d2a93260de7fe9ef89e6ee3a0e Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 4 Dec 2008 22:38:56 -0700 Subject: [PATCH] Remove some unnecessary tooltip info. --- imp/lib/Contents.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imp/lib/Contents.php b/imp/lib/Contents.php index 025f63c51..63d133e99 100644 --- a/imp/lib/Contents.php +++ b/imp/lib/Contents.php @@ -547,7 +547,7 @@ class IMP_Contents if ($mask & self::SUMMARY_DESCRIP_LINK) { $part['description'] = $this->canDisplay($id, self::RENDER_FULL) - ? $this->linkViewJS($mime_part, 'view_attach', htmlspecialchars($description), array('jstext' => sprintf(_("View %s [%s]"), $description, $mime_type), 'params' => $param_array)) + ? $this->linkViewJS($mime_part, 'view_attach', htmlspecialchars($description), array('jstext' => sprintf(_("View %s"), $description), 'params' => $param_array)) : htmlspecialchars($description); } elseif ($mask & self::SUMMARY_DESCRIP_NOLINK) { $part['description'] = htmlspecialchars($description); @@ -559,7 +559,7 @@ class IMP_Contents if ($is_atc && ($mask & self::SUMMARY_DOWNLOAD) && (is_null($part['bytes']) || $part['bytes'])) { - $part['download'] = $this->linkView($mime_part, 'download_attach', '', array('class' => 'downloadAtc', 'dload' => true, 'jstext' => sprintf(_("Download %s"), $description))); + $part['download'] = $this->linkView($mime_part, 'download_attach', '', array('class' => 'downloadAtc', 'dload' => true, 'jstext' => _("Download"))); } /* Display the compressed download link only if size is greater -- 2.11.0