From c49f0e89fda7e138080f395dcbe5ac80dc4bde0d Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 11 Oct 2024 23:01:27 +0000 Subject: [PATCH] fix auto select first tab --- Admin/Settings/Theme/Backend/settings.tpl.php | 2 +- Theme/Backend/accounts-view.tpl.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Admin/Settings/Theme/Backend/settings.tpl.php b/Admin/Settings/Theme/Backend/settings.tpl.php index 96e8be3..4d4c728 100755 --- a/Admin/Settings/Theme/Backend/settings.tpl.php +++ b/Admin/Settings/Theme/Backend/settings.tpl.php @@ -40,7 +40,7 @@ echo $this->data['nav']->render();
- request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>> + request->uri->fragment) || $this->request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>>
diff --git a/Theme/Backend/accounts-view.tpl.php b/Theme/Backend/accounts-view.tpl.php index 4ced29f..6d097c3 100644 --- a/Theme/Backend/accounts-view.tpl.php +++ b/Theme/Backend/accounts-view.tpl.php @@ -60,7 +60,7 @@ echo $this->data['nav']->render(); ?>
- request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>> + request->uri->fragment) || $this->request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>>