summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Wagner2011-09-15 16:30:48 +0200
committerSebastian Wagner2011-09-15 16:30:48 +0200
commitb6d8a87811ecdeb63c1f0a8816cc7e78e108b59b (patch)
treef1f9ab814410a5f9dbfa10361586815a5fc388e2
parentrights implemented (diff)
downloadpoolctrl-b6d8a87811ecdeb63c1f0a8816cc7e78e108b59b.tar.gz
poolctrl-b6d8a87811ecdeb63c1f0a8816cc7e78e108b59b.tar.xz
poolctrl-b6d8a87811ecdeb63c1f0a8816cc7e78e108b59b.zip
multicheckbox to select days in addForm
-rwxr-xr-xapplication/forms/EventAdd.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/application/forms/EventAdd.php b/application/forms/EventAdd.php
index d20d0cc..3dc5676 100755
--- a/application/forms/EventAdd.php
+++ b/application/forms/EventAdd.php
@@ -179,6 +179,27 @@ class Application_Form_EventAdd extends Zend_Form
'label' => 'Repeat Type:',
));
+ /*
+ * This is the multiCheckbox to select special days.
+ * To do: create a css-file...
+ *
+ $this->addElement('multiCheckbox', 'repeatDays', array(
+ 'multiOptions' => array(
+ 'mon' => 'Monday',
+ 'tue' => 'Thuestay',
+ 'wed' => 'Wednesday',
+ 'thu' => 'Thursday',
+ 'fri' => 'Friday',
+ 'sat' => 'Saturday',
+ 'sun' => 'Sunday',
+ ),
+ 'onchange' => '',
+ 'required' => false,
+ 'label' => 'Repeat days:',
+ 'value'=>array(0,1),
+ ));
+ */
+
$this->addElement('select', 'repeatOption', array(
'multioptions' => array(
'after' => 'After',