diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-06-27 19:14:46 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-06-27 19:14:46 +0200 |
commit | cc1be0f6fbf032896b5b1f6373cb247df648f6c8 (patch) | |
tree | 36598df1c2a9be1dd5fd811abcff6a992ccf2f34 /system/libraries/Language.php | |
parent | 727ec3141beefb5ee6e2852ec83309c259828e4e (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.php | 9 |
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;
}
|