mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
calendar should work again
This commit is contained in:
parent
94b6d81a37
commit
ffaa602338
@ -61,8 +61,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function group_search($owner=0) {
|
function group_search($owner=0) {
|
||||||
global $phpgw;
|
global $phpgw, $phpgw_info;
|
||||||
global $phpgw_info;
|
|
||||||
$owner = $owner==$phpgw_info["user"]["account_id"]?0:$owner;
|
$owner = $owner==$phpgw_info["user"]["account_id"]?0:$owner;
|
||||||
$groups = substr($phpgw->accounts->sql_search("calendar_entry.cal_group",intval($owner)),4);
|
$groups = substr($phpgw->accounts->sql_search("calendar_entry.cal_group",intval($owner)),4);
|
||||||
if (!$groups) {
|
if (!$groups) {
|
||||||
@ -1116,7 +1116,7 @@
|
|||||||
. "/images/mini_day_block.gif" . '"');
|
. "/images/mini_day_block.gif" . '"');
|
||||||
//$p->set_var('bgcolor2','#'.$phpgw_info["theme"]["cal_today"]);
|
//$p->set_var('bgcolor2','#'.$phpgw_info["theme"]["cal_today"]);
|
||||||
} else {
|
} else {
|
||||||
$p->set_var("day_image","");
|
$p->set_var("day_image","");
|
||||||
$p->set_var('bgcolor2','#FFFFFF');
|
$p->set_var('bgcolor2','#FFFFFF');
|
||||||
}
|
}
|
||||||
if(!$this->printer_friendly) {
|
if(!$this->printer_friendly) {
|
||||||
@ -1130,6 +1130,7 @@
|
|||||||
$p->set_var('dayname',$str);
|
$p->set_var('dayname',$str);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
$p->set_var("day_image","");
|
||||||
$p->set_var('bgcolor2','#FEFEFE');
|
$p->set_var('bgcolor2','#FEFEFE');
|
||||||
$str = "";
|
$str = "";
|
||||||
// if(!$this->printer_friendly) {
|
// if(!$this->printer_friendly) {
|
||||||
|
Loading…
Reference in New Issue
Block a user