From 7f42315c13924dd767e403195b6c1bf2d0faaaf1 Mon Sep 17 00:00:00 2001 From: jamiesensei Date: Tue, 7 Nov 2006 09:16:36 +0000 Subject: [PATCH] whitespace clean up --- lib/form/dateselector.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/form/dateselector.php b/lib/form/dateselector.php index 8857fa2a1c..fb185655d2 100644 --- a/lib/form/dateselector.php +++ b/lib/form/dateselector.php @@ -5,9 +5,9 @@ require_once "$CFG->libdir/formslib.php"; /** * Class for a group of elements used to input a date. - * - * Emulates moodle print_date_selector function - * + * + * Emulates moodle print_date_selector function + * * @author Jamie Pratt * @access public */ @@ -33,7 +33,7 @@ class MoodleQuickForm_date_selector extends MoodleQuickForm_group /** * Class constructor - * + * * @access public * @param string Element's name * @param mixed Label(s) for an element @@ -76,8 +76,8 @@ class MoodleQuickForm_date_selector extends MoodleQuickForm_group $years[$i] = $i; } $this->_elements[] =& MoodleQuickForm::createElement('select', 'day', null, $days, $this->getAttributes(), true); - $this->_elements[] =& MoodleQuickForm::createElement('select','month', null, $months, $this->getAttributes(), true); - $this->_elements[] =& MoodleQuickForm::createElement('select','year', null, $years, $this->getAttributes(), true); + $this->_elements[] =& MoodleQuickForm::createElement('select', 'month', null, $months, $this->getAttributes(), true); + $this->_elements[] =& MoodleQuickForm::createElement('select', 'year', null, $years, $this->getAttributes(), true); } @@ -95,7 +95,7 @@ class MoodleQuickForm_date_selector extends MoodleQuickForm_group 'day' => $currentdate['mday'], 'month' => $currentdate['mon'], 'year' => $currentdate['year']); - + } parent::setValue($value); } -- 2.39.5