From b1ed52dd4461ad2a07be05c233323b1a5b4982c1 Mon Sep 17 00:00:00 2001 From: liyuchun Date: Tue, 22 Mar 2022 14:22:33 +0800 Subject: [PATCH] * Fix bug #17333. --- module/common/model.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/common/model.php b/module/common/model.php index 01e0e5a02c..19acd092fb 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -399,7 +399,7 @@ class commonModel extends model { $noRole = (!empty($app->user->role) && isset($lang->user->roleList[$app->user->role])) ? '' : ' no-role'; echo '
  • '; - echo "'; + echo "'; echo html::avatar($app->user, '', 'avatar-circle', 'id="menu-avatar"'); echo ''; if(isset($lang->user->roleList[$app->user->role])) echo ''; @@ -407,7 +407,7 @@ class commonModel extends model $vision = $app->config->vision == 'lite' ? 'rnd' : 'lite'; - echo '
  • ' . html::a(helper::createLink('my', 'profile', '', '', true), " " . $lang->profile, '', "class='iframe' data-width='600'") . '
  • '; + echo '
  • ' . html::a(helper::createLink('my', 'profile', '', '', true), " " . $lang->profile, '', "class='iframe' data-width='700'") . '
  • '; if($app->config->vision === 'rnd') { @@ -484,7 +484,7 @@ class commonModel extends model /* The standalone lite version removes the lite interface button */ if(trim($config->visions, ',') == 'lite') return true; - + if($app->config->systemMode != 'new') return print("
    {$lang->visionList['rnd']}
    "); if(count($userVisions) < 2) return print("
    {$lang->visionList[$currentVision]}
    ");