From 8788d4b5f597465daaabf46455cd086b6b7deb58 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Wed, 8 Aug 2007 17:04:40 +0000 Subject: changed some-site.com to example.com in example code per http://www.rfc-editor.org/rfc/rfc2606.txt --- user_guide/changelog.html | 3 ++- user_guide/helpers/form_helper.html | 8 ++++---- user_guide/helpers/string_helper.html | 4 ++-- user_guide/helpers/url_helper.html | 2 +- user_guide/libraries/ftp.html | 2 +- user_guide/libraries/sessions.html | 2 +- user_guide/libraries/trackback.html | 4 ++-- user_guide/libraries/xmlrpc.html | 2 +- 8 files changed, 14 insertions(+), 13 deletions(-) (limited to 'user_guide') diff --git a/user_guide/changelog.html b/user_guide/changelog.html index f4acb8d6f..26d41ed9b 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -74,7 +74,8 @@ Change Log
  • Fixed a bug in captcha calling an invalid PHP function
  • Fixed a bug in _html_entity_decode_callback() when 'global_xss_filtering' is enabled.
  • Fixed a bug in the cookie helper "set_cookie" function. It was not honoring the config settings.
  • -
  • Fixed a typo in the DocBlock comment for unset_userdata() in Session.php

    +
  • Fixed an example of comma-separated emails in the email library documentation
  • +
  • Fixed a typo in the DocBlock comment for unset_userdata() in Session
  • diff --git a/user_guide/helpers/form_helper.html b/user_guide/helpers/form_helper.html index d9eeb21a6..2613358db 100644 --- a/user_guide/helpers/form_helper.html +++ b/user_guide/helpers/form_helper.html @@ -138,16 +138,16 @@ which is necessary if you would like to use the form to upload files with.

    $data = array(
                  'name'  => 'John Doe',
    -              'email' => 'john@some-site.com',
    -              'url'   => 'http://www.some-site.com'
    +              'email' => 'john@example.com',
    +              'url'   => 'http://www.example.com'
                );

    echo form_hidden($data);

    // Would produce:

    <input type="hidden" name="name" value="John Doe" />
    -<input type="hidden" name="email" value="john@some-site.com" />
    -<input type="hidden" name="url" value="http://www.some-site.com" />
    +<input type="hidden" name="email" value="john@example.com" />
    +<input type="hidden" name="url" value="http://www.example.com" /> diff --git a/user_guide/helpers/string_helper.html b/user_guide/helpers/string_helper.html index cf6871709..c20c7b840 100644 --- a/user_guide/helpers/string_helper.html +++ b/user_guide/helpers/string_helper.html @@ -123,8 +123,8 @@ echo repeater($string, 30);

    The above would generate 30 newlines.

    reduce_double_slashes()

    Converts double slashes in a string to a single slash, except those found in http://. Example:

    -$string = "http://www.some-site.com//index.php";
    -echo reduce_double_slashes($string); // results in "http://www.some-site.com/index.php"
    +$string = "http://www.example.com//index.php";
    +echo reduce_double_slashes($string); // results in "http://www.example.com/index.php"

    trim_slashes()

    Removes any leading/trailing slashes from a string. Example:

    diff --git a/user_guide/helpers/url_helper.html b/user_guide/helpers/url_helper.html index 0f6075585..08e6f7d0c 100644 --- a/user_guide/helpers/url_helper.html +++ b/user_guide/helpers/url_helper.html @@ -224,7 +224,7 @@ $url_title = url_title($title, 'underscore');

    prep_url()

    This function will add http:// in the event it is missing from a URL. Pass the URL string to the function like this:

    -$url = "www.some-site.com";

    +$url = "www.example.com";

    $url = prep_url($url);
    diff --git a/user_guide/libraries/ftp.html b/user_guide/libraries/ftp.html index aa61ed3dc..84518f9a2 100644 --- a/user_guide/libraries/ftp.html +++ b/user_guide/libraries/ftp.html @@ -169,7 +169,7 @@ array in that file. Then save the file at config/ftp.php and it will