diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-06-26 19:05:55 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-06-26 19:05:55 +0200 |
commit | ff845f94cc8876bc6c23c2f55b695bc569038512 (patch) | |
tree | 758d7880dabce6b0c89eb79bc11a60699c52b2fb /user_guide/helpers/url_helper.html | |
parent | 85f66ea6d2291c77a937305457592e24c85425ae (diff) |
changed your-site.com to example.com doc-wide
Diffstat (limited to 'user_guide/helpers/url_helper.html')
-rw-r--r-- | user_guide/helpers/url_helper.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/user_guide/helpers/url_helper.html b/user_guide/helpers/url_helper.html index 2c0b255d8..aaf4ae480 100644 --- a/user_guide/helpers/url_helper.html +++ b/user_guide/helpers/url_helper.html @@ -79,7 +79,7 @@ in the event your URL changes.</p> <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 @@ echo site_url($segments);</code> <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 @@ will be added automatically from the information specified in your config file. <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 @@ $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.example.com";<br /><br />
+$url = "example.com";<br /><br />
$url = prep_url($url);</code>
|