mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
added function
This commit is contained in:
parent
a400950613
commit
a636497b9e
@ -382,6 +382,17 @@
|
||||
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)
|
||||
{
|
||||
$out = '';
|
||||
|
Loading…
Reference in New Issue
Block a user