[dev] [patch] imp summary block

Ben Chavet ben at chavet.net
Thu Jul 1 07:14:52 PDT 2004


I tried moving the message count to the left of the folder name and it
just didn't look right.  

This patch keeps the numbers to the right, but pulls them closer to the
folder names so it is easier to tell which folder the numbers belong to.

--Ben
-------------- next part --------------
Index: summary.php
===================================================================
RCS file: /repository/imp/lib/Block/summary.php,v
retrieving revision 1.41
diff -u -r1.41 summary.php
--- summary.php	25 Jun 2004 17:40:54 -0000	1.41
+++ summary.php	1 Jul 2004 14:06:21 -0000
@@ -39,7 +39,7 @@
         $authentication = 'none';
         require dirname(__FILE__) . '/../base.php';
 
-        $html = '<table border="0" cellpadding="0" cellspacing="0" width="100%">';
+        $html = '<table border="0" cellpadding="0" cellspacing="0">';
 
         $auth = false;
         if (IMP::checkAuthentication(OP_HALFOPEN, true) === true) {
@@ -97,7 +97,7 @@
                            }
                            $url = Util::addParameter(Horde::applicationUrl('mailbox.php', true), 'no_newmail_popup', 1);
                            $url = Util::addParameter($url, 'mailbox', $folder);
-                           $html .= '<tr style="cursor:pointer" class="text" onclick="self.location=\'' . $url . '\'"><td>';
+                           $html .= '<tr><td>';
                            if (!empty($info['unseen'])) {
                                $html .= '<b>';
                                $anyUnseen = true;


More information about the dev mailing list