[Phphtmllib-devel] SF.net SVN: phphtmllib:[3545] branches/BRANCH_2_X/phphtmllib/form/ form_elements
Status: Beta
Brought to you by:
hemna
From: <mpw...@us...> - 2011-02-04 15:19:18
|
Revision: 3545 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3545&view=rev Author: mpwalsh8 Date: 2011-02-04 15:19:12 +0000 (Fri, 04 Feb 2011) Log Message: ----------- Fixed errors found from PHP5.3.x testing. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBox.inc Modified: branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBox.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBox.inc 2011-01-28 14:52:09 UTC (rev 3544) +++ branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBox.inc 2011-02-04 15:19:12 UTC (rev 3545) @@ -89,7 +89,7 @@ function FEYesNoListBox($label, $required = TRUE, $width = NULL, $height = NULL, $yes_value="yes", $no_value="no") { $options = array("Yes" => $yes_value, "No" => $no_value); - $this->FEListBox($label, $required, $width, $height, $options); + parent::FEListBox($label, $required, $width, $height, $options); } } @@ -458,7 +458,7 @@ * @param array data_list - list of data elements (name=>value) */ function FEUnitedStates($label, $required = TRUE, $width = NULL, $height = NULL) { - $this->FEListBox($label, $required, $width, $height, $this->_states); + parent::FEListBox($label, $required, $width, $height, $this->_states); } } @@ -509,7 +509,7 @@ * @param array data_list - list of data elements (name=>value) */ function FEEuropeanUnion($label, $required = TRUE, $width = NULL, $height = NULL) { - $this->FEListBox($label, $required, $width, $height, $this->_states); + parent::FEListBox($label, $required, $width, $height, $this->_states); } } @@ -1257,7 +1257,7 @@ $months[$i] = strftime($format, strtotime("$i/12/2004")); } - $this->FEListBox($label, $required, $width, $height, array_flip($months)); + parent::FEListBox($label, $required, $width, $height, array_flip($months)); } @@ -1289,7 +1289,7 @@ foreach ($list as $year){ $years[$year] = $year; } - $this->FEListBox($label, $required, $width, $height, $years); + parent::FEListBox($label, $required, $width, $height, $years); } } @@ -1321,7 +1321,7 @@ $new_day = sprintf('%02d', $day); $days[$new_day] = $day; } - $this->FEListBox($label, $required, $width, $height, $days); + parent::FEListBox($label, $required, $width, $height, $days); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |