diff --git a/calendar/index.php b/calendar/index.php index 700695a2c1..a165c57ceb 100755 --- a/calendar/index.php +++ b/calendar/index.php @@ -66,8 +66,8 @@
"; + echo $phpgw->calendar->pretty_small_calendar($thisday,$prev["month"],$prev["year"],"day.php"); echo " | "; ?> @@ -77,15 +77,15 @@ echo lang(strftime("%B",$m)) . " " . $thisyear; ?> - +">"; + echo $phpgw->calendar->pretty_small_calendar($thisday,$next["month"],$next["year"],"day.php"); echo " | "; ?>
"; + if (!$friendly) + echo "link("week.php","year=".$prev["year"]."&month=".$prev["month"]."&day=".$prev["day"])."\">"; + echo "<<"; + if(!friendly) echo ""; + echo " | "; + echo "";
+ echo $phpgw->calendar->pretty_small_calendar($thisday,$thismonth,$thisyear,"day.php");
+?>
+">
+ $sat["month"] && $sun["year"] <> $sat["year"]) echo ", ".$sun["year"];
+ echo " - ";
+ if($sun["month"] <> $sat["month"]) echo lang(strftime("%B",$sat["raw"]))." ";
+ echo $sat["day"].", ".$sat["year"];
+?>
+
+">
+ +common->display_fullname($phpgw_info["user"]["userid"],$phpgw_info["user"]["firstname"],$phpgw_info["user"]["lastname"]); +?> + |
+";
+ if (!$friendly)
+ echo "link("week.php","year=".$next["year"]."&month=".$next["month"]."&day=".$next["day"])."\">";
+ echo ">>";
+ if(!friendly) echo "";
+ echo "";
+ echo ""; + echo $phpgw->calendar->pretty_small_calendar($thisday,$nextmonth["month"],$nextmonth["year"],"day.php"); + echo " | "; +?> +
"> | -"> | -"> | -"> | -"> | -"> | -"> | -
---|---|---|---|---|---|---|
"; - else - echo "BGCOLOR=\"$CELLBG\">"; - - print_date_entries($date,$hide_icons,$phpgw_info["user"]["sessionid"]); - - //$date = $i + ($j * 24 * 3600); -/* $thirsday=$j+24*3600*4; - if ($phpgw_info["user"]["preferences"]["calendar"]["weekdaystarts"] == "Sunday" && $j == 0) { - echo 'week ' .(int)((date("z",$thirsday)+7)/7) . ''; - } - if ($phpgw_info["user"]["preferences"]["calendar"]["weekdaystarts"] == "Monday" && $j == 1) { - echo 'week ' . (int)((date("z",$thirsday)+7)/7) . ''; - }*/ - - echo " | \n"; - } - -?> -
display_small_month(1,$year,False); ?> | -display_small_month(2,$year,False); ?> | -display_small_month(3,$year,False); ?> | -display_small_month(4,$year,False); ?> | -display_small_month(5,$year,False); ?> | -display_small_month(6,$year,False); ?> | -
display_small_month(7,$year,False); ?> | -display_small_month(8,$year,False); ?> | -display_small_month(9,$year,False); ?> | -display_small_month(10,$year,False); ?> | -display_small_month(11,$year,False); ?> | -display_small_month(12,$year,False); ?> | +