From b19167005aa7b3df9bf1109d1dd8980aea4ecbd6 Mon Sep 17 00:00:00 2001 From: stekkel Date: Mon, 7 Oct 2002 19:16:09 +0000 Subject: [PATCH] button tweaks git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3798 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox_display.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index 51723f54..e22f80d8 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -1242,7 +1242,18 @@ function getMbxList($imapConnection) { } function getButton($type, $name, $value) { -return ''; +global $color; +$style = ' STYLE="background:'.$color[3].';font-size:xx-small;font-weight:bold;'. + 'color:'.$color[8].';margin:0.05em;border:0.2em outset '. + $color[9].';"'; +$javascript = " onmouseover=\"this.style.borderColor='$color[8]'". + ";this.style.borderStyle='inset'" . + ";this.style.background='$color[0]';\";" . + " onmouseout=\"this.style.borderColor='$color[9]'". + ";this.style.borderStyle='outset'" . + ";this.style.background='$color[3]';\";"; + +return ''; } function getSmallStringCell($string, $align) { -- 2.25.1