[bugs] [Bug 1054] Changed - Added onClick to mailbox view

bugs@bugs.horde.org bugs@bugs.horde.org
Thu, 19 Sep 2002 14:30:10 -0300


http://bugs.horde.org/show_bug.cgi?id=1054

*** shadow/1054	Thu Sep 19 14:26:17 2002
--- shadow/1054.tmp.14569	Thu Sep 19 14:30:09 2002
***************
*** 18,20 ****
--- 18,44 ----
  to have, rather than having to click on the name or subject of the email.
  
  I will submit the patch as an attachement next.
+ 
+ ------- Additional Comments From itter@island.net  09/19/02 14:30 -------
+ Apparently I can't submit files to this bugzilla. I'll paste it in here instead.
+ Hopefully, it'll be useable. If you want it emailed instead, let me know the
+ address.
+ --- templates/mailbox/message_summaries.inc~	Fri Apr 12 05:32:49 2002
+ +++ templates/mailbox/message_summaries.inc	Thu Sep 19 10:13:09 2002
+ @@ -1,4 +1,4 @@
+ -<tr class="<?= $bg ?>" onmouseover="javascript:style.backgroundColor='<?=
+ $css['.' . $bg . '-hi']['background-color'] ?>'"
+ onmouseout="javascript:style.backgroundColor='<?= $css['.' .
+ $bg]['background-color'] ?>'">
+ +<tr class="<?= $bg ?>" onClick="location.href='<?=
+ Horde::applicationUrl($target, "true") ?>';"
+ onmouseover="javascript:style.backgroundColor='<?= $css['.' . $bg .
+ '-hi']['background-color'] ?>'"
+ onmouseout="javascript:style.backgroundColor='<?= $css['.' .
+ $bg]['background-color'] ?>'">
+    <td nowrap="nowrap">
+      <input type="checkbox" name="indices[]" value="<?php echo $h->uid; if
+ ($imp['mailbox'] == '**search') echo ':' . $message['folder']; ?>" /><?= $status ?>
+    </td>
+ 
+