diff options
author | Derek Allard <derek.allard@ellislab.com> | 2007-07-05 01:54:32 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2007-07-05 01:54:32 +0200 |
commit | c644128fdd49a47d791240e0e38b54cd22412bc5 (patch) | |
tree | fd2135d295c103395f5d0bd89056b0e798cfcdb3 /user_guide/libraries/user_agent.html | |
parent | 691010e72ec7fb4a05740332a10b5f046a82c666 (diff) |
fixed validation errors... about a zillion of em.
Diffstat (limited to 'user_guide/libraries/user_agent.html')
-rw-r--r-- | user_guide/libraries/user_agent.html | 11 |
1 files changed, 4 insertions, 7 deletions
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.</p> <h2>Example</h2>
<p>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.</p>
<code>
@@ -110,9 +110,6 @@ echo $this->agent->platform(); // Platform info (Windows, Linux, Mac, etc.) </code>
-
-
-<br />
<h1>Function Reference</h1>
@@ -170,7 +167,7 @@ very efficient. If you find that some bots that commonly visit your site are mis <code>if ($this->agent->accept_lang('en'))<br />
{<br />
echo 'You accept English!';<br />
-}</cod>
+}</code>
<p class="important"><strong>Note:</strong> 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. </p>
@@ -183,7 +180,7 @@ since some browsers do not provide language info, and even among those that do, <code>if ($this->agent->accept_charset('utf-8'))<br />
{<br />
echo 'You browser supports UTF-8!';<br />
-}</cod>
+}</code>
<p class="important"><strong>Note:</strong> 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. </p>
@@ -201,7 +198,7 @@ Previous Topic: <a href="uri.html">URI Class</a> <a href="#top">Top of Page</a> ·
<a href="../index.html">User Guide Home</a> ·
Next Topic: <a href="validation.html">Validation Class</a>
-<p>
+</p>
<p><a href="http://www.codeigniter.com">CodeIgniter</a> · Copyright © 2007 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
</div>
|