From 8ed8192269cbaa7c8d47fc0608ca6169c4c9f237 Mon Sep 17 00:00:00 2001 From: genio Date: Tue, 6 Sep 2011 15:44:43 -0300 Subject: A few examples had http:/example.com instead of http://example.com --- user_guide/helpers/form_helper.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'user_guide/helpers') diff --git a/user_guide/helpers/form_helper.html b/user_guide/helpers/form_helper.html index dd935ebd9..0afe0eb53 100644 --- a/user_guide/helpers/form_helper.html +++ b/user_guide/helpers/form_helper.html @@ -84,7 +84,7 @@ in the event your URLs ever change.

The above example would create a form that points to your base URL plus the "email/send" URI segments, like this:

-<form method="post" accept-charset="utf-8" action="http:/example.com/index.php/email/send" /> +<form method="post" accept-charset="utf-8" action="http://example.com/index.php/email/send" />

Adding Attributes

@@ -97,7 +97,7 @@ echo form_open('email/send', $attributes);

The above example would create a form similar to this:

-<form method="post" accept-charset="utf-8" action="http:/example.com/index.php/email/send"  class="email"  id="myform" /> +<form method="post" accept-charset="utf-8" action="http://example.com/index.php/email/send"  class="email"  id="myform" />

Adding Hidden Input Fields

@@ -110,7 +110,7 @@ echo form_open('email/send', '', $hidden);

The above example would create a form similar to this:

-<form method="post" accept-charset="utf-8" action="http:/example.com/index.php/email/send">
+<form method="post" accept-charset="utf-8" action="http://example.com/index.php/email/send">
<input type="hidden" name="username" value="Joe" />
<input type="hidden" name="member_id" value="234" />
-- cgit v1.2.3-24-g4f1b From 61bb5012ba51ebbe5af11ef9d21741474f9f970d Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 11 Sep 2011 14:35:52 +0800 Subject: update user guide for replacing 'br/' with 'br /' --- user_guide/helpers/string_helper.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'user_guide/helpers') diff --git a/user_guide/helpers/string_helper.html b/user_guide/helpers/string_helper.html index 314124037..ebdbd3ab2 100644 --- a/user_guide/helpers/string_helper.html +++ b/user_guide/helpers/string_helper.html @@ -96,9 +96,9 @@ String Helper

Usage example:

-echo increment_string('file', '_'); // "file_1"
-echo increment_string('file', '-', 2); // "file-2"
-echo increment_string('file-4'); // "file-5"
+echo increment_string('file', '_'); // "file_1"
+echo increment_string('file', '-', 2); // "file-2"
+echo increment_string('file-4'); // "file-5"

alternator()

@@ -186,4 +186,4 @@ Next Topic:  Text Helper - \ No newline at end of file + -- cgit v1.2.3-24-g4f1b From ec63402585f54f7f2399dc82b1fe402f726315ff Mon Sep 17 00:00:00 2001 From: Chris Schmitz Date: Tue, 13 Sep 2011 10:02:43 -0500 Subject: Minor typo and grammar corrections. --- user_guide/helpers/form_helper.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'user_guide/helpers') diff --git a/user_guide/helpers/form_helper.html b/user_guide/helpers/form_helper.html index 0afe0eb53..511eeab89 100644 --- a/user_guide/helpers/form_helper.html +++ b/user_guide/helpers/form_helper.html @@ -180,12 +180,12 @@ echo form_input('username', 'johndoe', $js);

form_password()

This function is identical in all respects to the form_input() function above -except that is sets it as a "password" type.

+except that it uses the "password" input type.

form_upload()

This function is identical in all respects to the form_input() function above -except that is sets it as a "file" type, allowing it to be used to upload files.

+except that it uses the "file" input type, allowing it to be used to upload files.

form_textarea()

@@ -318,7 +318,7 @@ fourth parameter:

form_radio()

-

This function is identical in all respects to the form_checkbox() function above except that is sets it as a "radio" type.

+

This function is identical in all respects to the form_checkbox() function above except that it uses the "radio" input type.

form_submit()

-- cgit v1.2.3-24-g4f1b From 3ac44314ab818f2f3c658e5e0aa5cce6018c1a3a Mon Sep 17 00:00:00 2001 From: cenk Date: Mon, 26 Sep 2011 15:03:41 +0300 Subject: Edited user_guide/helpers/html_helper.html via GitHub --- user_guide/helpers/html_helper.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'user_guide/helpers') diff --git a/user_guide/helpers/html_helper.html b/user_guide/helpers/html_helper.html index 92bfdfb2e..4b1342724 100644 --- a/user_guide/helpers/html_helper.html +++ b/user_guide/helpers/html_helper.html @@ -348,6 +348,11 @@ echo doctype('html4-trans');
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> + XHTML Basic 1.1 + doctype('xhtml-basic11') + <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd"> + + HTML 5 doctype('html5') <!DOCTYPE html> -- cgit v1.2.3-24-g4f1b