From f5b51eababe28a3d7f716d9369a468e7b00b969a Mon Sep 17 00:00:00 2001 From: skeeter Date: Sun, 10 Dec 2000 16:03:08 +0000 Subject: [PATCH] fixes for matrixviews --- calendar/edit_entry.php | 2 +- calendar/inc/header.inc.php | 27 +++++++++++++++++++-------- calendar/viewmatrix.php | 9 ++++++++- 3 files changed, 28 insertions(+), 10 deletions(-) diff --git a/calendar/edit_entry.php b/calendar/edit_entry.php index 60615a2b68..18cc362b34 100755 --- a/calendar/edit_entry.php +++ b/calendar/edit_entry.php @@ -229,7 +229,7 @@ // Groups $phpgw->template->set_var("field",lang("Groups")); - $str = ""; $db2 = $phpgw->db; $db2->query("SELECT account_lid FROM accounts WHERE account_id=".$cal_info->owner,__LINE__,__FILE__); $db2->next_record(); diff --git a/calendar/inc/header.inc.php b/calendar/inc/header.inc.php index f877f6a00c..c5ffde87f1 100644 --- a/calendar/inc/header.inc.php +++ b/calendar/inc/header.inc.php @@ -1,7 +1,8 @@ /view.gif" alt="" border="0"> -
" name="filtermethod" method="POST"> + " method="POST" name="filtermethod"> : - + - + - + - + + + + +"; + } + } ?> +
" method="POST"> diff --git a/calendar/viewmatrix.php b/calendar/viewmatrix.php index b851f4e975..6c3cebb044 100755 --- a/calendar/viewmatrix.php +++ b/calendar/viewmatrix.php @@ -13,6 +13,8 @@ /* $Id$ */ + $matrix = $matrixtype; + $phpgw_info["flags"] = array("currentapp" => "calendar", "enable_calendar_class" => True, "enable_nextmatchs_class" => True, "parent_page" => "matrixselect.php"); include("../header.inc.php"); @@ -53,6 +55,8 @@ } } + reset($participants); + switch($matrixtype) { case "free/busy" : echo $phpgw->calendar->timematrix($phpgw->calendar->date_to_epoch($date),$phpgw->calendar->splittime("000000"),0,$participants); @@ -64,9 +68,12 @@ echo "
"; echo "link("viewmatrix.php")."\" method=\"post\" name=\"matrixform\" target=\"viewmatrix\">"; echo ""; - echo ""; + echo ""; for ($i=0;$i"; + if(isset($filter) && $filter) { + echo ""; + } echo ""; echo ""; echo "
";