diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-03-20 00:31:36 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-03-20 00:31:36 +0000 |
commit | 507c67851489650fe891482d72f4024489a3b6b0 (patch) | |
tree | 6e490f1a66e878b7346e1c8a09ec58b39d2137ac /phpBB/includes/functions_display.php | |
parent | a884b9f189b8e02e73e9dde137ac27d415d43f3d (diff) | |
download | forums-507c67851489650fe891482d72f4024489a3b6b0.tar forums-507c67851489650fe891482d72f4024489a3b6b0.tar.gz forums-507c67851489650fe891482d72f4024489a3b6b0.tar.bz2 forums-507c67851489650fe891482d72f4024489a3b6b0.tar.xz forums-507c67851489650fe891482d72f4024489a3b6b0.zip |
Add forum image to template vars
git-svn-id: file:///svn/phpbb/trunk@3684 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_display.php')
-rw-r--r-- | phpBB/includes/functions_display.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index 599394c8e3..448ff87583 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -221,7 +221,8 @@ function display_forums($root_data = '', $display_moderators = TRUE) 'FORUM_FOLDER_IMG' => $user->img($folder_image, $folder_alt), 'FORUM_NAME' => $row['forum_name'], - 'FORUM_DESC' => $row['forum_desc'], + 'FORUM_DESC' => $row['forum_desc'], + 'FORUM_IMG' => $row['forum_image'], 'POSTS' => $row['forum_posts'], 'TOPICS' => $row['forum_topics'], @@ -233,13 +234,13 @@ function display_forums($root_data = '', $display_moderators = TRUE) 'L_MODERATOR_STR' => $l_moderator, 'L_FORUM_FOLDER_ALT'=> $folder_alt, - 'U_VIEWFORUM' => 'viewforum.' . $phpEx . $SID . '&f=' . $row['forum_id'] - )); + 'U_VIEWFORUM' => 'viewforum.' . $phpEx . $SID . '&f=' . $row['forum_id']) + ); } $template->assign_vars(array( 'S_HAS_SUBFORUM' => ($visible_forums) ? TRUE : FALSE, - 'L_SUBFORUM' => ($visible_forums == 1) ? $user->lang['SUBFORUM'] : $user->lang['SUBFORUMS'] - )); + 'L_SUBFORUM' => ($visible_forums == 1) ? $user->lang['SUBFORUM'] : $user->lang['SUBFORUMS']) + ); } ?>
\ No newline at end of file |