Taylor Otwell
358e8abde6
Merge pull request #1390 from Anahkiasen/feature/url_language
...
Add URL::to_language and HTML::link_to_language localization helpers
2013-01-05 12:46:43 -08:00
Taylor Otwell
8ff052cbdb
Merge pull request #1180 from unikent/master
...
Performance enhancement for HTML Class.
2012-12-03 07:04:23 -08:00
crynobone
0d8a4ffbdd
Add unit testing coverage for Laravel\HTML and improve setUp and tearDown for Form unit-test
...
Signed-off-by: crynobone <crynobone@gmail.com>
2012-11-06 22:33:29 +08:00
Anahkiasen
89e3bf1fbd
Add URL::to_language and HTML::link_to_language localization helpers
...
Signed-off-by: Anahkiasen <ehtnam6@gmail.com>
2012-10-26 22:32:52 +01:00
Franz Liedke
65d4b2448b
Fix closing tag in definition list helper.
2012-09-14 22:21:35 +03:00
Franz Liedke
c7763a23bd
Add definition list helper to HTML class.
2012-09-12 14:40:55 +03:00
Alex Andrews
f02e7dc4ca
Reformatted return
...
Changed the return of the method in line with suggestions from @JoostK.
2012-09-10 12:27:50 +01:00
thybag
aa32e4cf72
Rename static::get_encoding() method to static::encoding() to fit better with style.
2012-09-09 14:24:52 +01:00
thybag
f55bb85c6f
Update to conform better with laravels coding style.
2012-09-05 09:49:04 +01:00
thybag
a9be66d41a
Refactor changes into single get_encoding() method within the HTML Class (in order to remove duplication of logic). All tests continue to pass.
2012-09-05 09:35:54 +01:00
thybag
6e44b4080a
Cache application.encoding within HTML class to avoid unnecessary calls to Config::get();
...
Calling the "Config::get('application.encoding')" is expensive and within a large form (using the form builder) having it requested multiple times can result in a significant performance drag.
Caching this value reduced calls to Config:get within our project from 1200+ to 125. All core tests appear to pass with this change in place.
2012-09-04 16:09:56 +01:00
Sergii Grebeniuk
690e8572aa
phpdoc fixes
2012-08-03 18:17:48 +03:00
Dayle Rees
0556ef35ce
Merge branch 'develop' of github.com:laravel/laravel into develop
2012-07-31 16:55:50 +01:00
Dayle Rees
01f8323420
Merge pull request #945 from cviebrock/html-link
...
Allow second param of HTML::link* methods to be null
2012-07-31 08:39:24 -07:00
Pascal Borreli
8a34aa5077
Fixed typos
2012-07-27 11:29:59 +00:00
resurtm
0a85a54c2f
Indentation fixes in html.php.
2012-07-22 21:48:11 +06:00
Josh Miller
0ea30993d4
Fixed various typos throughout laravel folder.
...
Signed-off-by: Josh Miller <josh@joshmmiller.com>
2012-07-21 20:18:55 -04:00
Colin Viebrock
4d44df4885
Allow second param of HTML::link* methods to be null, in which case the title of the link is the URL itself, similar to HTML::email() method.
...
Signed-off-by: Colin Viebrock <colin@viebrock.ca>
2012-07-12 10:40:41 -05:00
Taylor Otwell
bc67c667a9
Merge pull request #730 from sparksp/develop-default-https
...
Generated URLs default to use the current protocol (http or https)
2012-05-30 07:01:28 -07:00
Taylor Otwell
cf604d4e79
Merge pull request #689 from crlosmify/html
...
Method for HTML special characters
2012-05-30 06:58:48 -07:00
Phill Sparks
6151886860
Generated URLs default to use the current protocol (http or https)
...
Signed-off-by: Phill Sparks <phill@bulbstudios.com>
2012-05-30 13:14:16 +01:00
Ben Corlett
af2bf68a29
Adding support for values in nested lists generated in the HTML class.
...
Signed-off-by: Ben Corlett <bencorlett@me.com>
2012-05-23 12:25:26 +10:00
Carlos
e057193de0
Added function for converting html special characters.
...
With entities there are problems encoding characters in other languages, for example á, ó, in spanish will become special characters.
2012-05-19 01:21:18 -05:00
Carlos
23a25b9abb
Revert "Added a function for handling HTML special characters"
...
This reverts commit b47fc6476a
.
2012-05-19 01:17:53 -05:00
Carlos
b47fc6476a
Added a function for handling HTML special characters
2012-05-19 01:12:29 -05:00
Taylor Otwell
3a62036a9c
fix urlencode prob
2012-04-24 22:47:35 -05:00
Taylor Otwell
b8b0c08495
fix html class.
2012-04-24 21:51:19 -05:00
Taylor Otwell
68834a47d9
fixing conflicts.
2012-04-24 10:42:57 -05:00
Julien TANT
8eae68bde0
Change htmlentities to urlencode for link
...
Signed-off-by: Julien TANT <julien@ao6-labs.eu>
2012-04-21 14:51:03 +02:00
Taylor Otwell
9a90d303c7
return empty string if no items in html list.
2012-04-19 08:45:56 -05:00
Taylor Otwell
e942c2032f
Added macro support to HTML class to match Form class.
2012-03-22 15:06:36 -05:00
Taylor Otwell
9019c6e2f6
added link_to_action method to html class.
2012-02-24 08:08:56 -06:00
Taylor Otwell
642b0f17f0
link_to_secure_route no longer needed.
2012-02-14 11:35:22 -06:00
Phill Sparks
62072e5281
PHPDoc fixes
2012-02-04 21:30:52 +00:00
Taylor Otwell
d19fd5a1ce
added html::decode method.
2012-01-30 10:22:23 -06:00
Taylor Otwell
b5442c67fc
merged skunkworks into develop.
2012-01-16 13:59:24 -06:00
Taylor Otwell
3ccad7de60
fix bug in link_to_asset method.
2011-11-22 23:32:24 -06:00
Taylor Otwell
74b65f74d1
tweaked link_to_asset https handling.
2011-11-22 23:28:31 -06:00
Phill Sparks
58638216e8
Throw better Exceptions
2011-11-15 12:35:04 +00:00
Taylor Otwell
8df52df894
shorten really long statement.
2011-11-01 20:50:35 -05:00
Taylor Otwell
36ff7b81aa
fix bug in listing method.
2011-10-30 23:16:16 -05:00
Taylor Otwell
af36cb3d5a
various refactoring and tweaks.
2011-10-20 21:44:18 -05:00
Taylor Otwell
9fc9f88a41
refactoring various pieces of the framework.
2011-10-18 20:19:36 -05:00
Taylor Otwell
9fa69e0844
refactoring routing and class comments.
2011-10-13 21:32:11 -05:00
Taylor Otwell
c5c0ebc00a
allow rel and other stylesheet defaults to be overriden.
2011-10-08 19:55:57 -05:00
Taylor Otwell
efed3b6eaf
added comments to html class.
2011-09-21 23:03:58 -05:00
Taylor Otwell
0c4018ec88
refactoring.
2011-09-21 21:46:16 -05:00
Taylor Otwell
4525eae25a
revert back to more sensible architecture.
2011-09-20 23:14:09 -05:00
Taylor Otwell
32391b7f32
refactoring various classes.
2011-09-16 20:30:22 -05:00
Taylor Otwell
fb811af5fc
more refactoring for dependency injection.
2011-09-09 20:55:24 -05:00