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'])) { ...@@ -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;"> <div id="system_log-settings" class="widgetconfigdiv" style="display:none;">
<form action="/widgets/widgets/system_log.widget.php" method="post" name="iform"> <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> <tr>
<td><?=gettext("Number of Log lines to display");?>:</td> <td><?=gettext("Number of Log lines to display");?>:</td>
<td> <td>
<select name="logfiltercount" id="logfiltercount"> <select name="logfiltercount" id="logfiltercount">
<?php for ($i = 1; $i <= 50; $i++) {?> <?php for ($i = 1; $i <= 50; $i++) {?>
<option value="<?php echo $i;?>" <?php if ($syslogEntriesToFetch == $i) { echo "selected=\"selected\"";}?>><?php echo $i;?></option> <option value="<?php echo $i;?>" <?php if ($syslogEntriesToFetch == $i) { echo "selected=\"selected\"";}?>><?php echo $i;?></option>
<?php } ?> <?php } ?>
</select>
</td> </td>
<td> <td>
<input id="submit" name="submit" type="submit" class="btn btn-primary formbtn" value="<?= gettext('Save') ?>" autocomplete="off"> <input id="submit" name="submit" type="submit" class="btn btn-primary formbtn" value="<?= gettext('Save') ?>" autocomplete="off">
</td> </td>
</tr> </tr>
</table> </table>
</form> </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