mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 10:22:18 +00:00
funktion jahreskalenderjump() in klasse wochenplan.class.php geschoben
This commit is contained in:
@@ -256,27 +256,6 @@ function jump_week($datum, $wochen)
|
|||||||
return $datum;
|
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)
|
function loadVariables($user)
|
||||||
{
|
{
|
||||||
$db = new basis_db();
|
$db = new basis_db();
|
||||||
|
|||||||
Reference in New Issue
Block a user