aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-08-05 15:49:28 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-08-05 15:49:28 +0000
commitb4b901b82552e639cae00c4dc38542cf6fe2d873 (patch)
tree27a02a9b1861ef07cd22dd19e6b970a82945e490 /phpBB/viewtopic.php
parent0a007bd5d746892459201306363c38cbdec36bc2 (diff)
downloadforums-b4b901b82552e639cae00c4dc38542cf6fe2d873.tar
forums-b4b901b82552e639cae00c4dc38542cf6fe2d873.tar.gz
forums-b4b901b82552e639cae00c4dc38542cf6fe2d873.tar.bz2
forums-b4b901b82552e639cae00c4dc38542cf6fe2d873.tar.xz
forums-b4b901b82552e639cae00c4dc38542cf6fe2d873.zip
- fixed some bugs
- made imageset naming more consistent - updated every schema to be consistent and also fixed it (every db should install fine now) - git-svn-id: file:///svn/phpbb/trunk@6237 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php44
1 files changed, 22 insertions, 22 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index ef17751c3c..694f173268 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -514,26 +514,26 @@ $template->assign_vars(array(
'U_MCP' => ($auth->acl_get('m_', $forum_id)) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "i=main&amp;mode=topic_view&amp;f=$forum_id&amp;t=$topic_id&amp;start=$start&amp;$u_sort_param", true, $user->session_id) : '',
'MODERATORS' => (isset($forum_moderators[$forum_id]) && sizeof($forum_moderators[$forum_id])) ? implode(', ', $forum_moderators[$forum_id]) : '',
- 'POST_IMG' => ($topic_data['forum_status'] == ITEM_LOCKED) ? $user->img('btn_locked', 'FORUM_LOCKED') : $user->img('btn_post', 'POST_NEW_TOPIC'),
- 'QUOTE_IMG' => $user->img('btn_quote', 'REPLY_WITH_QUOTE'),
- 'REPLY_IMG' => ($topic_data['forum_status'] == ITEM_LOCKED || $topic_data['topic_status'] == ITEM_LOCKED) ? $user->img('btn_locked', 'TOPIC_LOCKED') : $user->img('btn_reply', 'REPLY_TO_TOPIC'),
- 'EDIT_IMG' => $user->img('btn_edit', 'EDIT_POST'),
- 'DELETE_IMG' => $user->img('btn_delete', 'DELETE_POST'),
- 'INFO_IMG' => $user->img('btn_info', 'VIEW_INFO'),
- 'PROFILE_IMG' => $user->img('btn_profile', 'READ_PROFILE'),
- 'SEARCH_IMG' => $user->img('btn_search', 'SEARCH_USER_POSTS'),
- 'PM_IMG' => $user->img('btn_pm', 'SEND_PRIVATE_MESSAGE'),
- 'EMAIL_IMG' => $user->img('btn_email', 'SEND_EMAIL'),
- 'WWW_IMG' => $user->img('btn_www', 'VISIT_WEBSITE'),
- 'ICQ_IMG' => $user->img('btn_icq', 'ICQ'),
- 'AIM_IMG' => $user->img('btn_aim', 'AIM'),
- 'MSN_IMG' => $user->img('btn_msnm', 'MSNM'),
- 'YIM_IMG' => $user->img('btn_yim', 'YIM'),
- 'JABBER_IMG' => $user->img('btn_jabber', 'JABBER') ,
- 'REPORT_IMG' => $user->img('btn_report', 'REPORT_POST'),
- 'REPORTED_IMG' => $user->img('icon_reported', 'POST_REPORTED'),
- 'UNAPPROVED_IMG' => $user->img('icon_unapproved', 'POST_UNAPPROVED'),
- 'WARN_IMG' => $user->img('btn_warn', 'WARN_USER'),
+ 'POST_IMG' => ($topic_data['forum_status'] == ITEM_LOCKED) ? $user->img('button_topic_locked', 'FORUM_LOCKED') : $user->img('button_topic_new', 'POST_NEW_TOPIC'),
+ 'QUOTE_IMG' => $user->img('icon_post_quote', 'REPLY_WITH_QUOTE'),
+ 'REPLY_IMG' => ($topic_data['forum_status'] == ITEM_LOCKED || $topic_data['topic_status'] == ITEM_LOCKED) ? $user->img('button_topic_locked', 'TOPIC_LOCKED') : $user->img('button_topic_reply', 'REPLY_TO_TOPIC'),
+ 'EDIT_IMG' => $user->img('icon_post_edit', 'EDIT_POST'),
+ 'DELETE_IMG' => $user->img('icon_post_delete', 'DELETE_POST'),
+ 'INFO_IMG' => $user->img('icon_post_info', 'VIEW_INFO'),
+ 'PROFILE_IMG' => $user->img('icon_user_profile', 'READ_PROFILE'),
+ 'SEARCH_IMG' => $user->img('icon_user_search', 'SEARCH_USER_POSTS'),
+ 'PM_IMG' => $user->img('icon_contact_pm', 'SEND_PRIVATE_MESSAGE'),
+ 'EMAIL_IMG' => $user->img('icon_contact_email', 'SEND_EMAIL'),
+ 'WWW_IMG' => $user->img('icon_contact_www', 'VISIT_WEBSITE'),
+ 'ICQ_IMG' => $user->img('icon_contact_icq', 'ICQ'),
+ 'AIM_IMG' => $user->img('icon_contact_aim', 'AIM'),
+ 'MSN_IMG' => $user->img('icon_contact_msnm', 'MSNM'),
+ 'YIM_IMG' => $user->img('icon_contact_yahoo', 'YIM'),
+ 'JABBER_IMG' => $user->img('icon_contact_jabber', 'JABBER') ,
+ 'REPORT_IMG' => $user->img('icon_post_report', 'REPORT_POST'),
+ 'REPORTED_IMG' => $user->img('icon_topic_reported', 'POST_REPORTED'),
+ 'UNAPPROVED_IMG' => $user->img('icon_topic_unapproved', 'POST_UNAPPROVED'),
+ 'WARN_IMG' => $user->img('icon_user_warn', 'WARN_USER'),
'S_SELECT_SORT_DIR' => $s_sort_dir,
'S_SELECT_SORT_KEY' => $s_sort_key,
@@ -1364,12 +1364,12 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
'EDIT_REASON' => $row['post_edit_reason'],
'BUMPED_MESSAGE' => $l_bumped_by,
- 'MINI_POST_IMG' => ($post_unread) ? $user->img('icon_post_new', 'NEW_POST') : $user->img('icon_post', 'POST'),
+ 'MINI_POST_IMG' => ($post_unread) ? $user->img('icon_post_target_unread', 'NEW_POST') : $user->img('icon_post_target', 'POST'),
'POST_ICON_IMG' => (!empty($row['icon_id'])) ? $icons[$row['icon_id']]['img'] : '',
'POST_ICON_IMG_WIDTH' => (!empty($row['icon_id'])) ? $icons[$row['icon_id']]['width'] : '',
'POST_ICON_IMG_HEIGHT' => (!empty($row['icon_id'])) ? $icons[$row['icon_id']]['height'] : '',
'ICQ_STATUS_IMG' => $user_cache[$poster_id]['icq_status_img'],
- 'ONLINE_IMG' => ($poster_id == ANONYMOUS || !$config['load_onlinetrack']) ? '' : (($user_cache[$poster_id]['online']) ? $user->img('btn_online', 'ONLINE') : $user->img('btn_offline', 'OFFLINE')),
+ 'ONLINE_IMG' => ($poster_id == ANONYMOUS || !$config['load_onlinetrack']) ? '' : (($user_cache[$poster_id]['online']) ? $user->img('icon_user_online', 'ONLINE') : $user->img('icon_user_offline', 'OFFLINE')),
'S_ONLINE' => ($poster_id == ANONYMOUS || !$config['load_onlinetrack']) ? false : (($user_cache[$poster_id]['online']) ? true : false),
'FORCE_ENCODING' => ($row['post_encoding'] != $user->lang['ENCODING']) ? sprintf($user->lang['POST_ENCODING'], $row['poster'], '<a href="' . $viewtopic_url . "&amp;p={$row['post_id']}&amp;view=encoding#p{$row['post_id']}" . '">', '</a>') : '',