diff --git a/phpgwapi/inc/class.sbox.inc.php b/phpgwapi/inc/class.sbox.inc.php index 3b82e74df0..4075a49711 100644 --- a/phpgwapi/inc/class.sbox.inc.php +++ b/phpgwapi/inc/class.sbox.inc.php @@ -94,55 +94,55 @@ function getMonthText($name, $selected=0) { - $out = "'."\n"; + $c_monthnames = count($this->monthnames); + for($i=0;$i<$c_monthnames;$i++) { - $out .= "\n"; + $out .= ''; + $out .= ''."\n"; } - $out .= "\n"; + $out .= ''."\n"; return $out; } function getDays($name, $selected=0) { - $out = "'."\n"; for($i=0;$i<32;$i++) { - if($i==0) $val = ""; else $val = $i; - $out .= "