From c644128fdd49a47d791240e0e38b54cd22412bc5 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Wed, 4 Jul 2007 23:54:32 +0000 Subject: fixed validation errors... about a zillion of em. --- user_guide/libraries/user_agent.html | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'user_guide/libraries/user_agent.html') diff --git a/user_guide/libraries/user_agent.html b/user_guide/libraries/user_agent.html index e9f6b715b..5bb87a76b 100644 --- a/user_guide/libraries/user_agent.html +++ b/user_guide/libraries/user_agent.html @@ -81,7 +81,7 @@ various user agent arrays if needed.

Example

When the User Agent class is initialized it will attempt to determine whether the user agent browsing your site is -a web browser, a mobile device, or a robot. It will also gather the platform information if it is available. +a web browser, a mobile device, or a robot. It will also gather the platform information if it is available.

@@ -110,9 +110,6 @@ echo $this->agent->platform(); // Platform info (Windows, Linux, Mac, etc.) - - -

Function Reference

@@ -170,7 +167,7 @@ very efficient. If you find that some bots that commonly visit your site are mis if ($this->agent->accept_lang('en'))
{
    echo 'You accept English!';
-} +}

Note: This function is not typically very reliable since some browsers do not provide language info, and even among those that do, it is not always accurate.

@@ -183,7 +180,7 @@ since some browsers do not provide language info, and even among those that do, if ($this->agent->accept_charset('utf-8'))
{
    echo 'You browser supports UTF-8!';
-} +}

Note: This function is not typically very reliable since some browsers do not provide character-set info, and even among those that do, it is not always accurate.

@@ -201,7 +198,7 @@ Previous Topic:  URI Class Top of Page   ·   User Guide Home   ·   Next Topic:  Validation Class -

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

-- cgit v1.2.3-24-g4f1b