funktion jahreskalenderjump() in klasse wochenplan.class.php geschoben

This commit is contained in:
Karl Burkhart
2011-06-29 12:39:33 +00:00
parent 98ea6caa51
commit fa749e1d08
-21
View File
@@ -256,27 +256,6 @@ function jump_week($datum, $wochen)
return $datum;
}
function jahreskalenderjump($link)
{
$crlf=crlf();
$datum=mktime();
$woche=kalenderwoche($datum);
$datum=montag($datum);
echo ' <SMALL><CENTER><B>Jump to KW</B><BR><SMALL>'.$crlf;
for ($anz=1;$anz<26;$anz++)
{
$linknew=$link.'&datum='.$datum;
if ($woche==53)
$woche=1;
echo ' <A HREF="'.$linknew.'">'.$woche.'</A>'.$crlf;
if ($anz%5==0)
echo ' <br>'.$crlf;
$datum+=60*60*24*7;
$woche++;
}
echo ' </SMALL></CENTER></SMALL>'.$crlf;
}
function loadVariables($user)
{
$db = new basis_db();