Show
Ignore:
Timestamp:
07/10/08 22:51:44 (5 months ago)
Author:
aarkerio
Message:

Updates genrali

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/topics/display.ctp

    r562 r640  
    1212echo $html->para(null, '<b>Discussion topic:</b> '.$data['Topic']['message']); 
    1313 
    14 if ( $session->check('Auth.User') ): 
     14if ( $belongs === true ): 
    1515/* 
    1616 $tmp = $html->link(  // add topic 
     
    4949 $int = 1; 
    5050 
    51  foreach ($data['Reply'] as $val)  
    52  { 
     51  foreach ($data['Reply'] as $val): 
    5352    $i = $int++; 
    5453        $tmp   = '<b>'.  $i . '.-</b> ';  
     
    6059    echo $html->div('reply', $tmp); 
    6160     
    62  } 
     61  endforeach; 
    6362echo '</div>'; 
    6463