|
|
@ -33,7 +33,7 @@ include_once( 'includes/system.php' );
|
|
|
|
include_once( 'includes/configure_client.php' );
|
|
|
|
include_once( 'includes/configure_client.php' );
|
|
|
|
include_once( 'includes/networking.php' );
|
|
|
|
include_once( 'includes/networking.php' );
|
|
|
|
include_once( 'includes/themes.php' );
|
|
|
|
include_once( 'includes/themes.php' );
|
|
|
|
include_once( 'includes/vnstat.php' );
|
|
|
|
include_once( 'includes/bandwidth.php' );
|
|
|
|
|
|
|
|
|
|
|
|
$output = $return = 0;
|
|
|
|
$output = $return = 0;
|
|
|
|
$page = $_GET['page'];
|
|
|
|
$page = $_GET['page'];
|
|
|
@ -158,7 +158,7 @@ $theme_url = 'dist/css/'.htmlspecialchars($theme, ENT_QUOTES);
|
|
|
|
<?php endif; ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
<?php if ( RASPI_VNSTAT_ENABLED ) : ?>
|
|
|
|
<?php if ( RASPI_VNSTAT_ENABLED ) : ?>
|
|
|
|
<li>
|
|
|
|
<li>
|
|
|
|
<a href="index.php?page=vnstat"><i class="fa fa-bar-chart fa-fw"></i> <?php echo _("Bandwidth"); ?></a>
|
|
|
|
<a href="index.php?page=bandwidth"><i class="fa fa-bar-chart fa-fw"></i> <?php echo _("Bandwidth"); ?></a>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<?php endif; ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
<li>
|
|
|
|
<li>
|
|
|
@ -214,8 +214,8 @@ $extraFooterScripts = array();
|
|
|
|
case "theme_conf":
|
|
|
|
case "theme_conf":
|
|
|
|
DisplayThemeConfig();
|
|
|
|
DisplayThemeConfig();
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case "vnstat":
|
|
|
|
case "bandwidth":
|
|
|
|
DisplayVnstat($extraFooterScripts);
|
|
|
|
DisplayBandwidth($extraFooterScripts);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case "system_info":
|
|
|
|
case "system_info":
|
|
|
|
DisplaySystem();
|
|
|
|
DisplaySystem();
|
|
|
|