diff --git a/api/src/Framework.php b/api/src/Framework.php index db29a6a32d..c79b64f329 100644 --- a/api/src/Framework.php +++ b/api/src/Framework.php @@ -1185,7 +1185,7 @@ abstract class Framework extends Framework\Extra // array of topmenu info items (orders of the items matter) $topmenu_info_items = [ 'user_avatar' => $this->_user_avatar_menu(), - 'logout' => (Header\UserAgent::mobile() || $GLOBALS['egw_info']['user']['preferences']['common']['theme'] == 'fw_mobile') ? self::_logout_menu() : null, + 'logout' => (Header\UserAgent::mobile()) ? self::_logout_menu() : null, 'update' => ($update = Framework\Updates::notification()) ? $update : null, 'notifications' => ($GLOBALS['egw_info']['user']['apps']['notifications']) ? self::_get_notification_bell() : null, 'quick_add' => $vars['quick_add'], diff --git a/pixelegg/css/mobile.css b/pixelegg/css/mobile.css index 466ddf14bb..dfa03ec43c 100644 --- a/pixelegg/css/mobile.css +++ b/pixelegg/css/mobile.css @@ -7310,8 +7310,7 @@ img.et2_button_icon[src*="svg"]:hover { background-size: 24px 24px; display: inline-block; } - body #egw_fw_basecontainer div#egw_fw_topmenu_items ul a#topmenu_home, - body #egw_fw_basecontainer div#egw_fw_topmenu_items ul a#topmenu_logout { + body #egw_fw_basecontainer div#egw_fw_topmenu_items ul a#topmenu_home { display: none; } body #egw_fw_basecontainer div#egw_fw_topmenu_items ul a#topmenu_home { diff --git a/pixelegg/css/mobile.less b/pixelegg/css/mobile.less index e2300fe05a..5c563a9f91 100644 --- a/pixelegg/css/mobile.less +++ b/pixelegg/css/mobile.less @@ -265,7 +265,7 @@ display: inline-block; } } - a#topmenu_home, a#topmenu_logout {display: none;} + a#topmenu_home {display: none;} a#topmenu_home { background-image: url(../images/topmenu_items/mobile/home.svg); display: none; diff --git a/pixelegg/mobile/fw_mobile.css b/pixelegg/mobile/fw_mobile.css index 15f9096492..a5618faf67 100644 --- a/pixelegg/mobile/fw_mobile.css +++ b/pixelegg/mobile/fw_mobile.css @@ -7144,8 +7144,7 @@ img.et2_button_icon[src*="svg"]:hover { background-size: 24px 24px; display: inline-block; } - body #egw_fw_basecontainer div#egw_fw_topmenu_items ul a#topmenu_home, - body #egw_fw_basecontainer div#egw_fw_topmenu_items ul a#topmenu_logout { + body #egw_fw_basecontainer div#egw_fw_topmenu_items ul a#topmenu_home { display: none; } body #egw_fw_basecontainer div#egw_fw_topmenu_items ul a#topmenu_home {