mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
Fix problems when friendica is installed in a subpath; small CSS-Fixes
This commit is contained in:
parent
7115197a33
commit
2c80f61876
8 changed files with 47 additions and 35 deletions
|
@ -480,7 +480,7 @@ function wdcal_get_list_range_params($day, $weekstartday, $num_days, $type)
|
|||
/**
|
||||
*
|
||||
*/
|
||||
function wdcal_print_feed()
|
||||
function wdcal_print_feed($base_path = "")
|
||||
{
|
||||
$user_id = dav_compat_get_curr_user_id();
|
||||
$cals = array();
|
||||
|
@ -538,7 +538,7 @@ function wdcal_print_feed()
|
|||
$ret['error'] = null;
|
||||
|
||||
foreach ($cals as $c) {
|
||||
$events = $c->listItemsByRange($date[0], $date[1]);
|
||||
$events = $c->listItemsByRange($date[0], $date[1], $base_path);
|
||||
$ret["events"] = array_merge($ret["events"], $events);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue