summaryrefslogtreecommitdiffstats
path: root/system/libraries/Language.php
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-06-27 19:14:46 +0200
committerDerek Jones <derek.jones@ellislab.com>2008-06-27 19:14:46 +0200
commitcc1be0f6fbf032896b5b1f6373cb247df648f6c8 (patch)
tree36598df1c2a9be1dd5fd811abcff6a992ccf2f34 /system/libraries/Language.php
parent727ec3141beefb5ee6e2852ec83309c259828e4e (diff)
Moved the <label> output ability from the language library to a language helper (hotfix for 1.6.3)
Diffstat (limited to 'system/libraries/Language.php')
-rw-r--r--system/libraries/Language.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/system/libraries/Language.php b/system/libraries/Language.php
index a1f73d03b..be86c2b89 100644
--- a/system/libraries/Language.php
+++ b/system/libraries/Language.php
@@ -109,18 +109,11 @@ class CI_Language {
*
* @access public
* @param string $line the language line
- * @param string $label optional label
* @return string
*/
- function line($line = '', $label = '')
+ function line($line = '')
{
$line = ($line == '' OR ! isset($this->language[$line])) ? FALSE : $this->language[$line];
-
- if ($label != '')
- {
- $line = '<label for="'.$label.'">'.$line."</label>";
- }
-
return $line;
}