diff options
author | RaindropsSys <contact@minteck.org> | 2023-07-20 18:29:09 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-07-20 18:29:09 +0200 |
commit | 46251292b5c8b431de66aeff473594ccec60e04c (patch) | |
tree | c9f2c196e50f064a66625813660148379212d9d7 /includes/components/mobilenav.inc | |
parent | 93c96fd1d89782570de9478c26f17b406e9dd7a0 (diff) | |
download | pluralconnect-46251292b5c8b431de66aeff473594ccec60e04c.tar.gz pluralconnect-46251292b5c8b431de66aeff473594ccec60e04c.tar.bz2 pluralconnect-46251292b5c8b431de66aeff473594ccec60e04c.zip |
Updated 19 files and added 26 files (automated)
Diffstat (limited to 'includes/components/mobilenav.inc')
-rw-r--r-- | includes/components/mobilenav.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/components/mobilenav.inc b/includes/components/mobilenav.inc index 7b49434..e42e9ab 100644 --- a/includes/components/mobilenav.inc +++ b/includes/components/mobilenav.inc @@ -1,4 +1,4 @@ -<?php global $navigation; global $isLoggedIn; global $isLowerLoggedIn; ?> +<?php global $use2023UI; global $navigation; global $isLoggedIn; global $isLowerLoggedIn; if (!$use2023UI): ?> <div id="mobile-navigation"> <div id="mobile-navigation-container" class="container" style="display: grid; grid-template-columns: repeat(<?= count(array_values(array_filter($navigation, function ($item) use ($isLoggedIn) { return !$item["admin"] || $isLoggedIn; @@ -85,4 +85,5 @@ closeMobileNavigation(); } } -</script>
\ No newline at end of file +</script> +<?php endif; ?>
\ No newline at end of file |