diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-06-19 10:37:44 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-06-19 11:29:40 -0300 |
commit | daeab6c45370e05491ae60f854fb3b9967c6f94d (patch) | |
tree | 1db4bdbfd4b4d0d8d8b37a16210b575cffa06d89 | |
parent | aba02f656010bc190b5db0e0c659f8f79402b6a9 (diff) | |
download | pfsense-daeab6c45370e05491ae60f854fb3b9967c6f94d.zip pfsense-daeab6c45370e05491ae60f854fb3b9967c6f94d.tar.gz |
Fix indent and whitespaces
-rw-r--r-- | usr/local/www/exec.php | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/usr/local/www/exec.php b/usr/local/www/exec.php index c1eb4bb..b95b72b 100644 --- a/usr/local/www/exec.php +++ b/usr/local/www/exec.php @@ -103,13 +103,14 @@ include("head.inc"); <?php if (isBlank( $_POST['txtRecallBuffer'] )) { - puts( " var arrRecallBuffer = new Array;" ); + puts( " var arrRecallBuffer = new Array;" ); } else { - puts( " var arrRecallBuffer = new Array(" ); - $arrBuffer = explode( "&", $_POST['txtRecallBuffer'] ); - for ($i=0; $i < (count( $arrBuffer ) - 1); $i++) puts( " '" . htmlspecialchars($arrBuffer[$i]) . "'," ); - puts( " '" . htmlspecialchars($arrBuffer[count( $arrBuffer ) - 1]) . "'" ); - puts( " );" ); + puts( " var arrRecallBuffer = new Array(" ); + $arrBuffer = explode( "&", $_POST['txtRecallBuffer'] ); + for ($i=0; $i < (count( $arrBuffer ) - 1); $i++) + puts( " '" . htmlspecialchars($arrBuffer[$i]) . "'," ); + puts( " '" . htmlspecialchars($arrBuffer[count( $arrBuffer ) - 1]) . "'" ); + puts( " );" ); } ?> |