From 8265162711fcd28f58d3ecea79209fb18d81e3ce Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 28 May 2019 11:32:35 +0800 Subject: [PATCH] * finish task #5618. --- module/common/model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/common/model.php b/module/common/model.php index a6331566c8..00855afdf1 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -254,12 +254,12 @@ class commonModel extends model if(!$isGuest) { echo '
  • '; - echo ""; + echo "user->role) && isset($lang->user->roleList[$app->user->role]) ? '' : ' no-role') . "'>"; echo "
    " . strtoupper($app->user->account{0}) . "
    \n"; echo ''; if(isset($lang->user->roleList[$app->user->role])) echo ''; echo '
  • '; - echo '
  • ' . html::a(helper::createLink('my', 'profile', '', '', true), $lang->profile, '', "class='iframe' data-width='600'") . '
  • '; + echo '
  • ' . html::a(helper::createLink('my', 'profile'), $lang->profile) . '
  • '; echo '
  • ' . html::a(helper::createLink('my', 'changepassword', '', '', true), $lang->changePassword, '', "class='iframe' data-width='500'") . '
  • '; echo "
  • ";