summaryrefslogtreecommitdiffstats
path: root/user_guide/helpers
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2007-08-08 19:04:40 +0200
committerDerek Allard <derek.allard@ellislab.com>2007-08-08 19:04:40 +0200
commit8788d4b5f597465daaabf46455cd086b6b7deb58 (patch)
tree775f5bbc833ecd130476a662aaad0f2db3694b88 /user_guide/helpers
parent487de38e4cf677a6c115232610d94b6cbcf504d4 (diff)
changed some-site.com to example.com in example code per http://www.rfc-editor.org/rfc/rfc2606.txt
Diffstat (limited to 'user_guide/helpers')
-rw-r--r--user_guide/helpers/form_helper.html8
-rw-r--r--user_guide/helpers/string_helper.html4
-rw-r--r--user_guide/helpers/url_helper.html2
3 files changed, 7 insertions, 7 deletions
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.</p>
<code>$data = array(<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'name'&nbsp;&nbsp;=> 'John Doe',<br />
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'email' => 'john@some-site.com',<br />
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'url'&nbsp;&nbsp;&nbsp;=> 'http://www.some-site.com'<br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'email' => 'john@example.com',<br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'url'&nbsp;&nbsp;&nbsp;=> 'http://www.example.com'<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br />
<br />
echo form_hidden($data);<br />
<br />
// Would produce:<br /><br />
&lt;input type="hidden" name="name" value="John Doe" /><br />
-&lt;input type="hidden" name="email" value="john@some-site.com" /><br />
-&lt;input type="hidden" name="url" value="http://www.some-site.com" /></code>
+&lt;input type="hidden" name="email" value="john@example.com" /><br />
+&lt;input type="hidden" name="url" value="http://www.example.com" /></code>
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);</code>
<p>The above would generate 30 newlines.</p>
<h2>reduce_double_slashes()</h2>
<p>Converts double slashes in a string to a single slash, except those found in http://. Example: </p>
-<code>$string = &quot;http://www.some-site.com//index.php&quot;;<br />
-echo reduce_double_slashes($string); // results in &quot;http://www.some-site.com/index.php&quot;</code>
+<code>$string = &quot;http://www.example.com//index.php&quot;;<br />
+echo reduce_double_slashes($string); // results in &quot;http://www.example.com/index.php&quot;</code>
<h2>trim_slashes()</h2>
<p>Removes any leading/trailing slashes from a string. Example:<br />
<br />
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');<br />
<h3>prep_url()</h3>
<p>This function will add <kbd>http://</kbd> in the event it is missing from a URL. Pass the URL string to the function like this:</p>
<code>
-$url = "www.some-site.com";<br /><br />
+$url = "www.example.com";<br /><br />
$url = prep_url($url);</code>