From 114ab0988e20ac6be39ad363ff897a1a3b85e565 Mon Sep 17 00:00:00 2001 From: Razican Date: Mon, 25 Apr 2011 17:26:45 +0200 Subject: Fixed double-space typo. --- user_guide/libraries/calendar.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'user_guide/libraries/calendar.html') diff --git a/user_guide/libraries/calendar.html b/user_guide/libraries/calendar.html index e1af71cc9..06dfec71e 100644 --- a/user_guide/libraries/calendar.html +++ b/user_guide/libraries/calendar.html @@ -86,13 +86,13 @@ To show a calendar for a specific month and year you will pass this information
echo $this->calendar->generate(2006, 6); -

The above code will generate a calendar showing the month of June in 2006. The first parameter specifies the year, the second parameter specifies the month.

+

The above code will generate a calendar showing the month of June in 2006. The first parameter specifies the year, the second parameter specifies the month.

Passing Data to your Calendar Cells

To add data to your calendar cells involves creating an associative array in which the keys correspond to the days -you wish to populate and the array value contains the data. The array is passed to the third parameter of the calendar -generating function. Consider this example:

+you wish to populate and the array value contains the data. The array is passed to the third parameter of the calendar +generating function. Consider this example:

$this->load->library('calendar');

@@ -114,7 +114,7 @@ how data passed to your cells is handled so you can pass different types of info

Setting Display Preferences

-

There are seven preferences you can set to control various aspects of the calendar. Preferences are set by passing an +

There are seven preferences you can set to control various aspects of the calendar. Preferences are set by passing an array of preferences in the second parameter of the loading function. Here is an example:

@@ -129,7 +129,7 @@ $this->load->library('calendar', $prefs);

echo $this->calendar->generate();
-

The above code would start the calendar on saturday, use the "long" month heading, and the "short" day names. More information +

The above code would start the calendar on saturday, use the "long" month heading, and the "short" day names. More information regarding preferences below.

@@ -180,7 +180,7 @@ echo $this->calendar->generate($this->uri->segment(3), $this->ur -- cgit v1.2.3-24-g4f1b From 4b9c62980599228f070b401c7673dce8085b0c61 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Fri, 1 Jul 2011 17:40:48 -0500 Subject: backed out 648b42a75739, which was a NON-trivial whitespace commit. It broke the Typography class's string replacements, for instance --- user_guide/libraries/calendar.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'user_guide/libraries/calendar.html') diff --git a/user_guide/libraries/calendar.html b/user_guide/libraries/calendar.html index 06dfec71e..e1af71cc9 100644 --- a/user_guide/libraries/calendar.html +++ b/user_guide/libraries/calendar.html @@ -86,13 +86,13 @@ To show a calendar for a specific month and year you will pass this information
echo $this->calendar->generate(2006, 6); -

The above code will generate a calendar showing the month of June in 2006. The first parameter specifies the year, the second parameter specifies the month.

+

The above code will generate a calendar showing the month of June in 2006. The first parameter specifies the year, the second parameter specifies the month.

Passing Data to your Calendar Cells

To add data to your calendar cells involves creating an associative array in which the keys correspond to the days -you wish to populate and the array value contains the data. The array is passed to the third parameter of the calendar -generating function. Consider this example:

+you wish to populate and the array value contains the data. The array is passed to the third parameter of the calendar +generating function. Consider this example:

$this->load->library('calendar');

@@ -114,7 +114,7 @@ how data passed to your cells is handled so you can pass different types of info

Setting Display Preferences

-

There are seven preferences you can set to control various aspects of the calendar. Preferences are set by passing an +

There are seven preferences you can set to control various aspects of the calendar. Preferences are set by passing an array of preferences in the second parameter of the loading function. Here is an example:

@@ -129,7 +129,7 @@ $this->load->library('calendar', $prefs);

echo $this->calendar->generate();
-

The above code would start the calendar on saturday, use the "long" month heading, and the "short" day names. More information +

The above code would start the calendar on saturday, use the "long" month heading, and the "short" day names. More information regarding preferences below.

@@ -180,7 +180,7 @@ echo $this->calendar->generate($this->uri->segment(3), $this->ur
  • You must set the "show_next_prev" to TRUE.
  • You must supply the URL to the controller containing your calendar in the "next_prev_url" preference.
  • -
  • You must supply the "year" and "month" to the calendar generating function via the URI segments where they appear (Note: The calendar class automatically adds the year/month to the base URL you provide.).
  • +
  • You must supply the "year" and "month" to the calendar generating function via the URI segments where they appear (Note: The calendar class automatically adds the year/month to the base URL you provide.).
-- cgit v1.2.3-24-g4f1b