summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets/widgets/log.widget.php
diff options
context:
space:
mode:
authorCharlie Marshall <charlie0440@gmail.com>2013-07-26 10:35:22 +0100
committerRenato Botelho <garga@FreeBSD.org>2013-07-26 12:08:27 -0300
commit7c0e81ac46c2f33586a8b491a1792bb9bbf02c2e (patch)
tree6dea7423d335677788b9b8ba3cedde1eb636b634 /usr/local/www/widgets/widgets/log.widget.php
parent4d8145469512530d42b88f3c049eb4ef38429559 (diff)
downloadpfsense-7c0e81ac46c2f33586a8b491a1792bb9bbf02c2e.zip
pfsense-7c0e81ac46c2f33586a8b491a1792bb9bbf02c2e.tar.gz
revert part of commit 4cfcbd3 - removes blank option on firewall log widget drop down menu
Diffstat (limited to 'usr/local/www/widgets/widgets/log.widget.php')
-rw-r--r--usr/local/www/widgets/widgets/log.widget.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/widgets/widgets/log.widget.php b/usr/local/www/widgets/widgets/log.widget.php
index 64a02fa..8a92092 100644
--- a/usr/local/www/widgets/widgets/log.widget.php
+++ b/usr/local/www/widgets/widgets/log.widget.php
@@ -133,8 +133,8 @@ function format_log_line(row) {
<form action="/widgets/widgets/log.widget.php" method="post" name="iforma">
Number of lines to display:
<select name="filterlogentries" class="formfld unknown" id="filterlogentries">
- <?php for ($i = 0; $i <= 20; $i++) { ?>
- <option value="<?php if ($i > 0) echo $i; else echo ' ';?>" <?php if ($nentries == $i) echo "selected=\"selected\"";?>><?php if ($i > 0) echo ' ' . $i; else echo ' ';?></option>
+ <?php for ($i = 1; $i <= 20; $i++) { ?>
+ <option value="<?php echo $i;?>" <?php if ($nentries == $i) echo "SELECTED";?>><?php echo $i;?></option>
<?php } ?>
</select>
OpenPOWER on IntegriCloud