Updated with about page

This commit is contained in:
billz 2019-03-15 12:39:03 +00:00
parent cbb37ff7f5
commit 1e5dd6011b

View file

@ -34,6 +34,7 @@ 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/data_usage.php' ); include_once( 'includes/data_usage.php' );
include_once( 'includes/about.php' );
$output = $return = 0; $output = $return = 0;
$page = $_GET['page']; $page = $_GET['page'];
@ -120,7 +121,7 @@ $theme_url = 'dist/css/'.htmlspecialchars($theme, ENT_QUOTES);
</li> </li>
<?php if ( RASPI_WIFICLIENT_ENABLED ) : ?> <?php if ( RASPI_WIFICLIENT_ENABLED ) : ?>
<li> <li>
<a href="index.php?page=wpa_conf"><i class="fa fa-signal fa-fw"></i> <?php echo _("Configure WiFi client"); ?></a> <a href="index.php?page=wpa_conf"><i class="fa fa-wifi fa-fw"></i> <?php echo _("Configure WiFi client"); ?></a>
</li> </li>
<?php endif; ?> <?php endif; ?>
<?php if ( RASPI_HOTSPOT_ENABLED ) : ?> <?php if ( RASPI_HOTSPOT_ENABLED ) : ?>
@ -166,7 +167,10 @@ $theme_url = 'dist/css/'.htmlspecialchars($theme, ENT_QUOTES);
<li> <li>
<a href="index.php?page=system_info"><i class="fa fa-cube fa-fw"></i> <?php echo _("System"); ?></a> <a href="index.php?page=system_info"><i class="fa fa-cube fa-fw"></i> <?php echo _("System"); ?></a>
</li> </li>
</ul> <li>
<a href="index.php?page=about"><i class="fa fa-info-circle fa-fw"></i> <?php echo _("About RaspAP"); ?></a>
</li>
</ul>
</div><!-- /.navbar-collapse --> </div><!-- /.navbar-collapse -->
</div><!-- /.navbar-default --> </div><!-- /.navbar-default -->
</nav> </nav>
@ -222,6 +226,9 @@ $extraFooterScripts = array();
case "system_info": case "system_info":
DisplaySystem(); DisplaySystem();
break; break;
case "about":
DisplayAbout();
break;
default: default:
DisplayDashboard(); DisplayDashboard();
} }