patch from dpiekacz (issue #4)

This commit is contained in:
Nicolas Debrigode 2017-04-13 15:59:46 +02:00
parent 11af3523fc
commit fe7cc0d4cd
4 changed files with 10 additions and 5 deletions

View File

@ -1,6 +1,7 @@
<?php include("func.inc"); ?> <?php include("func.inc"); ?>
<?php <?php
$selected_links = array();
$val_searchasset = isset($_GET['asset']) ? $_GET['asset'] : ""; $val_searchasset = isset($_GET['asset']) ? $_GET['asset'] : "";
$aff_customlinks = $aff_otheras = $aff_toolsbox_add = ""; $aff_customlinks = $aff_otheras = $aff_toolsbox_add = "";
@ -158,7 +159,7 @@ $aff_toolsbox .= '</div>';
<div class="wrapper"> <div class="wrapper">
<!-- =============================================== --> <!-- =============================================== -->
<?php echo menu(); ?> <?php echo menu($selected_links); ?>
<!-- =============================================== --> <!-- =============================================== -->
<div class="content-wrapper"> <div class="content-wrapper">

View File

@ -1,6 +1,7 @@
<?php include("func.inc"); ?> <?php include("func.inc"); ?>
<?php <?php
$selected_links = array();
$val_searchas = isset($_GET['as']) ? $_GET['as'] : ""; $val_searchas = isset($_GET['as']) ? $_GET['as'] : "";
$aff_customlinks = ""; $aff_customlinks = "";
@ -69,7 +70,7 @@ if ( isset($_GET['as']) ) {
<div class="wrapper"> <div class="wrapper">
<!-- =============================================== --> <!-- =============================================== -->
<?php echo menu(); ?> <?php echo menu($selected_links); ?>
<!-- =============================================== --> <!-- =============================================== -->
<div class="content-wrapper"> <div class="content-wrapper">

View File

@ -1,7 +1,7 @@
<?php include("func.inc"); ?> <?php include("func.inc"); ?>
<?php <?php
$selected_links = array();
$knownlinks = getknownlinks(); $knownlinks = getknownlinks();
$hours = 24; $hours = 24;
if (@$_GET['numhours']) if (@$_GET['numhours'])
@ -48,7 +48,7 @@ foreach ($knownlinks as $link) {
<div class="wrapper"> <div class="wrapper">
<!-- =============================================== --> <!-- =============================================== -->
<?php echo menu(); ?> <?php echo menu($selected_links); ?>
<!-- =============================================== --> <!-- =============================================== -->
<div class="content-wrapper"> <div class="content-wrapper">

View File

@ -1,5 +1,8 @@
<?php include("func.inc"); ?> <?php include("func.inc"); ?>
<?php
$selected_links = array();
?>
<html> <html>
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
@ -21,7 +24,7 @@
<div class="wrapper"> <div class="wrapper">
<!-- =============================================== --> <!-- =============================================== -->
<?php echo menu(); ?> <?php echo menu($selected_links); ?>
<!-- =============================================== --> <!-- =============================================== -->
<div class="content-wrapper"> <div class="content-wrapper">