From 756198509724083884df008fa74e5584e4f81e64 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 --- Theme/Backend/analysis-client.tpl.php | 2 +- Theme/Backend/analysis-item.tpl.php | 2 +- Theme/Backend/analysis-region.tpl.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Theme/Backend/analysis-client.tpl.php b/Theme/Backend/analysis-client.tpl.php index c312669..06dd249 100755 --- a/Theme/Backend/analysis-client.tpl.php +++ b/Theme/Backend/analysis-client.tpl.php @@ -28,7 +28,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/analysis-item.tpl.php b/Theme/Backend/analysis-item.tpl.php index 35bb6ea..00636f8 100755 --- a/Theme/Backend/analysis-item.tpl.php +++ b/Theme/Backend/analysis-item.tpl.php @@ -30,7 +30,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/analysis-region.tpl.php b/Theme/Backend/analysis-region.tpl.php index b83b8b7..b0c7d81 100755 --- a/Theme/Backend/analysis-region.tpl.php +++ b/Theme/Backend/analysis-region.tpl.php @@ -33,7 +33,7 @@ echo $this->data['nav']->render();
- request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>> + request->uri->fragment) || $this->request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>>