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/includes/functions.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/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 848e97d935..2c77d15aa9 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -1900,6 +1900,12 @@ function page_header($page_title = '') 'T_TEMPLATE_PATH' => "{$phpbb_root_path}styles/" . $user->theme['primary']['template_path'] . '/template', 'T_IMAGESET_PATH' => "{$phpbb_root_path}styles/" . $user->theme['primary']['imageset_path'] . '/imageset', 'T_IMAGESET_LANG_PATH' => "{$phpbb_root_path}styles/" . $user->theme['primary']['imageset_path'] . '/imageset/' . $user->data['user_lang'], + 'T_SMILIES_PATH' => "{$phpbb_root_path}{$config['smilies_path']}/", + 'T_AVATAR_PATH' => "{$phpbb_root_path}{$config['avatar_path']}/", + 'T_AVATAR_GALLERY_PATH' => "{$phpbb_root_path}{$config['avatar_gallery_path']}/", + 'T_ICONS_PATH' => "{$phpbb_root_path}{$config['icons_path']}/", + 'T_RANKS_PATH' => "{$phpbb_root_path}{$config['ranks_path']}/", + 'T_UPLOAD_PATH' => "{$phpbb_root_path}{$config['upload_path']}/", 'T_STYLESHEET_LINK' => (!$user->theme['primary']['theme_storedb']) ? "{$phpbb_root_path}styles/" . $user->theme['primary']['theme_path'] . '/theme/stylesheet.css' : "{$phpbb_root_path}style.$phpEx?sid=$user->session_id&id=" . $user->theme['primary']['theme_id'], 'T_STYLESHEET_NAME' => $user->theme['primary']['theme_name'], 'T_THEME_DATA' => (!$user->theme['primary']['theme_storedb']) ? '' : $user->theme['primary']['theme_data']) |