Commit 2b8bdc0c authored by Ad Schellevis's avatar Ad Schellevis

(dashboard, widgets) cleanup system_log.widget.php

parent 865b51da
......@@ -46,25 +46,21 @@ if(is_numeric($_POST['logfiltercount'])) {
}
?>
<input type="hidden" id="system_log-config" name="system_log-config" value="" />
<div id="system_log-settings" class="widgetconfigdiv" style="display:none;">
<form action="/widgets/widgets/system_log.widget.php" method="post" name="iform">
<table class="table table-striped" summary="system_log widget">
<table class="table table-striped">
<tr>
<td><?=gettext("Number of Log lines to display");?>:</td>
<td>
<select name="logfiltercount" id="logfiltercount">
<?php for ($i = 1; $i <= 50; $i++) {?>
<option value="<?php echo $i;?>" <?php if ($syslogEntriesToFetch == $i) { echo "selected=\"selected\"";}?>><?php echo $i;?></option>
<?php } ?>
</select>
</td>
<td>
<input id="submit" name="submit" type="submit" class="btn btn-primary formbtn" value="<?= gettext('Save') ?>" autocomplete="off">
</td>
</tr>
</table>
</form>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment