Changeset 807 for trunk/app/views/layouts
- Timestamp:
- 10/10/08 21:17:54 (8 weeks ago)
- Files:
-
- 1 modified
-
trunk/app/views/layouts/portal.ctp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/layouts/portal.ctp
r806 r807 29 29 <div id="toplinks"> 30 30 <?php 31 echo $html->link(__('Home', true), '/') . ' | '; 32 31 33 if ( $session->check('Auth.User') ): 32 echo '<span style="font-size:7pt;color:#8bb126;padding-right:15px">'.__('logged_in', true).' <b>'; 33 34 echo $session->read('Auth.User.username') .'</b></span>'.$html->link(__('Logout', true), '/users/logout') . ' | '; 34 echo '<span style="font-size:7pt;color:#8bb126;padding-right:3px">'.__('logged_in', true).' <b> '; 35 echo $session->read('Auth.User.username') .'</b></span>| '.$html->link(__('Logout', true), '/users/logout') . ' | '; 35 36 36 37 if ( $session->read('Auth.User.group_id') < 3 ): // the logged user is teacher or admin? … … 40 41 if ( $session->read('Auth.User.group_id') == 3 ): // the logged user is student 41 42 echo $html->link(__('My profile', true), '/users/edit'). ' | '; 42 43 43 endif; 44 44 … … 52 52 echo $html->link(__('Login', true), '#', array("id"=>"logindiv", "onclick"=>"javascript:mod('logindiv', 1, '')")) . ' | '; 53 53 endif; 54 55 echo $html->link(__('Home', true), '/') . ' | '; 54 56 55 echo $html->link(__('about_college', true), '/colleges/view') . ' | '; 57 56 echo $html->link(__('Contact', true), '/messages/contact') . ' | '; … … 72 71 echo $this->element('menu_b'); 73 72 73 // search box 74 $list = array('<h2 class="bg3">'.__('Search', true).'</h2>'.$this->element('search')); 75 echo $html->nestedList($list); 76 74 77 // if student logged in, show groups 75 78 if ( $session->check('Auth.User') && $session->read('Auth.User.group_id') == 3 && $Element['Vclassrooms'] != false): … … 94 97 95 98 echo $this->element('subjects'); 96 97 // search98 $list = array('<h2 class="bg3">'.__('Search', true).'</h2>'.$this->element('search'));99 echo $html->nestedList($list);100 99 101 100 $tmp = $html->para(null,$html->link($html->image('static/valid_xhtml10_80x15_22.png'), 'http://www.w3.org/TR/xhtml1/', null, null, false));
