From 915a79c94e5a7d0db77b84dccca8f57f3e5f7bc4 Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Thu, 29 May 2025 17:04:08 -0700 Subject: [PATCH] fix: tabbed content rendering in MainContentTabbed.php - Added logic to handle pages without titles but containing text, ensuring proper rendering of content. - Introduced a mechanism to skip index increment for such pages, maintaining correct tab functionality. - Improved code readability with better indentation and comments for clarity. --- .../DefaultPageLayout/MainContentTabbed.php | 25 +++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/emhttp/plugins/dynamix/include/DefaultPageLayout/MainContentTabbed.php b/emhttp/plugins/dynamix/include/DefaultPageLayout/MainContentTabbed.php index b639e55bc..7f251740e 100644 --- a/emhttp/plugins/dynamix/include/DefaultPageLayout/MainContentTabbed.php +++ b/emhttp/plugins/dynamix/include/DefaultPageLayout/MainContentTabbed.php @@ -4,6 +4,7 @@ * Accessible, modern, and decoupled from non-tabbed logic. */ ?> +
- + '.generateContent($page)); + } continue; } $title = processTitle($page['Title']); @@ -47,7 +62,13 @@ '.generateContent($page)); ?> - +