mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Added option to disable system tab. Thanks @sedgett
This commit is contained in:
parent
68ca768502
commit
f8b1f407f7
@ -30,6 +30,7 @@ define('RASPI_TORPROXY_ENABLED', false);
|
|||||||
define('RASPI_CONFAUTH_ENABLED', true);
|
define('RASPI_CONFAUTH_ENABLED', true);
|
||||||
define('RASPI_CHANGETHEME_ENABLED', true);
|
define('RASPI_CHANGETHEME_ENABLED', true);
|
||||||
define('RASPI_VNSTAT_ENABLED', true);
|
define('RASPI_VNSTAT_ENABLED', true);
|
||||||
|
define('RASPI_SYSTEM_ENABLED', true);
|
||||||
define('RASPI_MONITOR_ENABLED', false);
|
define('RASPI_MONITOR_ENABLED', false);
|
||||||
|
|
||||||
// Locale settings
|
// Locale settings
|
||||||
|
@ -34,6 +34,7 @@ $defaults = [
|
|||||||
'RASPI_CONFAUTH_ENABLED' => true,
|
'RASPI_CONFAUTH_ENABLED' => true,
|
||||||
'RASPI_CHANGETHEME_ENABLED' => true,
|
'RASPI_CHANGETHEME_ENABLED' => true,
|
||||||
'RASPI_VNSTAT_ENABLED' => true,
|
'RASPI_VNSTAT_ENABLED' => true,
|
||||||
|
'RASPI_SYSTEM_ENABLED' => true,
|
||||||
'RASPI_MONITOR_ENABLED' => false,
|
'RASPI_MONITOR_ENABLED' => false,
|
||||||
|
|
||||||
// Locale settings
|
// Locale settings
|
||||||
|
@ -161,9 +161,11 @@ if ($_COOKIE['sidebarToggled'] == 'true' ) {
|
|||||||
<a class="nav-link" href="index.php?page=data_use"><i class="fas fa-chart-bar fa-fw mr-2"></i><span class="nav-label"><?php echo _("Data usage"); ?></a>
|
<a class="nav-link" href="index.php?page=data_use"><i class="fas fa-chart-bar fa-fw mr-2"></i><span class="nav-label"><?php echo _("Data usage"); ?></a>
|
||||||
</li>
|
</li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<li class="nav-item">
|
<?php if (RASPI_SYSTEM_ENABLED) : ?>
|
||||||
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="index.php?page=system_info"><i class="fas fa-cube fa-fw mr-2"></i><span class="nav-label"><?php echo _("System"); ?></a>
|
<a class="nav-link" href="index.php?page=system_info"><i class="fas fa-cube fa-fw mr-2"></i><span class="nav-label"><?php echo _("System"); ?></a>
|
||||||
</li>
|
</li>
|
||||||
|
<?php endif; ?>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="index.php?page=about"><i class="fas fa-info-circle fa-fw mr-2"></i><span class="nav-label"><?php echo _("About RaspAP"); ?></a>
|
<a class="nav-link" href="index.php?page=about"><i class="fas fa-info-circle fa-fw mr-2"></i><span class="nav-label"><?php echo _("About RaspAP"); ?></a>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user