Changeset 652 for trunk/app/views/layouts/portal.ctp
- Timestamp:
- 07/15/08 01:53:54 (4 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/layouts/portal.ctp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/layouts/portal.ctp
r647 r652 33 33 echo $html->link(__("cPanel", true), '/admin/entries/start') . ' | '; 34 34 endif; 35 35 36 36 if ( $session->read('Auth.User.group_id') == 3 ): // the logged user is student 37 echo $html->link(__('My profile', true), '/users/edit'). ' | '.$html->link( 38 $html->image('static/mailgray.png', 39 array('alt'=>'Messages', 'title'=>'Messages')), 40 '/messages/listing', null, null, false) . ' | '; 37 echo $html->link(__('My profile', true), '/users/edit'). ' | '; 41 38 42 39 endif; 40 41 $img = ($Element['Message'] != false) ? 'static/mail.png' : 'static/mailgray.png'; 42 43 $url = ( $session->read('Auth.User.group_id') > 2 ) ? '/messages/listing': '/admin/messages/listing'; 44 45 echo $html->link($html->image($img, array('alt'=>'Messages', 'title'=>'Messages')), $url, null, null, false) . ' | '; 43 46 44 47 else: … … 58 61 <div id="page"> 59 62 <div id="content"> 60 <?php echo $content_for_layout; ?>63 <?php echo $content_for_layout; ?> 61 64 </div> 62 65 <!-- end content -->
