Changeset 640 for trunk/app/views/elements
- Timestamp:
- 07/10/08 22:51:44 (5 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/elements/lastentries.ctp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/elements/lastentries.ctp
r240 r640 1 1 <?php 2 echo $html->image('static/blogactiv.gif', array("alt"=>"Teachers Blogging", "title"=>"Teachers Blogging", "style"=>"margin-right:5px 0 10px 0")); 2 if ( count($Element['Lentry']) > 0): 3 echo $html->image('static/blogactiv.gif',array("alt"=>"Teachers Blogging", "title"=>"Teachers Blogging", "style"=>"margin-right:5px 0 15px 0")); 4 endif; 3 5 4 echo "<br />"; 5 6 foreach ($Element["Lentry"] as $key => $val)7 { 8 echo '<div style="margin-top:3px;padding-left:2px;">' . $html->link($val['Entry']['title'], '/users/entry/'.$val['User']['username'].'/'.$val['Entry']['id']) . " ";9 echo '<span style="font-size:6pt">'.$val['User']['username'].'</span></div>';10 } 6 foreach ($Element['Lentry'] as $val): 7 echo $html->div(null, $html->link($val['Entry']['title'], 8 '/entries/view/'.$val['User']['username'].'/'.$val['Entry']['id']) . 9 ' <span style="font-size:6pt">'.$val['User']['username'].'</span>', 10 aa('style', 'margin-top:4px;padding-left:2px') 11 ); 12 endforeach; 11 13 ?>
