Commit cc451682 authored by Ad Schellevis's avatar Ad Schellevis

Merge branch 'master' of github.com:opnsense/core

parents c0449191 a3ab68f9
......@@ -261,7 +261,7 @@ function display_login_form()
<div class="form-group">
<label for="usernamefld"><?=gettext("Username:"); ?></label>
<input id="usernamefld" type="text" name="usernamefld" class="form-control user" tabindex="1" autofocus="autofocus" />
<input id="usernamefld" type="text" name="usernamefld" class="form-control user" tabindex="1" autofocus="autofocus" autocapitalize="off" autocorrect="off" />
</div>
<div class="form-group">
......
......@@ -514,7 +514,7 @@ function get_dates($curperiod, $graph) {
$id = preg_replace('/\./', '_', $id);
$img_date = date('YmdGis'); /* Add a way to let the browser know we have refreshed the image */
echo "<tr><td colspan=\"100%\" class=\"list\">\n";
echo "<img border=\"0\" width=\"100%;\" name=\"{$id}\"";
echo "<img border=\"0\" style=\"max-width:100%; height:auto\" name=\"{$id}\"";
echo "id=\"{$id}\" alt=\"$prettydb Graph\" ";
echo "src=\"status_rrd_graph_img.php?start={$start}&amp;end={$end}&amp;database={$curdatabase}&amp;style={$curstyle}&amp;graph={$graph}-{$img_date}\" />\n";
echo "<br /><hr /><br />\n";
......@@ -583,7 +583,7 @@ function get_dates($curperiod, $graph) {
$start = $dates['start'];
$end = $dates['end'];
echo "<tr><td colspan=\"100%\" class=\"list\">\n";
echo "<img border=\"0\" width=\"100%;\" name=\"{$id}\" ";
echo "<img border=\"0\" style=\"max-width:100%; height:auto\" name=\"{$id}\" ";
echo "id=\"{$id}\" alt=\"$prettydb Graph\" ";
echo "src=\"status_rrd_graph_img.php?start={$start}&amp;end={$end}&amp;database={$curdatabase}&amp;style={$curstyle}&amp;graph={$graph}-{$img_date}\" />\n";
echo "<br /><hr /><br />\n";
......
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