Skip to content

Commit

Permalink
dev: last tweak to menu
Browse files Browse the repository at this point in the history
  • Loading branch information
mennodekker committed Mar 19, 2013
1 parent 13e036d commit 5ad96d0
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions application/extensions/Menu/MenuWidget.php
Expand Up @@ -43,8 +43,8 @@ protected function menuMain()
if(Yii::app()->session['loginID'])
{
$title .= ' -- ' . gT("Logged in as:");
$text = Yii::app()->session['user'] . ' ' . CHtml::image(Yii::app()->getConfig('adminimageurl'). 'profile_edit.png', gT("Edit your personal preferences"));
$title .= CHtml::link($text, array("/admin/user/sa/personalsettings"));
$text = ' ' . Yii::app()->session['user'] . ' ' . CHtml::image(Yii::app()->getConfig('adminimageurl'). 'profile_edit.png', gT("Edit your personal preferences"));
$title .= CHtml::tag('strong', array(), CHtml::link($text, array("/admin/user/sa/personalsettings")));
}
$menu['title'] = CHtml::tag('div', array('class'=>'menubar-title-left'), $title);
$menu['role'] = 'main';
Expand Down Expand Up @@ -106,11 +106,6 @@ protected function menuMain()
$menu['items']['right'][] = 'separator';


$menu['items']['right'][] = array(
'href' => array('admin/user/sa/personalsettings'),
'alt' => gT('Edit your personal preferences'),
'image' => 'edit.png'
);
$menu['items']['right'][] = array(
'href' => array('admin/authentication/sa/logout'),
'alt' => gT('Logout'),
Expand Down

0 comments on commit 5ad96d0

Please sign in to comment.