mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
fix mini_calendar month title link
This commit is contained in:
parent
355480e531
commit
94f87684dd
@ -1065,7 +1065,7 @@
|
||||
. $phpgw_info["server"]["template_set"] . "/images/");
|
||||
$p->set_var('bgcolor',$phpgw_info["theme"]["bg_color"]);
|
||||
$p->set_var('bgcolor1',$phpgw_info["theme"]["bg_color"]);
|
||||
$p->set_var('month','<a href="' . $phpgw->link("index.php","month=" . date("m",$date["raw"])) . '" class="minicalendar">' . lang($phpgw->common->show_date($date["raw"],"F")).' '.$year) . '</a>';;
|
||||
$p->set_var('month','<a href="' . $phpgw->link($phpgw_info["server"]["webserver_url"].'/calendar/index.php','month=' . date('m',$date["raw"])) . '" class="minicalendar">' . lang($phpgw->common->show_date($date["raw"],'F')).' '.$year) . '</a>';
|
||||
$p->set_var('prevmonth',$phpgw->link($phpgw_info["server"]["webserver_url"].'/calendar/index.php','date='.$month_ago));
|
||||
$p->set_var('nextmonth',$phpgw->link($phpgw_info["server"]["webserver_url"].'/calendar/index.php','date='.$month_ahead));
|
||||
|
||||
@ -1101,7 +1101,7 @@
|
||||
} else {
|
||||
$p->set_var('bgcolor2','#FEFEFE');
|
||||
$p->set_var('dayname','<a href="'.$phpgw->link($phpgw_info["server"]["webserver_url"]
|
||||
. "/calendar/".$link,'year='.$cal["year"].'&month='.$cal["month"].'&day='
|
||||
. '/calendar/'.$link,'year='.$cal["year"].'&month='.$cal["month"].'&day='
|
||||
. $cal["day"]).'" class="minicalendargrey">' . $cal["day"] . "</a>");
|
||||
}
|
||||
$p->parse('monthweek_day','mini_day',True);
|
||||
|
Loading…
Reference in New Issue
Block a user