diff options
| author | Simon | 2011-03-11 13:58:40 +0100 |
|---|---|---|
| committer | Simon | 2011-03-11 13:58:40 +0100 |
| commit | 004acecbfd04608b4b366f26670b2dfe19f48382 (patch) | |
| tree | d4d43f91b8f01cbdf088a95d881aeaf6cf1fec3a /application/forms | |
| parent | bootos12 geadded (diff) | |
| download | pbs2-004acecbfd04608b4b366f26670b2dfe19f48382.tar.gz pbs2-004acecbfd04608b4b366f26670b2dfe19f48382.tar.xz pbs2-004acecbfd04608b4b366f26670b2dfe19f48382.zip | |
session geändert
Diffstat (limited to 'application/forms')
| -rw-r--r-- | application/forms/Session.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/application/forms/Session.php b/application/forms/Session.php index f2175a7..0a7c3ae 100644 --- a/application/forms/Session.php +++ b/application/forms/Session.php @@ -11,6 +11,15 @@ class Application_Form_Session extends Zend_Form { $this->setName("session"); $this->setMethod('post'); + + $this->addElement('text', 'aphasessionID', array( + 'filters' => array('StringTrim'), + 'validators' => array( + array('StringLength', false, array(0, 16)), + ), + 'required' => false, + 'label' => 'alphasessionID:', + )); $clientfield = $this->createElement('select','clientID'); $clientfield ->setLabel('Client:'); @@ -23,6 +32,17 @@ class Application_Form_Session extends Zend_Form $clientfield->setRegisterInArrayValidator(false); $this->addElement($clientfield); + $bootmenuentrieyfield = $this->createElement('select','bootmenuentryID'); + $bootmenuentrieyfield->setLabel('BootmenuentryID:'); + $bootmenuentrieyfield->addMultiOption('',''); + if(count($this->bootmenuentries)>0){ + foreach($this->bootmenuentries as $id => $g){ + $bootmenuentrieyfield->addMultiOption($g->getID(), $g->getTitle()); + } + } + $bootmenuentrieyfield->setRegisterInArrayValidator(false); + $this->addElement($bootmenuentrieyfield); + $bootosfield = $this->createElement('select','bootosID'); $bootosfield ->setLabel('BootOs:'); |
