|
From: Bart v. B. <ba...@us...> - 2001-12-14 02:20:00
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv7260
Modified Files:
viewforum.php
Log Message:
Announce and Sticky are never shown as locked
Index: viewforum.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/viewforum.php,v
retrieving revision 1.108
retrieving revision 1.109
diff -C2 -r1.108 -r1.109
*** viewforum.php 2001/12/10 00:17:20 1.108
--- viewforum.php 2001/12/14 02:19:57 1.109
***************
*** 471,481 ****
else
{
! if( $topic_rowset[$i]['topic_status'] == TOPIC_LOCKED )
{
- $folder = $images['folder_locked'];
- $folder_new = $images['folder_locked_new'];
- }
- else if( $topic_rowset[$i]['topic_type'] == POST_ANNOUNCE )
- {
$folder = $images['folder_announce'];
$folder_new = $images['folder_announce_new'];
--- 471,476 ----
else
{
! if( $topic_rowset[$i]['topic_type'] == POST_ANNOUNCE )
{
$folder = $images['folder_announce'];
$folder_new = $images['folder_announce_new'];
***************
*** 486,489 ****
--- 481,489 ----
$folder_new = $images['folder_sticky_new'];
}
+ else if( $topic_rowset[$i]['topic_status'] == TOPIC_LOCKED )
+ {
+ $folder = $images['folder_locked'];
+ $folder_new = $images['folder_locked_new'];
+ }
else
{
***************
*** 644,646 ****
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
! ?>
\ No newline at end of file
--- 644,646 ----
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
! ?>
|