changed your-site.com to example.com doc-wide
diff --git a/user_guide/helpers/form_helper.html b/user_guide/helpers/form_helper.html
index 5e556dc..3f1e87a 100644
--- a/user_guide/helpers/form_helper.html
+++ b/user_guide/helpers/form_helper.html
@@ -84,7 +84,7 @@
<p>The above example would create a form that points to your base URL plus the "email/send" URI segments, like this:</p>
-<code><form method="post" action="http:/www.your-site.com/index.php/email/send" /></code>
+<code><form method="post" action="http:/example.com/index.php/email/send" /></code>
<h4>Adding Attributes</h4>
@@ -97,7 +97,7 @@
<p>The above example would create a form similar to this:</p>
-<code><form method="post" action="http:/www.your-site.com/index.php/email/send" class="email" id="myform" /></code>
+<code><form method="post" action="http:/example.com/index.php/email/send" class="email" id="myform" /></code>
<h4>Adding Hidden Input Fields</h4>
@@ -110,7 +110,7 @@
<p>The above example would create a form similar to this:</p>
-<code><form method="post" action="http:/www.your-site.com/index.php/email/send"><br />
+<code><form method="post" action="http:/example.com/index.php/email/send"><br />
<input type="hidden" name="username" value="Joe" /><br />
<input type="hidden" name="member_id" value="234" /></code>
@@ -134,7 +134,7 @@
<code>$data = array(<br />
'name' => 'John Doe',<br />
'email' => 'john@example.com',<br />
- 'url' => 'http://www.example.com'<br />
+ 'url' => 'http://example.com'<br />
);<br />
<br />
echo form_hidden($data);<br />
@@ -142,7 +142,7 @@
// Would produce:<br /><br />
<input type="hidden" name="name" value="John Doe" /><br />
<input type="hidden" name="email" value="john@example.com" /><br />
-<input type="hidden" name="url" value="http://www.example.com" /></code>
+<input type="hidden" name="url" value="http://example.com" /></code>
diff --git a/user_guide/helpers/smiley_helper.html b/user_guide/helpers/smiley_helper.html
index 7b59ec2..a82ebd2 100644
--- a/user_guide/helpers/smiley_helper.html
+++ b/user_guide/helpers/smiley_helper.html
@@ -111,7 +111,7 @@
$this->load->helper('smiley');
$this->load->library('table');
- $image_array = get_clickable_smileys('http://www.your-site.com/images/smileys/');
+ $image_array = get_clickable_smileys('http://example.com/images/smileys/');
$col_array = $this->table->make_columns($image_array, 8);
@@ -160,7 +160,7 @@
<p>Returns an array containing your smiley images wrapped in a clickable link. You must supply the URL to your smiley folder
via the first parameter:</p>
-<code>$image_array = get_clickable_smileys("http://www.your-site.com/images/smileys/");</code>
+<code>$image_array = get_clickable_smileys("http://example.com/images/smileys/");</code>
<h2>js_insert_smiley()</h2>
@@ -181,7 +181,7 @@
$str = 'Here are some simileys: :-) ;-)';
-$str = parse_smileys($str, "http://www.your-site.com/images/smileys/");
+$str = parse_smileys($str, "http://example.com/images/smileys/");
echo $str;
</code>
diff --git a/user_guide/helpers/string_helper.html b/user_guide/helpers/string_helper.html
index daa5735..3ede009 100644
--- a/user_guide/helpers/string_helper.html
+++ b/user_guide/helpers/string_helper.html
@@ -118,8 +118,8 @@
<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 = "http://www.example.com//index.php";<br />
-echo reduce_double_slashes($string); // results in "http://www.example.com/index.php"</code>
+<code>$string = "http://example.com//index.php";<br />
+echo reduce_double_slashes($string); // results in "http://example.com/index.php"</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 2c0b255..aaf4ae4 100644
--- a/user_guide/helpers/url_helper.html
+++ b/user_guide/helpers/url_helper.html
@@ -79,7 +79,7 @@
<code>echo site_url("news/local/123");</code>
-<p>The above example would return something like: http://www.your-site.com/index.php/news/local/123</p>
+<p>The above example would return something like: http://example.com/index.php/news/local/123</p>
<p>Here is an example of segments passed as an array:</p>
@@ -104,7 +104,7 @@
<p>Creates a standard HTML anchor link based on your local site URL:</p>
-<code><a href="http://www.your-site.com">Click Here</a></code>
+<code><a href="http://example.com">Click Here</a></code>
<p>The tag has three optional parameters:</p>
@@ -124,11 +124,11 @@
<code>echo anchor('news/local/123', 'My News');</code>
-<p>Would produce: <a href="http://www.your-site.com/index.php/news/local/123" title="My News">My News</a></p>
+<p>Would produce: <a href="http://example.com/index.php/news/local/123" title="My News">My News</a></p>
<code>echo anchor('news/local/123', 'My News', array('title' => 'The best news!'));</code>
-<p>Would produce: <a href="http://www.your-site.com/index.php/news/local/123" title="The best news!">My News</a></p>
+<p>Would produce: <a href="http://example.com/index.php/news/local/123" title="The best news!">My News</a></p>
<h2>anchor_popup()</h2>
@@ -218,7 +218,7 @@
<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.example.com";<br /><br />
+$url = "example.com";<br /><br />
$url = prep_url($url);</code>