aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGoffredo Andreone <gandreone@pfsense.org>2007-02-22 19:14:16 +0000
committerGoffredo Andreone <gandreone@pfsense.org>2007-02-22 19:14:16 +0000
commitd0d13d484921831c6c4fb3fbee12ed51c5b8b0a0 (patch)
treeb2065b24487f1ba3e9c51555710765bcfed19de2
parent11a8b71064d7c1470e122cdaa0f0492bbc0a02f3 (diff)
downloadpfsense-packages-d0d13d484921831c6c4fb3fbee12ed51c5b8b0a0.tar.gz
pfsense-packages-d0d13d484921831c6c4fb3fbee12ed51c5b8b0a0.tar.bz2
pfsense-packages-d0d13d484921831c6c4fb3fbee12ed51c5b8b0a0.zip
Added Clear logs button
-rw-r--r--packages/tinydns/tinydns_view_logs.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/tinydns/tinydns_view_logs.php b/packages/tinydns/tinydns_view_logs.php
index 6c654dc8..99faeeeb 100644
--- a/packages/tinydns/tinydns_view_logs.php
+++ b/packages/tinydns/tinydns_view_logs.php
@@ -68,6 +68,11 @@ $tinydnslogs = `cat /etc/tinydns/log/main/current | /usr/local/bin/tai64nlocal |
</td>
</tr>
</table>
+<td align="left" valign="top">
+ <form id="filterform" name="filterform" action="diag_logs.php" method="post" style="margin-top: 14px;">
+ <input id="submit" name="clear" type="submit" class="formbtn" value="<?=gettext("Clear log");?>" />
+ </form>
+</td>
</div>
<?php include("fend.inc"); ?>
<meta http-equiv="refresh" content="60;url=<?php print $_SERVER['SCRIPT_NAME']; ?>">