我想显示我的日历页面,其中包含上个月和下个月的链接,其中包含上一个和下一个标题,而不是<<和>>。
我找到了答案,
$prefs = array("template" => array(
'heading_previous_cell' => '<th><a href="{previous_url}">Previous</a></th>',
'heading_next_cell' => '<th><a href="{next_url}">Next</a></th>',
)
);
$this->load->library('calendar', $prefs);
$this->calendar->generate($this->uri->segment(3), $this->uri->segment(4));