diff options
Diffstat (limited to 'application/forms/Pool.php')
| -rw-r--r-- | application/forms/Pool.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/application/forms/Pool.php b/application/forms/Pool.php index 2fcdf78..be30444 100644 --- a/application/forms/Pool.php +++ b/application/forms/Pool.php @@ -35,13 +35,17 @@ class Application_Form_Pool extends Zend_Form $this->addElement('submit', 'add', array( 'required' => false, 'ignore' => true, - 'label' => 'Save', + 'label' => $this->buttontext, )); $this->addElement('button', 'Cancel', array( 'onclick' => 'self.location="/pool"' )); } + private $buttontext = 'Save'; + function setButtontext($v){ + $this->buttontext = $v; + } } |
