From ac91bd701c11e8c9e5cb42b1120eb9f88f73456a Mon Sep 17 00:00:00 2001 From: Rick Ellis Date: Sun, 26 Oct 2008 21:52:41 +0000 Subject: Fixed some typos --- user_guide/libraries/form_validation.html | 2 +- user_guide/libraries/loader.html | 2 +- user_guide/libraries/typography.html | 11 +++-------- 3 files changed, 5 insertions(+), 10 deletions(-) (limited to 'user_guide') diff --git a/user_guide/libraries/form_validation.html b/user_guide/libraries/form_validation.html index 8485c7d3f..196c83b31 100644 --- a/user_guide/libraries/form_validation.html +++ b/user_guide/libraries/form_validation.html @@ -561,7 +561,7 @@ callback function for you to process.

To invoke a callback just put the function name in a rule, with "callback_" as the rule prefix.

-

You can also process the form data that is passed to your callback and return it. If your callback returns anything other then a boolean TRUE/FALSE +

You can also process the form data that is passed to your callback and return it. If your callback returns anything other than a boolean TRUE/FALSE it is assumed that the data is your newly processed form data.

diff --git a/user_guide/libraries/loader.html b/user_guide/libraries/loader.html index 60a2fe269..c40f44aa3 100644 --- a/user_guide/libraries/loader.html +++ b/user_guide/libraries/loader.html @@ -127,7 +127,7 @@ $this->my_session

This function is used to load your View files. If you haven't read the Views section of the user guide it is recommended that you do since it shows you how this function is typically used.

-

The first parameter is required. It is the name of the view file you would like to load.  Note: The .php file extension does not need to be specified unless you use something other then .php.

+

The first parameter is required. It is the name of the view file you would like to load.  Note: The .php file extension does not need to be specified unless you use something other than .php.

The second optional parameter can take an associative array or an object as input, which it runs through the PHP extract function to diff --git a/user_guide/libraries/typography.html b/user_guide/libraries/typography.html index 29219059c..cd161016a 100644 --- a/user_guide/libraries/typography.html +++ b/user_guide/libraries/typography.html @@ -91,16 +91,11 @@ the following formatting:

Parameters

-

There are two optional parameters:

+

There is one optional parameters that determines whether the parser should reduce more then two consecutive linebreaks down to two. Use bolean TRUE or FALSE. -

    -
  1. Strip JavaScript Event Handlers. Determines whether the parser should strip all JavaScript event handlers for security. Use bolean TRUE or FALSE.
  2. -
  3. Reduce Linebreaks. Determines whether the parser should reduce more then two consecutive linebreaks down to two. Use bolean TRUE or FALSE.
  4. -
+

By default the parser does not reduce line breaks. In other words, if no parameters are submitted, it is the same as doing this:

-

By default the parser strips JS Event handlers and does not reduce line breaks. In other words, if no parameters are submitted, it is the same as doing this:

- -$string = $this->typography->auto_typography($string, TRUE, FALSE); +$string = $this->typography->auto_typography($string, FALSE);

Note: Typographic formatting can be processor intensive, particularly if you have a lot of content being formatted. -- cgit v1.2.3-24-g4f1b