equal
deleted
inserted
replaced
77 { |
77 { |
78 if ( $num_replies < 0 ) |
78 if ( $num_replies < 0 ) |
79 $num_replies = 0; |
79 $num_replies = 0; |
80 if ( $last_row['topic_deleted'] == 1 ) |
80 if ( $last_row['topic_deleted'] == 1 ) |
81 { |
81 { |
82 $thread_link = ''; |
82 $thread_link = '<Deleted>'; |
83 // FIXME: This will be controlled by an ACL rule |
83 if ( $session->get_permissions('decir_see_deleted_topic_full') ) |
84 if ( $session->user_level >= USER_LEVEL_MOD ) |
|
85 { |
84 { |
86 $thread_link = '<b><a class="wikilink-nonexistent" href="' . makeUrlNS('DecirTopic', $last_row['topic_id']) . '">' . $last_row['topic_title'] . '</a></b>'; |
85 $thread_link = '<b><a class="wikilink-nonexistent" href="' . makeUrlNS('DecirTopic', $last_row['topic_id']) . '">' . $last_row['topic_title'] . '</a></b>'; |
87 } |
86 } |
88 echo '<tr> |
87 echo '<tr> |
89 <td class="row2"></td> |
88 <td class="row2"></td> |