adsdad
This commit is contained in:
@@ -7,6 +7,8 @@ $activeSkin = $desktopPayload['meta']['active_skin'];
|
||||
$baseSkinProfile = $desktopPayload['meta']['base_skin_profile'];
|
||||
$skinProfile = $desktopPayload['meta']['skin_profile'];
|
||||
$wallpaper = $desktopPayload['desktop']['wallpaper'];
|
||||
$debugShellApp = is_array($desktopPayload['shell']['debug_app'] ?? null) ? $desktopPayload['shell']['debug_app'] : null;
|
||||
$debugShellLabel = trim((string) ($debugShellApp['label'] ?? 'Debug')) ?: 'Debug';
|
||||
|
||||
$assetVersion = static function (string $publicPath): string {
|
||||
$filesystemPath = dirname(__DIR__, 2) . '/public' . $publicPath;
|
||||
@@ -88,7 +90,7 @@ $renderStartIcon = static function (array $profile): string {
|
||||
</div>
|
||||
<div class="system-bar-right">
|
||||
<?php if (($desktopPayload['session']['is_admin'] ?? false) === true): ?>
|
||||
<button class="tray-pill tray-pill-button tray-pill-debug" id="debug-toggle-top" type="button" aria-expanded="false">Debug</button>
|
||||
<button class="tray-pill tray-pill-button tray-pill-debug" id="debug-toggle-top" type="button" aria-expanded="false"><?= htmlspecialchars($debugShellLabel, ENT_QUOTES) ?></button>
|
||||
<?php endif; ?>
|
||||
<time id="clock-top"></time>
|
||||
</div>
|
||||
@@ -166,7 +168,7 @@ $renderStartIcon = static function (array $profile): string {
|
||||
><?= htmlspecialchars($trayItem['label'], ENT_QUOTES) ?></button>
|
||||
<?php endforeach; ?>
|
||||
<?php if (($desktopPayload['session']['is_admin'] ?? false) === true): ?>
|
||||
<button class="tray-pill tray-pill-button tray-pill-debug" id="debug-toggle" type="button" aria-expanded="false">Debug</button>
|
||||
<button class="tray-pill tray-pill-button tray-pill-debug" id="debug-toggle" type="button" aria-expanded="false"><?= htmlspecialchars($debugShellLabel, ENT_QUOTES) ?></button>
|
||||
<?php endif; ?>
|
||||
<time id="clock"></time>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user