tweaks
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 25 Dec 2009 16:30:57 +0000 (09:30 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 25 Dec 2009 16:30:57 +0000 (09:30 -0700)
imp/acl.php
imp/themes/screen-dimp.css

index a435451..12b2e39 100644 (file)
@@ -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 = '';
index cf14a1f..c48cba7 100644 (file)
@@ -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 */