Changeset 342 for trunk/app/views/lessons/display.ctp
- Timestamp:
- 03/25/08 01:03:27 (10 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/lessons/display.ctp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/lessons/display.ctp
r312 r342 4 4 //die(print_r($data)); 5 5 6 if ( count($data) < 1 ) 7 { 8 echo $html->div(null, 'This teacher has not yet published lessons'); 9 } 10 6 11 foreach ($data as $v) 7 12 { 8 echo '<p><a class="title" href="/lessons/view/'.$blog['User']['username'].'/'.$v['Lesson']['id'].'">' . $v['Lesson']['title'] . '</a></p>';9 }13 echo $html->para(null, $hrml->link($v['Lesson']['title'], '/lessons/view/'.$blog['User']['username'].'/'.$v['Lesson']['id'], array("class"=>"title"))); 14 } 10 15 ?>
