Changeset 629 for trunk/app/views/elements/lesson.ctp
- Timestamp:
- 07/07/08 18:00:27 (5 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/elements/lesson.ctp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/elements/lesson.ctp
r242 r629 1 <div class="temas">Lessons</div>2 1 <?php 3 2 //die(var_dump($blog[0]["Lesson"])); 3 echo $html->div('temas', __('Lessons', true)); 4 4 5 foreach ($blog["Lesson"] as $key => $val) 6 { 7 echo $html->link($val['title'], '/lessons/view/'.$blog["User"]["username"].'/'.$val['id'], array("class"=>"petit")) . '<br />'; 8 } 5 foreach ($blog["Lesson"] as $val): 6 echo $html->link($val['title'], '/lessons/view/'.$blog['User']['username'].'/'.$val['id'], array('class'=>'petit')) . '<br />'; 7 endforeach; 9 8 10 echo '<p>'. $html->link('View all Lessons', '/lessons/display/'.$blog['User']['username'], array("class"=>"petit")) . '</p>';9 echo $html->para(null, $html->link('View all Lessons', '/lessons/display/'.$blog['User']['username'], array("class"=>"petit"))); 11 10 12 11 ?>
