summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets
diff options
context:
space:
mode:
authorCharlie Marshall <charlie0440@gmail.com>2013-07-25 22:24:08 +0100
committerCharlie Marshall <charlie0440@gmail.com>2013-07-25 22:24:08 +0100
commit5330161eb61e4ec4f84a0618c6e4dc749bc6b891 (patch)
tree3bd7d91aa31d1684965bc52db9fa8f8fc5113f61 /usr/local/www/widgets
parent46172e9c991631b93726c01d7c8713b262c2b8fc (diff)
downloadpfsense-5330161eb61e4ec4f84a0618c6e4dc749bc6b891.zip
pfsense-5330161eb61e4ec4f84a0618c6e4dc749bc6b891.tar.gz
remove whitespaces
Diffstat (limited to 'usr/local/www/widgets')
-rw-r--r--usr/local/www/widgets/widgets/picture.widget.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/widgets/widgets/picture.widget.php b/usr/local/www/widgets/widgets/picture.widget.php
index 18e0c17..048eb68 100644
--- a/usr/local/www/widgets/widgets/picture.widget.php
+++ b/usr/local/www/widgets/widgets/picture.widget.php
@@ -35,7 +35,7 @@ require_once("functions.inc");
if($_GET['getpic']=="true") {
$pic_type_s = explode(".", $config['widgets']['picturewidget_filename']);
$pic_type = $pic_type_s[1];
- if($config['widgets']['picturewidget'])
+ if($config['widgets']['picturewidget'])
$data = base64_decode($config['widgets']['picturewidget']);
header("Content-Disposition: inline; filename=\"{$config['widgets']['picturewidget_filename']}\"");
header("Content-Type: image/{$pic_type}");
@@ -47,7 +47,7 @@ if($_GET['getpic']=="true") {
if($_POST) {
if (is_uploaded_file($_FILES['pictfile']['tmp_name'])) {
/* read the file contents */
- $fd_pic = fopen($_FILES['pictfile']['tmp_name'], "rb");
+ $fd_pic = fopen($_FILES['pictfile']['tmp_name'], "rb");
while ( ($buf=fread( $fd_pic, 8192 )) != '' ) {
// Here, $buf is guaranted to contain data
$data .= $buf;
@@ -83,7 +83,7 @@ if($_POST) {
<a href='/widgets/widgets/picture.widget.php?getpic=true' target='_blank'>
<img border="0" width="100%" height="100%" src="/widgets/widgets/picture.widget.php?getpic=true" alt="picture" />
</a>
-</div>
+</div>
<!-- needed to show the settings widget icon -->
<script type="text/javascript">
OpenPOWER on IntegriCloud