decir/viewforum.php
changeset 4 c31210950118
parent 2 253118325c65
child 6 3f66ec435f08
equal deleted inserted replaced
3:88b85b9b9272 4:c31210950118
    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 = '&lt;Deleted&gt;';
    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>