| <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); |
| * An open source application development framework for PHP 4.3.2 or newer |
| * @author ExpressionEngine Dev Team |
| * @copyright Copyright (c) 2008, EllisLab, Inc. |
| * @license http://codeigniter.com/user_guide/license.html |
| * @link http://codeigniter.com |
| // ------------------------------------------------------------------------ |
| * CodeIgniter Language Helpers |
| * @author ExpressionEngine Dev Team |
| * @link http://codeigniter.com/user_guide/helpers/language_helper.html |
| // ------------------------------------------------------------------------ |
| * Fetches a language variable and optionally outputs a form label |
| * @param string the language line |
| * @param string the id of the form element |
| if ( ! function_exists('lang')) |
| function lang($line, $id = '') |
| $line = $CI->lang->line($line); |
| $line = '<label for="'.$id.'">'.$line."</label>"; |
| // ------------------------------------------------------------------------ |
| /* End of file language_helper.php */ |
| /* Location: ./system/helpers/language_helper.php */ |