diff --git a/dd-apps/docker/nextcloud/src/themes/dd/core/templates/layout.user.php b/dd-apps/docker/nextcloud/src/themes/dd/core/templates/layout.user.php index 70453f9..4c02e07 100644 --- a/dd-apps/docker/nextcloud/src/themes/dd/core/templates/layout.user.php +++ b/dd-apps/docker/nextcloud/src/themes/dd/core/templates/layout.user.php @@ -23,6 +23,7 @@ $api_url = "https://" . preg_replace('/^nextcloud\./', 'api.', $_SERVER['HTTP_HOST']); $avatar_url = "https://" . preg_replace('/^nextcloud\./', 'sso.', $_SERVER['HTTP_HOST']) . "/auth/realms/master/avatar-provider"; $profile_url = "https://" . preg_replace('/^nextcloud\./', 'sso.', $_SERVER['HTTP_HOST']) . "/auth/realms/master/account"; + $showsettings = in_array($_['user_uid'], ['admin', 'ddadmin']) ? true : false; // Remove user menu Settings item for non-administrator users if(!array_key_exists('core_apps', $_["settingsnavigation"])){ @@ -153,14 +154,22 @@ - + +
  • + class="active"> + + + +
  • +
  • -
  • +