diff --git a/modules/calendar.php b/modules/calendar.php index a4142839..5a0fcc34 100644 --- a/modules/calendar.php +++ b/modules/calendar.php @@ -110,7 +110,7 @@ class calendar extends module_base protected $portal_root_path; /** - * Construct a birthday_list object + * Construct a calendar object * * @param \phpbb\config\config $config phpBB config * @param \phpbb\template $template phpBB template @@ -173,8 +173,8 @@ class calendar extends module_base // output our general calendar bits $down = $this->mini_cal_month - 1; $up = $this->mini_cal_month + 1; - $prev_month = 'phpbb_root_path}app.{$this->php_ext}", "controller=portal&m$module_id=$down#minical$module_id") . '"><<'; - $next_month = 'phpbb_root_path}app.{$this->php_ext}", "controller=portal&m$module_id=$up#minical$module_id") . '">>>'; + $prev_month = 'phpbb_root_path}app.{$this->php_ext}/portal", "m$module_id=$down#minical$module_id") . '"><<'; + $next_month = 'phpbb_root_path}app.{$this->php_ext}/portal", "m$module_id=$up#minical$module_id") . '">>>'; $this->template->assign_block_vars('minical', array( 'S_SUNDAY_FIRST' => ($this->config['board3_sunday_first_' . $module_id]) ? true : false,