summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/exec.php
diff options
context:
space:
mode:
authorColin Fleming <cj_fleming@sky.com>2015-11-29 18:23:07 +0000
committerColin Fleming <cj_fleming@sky.com>2015-11-29 18:23:07 +0000
commit8fd9052f364f7c0d10d8244f3c1456c67baecc6d (patch)
tree7c49291e368a677d6be225d7f0375f6ce0bf7c63 /src/usr/local/www/exec.php
parentcbe639a8a2575b3148c9b5069be78b0a89b3b429 (diff)
downloadpfsense-8fd9052f364f7c0d10d8244f3c1456c67baecc6d.zip
pfsense-8fd9052f364f7c0d10d8244f3c1456c67baecc6d.tar.gz
Type up SCRIPT tags
Diffstat (limited to 'src/usr/local/www/exec.php')
-rw-r--r--src/usr/local/www/exec.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/usr/local/www/exec.php b/src/usr/local/www/exec.php
index dc20057..f9b8f28 100644
--- a/src/usr/local/www/exec.php
+++ b/src/usr/local/www/exec.php
@@ -129,7 +129,8 @@ $closehead = false;
$pgtitle = array(gettext("Diagnostics"), gettext("Execute command"));
include("head.inc");
?>
-<script>
+<script type="text/javascript">
+//<![CDATA[
// Create recall buffer array (of encoded strings).
<?php
@@ -304,11 +305,13 @@ if (!isBlank($_POST['txtCommand'])):?>
puts("&nbsp;</pre>");
puts("</div>");
?>
-<script>
+<script type="text/javascript">
+//<![CDATA[
events.push(function(){
// Scroll to the bottom of the page to more easily see the results of a PHP exec command
$("html, body").animate({ scrollTop: $(document).height() }, 1000);
});
+//]]>
</script>
<?php
}
OpenPOWER on IntegriCloud