diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-11-12 00:14:42 +0100 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-11-12 00:14:42 +0100 |
commit | 85e65f6259d4602f2d3fa81191eb052745e632a7 (patch) | |
tree | 93b9c3b0bdf768c85d900dbc068ff83e1dadd343 /system/helpers/language_helper.php | |
parent | 6599b9a5dc699da2e7d2a69b070d203f99d80b6a (diff) |
Propset eol-style to CRLF
simplified paragraph tag cleanup regex
Diffstat (limited to 'system/helpers/language_helper.php')
-rw-r--r-- | system/helpers/language_helper.php | 114 |
1 files changed, 57 insertions, 57 deletions
diff --git a/system/helpers/language_helper.php b/system/helpers/language_helper.php index 2091fd41d..d90fe3195 100644 --- a/system/helpers/language_helper.php +++ b/system/helpers/language_helper.php @@ -1,58 +1,58 @@ -<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); -/** - * CodeIgniter - * - * An open source application development framework for PHP 4.3.2 or newer - * - * @package CodeIgniter - * @author ExpressionEngine Dev Team - * @copyright Copyright (c) 2008, EllisLab, Inc. - * @license http://codeigniter.com/user_guide/license.html - * @link http://codeigniter.com - * @since Version 1.0 - * @filesource - */ - -// ------------------------------------------------------------------------ - -/** - * CodeIgniter Language Helpers - * - * @package CodeIgniter - * @subpackage Helpers - * @category Helpers - * @author ExpressionEngine Dev Team - * @link http://codeigniter.com/user_guide/helpers/language_helper.html - */ - -// ------------------------------------------------------------------------ - -/** - * Lang - * - * Fetches a language variable and optionally outputs a form label - * - * @access public - * @param string the language line - * @param string the id of the form element - * @return string - */ -if ( ! function_exists('lang')) -{ - function lang($line, $id = '') - { - $CI =& get_instance(); - $line = $CI->lang->line($line); - - if ($id != '') - { - $line = '<label for="'.$id.'">'.$line."</label>"; - } - - return $line; - } -} - -// ------------------------------------------------------------------------ -/* End of file language_helper.php */ +<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
+/**
+ * CodeIgniter
+ *
+ * An open source application development framework for PHP 4.3.2 or newer
+ *
+ * @package CodeIgniter
+ * @author ExpressionEngine Dev Team
+ * @copyright Copyright (c) 2008, EllisLab, Inc.
+ * @license http://codeigniter.com/user_guide/license.html
+ * @link http://codeigniter.com
+ * @since Version 1.0
+ * @filesource
+ */
+
+// ------------------------------------------------------------------------
+
+/**
+ * CodeIgniter Language Helpers
+ *
+ * @package CodeIgniter
+ * @subpackage Helpers
+ * @category Helpers
+ * @author ExpressionEngine Dev Team
+ * @link http://codeigniter.com/user_guide/helpers/language_helper.html
+ */
+
+// ------------------------------------------------------------------------
+
+/**
+ * Lang
+ *
+ * Fetches a language variable and optionally outputs a form label
+ *
+ * @access public
+ * @param string the language line
+ * @param string the id of the form element
+ * @return string
+ */
+if ( ! function_exists('lang'))
+{
+ function lang($line, $id = '')
+ {
+ $CI =& get_instance();
+ $line = $CI->lang->line($line);
+
+ if ($id != '')
+ {
+ $line = '<label for="'.$id.'">'.$line."</label>";
+ }
+
+ return $line;
+ }
+}
+
+// ------------------------------------------------------------------------
+/* End of file language_helper.php */
/* Location: ./system/helpers/language_helper.php */
\ No newline at end of file |