added function

This commit is contained in:
ceb 2003-07-22 23:40:37 +00:00
parent a400950613
commit a636497b9e

View File

@ -382,6 +382,17 @@
return '<select name="'.$name.'">'."\n".$out.'</select>'."\n"; return '<select name="'.$name.'">'."\n".$out.'</select>'."\n";
} }
function nr2weekday($selected = 0)
{
for($i=0;$i<count($this->weekdays);$i++)
{
if ($selected > 0 && $selected == $i)
{
return lang($this->weekdays[$i]);
}
}
}
function getMonthText($name, $selected=0) function getMonthText($name, $selected=0)
{ {
$out = ''; $out = '';