diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2010-07-02 09:08:46 +0200 |
|---|---|---|
| committer | Andreas Fischer <bantu@phpbb.com> | 2010-07-14 20:55:07 +0200 |
| commit | 954b3c348454ee41eb8da189794ac34ffdd4a115 (patch) | |
| tree | 0f5d919b65e33c3b198963900b70c1434667ce5b /phpBB/includes/ucp/ucp_main.php | |
| parent | b7ae0fe4e91be1f7dc1d38d2c3c1e5b043d95739 (diff) | |
| download | forums-954b3c348454ee41eb8da189794ac34ffdd4a115.tar forums-954b3c348454ee41eb8da189794ac34ffdd4a115.tar.gz forums-954b3c348454ee41eb8da189794ac34ffdd4a115.tar.bz2 forums-954b3c348454ee41eb8da189794ac34ffdd4a115.tar.xz forums-954b3c348454ee41eb8da189794ac34ffdd4a115.zip | |
[ticket/7720] Fix alternative image-description for unread posts.
Changed the wrong word "new" to "unread" as that is, what we show with the
red-icons, not whether the post is new or not. Language variables were
kept for backwards compatibility.
PHPBB3-7720
Diffstat (limited to 'phpBB/includes/ucp/ucp_main.php')
| -rw-r--r-- | phpBB/includes/ucp/ucp_main.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/ucp/ucp_main.php b/phpBB/includes/ucp/ucp_main.php index 6ac2412ef0..a6f71669ce 100644 --- a/phpBB/includes/ucp/ucp_main.php +++ b/phpBB/includes/ucp/ucp_main.php @@ -119,7 +119,7 @@ class ucp_main $unread_topic = (isset($topic_tracking_info[$topic_id]) && $row['topic_last_post_time'] > $topic_tracking_info[$topic_id]) ? true : false; $folder_img = ($unread_topic) ? $folder_new : $folder; - $folder_alt = ($unread_topic) ? 'NEW_POSTS' : (($row['topic_status'] == ITEM_LOCKED) ? 'TOPIC_LOCKED' : 'NO_NEW_POSTS'); + $folder_alt = ($unread_topic) ? 'UNREAD_POSTS' : (($row['topic_status'] == ITEM_LOCKED) ? 'TOPIC_LOCKED' : 'NO_UNREAD_POSTS'); if ($row['topic_status'] == ITEM_LOCKED) { @@ -318,7 +318,7 @@ class ucp_main else { $folder_image = ($unread_forum) ? 'forum_unread' : 'forum_read'; - $folder_alt = ($unread_forum) ? 'NEW_POSTS' : 'NO_NEW_POSTS'; + $folder_alt = ($unread_forum) ? 'UNREAD_POSTS' : 'NO_UNREAD_POSTS'; } // Create last post link information, if appropriate |
