summaryrefslogtreecommitdiffstats
path: root/user_guide/helpers
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2007-02-06 20:52:30 +0100
committerDerek Allard <derek.allard@ellislab.com>2007-02-06 20:52:30 +0100
commitc4e9dc961c67084294d1050545c451ba0319fbb5 (patch)
treee493c98cf66ba8c91a75988db50e919b019994ae /user_guide/helpers
parentabd98ca5d86487008e61175ebfb384604f1a07c7 (diff)
added missing 'quotes' in a few examples
Diffstat (limited to 'user_guide/helpers')
-rw-r--r--user_guide/helpers/url_helper.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/user_guide/helpers/url_helper.html b/user_guide/helpers/url_helper.html
index 4f4ac95e6..ad8ada3e1 100644
--- a/user_guide/helpers/url_helper.html
+++ b/user_guide/helpers/url_helper.html
@@ -128,11 +128,11 @@ will be added automatically from the information specified in your config file.
<p>Here are some examples:</p>
-<code>echo anchor(<var>news/local/123</var>, <var>My News</var>);</code>
+<code>echo anchor('news/local/123', 'My News');</code>
<p>Would produce: &lt;a href="http://www.your-site.com/index.php/news/local/123" title="My News">My News&lt;/a></p>
-<code>echo anchor(<var>news/local/123</var>, <var>My News</var>, <var>array('title' => 'The best news!')</var>);</code>
+<code>echo anchor('news/local/123', 'My News', array('title' => 'The best news!'));</code>
<p>Would produce: &lt;a href="http://www.your-site.com/index.php/news/local/123" title="The best news!">My News&lt;/a></p>
@@ -162,7 +162,7 @@ echo anchor_popup(news/local/123, 'Click Me!', $atts);</code>
<p>Note: The above attributes are the function defaults so you only need to set the ones that are different from what you need.
If you want the function to use all of its defaults simply pass an empty array in the third parameter:</p>
-<code>echo anchor_popup(news/local/123, 'Click Me!', array());</code>
+<code>echo anchor_popup('news/local/123', 'Click Me!', array());</code>
<h2>mailto()</h2>