mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fix target attribute does not exists
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
parent
393d581c3a
commit
b66c92e6dd
1 changed files with 2 additions and 2 deletions
|
|
@ -69,7 +69,7 @@ $getUserAvatar = static function (int $size) use ($_): string {
|
|||
<?php foreach ($_['navigation'] as $entry): ?>
|
||||
<li data-id="<?php p($entry['id']); ?>" class="hidden" tabindex="-1">
|
||||
<a href="<?php print_unescaped($entry['href']); ?>"
|
||||
<?php if ($entry['target']): ?> target="_blank" rel="noreferrer noopener"<?php endif; ?>
|
||||
<?php if (isset($entry['target']) && $entry['target']): ?> target="_blank" rel="noreferrer noopener"<?php endif; ?>
|
||||
<?php if ($entry['active']): ?> class="active"<?php endif; ?>
|
||||
aria-label="<?php p($entry['name']); ?>">
|
||||
<svg width="24" height="20" viewBox="0 0 24 20" alt=""<?php if ($entry['unread'] !== 0) { ?> class="has-unread"<?php } ?>>
|
||||
|
|
@ -106,7 +106,7 @@ $getUserAvatar = static function (int $size) use ($_): string {
|
|||
<?php foreach ($_['navigation'] as $entry): ?>
|
||||
<li data-id="<?php p($entry['id']); ?>">
|
||||
<a href="<?php print_unescaped($entry['href']); ?>"
|
||||
<?php if ($entry['target']): ?> target="_blank" rel="noreferrer noopener"<?php endif; ?>
|
||||
<?php if (isset($entry['target']) && $entry['target']): ?> target="_blank" rel="noreferrer noopener"<?php endif; ?>
|
||||
<?php if ($entry['active']): ?> class="active"<?php endif; ?>
|
||||
aria-label="<?php p($entry['name']); ?>">
|
||||
<svg width="20" height="20" viewBox="0 0 20 20" alt=""<?php if ($entry['unread'] !== 0) { ?> class="has-unread"<?php } ?>>
|
||||
|
|
|
|||
Loading…
Reference in a new issue