From 8ed8192269cbaa7c8d47fc0608ca6169c4c9f237 Mon Sep 17 00:00:00 2001
From: genio
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" />
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" />
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 c394dbd01d3dfc75357379077d673926118b2ef8 Mon Sep 17 00:00:00 2001
From: genio
Date: Tue, 6 Sep 2011 15:48:17 -0300
Subject: added the change to form_helper documentation to the change list
---
user_guide/changelog.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index fb6e4493a..cee8cc52a 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -75,8 +75,9 @@ Change Log
Helpers
- Added increment_string() to String Helper to turn "foo" into "foo-1" or "foo-1" into "foo-2".
- - Altered form helper - made action on form_open_multipart helper function call optional. Fixes (#65)
+ - Altered form helper - made action on form_open_multipart helper function call optional. Fixes (#65)
- url_title() will now trim extra dashes from beginning and end.
+ - Fixed a couple of typos in the Form Helper documentation.
Database
--
cgit v1.2.3-24-g4f1b
From 9e2df7c1fc8f8f5c9837f52c308f72e9f326b577 Mon Sep 17 00:00:00 2001
From: druu
Date: Tue, 6 Sep 2011 22:19:59 +0300
Subject: Major speed improvement in function random_string() for cases
'alpha', 'alnum', 'numeric' and 'nozero'
---
system/helpers/string_helper.php | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/system/helpers/string_helper.php b/system/helpers/string_helper.php
index 9fa69f46c..dd8ffaddb 100644
--- a/system/helpers/string_helper.php
+++ b/system/helpers/string_helper.php
@@ -215,12 +215,9 @@ if ( ! function_exists('random_string'))
case 'nozero' : $pool = '123456789';
break;
}
-
- $str = '';
- for ($i=0; $i < $len; $i++)
- {
- $str .= substr($pool, mt_rand(0, strlen($pool) -1), 1);
- }
+
+ $str = substr(str_shuffle(str_repeat($pool, ceil($len/strlen($pool)))),0,$len);
+
return $str;
break;
case 'unique' :
--
cgit v1.2.3-24-g4f1b
From ec952d6694781140bbf95a589305d6a11e6a721e Mon Sep 17 00:00:00 2001
From: genio
Date: Tue, 6 Sep 2011 16:54:37 -0300
Subject: took out the changelog on the typo
---
user_guide/changelog.html | 1 -
1 file changed, 1 deletion(-)
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index cee8cc52a..d9f28e96d 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -77,7 +77,6 @@ Change Log
Added increment_string() to String Helper to turn "foo" into "foo-1" or "foo-1" into "foo-2".
Altered form helper - made action on form_open_multipart helper function call optional. Fixes (#65)
url_title() will now trim extra dashes from beginning and end.
- Fixed a couple of typos in the Form Helper documentation.
Database
--
cgit v1.2.3-24-g4f1b
From 5feb8bb8c89875224049a44ae988500c532ed6d4 Mon Sep 17 00:00:00 2001
From: druu
Date: Tue, 6 Sep 2011 22:18:26 +0200
Subject: Added changelog entry
---
user_guide/changelog.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index fb6e4493a..cdbbe6bda 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -77,6 +77,7 @@ Change Log
Added increment_string() to String Helper to turn "foo" into "foo-1" or "foo-1" into "foo-2".
Altered form helper - made action on form_open_multipart helper function call optional. Fixes (#65)
url_title() will now trim extra dashes from beginning and end.
+ Improved speed of String Helper's random_string() method
Database
--
cgit v1.2.3-24-g4f1b