Changeset 401 for trunk/app/views/news/display.ctp
- Timestamp:
- 04/16/08 03:07:25 (9 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/news/display.ctp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/news/display.ctp
r400 r401 2 2 // die(debug($data)); 3 3 4 echo $html->div('title_ section', 'News');4 echo $html->div('title_portal', 'News in campus'); 5 5 6 6 foreach ($data as $val) … … 29 29 $tmp .= $html->div(null, $html->link('Reference', $val['News']['reference'])); 30 30 } 31 31 32 if ($val['News']['comments'] == 1 ) // the reference 33 { 34 $tmp .= $html->div(null, $html->link('Put your comment', '/news/view/'.$val['News']['id'])); 35 } 32 36 echo $html->div('wrapnew', $tmp); 33 37 }
