logut
This commit is contained in:
@@ -110,8 +110,11 @@ $renderStartIcon = static function (array $profile): string {
|
||||
<div class="taskbar-apps" id="taskbar-apps"></div>
|
||||
<div class="tray">
|
||||
<?php foreach ($desktopPayload['tray'] as $trayItem): ?>
|
||||
<span class="tray-pill"><?= htmlspecialchars($trayItem['label'], ENT_QUOTES) ?></span>
|
||||
<span class="tray-pill" data-tray-id="<?= htmlspecialchars((string) $trayItem['id'], ENT_QUOTES) ?>"><?= htmlspecialchars($trayItem['label'], ENT_QUOTES) ?></span>
|
||||
<?php endforeach; ?>
|
||||
<?php if (($desktopPayload['session']['authenticated'] ?? false) === true && !empty($desktopPayload['session']['logout_url'])): ?>
|
||||
<a class="tray-action" href="<?= htmlspecialchars((string) $desktopPayload['session']['logout_url'], ENT_QUOTES) ?>">Logout</a>
|
||||
<?php endif; ?>
|
||||
<div class="tray-skins" id="tray-skins"></div>
|
||||
<time id="clock"></time>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user