diff options
| author | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2003-01-31 02:11:38 +0000 |
|---|---|---|
| committer | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2003-01-31 02:11:38 +0000 |
| commit | dc26ed59601dfcc22b093911286cd9f13f9261ce (patch) | |
| tree | 7ab3ae4555b229b0fa2bc28fac949f3a5c656573 /phpBB/viewforum.php | |
| parent | 5b0315305fc5e50338ca61b6b8671c45f39bf724 (diff) | |
| download | forums-dc26ed59601dfcc22b093911286cd9f13f9261ce.tar forums-dc26ed59601dfcc22b093911286cd9f13f9261ce.tar.gz forums-dc26ed59601dfcc22b093911286cd9f13f9261ce.tar.bz2 forums-dc26ed59601dfcc22b093911286cd9f13f9261ce.tar.xz forums-dc26ed59601dfcc22b093911286cd9f13f9261ce.zip | |
Do not display table headers when no subforum is shown
git-svn-id: file:///svn/phpbb/trunk@3437 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewforum.php')
| -rw-r--r-- | phpBB/viewforum.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index 63c83fe131..4c6746c99a 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -102,14 +102,9 @@ generate_forum_nav($forum_data); // Moderators $forum_moderators = array(); -// Do we have subforums? if so, let's include this harmless file +// Do we have subforums? if ($forum_data['left_id'] != $forum_data['right_id'] - 1) { - $template->assign_vars(array( - 'S_HAS_SUBFORUM' => TRUE, - 'L_SUBFORUM' => (count($forum_rows) == 1) ? $user->lang['Subforum'] : $user->lang['Subforums'] - )); - include($phpbb_root_path . 'includes/functions_display.' . $phpEx); display_forums($forum_data); } |
