mirror of https://github.com/itflow-org/itflow
Hide Permission Modules on sidenav admin menu as this is not ready for custom modules
This commit is contained in:
parent
a430bb917e
commit
4a26ea7ed9
|
|
@ -27,12 +27,14 @@
|
||||||
<p>Roles</p>
|
<p>Roles</p>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<!-- 2025-12-05 JQ - Hide Permission Modules currently just shows modules
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="/admin/modules.php" class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "modules.php") {echo "active";} ?>">
|
<a href="/admin/modules.php" class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "modules.php") {echo "active";} ?>">
|
||||||
<i class="nav-icon fas fa-puzzle-piece"></i>
|
<i class="nav-icon fas fa-puzzle-piece"></i>
|
||||||
<p>Modules</p>
|
<p>Modules</p>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
-->
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="/admin/api_keys.php" class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "api_keys.php") {echo "active";} ?>">
|
<a href="/admin/api_keys.php" class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "api_keys.php") {echo "active";} ?>">
|
||||||
<i class="nav-icon fas fa-key"></i>
|
<i class="nav-icon fas fa-key"></i>
|
||||||
|
|
@ -91,7 +93,7 @@
|
||||||
<p>AI Models</p>
|
<p>AI Models</p>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<?php if ($config_module_enable_ticketing) { ?>
|
<?php if ($config_module_enable_ticketing) { ?>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="/admin/ticket_status.php" class="nav-link <?php echo (basename($_SERVER['PHP_SELF']) == 'ticket_status.php' ? 'active' : ''); ?>">
|
<a href="/admin/ticket_status.php" class="nav-link <?php echo (basename($_SERVER['PHP_SELF']) == 'ticket_status.php' ? 'active' : ''); ?>">
|
||||||
|
|
@ -296,7 +298,7 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$sql_custom_links = mysqli_query($mysqli, "SELECT * FROM custom_links
|
$sql_custom_links = mysqli_query($mysqli, "SELECT * FROM custom_links
|
||||||
WHERE custom_link_location = 4 AND custom_link_archived_at IS NULL
|
WHERE custom_link_location = 4 AND custom_link_archived_at IS NULL
|
||||||
ORDER BY custom_link_order ASC, custom_link_name ASC"
|
ORDER BY custom_link_order ASC, custom_link_name ASC"
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue