Show
Ignore:
Timestamp:
06/04/08 20:53:56 (6 months ago)
Author:
aarkerio
Message:

Locales

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/layouts/portal.ctp

    r556 r587  
    2626<?php 
    2727 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>'; 
    2929 
    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') . ' | ';  
    3131 
    3232   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') . ' | '; 
    3434   endif; 
    3535 
    3636   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( 
    3838                                                                        $html->image('static/mailgray.png',  
    3939                                                                                  array('alt'=>'Messages', 'title'=>'Messages')),  
     
    4343 
    4444 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, '')")) .  ' | '; 
    4646 endif; 
    4747  
    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') . ' | '; 
    5151?> 
    5252</div>