From 4ebfb43dfebbcb59aac2b463dcc9561d1008fd0d Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Wed, 1 Oct 2008 01:34:07 +0000 Subject: Fixed extra text in img() function description of the userguide --- user_guide/helpers/html_helper.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'user_guide/helpers') diff --git a/user_guide/helpers/html_helper.html b/user_guide/helpers/html_helper.html index ab26cbccc..e63a449b4 100644 --- a/user_guide/helpers/html_helper.html +++ b/user_guide/helpers/html_helper.html @@ -79,8 +79,7 @@ second the size of the heading. Example:

echo heading('Welcome!', 3);

The above would produce: <h3>Welcome!</h3>

img()

-

Lets you create HTML <img /> tags. The first parameter contains the image source. There is data, the - second the size of the heading. Example:

+

Lets you create HTML <img /> tags. The first parameter contains the image source. Example:

echo img('images/picture.jpg');
// gives <img src="http://site.com/images/picture.jpg" />

There is an optional second parameter that is a TRUE/FALSE value that specifics if the src should have the page specified by $config['index_page'] added to the address it creates. Presumably, this would be if you were using a media controller.

-- cgit v1.2.3-24-g4f1b