From 8b39f655db4d8b0ce9f12af8ec8aca9cb54943ca Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 25 Dec 2009 09:30:57 -0700 Subject: [PATCH] tweaks --- imp/acl.php | 6 +++--- imp/themes/screen-dimp.css | 11 +++++------ 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/imp/acl.php b/imp/acl.php index a435451d6..12b2e39ff 100644 --- a/imp/acl.php +++ b/imp/acl.php @@ -18,7 +18,7 @@ new IMP_Application(array('init' => true)); /* Redirect back to the options screen if ACL is not enabled. */ $prefs_url = Horde::getServiceLink('options', 'imp'); if ($prefs->isLocked('acl') || empty($_SESSION['imp']['acl'])) { - $notification->push(_("Folder sharing is not enabled."), 'horde.error'); + $notification->push('Folder sharing is not enabled.', 'horde.error'); header('Location: ' . $prefs_url); exit; } @@ -26,7 +26,7 @@ if ($prefs->isLocked('acl') || empty($_SESSION['imp']['acl'])) { try { $ACLDriver = IMP_Imap_Acl::singleton(); } catch (Horde_Exception $e) { - $notification->push($error, _("This server does not support sharing folders.")); + $notification->push(_("This server does not support sharing folders."), 'horde.error'); header('Location: ' . $prefs_url); exit; } @@ -36,7 +36,7 @@ $folder = Horde_Util::getFormData('folder'); $new_user = Horde_Util::getFormData('new_user'); if ($new_user) { $new_acl = Horde_Util::getFormData('new_acl'); - /* check to see if $new_user already has an acl on the folder */ + /* Check to see if $new_user already has an acl on the folder. */ if (isset($acls[$new_user])) { $acls[$new_user] = $new_acl; $new_user = ''; diff --git a/imp/themes/screen-dimp.css b/imp/themes/screen-dimp.css index cf14a1fe9..c48cba7b1 100644 --- a/imp/themes/screen-dimp.css +++ b/imp/themes/screen-dimp.css @@ -562,23 +562,22 @@ div.dimpActionsCompose, div.dimpActionsMsg { float: right; text-align: right; } +#msgHeadersColl span.subject, #msgHeadersColl span.from { + overflow: hidden; + text-overflow: ellipsis; + -o-text-overflow: ellipsis; +} #msgHeadersColl span.subject { float: left; font-weight: bold; max-width: 50%; - overflow: hidden; padding-left: 2px; - text-overflow: ellipsis; - -o-text-overflow: ellipsis; } #msgHeadersColl span.fromcontainer { padding-left: 5px; } #msgHeadersColl span.from { max-width: 40%; - overflow: hidden; - text-overflow: ellipsis; - -o-text-overflow: ellipsis; } /* end msg small header */ -- 2.11.0