From c4e9dc961c67084294d1050545c451ba0319fbb5 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Tue, 6 Feb 2007 19:52:30 +0000 Subject: added missing 'quotes' in a few examples --- user_guide/helpers/url_helper.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'user_guide/helpers/url_helper.html') 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.

Here are some examples:

-echo anchor(news/local/123, My News); +echo anchor('news/local/123', 'My News');

Would produce: <a href="http://www.your-site.com/index.php/news/local/123" title="My News">My News</a>

-echo anchor(news/local/123, My News, array('title' => 'The best news!')); +echo anchor('news/local/123', 'My News', array('title' => 'The best news!'));

Would produce: <a href="http://www.your-site.com/index.php/news/local/123" title="The best news!">My News</a>

@@ -162,7 +162,7 @@ echo anchor_popup(news/local/123, 'Click Me!', $atts);

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:

-echo anchor_popup(news/local/123, 'Click Me!', array()); +echo anchor_popup('news/local/123', 'Click Me!', array());

mailto()

-- cgit v1.2.3-24-g4f1b