mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Announce and Sticky are never shown as locked
git-svn-id: file:///svn/phpbb/trunk@1565 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
cec532810a
commit
bef3314e50
1 changed files with 7 additions and 7 deletions
|
@ -470,12 +470,7 @@ if( $total_topics )
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if( $topic_rowset[$i]['topic_status'] == TOPIC_LOCKED )
|
if( $topic_rowset[$i]['topic_type'] == POST_ANNOUNCE )
|
||||||
{
|
|
||||||
$folder = $images['folder_locked'];
|
|
||||||
$folder_new = $images['folder_locked_new'];
|
|
||||||
}
|
|
||||||
else if( $topic_rowset[$i]['topic_type'] == POST_ANNOUNCE )
|
|
||||||
{
|
{
|
||||||
$folder = $images['folder_announce'];
|
$folder = $images['folder_announce'];
|
||||||
$folder_new = $images['folder_announce_new'];
|
$folder_new = $images['folder_announce_new'];
|
||||||
|
@ -485,6 +480,11 @@ if( $total_topics )
|
||||||
$folder = $images['folder_sticky'];
|
$folder = $images['folder_sticky'];
|
||||||
$folder_new = $images['folder_sticky_new'];
|
$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
|
else
|
||||||
{
|
{
|
||||||
if($replies >= $board_config['hot_threshold'])
|
if($replies >= $board_config['hot_threshold'])
|
||||||
|
@ -643,4 +643,4 @@ $template->pparse("body");
|
||||||
//
|
//
|
||||||
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
|
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Add table
Reference in a new issue