summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/exec.php
diff options
context:
space:
mode:
authorNewEraCracker <neweracracker@gmail.com>2016-01-14 15:59:59 +0000
committerNewEraCracker <neweracracker@gmail.com>2016-01-14 15:59:59 +0000
commit5c0ab3cd34fb5135c16639e3eb3a2a870ce3ce32 (patch)
treeae4ea269f6b99756f25f3649238b523a42123322 /src/usr/local/www/exec.php
parentebfbb1b30c52dd9b9385dc3717c8dbb1cdafc9f2 (diff)
downloadpfsense-5c0ab3cd34fb5135c16639e3eb3a2a870ce3ce32.zip
pfsense-5c0ab3cd34fb5135c16639e3eb3a2a870ce3ce32.tar.gz
All simple php echo to short
Short version is far more used than long php echo. This brings all code to same standard where possible.
Diffstat (limited to 'src/usr/local/www/exec.php')
-rw-r--r--src/usr/local/www/exec.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/exec.php b/src/usr/local/www/exec.php
index 6d6d386..f4bbd7f 100644
--- a/src/usr/local/www/exec.php
+++ b/src/usr/local/www/exec.php
@@ -260,7 +260,7 @@ if (!isBlank($_POST['txtCommand'])):?>
<div class="panel-heading"><h2 class="panel-title"><?=gettext('Download file')?></h2></div>
<div class="panel-body">
<div class="content">
- <input name="dlPath" type="text" id="dlPath" placeholder="File to download" class="col-sm-4" value="<?php echo htmlspecialchars($_GET['dlPath']) ?>"/>
+ <input name="dlPath" type="text" id="dlPath" placeholder="File to download" class="col-sm-4" value="<?=htmlspecialchars($_GET['dlPath']);?>"/>
<br /><br />
<button name="submit" type="submit" class="btn btn-default btn-sm" id="download" value="DOWNLOAD"><?=gettext("Download")?></button>
</div>
OpenPOWER on IntegriCloud