- Anpassungen für Mehrsprachige Tage

This commit is contained in:
Andreas Österreicher
2011-08-12 08:53:22 +00:00
parent 191e6a4f20
commit 3570b31dba
5 changed files with 36 additions and 38 deletions
+3 -3
View File
@@ -118,9 +118,9 @@ echo '"Datum"'.$trenn;
for ($ts=$ts_beginn;$ts<$ts_ende; $ts+=$datum_obj->ts_day)
{
$tag=date('d',$ts);
$wt=date('w',$ts);
$wt=date('N',$ts);
$monat=date('M',$ts);
echo '"'.$tagbez[$wt].' '.$tag.'.'.$monat.'"'.$trenn;
echo '"'.$tagbez[1][$wt].' '.$tag.'.'.$monat.'"'.$trenn;
}
$zs=new zeitsperre();
foreach ($mitarbeiter as $ma)
@@ -131,7 +131,7 @@ foreach ($mitarbeiter as $ma)
{
$tag=date('d',$ts);
$monat=date('M',$ts);
$wt=date('w',$ts);
$wt=date('N',$ts);
$grund=$zs->getTyp($ts);
$erbk=$zs->getErreichbarkeit($ts);
echo '"'.$grund.' - '.$erbk.'"'.$trenn;
+1 -1
View File
@@ -174,7 +174,7 @@ if(!$person->load($uid))
for ($j=1; $j<7; $j++)
{
echo '<TR><TD>'.$tagbez[$j].'</TD>';
echo '<TR><TD>'.$tagbez[1][$j].'</TD>';
for ($i=0;$i<$num_rows_stunde;$i++)
{
if (isset($wunsch[$j][$i+1]))