pull/1/head
LX3JL 9 years ago
parent edde49c1af
commit 2b834edf39

@ -132,3 +132,9 @@ background-image: linear-gradient(to bottom, rgb(201, 231, 233) 0%, rgb(220, 237
padding-top : 3px;
border : 1px #60A1DE solid;
}
.smalllink {
font-size : 12pt;
text-decoration : none;
color : #0E0789;
}

@ -38,6 +38,14 @@ if (isset($_POST['do'])) {
}
}
if (isset($_GET['do'])) {
if ($_GET['do'] == "resetfilter") {
$_SESSION['FilterModule'] = null;
$_SESSION['FilterCallSign'] = null;
}
}
?>
<table border="0">
<tr>
@ -58,7 +66,12 @@ if ($PageOptions['UserPage']['ShowFilter']) {
<input type="text" class="FilterField" value="'.$_SESSION['FilterCallSign'].'" name="txtSetCallsignFilter" placeholder="Callsign" />
<input type="submit" value="Apply" class="FilterSubmit" />
</form>
</td>
</td>';
if (($_SESSION['FilterModule'] != null) || ($_SESSION['FilterCallSign'] != null)) {
echo '
<td><a href="./index.php?do=resetfilter" class="smalllink">Disable filters</a></td>';
}
echo '
<td align="right" style="padding-right:3px;">
<form name="frmFilterModule" method="post" action="./index.php">
<input type="hidden" name="do" value="SetFilter" />

Loading…
Cancel
Save

Powered by TurnKey Linux.