diff options
author | Stefan Parviainen <saparvia@caterva.eu> | 2014-12-27 13:36:05 +0100 |
---|---|---|
committer | Stefan Parviainen <saparvia@caterva.eu> | 2014-12-27 13:36:05 +0100 |
commit | 6a679d26ce1c2947e49c74f3b6a98a7ad770b325 (patch) | |
tree | ff30758f775046e4037d500e9531cb557e179988 /mod/manage.php | |
parent | 0130fb077fbea06c0abd6e395adccddcd08a0c99 (diff) | |
download | volse-hubzilla-6a679d26ce1c2947e49c74f3b6a98a7ad770b325.tar.gz volse-hubzilla-6a679d26ce1c2947e49c74f3b6a98a7ad770b325.tar.bz2 volse-hubzilla-6a679d26ce1c2947e49c74f3b6a98a7ad770b325.zip |
Fix #771, add tooltips to mail and intros count in channel manager, always show counts (even when 0, makes it easier to understand what the icons are)
Diffstat (limited to 'mod/manage.php')
-rw-r--r-- | mod/manage.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/manage.php b/mod/manage.php index 00c6db7f0..28fa8e658 100644 --- a/mod/manage.php +++ b/mod/manage.php @@ -49,7 +49,7 @@ function manage_content(&$a) { for($x = 0; $x < count($channels); $x ++) { $channels[$x]['link'] = 'manage/' . intval($channels[$x]['channel_id']); if($channels[$x]['channel_id'] == local_user()) - $selected_channel = $channels[$x]; + $selected_channel = &$channels[$x]; // Needs to be a reference! $channels[$x]['default'] = (($channels[$x]['channel_id'] == $account['account_default_channel']) ? "1" : ''); $channels[$x]['default_links'] = '1'; @@ -153,6 +153,8 @@ function manage_content(&$a) { '$msg_make_default' => t('Make Default'), '$links' => $links, '$all_channels' => $channels, + '$mail_format' => t('%d new messages'), + '$intros_format' => t('%d new introductions'), '$channel_usage_message' => $channel_usage_message, )); |