From ff845f94cc8876bc6c23c2f55b695bc569038512 Mon Sep 17 00:00:00 2001
From: Derek Jones
$this->load->library('calendar');
$data = array(
- 3 => 'http://your-site.com/news/article/2006/03/',
- 7 => 'http://your-site.com/news/article/2006/07/',
- 13 => 'http://your-site.com/news/article/2006/13/',
- 26 => 'http://your-site.com/news/article/2006/26/'
+ 3 => 'http://example.com/news/article/2006/03/',
+ 7 => 'http://example.com/news/article/2006/07/',
+ 13 => 'http://example.com/news/article/2006/13/',
+ 26 => 'http://example.com/news/article/2006/26/'
);
echo $this->calendar->generate(2006, 6, $data);
@@ -168,7 +168,7 @@ code similar to this example:
$prefs = array (
'show_next_prev' => TRUE,
- 'next_prev_url' => 'http://www.your-site.com/index.php/calendar/show/'
+ 'next_prev_url' => 'http://example.com/index.php/calendar/show/'
);
$this->load->library('calendar', $prefs);
--
cgit v1.2.3-24-g4f1b