summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'system/helpers')
-rw-r--r--system/helpers/html_helper.php23
1 files changed, 2 insertions, 21 deletions
diff --git a/system/helpers/html_helper.php b/system/helpers/html_helper.php
index 660d867bd..f88bc0723 100644
--- a/system/helpers/html_helper.php
+++ b/system/helpers/html_helper.php
@@ -238,9 +238,9 @@ if (! function_exists('image'))
* @param boolean should index_page be added to the css path
* @return string
*/
-if (! function_exists('link'))
+if (! function_exists('link_tag'))
{
- function link($href = '', $rel = 'stylesheet', $type = 'text/css', $title = '', $media = '', $index_page = FALSE)
+ function link_tag($href = '', $rel = 'stylesheet', $type = 'text/css', $title = '', $media = '', $index_page = FALSE)
{
$CI =& get_instance();
@@ -307,25 +307,6 @@ if (! function_exists('link'))
// ------------------------------------------------------------------------
/**
- * Stylesheet
- *
- * Generates a <link /> to a CSS
- *
- * @access public
- * @param array
- * @return string
- */
-if (! function_exists('stylesheet'))
-{
- function stylesheet($href = '', $rel = 'stylesheet', $title = '', $media = 'screen')
- {
- return link($href, $rel, 'text/css', $title, $media);
- }
-}
-
-// ------------------------------------------------------------------------
-
-/**
* Generates meta tags from an array of key/values
*
* @access public