diff options
author | Phil Davis <phil.davis@inf.org> | 2016-08-16 14:15:56 +0930 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2016-08-16 14:15:56 +0930 |
commit | 9d3e8723171c727cf43338bd8e95ab2bb7e6a66c (patch) | |
tree | 0c6bfba9d9404fc5d0adeb954268090ab82f56bc /src/usr/local/www/classes/Form/Input.class.php | |
parent | 0ed3b15981b4451efb11839d6ee7b9acf1ed1d84 (diff) | |
download | pfsense-9d3e8723171c727cf43338bd8e95ab2bb7e6a66c.zip pfsense-9d3e8723171c727cf43338bd8e95ab2bb7e6a66c.tar.gz |
Code style and comments
No functional change - just making style consistent
Diffstat (limited to 'src/usr/local/www/classes/Form/Input.class.php')
-rw-r--r-- | src/usr/local/www/classes/Form/Input.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/classes/Form/Input.class.php b/src/usr/local/www/classes/Form/Input.class.php index 1b7da0e..43ec643 100644 --- a/src/usr/local/www/classes/Form/Input.class.php +++ b/src/usr/local/www/classes/Form/Input.class.php @@ -209,7 +209,7 @@ class Form_Input extends Form_Element // These methods required by pkg_edit and the wizards that map xml element definitions to Form elements public function setOnclick($text) { - if($text) + if ($text) $this->_attributes['onclick'] = $text; return $this; @@ -217,7 +217,7 @@ class Form_Input extends Form_Element public function setOnchange($text) { - if($text) + if ($text) $this->_attributes['onchange'] = $text; return $this; |