aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-07-21 14:15:19 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-07-21 14:15:19 +0000
commitb379f26dcf8aa2ef21fc61627afe5da731c23845 (patch)
treebf1040d96b2dbef5566fa7d866f9f2c3aad86112
parentf0b2e3beb11c0d0d05e5810ac5f8bfcd0e6a0b49 (diff)
downloadforums-b379f26dcf8aa2ef21fc61627afe5da731c23845.tar
forums-b379f26dcf8aa2ef21fc61627afe5da731c23845.tar.gz
forums-b379f26dcf8aa2ef21fc61627afe5da731c23845.tar.bz2
forums-b379f26dcf8aa2ef21fc61627afe5da731c23845.tar.xz
forums-b379f26dcf8aa2ef21fc61627afe5da731c23845.zip
Faking IF...ELSE...ENDIF again
git-svn-id: file:///svn/phpbb/trunk@720 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/templates/PSO/viewforum_body.tpl5
-rw-r--r--phpBB/viewforum.php2
2 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/templates/PSO/viewforum_body.tpl b/phpBB/templates/PSO/viewforum_body.tpl
index 419ac54e34..843571b19b 100644
--- a/phpBB/templates/PSO/viewforum_body.tpl
+++ b/phpBB/templates/PSO/viewforum_body.tpl
@@ -34,6 +34,11 @@
<td class="row2" align="center" valign="middle"><span class="gensmall">{topicrow.LAST_POST}</span></td>
</tr>
<!-- END topicrow -->
+ <!-- BEGIN notopicsrow -->
+ <tr>
+ <td class="row1" colspan="6" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}{topicrow.REPLIES}</span></td>
+ </tr>
+ <!-- END notopicsrow -->
<tr>
<td class="cat" colspan="6"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index be2804c804..510c1eb39a 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -454,6 +454,8 @@ else
"S_NO_TOPICS" => TRUE)
);
+ $template->assign_block_vars("notopicsrow", array() );
+
}
//