diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-03-14 15:48:51 -0400 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-03-14 15:48:51 -0400 |
commit | 0974e2de3180b16dadbb6000670d214434c83068 (patch) | |
tree | 88386ce361da7ea8e5fab3b9e46a713893f4b1da | |
parent | 1ce6d9e9baac6007083c65522d741790a08f5e64 (diff) | |
parent | 60f8fa56451ab8889756acda51b5378b0a58c176 (diff) | |
download | pfsense-0974e2de3180b16dadbb6000670d214434c83068.zip pfsense-0974e2de3180b16dadbb6000670d214434c83068.tar.gz |
Merge pull request #2736 from phil-davis/patch-2
-rw-r--r-- | src/usr/local/www/classes/Form/Button.class.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/classes/Form/Button.class.php b/src/usr/local/www/classes/Form/Button.class.php index a6f2ef3..85fd428 100644 --- a/src/usr/local/www/classes/Form/Button.class.php +++ b/src/usr/local/www/classes/Form/Button.class.php @@ -53,13 +53,13 @@ class Form_Button extends Form_Input { $this->_tagSelfClosing = false; $this->_tagName = 'button'; - $this->_attributes['value'] = $title; + $this->_attributes['value'] = gettext($title); $this->_attributes['icon'] = $icon; } else { $this->_tagSelfClosing = true; - $this->_attributes['value'] = $title; + $this->_attributes['value'] = gettext($title); $this->addClass('btn-primary'); } @@ -78,4 +78,4 @@ class Form_Button extends Form_Input return $input . htmlspecialchars($this->_title) .'</a>'; } -}
\ No newline at end of file +} |