diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-09-25 15:04:12 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-09-25 15:04:12 +0200 |
commit | 69db8efaffadfc93ff0eec3a9733793e8b358dfb (patch) | |
tree | c581d95bfcac10ab07371a6128f417ce4bdef88d | |
parent | a7cf027235c92103118cf415d244447a6ea82b3a (diff) |
Fixed incorrect parenthesis in form_open() function. (#5135)
A few doc typo fixes
-rw-r--r-- | system/helpers/form_helper.php | 2 | ||||
-rw-r--r-- | user_guide/changelog.html | 13 | ||||
-rw-r--r-- | user_guide/installation/upgrade_170.html | 2 | ||||
-rw-r--r-- | user_guide/libraries/form_validation.html | 4 |
4 files changed, 11 insertions, 10 deletions
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php index fc2592241..a45faf631 100644 --- a/system/helpers/form_helper.php +++ b/system/helpers/form_helper.php @@ -57,7 +57,7 @@ if ( ! function_exists('form_open')) $form .= '>';
- if (is_array($hidden) AND count($hidden > 0))
+ if (is_array($hidden) AND count($hidden) > 0)
{
$form .= form_hidden($hidden);
}
diff --git a/user_guide/changelog.html b/user_guide/changelog.html index 7a59eaf64..f95afe303 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -67,11 +67,11 @@ SVN Revision: XXXX</p> <ul>
<li>Added a new <a href="libraries/form_validation.html">Form Validation Class</a>. It simplifies setting rules and field names, supports arrays as field names, allows groups of validation rules to be saved in a config file, and adds some helper functions for use in view files. <strong>Please note that the old Validation class is now deprecated</strong>. We will leave it in the library folder for some time so that existing applications that use it will not break, but you are encouraged to migrate to the new version.</li>
<li>Updated the <a href="libraries/sessions.html">Sessions class</a> so that any custom data being saved gets stored to a database rather than the session cookie (assuming you are using a database to store session data), permitting much more data to be saved.</li>
- <li>Added the ability to store libraries in subdirectories within either the main "libraries" or the local application "libraries" folder. Please see the <a href="libraries/loader.html">Loader class</a> for more info. </li>
- <li>Added the ability to assign library objects to your own variable names when you use <kbd>$this->load->library()</kbd>. Please see the <a href="libraries/loader.html">Loader class</a> for more info. </li>
+ <li>Added the ability to store libraries in subdirectories within either the main "libraries" or the local application "libraries" folder. Please see the <a href="libraries/loader.html">Loader class</a> for more info.</li>
+ <li>Added the ability to assign library objects to your own variable names when you use <kbd>$this->load->library()</kbd>. Please see the <a href="libraries/loader.html">Loader class</a> for more info.</li>
<li>Added controller class/method info to <a href="general/profiling.html">Profiler class</a>.</li>
<li>Improved the "auto typography" feature and moved it out of the helper into its own <a href="libraries/typography.html">Typography Class</a>.</li>
- <li>Changed the output of the profiler to use style attribute rather than clear, and added the id "codeigniter_profiler" to the container div</li>
+ <li>Changed the output of the profiler to use style attribute rather than clear, and added the id "codeigniter_profiler" to the container div.</li>
</ul>
</li>
<li>Database
@@ -83,12 +83,13 @@ SVN Revision: XXXX</p> <li>Helpers
<ul>
<li>Added several new "setting" functions to the <a href="helpers/form_helper.html">Form helper</a> that allow POST data to be retrieved and set into forms. These are intended to be used on their own, or with the new <a href="libraries/form_validation.html">Form Validation Class</a>.</li>
- <li>Added current_url() and uri_segments() to <a href="helpers/url_helper.html">URL helper</a>.</li>
- <li>Improved accuracy of calculations in <a href="helpers/number_helper.html">Number helper</a>.</li>
+ <li>Added current_url() and uri_segments() to <a href="helpers/url_helper.html">URL helper.</a>.</li>
+ <li>Improved accuracy of calculations in <a href="helpers/number_helper.html">Number helper.</a>.</li>
<li>Removed added newlines ("\n") from most form and html helper functions.</li>
<li>Tightened up validation in Date Helper human_to_unix(), and eliminated the POSIX regex.</li>
<li>Updated Date Helper to match the world's current time zones and offsets.</li>
<li>Fixed the spelling of "raspberry" in config/smileys.php</li>
+ <li>Fixed incorrect parenthesis in form_open() function. (#5135)</li>
</ul>
</li>
<li>Other changes
@@ -104,7 +105,7 @@ SVN Revision: XXXX</p> <h3>Bug fixes for 1.7.0</h3>
<ul>
<li>Fixed bug in xss_clean() that could remove some desirable tag attributes.</li>
- <li>Fixed assorted user guide typos or examples (#4807, #4812, #4840, #4862, #4864, #4899, #4930, #5006, #5071).</li>
+ <li>Fixed assorted user guide typos or examples (#4807, #4812, #4840, #4862, #4864, #4899, #4930, #5006, #5071, #5158).</li>
<li>Fixed an edit from 1.6.3 that made the $robots array in user_agents.php go poof.</li>
<li>Fixed a bug in the Email library with quoted-printable encoding improperly encoding space and tab characters.</li>
<li>Modified XSS sanitization to no longer add semicolons after &[single letter], such as in M&M's, B&B, etc.</li>
diff --git a/user_guide/installation/upgrade_170.html b/user_guide/installation/upgrade_170.html index d74afff27..33897d5dd 100644 --- a/user_guide/installation/upgrade_170.html +++ b/user_guide/installation/upgrade_170.html @@ -3,7 +3,7 @@ <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>Upgrading from 1.6.3 to 1.6.4 : CodeIgniter User Guide</title>
+<title>Upgrading from 1.6.3 to 1.7.0 : CodeIgniter User Guide</title>
<style type='text/css' media='all'>@import url('../userguide.css');</style>
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
diff --git a/user_guide/libraries/form_validation.html b/user_guide/libraries/form_validation.html index 04074bfbc..0f89fb810 100644 --- a/user_guide/libraries/form_validation.html +++ b/user_guide/libraries/form_validation.html @@ -58,7 +58,7 @@ Form Validation <p>CodeIgniter provides a comprehensive form validation and data prepping class that helps minimize the amount of code you'll write.</p>
-<p class="important"><strong>Note:</strong> As of CodeIgniter 1.6.4, this Form Validation class supercedes the old Validation class, which is now deprecated. We
+<p class="important"><strong>Note:</strong> As of CodeIgniter 1.7.0, this Form Validation class supercedes the old Validation class, which is now deprecated. We
have left the old class in the library so applications currently using it will not break, but you are encouraged to migrate to this new version.</p>
<ul>
@@ -585,7 +585,7 @@ it is assumed that the data is your newly processed form data.</p> <code>$this->form_validation->set_message('username_check')</code>
-<p>You can also override any error message found in the languge file. For example, to change the message for the "required" rule you will do this:</p>
+<p>You can also override any error message found in the language file. For example, to change the message for the "required" rule you will do this:</p>
<code>$this->form_validation->set_message('required', 'Your custom message here');</code>
|