Changeset 587 for trunk/app/views/layouts/portal.ctp
- Timestamp:
- 06/04/08 20:53:56 (6 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/layouts/portal.ctp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/layouts/portal.ctp
r556 r587 26 26 <?php 27 27 if ( $session->check('Auth.User') ): 28 echo '<span style="font-size:7pt;color:#8bb126;padding-right:15px"> You are logged in as<b>';28 echo '<span style="font-size:7pt;color:#8bb126;padding-right:15px">'.__('logged_in', true).' <b>'; 29 29 30 echo $session->read('Auth.User.username') .'</b></span>'.$html->link( '(Logout)', '/users/logout') . ' | ';30 echo $session->read('Auth.User.username') .'</b></span>'.$html->link(__('logout', true), '/users/logout') . ' | '; 31 31 32 32 if ( $session->read('Auth.User.group_id') < 3 ): // the logged user is teacher or admin? 33 echo $html->link( 'Admin', '/admin/entries/start') . ' | ';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', '/users/edit'). ' | '.$html->link(37 echo $html->link(__('my_profile', true), '/users/edit'). ' | '.$html->link( 38 38 $html->image('static/mailgray.png', 39 39 array('alt'=>'Messages', 'title'=>'Messages')), … … 43 43 44 44 else: 45 echo $html->link( 'Login', '#', array("id"=>"logindiv", "onclick"=>"javascript:mod('logindiv', 1, '')")) . ' | ';45 echo $html->link(__('Login', true), '#', array("id"=>"logindiv", "onclick"=>"javascript:mod('logindiv', 1, '')")) . ' | '; 46 46 endif; 47 47 48 echo $html->link( 'Home', '/') . ' | ';49 echo $html->link( 'About College', '/colleges/view') . ' | ';50 echo $html->link( 'Contact', '/messages/contact') . ' | ';48 echo $html->link(__('Home', true), '/') . ' | '; 49 echo $html->link(__('about_college', true), '/colleges/view') . ' | '; 50 echo $html->link(__('Contact', true), '/messages/contact') . ' | '; 51 51 ?> 52 52 </div>
