Changeset 640 for trunk/app/views/topics/display.ctp
- Timestamp:
- 07/10/08 22:51:44 (5 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/topics/display.ctp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/topics/display.ctp
r562 r640 12 12 echo $html->para(null, '<b>Discussion topic:</b> '.$data['Topic']['message']); 13 13 14 if ( $ session->check('Auth.User')):14 if ( $belongs === true ): 15 15 /* 16 16 $tmp = $html->link( // add topic … … 49 49 $int = 1; 50 50 51 foreach ($data['Reply'] as $val) 52 { 51 foreach ($data['Reply'] as $val): 53 52 $i = $int++; 54 53 $tmp = '<b>'. $i . '.-</b> '; … … 60 59 echo $html->div('reply', $tmp); 61 60 62 }61 endforeach; 63 62 echo '</div>'; 64 63
