summaryrefslogtreecommitdiffstats
path: root/system/helpers/html_helper.php
AgeCommit message (Collapse)AuthorFilesLines
2018-06-01Merge pull request #5516 from wpyh/patch-1Andrey Andreev1-3/+3
Use Config::base_url() properly
2018-05-30Use Config::base_url() properlyWilliam Poetra Yoga1-3/+3
Using the Config::slash_item() method, we get double forward slashes. For example, base_url = 'http://localhost:8080/' and asset is '/assets/my_asset.css', then the generated URL would be 'http://localhost:8080//assets/my_asset.css'. This patch fixes that, so the generated URL would be 'http://localhost:8080/assets/my_asset.css'. There is actually already an analog example in the case if index_page === TRUE, where the site_url() function is used.
2018-05-18http:// to https://Mehdi Bounya1-2/+2
2018-01-09Annual copyright updateMaster Yoda1-2/+2
2017-03-24Merge branch '3.1-stable' into developAndrey Andreev1-1/+1
Conflicts resolved: system/core/CodeIgniter.php system/core/Common.php system/core/Input.php system/helpers/cookie_helper.php tests/codeigniter/helpers/html_helper_test.php user_guide_src/source/changelog.rst user_guide_src/source/conf.py user_guide_src/source/installation/downloads.rst user_guide_src/source/installation/upgrading.rst user_guide_src/source/libraries/input.rst
2017-03-06Fix #5044; add unit tests for img() HTML helperAndrey Andreev1-1/+1
2017-01-03Update copyright data to 2017Master Yoda1-2/+2
2016-12-31Update copyright data to 2017Master Yoda1-2/+2
2016-12-01Remove previously deprecated HTML helper functions br(), nbs()Andrey Andreev1-34/+0
2016-01-20Default doctype is now HTML 5Sébastien Adam1-1/+1
2016-01-11Polish changes from PR #4269Andrey Andreev1-7/+21
2016-01-11Merge branch 'develop' of github.com:sebastienadam/CodeIgniter into ↵Andrey Andreev1-6/+7
feature/html_meta
2016-01-11[ci skip] Update ellislab.com links to https tooAndrey Andreev1-1/+1
2016-01-11[ci skip] Update codeigniter.com links to httpsAndrey Andreev1-2/+2
2016-01-11[ci skip] Bump year to 2016Andrey Andreev1-2/+2
2015-12-01Forgot change in the comment on the meta functionSébastien Adam1-1/+1
2015-12-01Modified as asked after pull request:Sébastien Adam1-7/+7
* comment of meta fuction adapted * alignments in meta fuction adapted * using '===' comparator in meta function * changing back the example of the meta function help * changing back the default value of the doctype function Also changing test unit to reflect the modification of the meta function (original tests not modified).
2015-11-25HTML Helper - doctype(): now default type is HTML 5Sébastien Adam1-1/+1
2015-11-25HTML Helper - meta(): now can generate HTML meta charset & Open Graph propertySébastien Adam1-4/+5
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-09Bulk (mostly documentation) updateAndrey Andreev1-3/+3
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-05-16fix wrong if expression in link_tagEmmanuel Grognet1-1/+1
2014-03-12Add support for protocol-relative URLs in HTML helpers img(), link_tag()Andrey Andreev1-3/+3
2014-03-12Check image path is include http:// or https://wuwx1-1/+1
2014-02-26Deprecate HTML helpers nbs(), br()Andrey Andreev1-0/+2
2014-02-26Don't use error suppression on realpath() + style adjustmentsAndrey Andreev1-20/+20
2014-02-112013 > 2014darwinel1-1/+1
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2014-01-08Optimize get_instance() calls/assignmentsAndrey Andreev1-4/+2
2013-07-17[ci skip] Remove some empty linesAndrey Andreev1-1/+1
2013-05-18Required arg in between optional onesRasmus Lerdorf1-2/+2
Signed-off-by: Rasmus Lerdorf <rasmus@php.net>
2013-01-29Replace is_file() with the faster file_exists()Andrey Andreev1-8/+12
(where it makes sense) Also: - Implemented caching of configuration arrays for smileys, foreign characters and doctypes. - Implemented cascading-style loading of configuration files (except for library configs, DB and constants.php).
2013-01-28Remove unnecessary defined('ENVIRONMENT') checksAndrey Andreev1-1/+1
As suggested in issue #2134 & PR #2149
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-11-08Polish docs for HTML, Inflector, Language, Number, Path, Security and Smiley ↵Andrey Andreev1-3/+3
helpers Also fixed a DB_cache bug introduced in previous commit and removed an unused parameter in a smiley helper
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev1-1/+2
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-08-15Fix issue #1712Andrey Andreev1-1/+1
2012-07-29Adding a common stringify_attributes function for dealing with attributes ↵Eric Barnes1-38/+3
through out various helpers. Signed-off-by: Eric Barnes <eric@ericlbarnes.com>
2012-07-28Adding optional attributes as array or object for html helperEric Barnes1-19/+40
2012-07-22Comment fix. Html5 is most popular these days and should be added to ↵Przemyslaw Tomaszewski1-3/+3
comment. Also - information that there are more doctypes than specified in comment was not included.
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/helpersAlex Bilbie1-3/+3
2012-05-17Clean up the helpersAndrey Andreev1-4/+4
2012-04-27Fix docblocks A-HTimothy Warren1-93/+94
2012-03-26Remove access description lines and cleanup the html helperAndrey Andreev1-41/+25
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon1-1/+1
Yes I know PHP 5.4 just came out, and yes I know PHP 5.3 has lovely features, but there are plenty of corporate systems running on CodeIgniter and PHP 5.3 still is not widely supported enough. CodeIgniter is great for distributed applications, and this is the highest we can reasonably go without breaking support. PHP 5.3 will most likely happen in another year or so. Fingers crossed on that one anyway...
2012-01-06Improve html, inflector & language helpersAndrey Andreev1-46/+24
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-12-27Revert "Abstracting the loading of files in the config directory depending ↵Greg Aker1-1/+8
on environments." This reverts commit 5c1aa631c5f5ec2f6b75ba1158178418e50ba11a.
2011-12-25Abstracting the loading of files in the config directory depending on ↵Greg Aker1-8/+1
environments.
2011-10-20adding new license file (OSL 3.0) and updating readme to ReSTDerek Jones1-4/+16
added notice of license to all source files. OSL to all except the few files we ship inside of the application folder, those are AFL. Updated license in user guide. incrementing next dev version to 3.0 due to licensing change