diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2005-04-11 21:32:22 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2005-04-11 21:32:22 +0000 |
| commit | d92380657d555a3f8267652183d02e2aae87511a (patch) | |
| tree | d5e94c57f53ea2ff8fdbda08bf0d9b6692021eba /phpBB/search.php | |
| parent | 557d09bb72f7e9848b6fc50ed4e2ba651b89e743 (diff) | |
| download | forums-d92380657d555a3f8267652183d02e2aae87511a.tar forums-d92380657d555a3f8267652183d02e2aae87511a.tar.gz forums-d92380657d555a3f8267652183d02e2aae87511a.tar.bz2 forums-d92380657d555a3f8267652183d02e2aae87511a.tar.xz forums-d92380657d555a3f8267652183d02e2aae87511a.zip | |
- made path information available to template (T_)
- eased topic/post icon in templates (removing hardcoded img)
- added S_FIRST_ROW and S_LAST_ROW to template engine
git-svn-id: file:///svn/phpbb/trunk@5118 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/search.php')
| -rw-r--r-- | phpBB/search.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/search.php b/phpBB/search.php index e218c61a62..9dac6b12ee 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -710,7 +710,9 @@ if ($search_keywords || $search_author || $search_id) 'LAST_POST_IMG' => $user->img('icon_post_latest', 'VIEW_LATEST_POST'), 'TOPIC_FOLDER_IMG' => $user->img($folder_img, $folder_alt), - 'TOPIC_ICON_IMG' => (!empty($icons[$row['icon_id']])) ? '<img src="' . $config['icons_path'] . '/' . $icons[$row['icon_id']]['img'] . '" width="' . $icons[$row['icon_id']]['width'] . '" height="' . $icons[$row['icon_id']]['height'] . '" alt="" title="" />' : '', + 'TOPIC_ICON_IMG' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['img'] : '', + 'TOPIC_ICON_IMG_WIDTH' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['width'] : '', + 'TOPIC_ICON_IMG_HEIGHT' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['height'] : '', 'ATTACH_ICON_IMG' => ($auth->acl_gets('f_download', 'u_download', $forum_id) && $row['topic_attachment']) ? $user->img('icon_attach', sprintf($user->lang['TOTAL_ATTACHMENTS'], $row['topic_attachment'])) : '', 'S_TOPIC_TYPE' => $row['topic_type'], |
