diff --git a/scripts/lua/header.lp b/scripts/lua/header.lp
index 465624db..860a1d6f 100644
--- a/scripts/lua/header.lp
+++ b/scripts/lua/header.lp
@@ -96,27 +96,25 @@ is_authenticated = mg.request_info.is_authenticated
-
-
+
- if startsWith(scriptname, 'groups') then
- -- Group management styles
-?>
-
- end ?>
if is_authenticated then ?>
+ if startsWith(scriptname, 'groups') then ?>
+
+ end ?>
+
+
- end ?>
-
+ end ?>
@@ -133,7 +131,5 @@ is_authenticated = mg.request_info.is_authenticated
-
-
diff --git a/scripts/lua/header_authenticated.lp b/scripts/lua/header_authenticated.lp
index 6e9a7c94..609d7420 100644
--- a/scripts/lua/header_authenticated.lp
+++ b/scripts/lua/header_authenticated.lp
@@ -9,6 +9,7 @@
]]--
mg.include('header.lp','r')
?>
+
@@ -20,6 +21,7 @@ mg.include('header.lp','r')
+