summaryrefslogtreecommitdiffstats
path: root/application/forms
diff options
context:
space:
mode:
Diffstat (limited to 'application/forms')
-rw-r--r--application/forms/Session.php20
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:');