diff options
| author | winter | 2025-01-18 22:58:58 +0000 |
|---|---|---|
| committer | winter | 2025-01-18 22:58:58 +0000 |
| commit | 981775d1b1965d21b99ca72a28a37d55d330a88a (patch) | |
| tree | b03b17f8bbd16d28aaf2003b9e07f86e333eac5f /templates/skeleton.php | |
| parent | f1a48c521472bde1c8668e29f8c5c792e1dd9f9f (diff) | |
confirmation on logging out
Diffstat (limited to 'templates/skeleton.php')
| -rw-r--r-- | templates/skeleton.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/skeleton.php b/templates/skeleton.php index 5186b4a..c91dc42 100644 --- a/templates/skeleton.php +++ b/templates/skeleton.php @@ -59,7 +59,12 @@ $settings = GlobalSettings::getInstance(); if ($user->isAdmin) { $links[] = ['href' => '/admin/settings/instance', 'icon' => 'settings', 'label' => __('navigation.instanceSettings')]; } - $links[] = ['href' => '/logout', 'icon' => 'logout', 'label' => __('navigation.logout')]; + $links[] = [ + 'href' => '/logout', + 'icon' => 'logout', + 'label' => __('navigation.logout'), + 'confirmation' => __('navigation.logout.confirmation') + ]; call_template('side_navigation', ['links' => $links]); } ?> |
