summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-06-03 12:18:08 +0100
committerLester Caine <lester@lsces.co.uk>2026-06-03 12:18:08 +0100
commit5f9c91d38691372e93ea96a4a2ce9da5bddec95a (patch)
treeabef7aa76394a2965e45913d2a3ab3e317b26c36 /templates
parent3376557702a90479bb36a7db3eb3d267c26a6fdd (diff)
downloadkernel-5f9c91d38691372e93ea96a4a2ce9da5bddec95a.tar.gz
kernel-5f9c91d38691372e93ea96a4a2ce9da5bddec95a.tar.bz2
kernel-5f9c91d38691372e93ea96a4a2ce9da5bddec95a.zip
kernel: respect column-visibility feature flags on edit pages
Removed hardcoded display_mode=edit guard that unconditionally hid left/right columns — let the existing feature-flag mechanism in BitThemes::loadLayout() control column visibility instead. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/html.tpl12
1 files changed, 5 insertions, 7 deletions
diff --git a/templates/html.tpl b/templates/html.tpl
index 70d962f..1fb5cd8 100755
--- a/templates/html.tpl
+++ b/templates/html.tpl
@@ -42,14 +42,12 @@
{if $gBitSystem->isFeatureActive( 'bidirectional_text' )}<div dir="rtl">{/if}
- {if $gBitThemes->mDisplayMode != 'edit'}
- {if $gBitSystem->isFeatureActive( 'site_left_column' ) && !$gHideModules && $gBitThemes->hasColumnModules('l')}
- {assign var=leftCol value=$gBitThemes->fetchLayoutColumn('l')}
- {/if}
+ {if $gBitSystem->isFeatureActive( 'site_left_column' ) && !$gHideModules && $gBitThemes->hasColumnModules('l')}
+ {assign var=leftCol value=$gBitThemes->fetchLayoutColumn('l')}
+ {/if}
- {if $gBitSystem->isFeatureActive( 'site_right_column' ) && !$gHideModules && $gBitThemes->hasColumnModules('r')}
- {assign var=rightCol value=$gBitThemes->fetchLayoutColumn('r')}
- {/if}
+ {if $gBitSystem->isFeatureActive( 'site_right_column' ) && !$gHideModules && $gBitThemes->hasColumnModules('r')}
+ {assign var=rightCol value=$gBitThemes->fetchLayoutColumn('r')}
{/if}
{if !empty($leftCol)}