diff options
author | Colin Fleming <cj_fleming@sky.com> | 2015-11-29 18:23:07 +0000 |
---|---|---|
committer | Colin Fleming <cj_fleming@sky.com> | 2015-11-29 18:23:07 +0000 |
commit | 8fd9052f364f7c0d10d8244f3c1456c67baecc6d (patch) | |
tree | 7c49291e368a677d6be225d7f0375f6ce0bf7c63 /src/usr/local/www/exec.php | |
parent | cbe639a8a2575b3148c9b5069be78b0a89b3b429 (diff) | |
download | pfsense-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.php | 7 |
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(" </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 } |