lang->line($index); if ($id != '') { $line = '"; } return ($line != '' ? $line : '[' . $index . ']'); } } /** * Random expire msg * * Displays a random expire message * * @access public * @return string */ if (!function_exists('random_expire_msg')) { function random_expire_msg() { $CI = & get_instance(); $expires = $CI->config->item('expires'); return $expires[rand(0, sizeof($expires) - 1) ]; } } // ------------------------------------------------------------------------ /* End of file language_helper.php */ /* Location: ./system/helpers/language_helper.php */