From ba789358dcd95ba212bfa5d2dd71fa9107e38e44 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 2 Apr 2009 15:16:59 -0600 Subject: [PATCH] Use global flagname instead of hardcoding. --- imp/mailbox.php | 2 +- imp/message.php | 2 +- imp/themes/screen.css | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/imp/mailbox.php b/imp/mailbox.php index 9cb05b697..7a665dae8 100644 --- a/imp/mailbox.php +++ b/imp/mailbox.php @@ -860,7 +860,7 @@ while (list(,$ob) = each($mbox_info['overview'])) { $flag_label = String::substr($val['label'], 0, 10) . '...'; } - $msg['subject'] = '' . htmlspecialchars($flag_label) . '' . $msg['subject']; + $msg['subject'] = '' . htmlspecialchars($flag_label) . '' . $msg['subject']; } /* Set up threading tree now. */ diff --git a/imp/message.php b/imp/message.php index fe948dd10..57c7b3f2b 100644 --- a/imp/message.php +++ b/imp/message.php @@ -411,7 +411,7 @@ if (!IMP::$printMode) { foreach ($flag_parse as $val) { if ($val['type'] == 'imapp') { - $status .= '' . htmlspecialchars($val['label']) . ''; + $status .= '' . htmlspecialchars($val['label']) . ''; } else { $status .= $val['div']; } diff --git a/imp/themes/screen.css b/imp/themes/screen.css index 0fc067076..2c8fe4108 100644 --- a/imp/themes/screen.css +++ b/imp/themes/screen.css @@ -30,12 +30,12 @@ .messageList td label input { vertical-align: middle; } -.messageList td span.userFlag, #messages h1.header span.userFlag { +.messageList td span.flagUser, #messages h1.header span.flagUser { border: 1px black solid; font-size: 75%; margin-right: 3px; } -#messages h1.header span.userFlag { +#messages h1.header span.flagUser { margin-right: 0px; margin-left: 3px; } -- 2.11.0