summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-12-17 07:36:25 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-12-17 07:36:25 -0500
commit7f1215429758dd3b6547f1b62d36a7b3dfe65ffc (patch)
tree06dad5d138f22dd4898a7dd4b512fa9dcb0a18cb /src
parentf224c8a2576866f1a2d1a9574cdc586c4bfbdd35 (diff)
parentef955de61c1b71e9a08ebbdee8424228f2ca8b49 (diff)
downloadpfsense-7f1215429758dd3b6547f1b62d36a7b3dfe65ffc.zip
pfsense-7f1215429758dd3b6547f1b62d36a7b3dfe65ffc.tar.gz
Merge pull request #2259 from NOYB/HTML_Compliance_-_Picture_Widget
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/widgets/widgets/picture.widget.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/widgets/widgets/picture.widget.php b/src/usr/local/www/widgets/widgets/picture.widget.php
index 6b19ab6..aedeacd 100644
--- a/src/usr/local/www/widgets/widgets/picture.widget.php
+++ b/src/usr/local/www/widgets/widgets/picture.widget.php
@@ -71,7 +71,7 @@ if ($_POST) {
?>
<a href="/widgets/widgets/picture.widget.php?getpic=true" target="_blank">
- <img width="100%" height="100%" src="/widgets/widgets/picture.widget.php?getpic=true" alt="picture" />
+ <img style="width:100%; height:100%" src="/widgets/widgets/picture.widget.php?getpic=true" alt="picture" />
</a>
<!-- close the body we're wrapped in and add a configuration-panel -->
@@ -79,6 +79,6 @@ if ($_POST) {
<form action="/widgets/widgets/picture.widget.php" method="post" enctype="multipart/form-data" class="form-inline">
<label for="pictfile">New picture: </label>
- <input name="pictfile" type="file" class="form-control" />
+ <input id="pictfile" name="pictfile" type="file" class="form-control" />
<button type="submit" class="btn btn-default">Upload</button>
</form>
OpenPOWER on IntegriCloud