aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates/layout.user.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-01-20 11:45:08 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-01-20 11:45:08 +0100
commitf5c361cf44739058b79f322576a1bad2d8c142d9 (patch)
treea22217c6995751023112832d191d213e494e2fbc /core/templates/layout.user.php
parent37bb33c5799b834dfef3fb73936bd0e5a4773fb8 (diff)
downloadnextcloud-server-f5c361cf44739058b79f322576a1bad2d8c142d9.tar.gz
nextcloud-server-f5c361cf44739058b79f322576a1bad2d8c142d9.zip
composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'core/templates/layout.user.php')
-rw-r--r--core/templates/layout.user.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index b2eed70c299..951f0dabe21 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -19,9 +19,9 @@ $getUserAvatar = static function (int $size) use ($_): string {
<title>
<?php
p(!empty($_['pageTitle'])?$_['pageTitle'].' - ':'');
- p(!empty($_['application'])?$_['application'].' - ':'');
- p($theme->getTitle());
- ?>
+p(!empty($_['application'])?$_['application'].' - ':'');
+p($theme->getTitle());
+?>
</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
@@ -43,8 +43,8 @@ $getUserAvatar = static function (int $size) use ($_): string {
<?php print_unescaped($_['headers']); ?>
</head>
<body id="<?php p($_['bodyid']);?>" <?php foreach ($_['enabledThemes'] as $themeId) {
- p("data-theme-$themeId ");
- }?> data-themes=<?php p(join(',', $_['enabledThemes'])) ?>>
+ p("data-theme-$themeId ");
+ }?> data-themes=<?php p(join(',', $_['enabledThemes'])) ?>>
<?php include 'layout.noscript.warning.php'; ?>
<?php foreach ($_['initialStates'] as $app => $initialState) { ?>
@@ -75,19 +75,19 @@ $getUserAvatar = static function (int $size) use ($_): string {
aria-label="<?php p($l->t('Open settings menu'));?>"
aria-haspopup="true" aria-controls="expanddiv" aria-expanded="false">
<div id="avatardiv-menu" class="avatardiv<?php if ($_['userAvatarSet']) {
- print_unescaped(' avatardiv-shown');
- } else {
- print_unescaped('" style="display: none');
- } ?>"
+ print_unescaped(' avatardiv-shown');
+ } else {
+ print_unescaped('" style="display: none');
+ } ?>"
data-user="<?php p($_['user_uid']); ?>"
data-displayname="<?php p($_['user_displayname']); ?>"
<?php
- if ($_['userAvatarSet']) {
- $avatar32 = $getUserAvatar(32); ?> data-avatar="<?php p($avatar32); ?>"
+ if ($_['userAvatarSet']) {
+ $avatar32 = $getUserAvatar(32); ?> data-avatar="<?php p($avatar32); ?>"
<?php
- } ?>>
+ } ?>>
<?php
- if ($_['userAvatarSet']) {?>
+ if ($_['userAvatarSet']) {?>
<img alt="" width="32" height="32"
src="<?php p($avatar32);?>"
srcset="<?php p($getUserAvatar(64));?> 2x, <?php p($getUserAvatar(128));?> 4x"