projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dd759e
)
merge from CVS HEAD - don't show a negative number of unseen messages
author
Chuck Hagenbuch
<chuck@horde.org>
Wed, 24 Dec 2008 19:15:17 +0000
(14:15 -0500)
committer
Chuck Hagenbuch
<chuck@horde.org>
Wed, 24 Dec 2008 19:17:26 +0000
(14:17 -0500)
imp/lib/Block/newmail.php
patch
|
blob
|
history
diff --git
a/imp/lib/Block/newmail.php
b/imp/lib/Block/newmail.php
index
9c2d166
..
c21a4c8
100644
(file)
--- a/
imp/lib/Block/newmail.php
+++ b/
imp/lib/Block/newmail.php
@@
-62,7
+62,7
@@
class Horde_Block_imp_newmail extends Horde_Block
}
$more_msgs = count($ids) - $shown;
- $text =
$more_msgs
+ $text =
($more_msgs > 0)
? sprintf(ngettext("%d more unseen message...", "%d more unseen messages...", $more_msgs), $more_msgs)
: _("Go to your Inbox...");
$html .= '<tr><td colspan="2" style="cursor:pointer" align="right" onclick="DimpBase.go(\'folder:INBOX\');return false;">' . $text . '</td></tr>';