@@ -133,25 +133,25 @@ |
||
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | $plural_rules = array( |
| 136 | - '/(quiz)$/' => '\1zes', // quizzes |
|
| 137 | - '/^(ox)$/' => '\1\2en', // ox |
|
| 138 | - '/([m|l])ouse$/' => '\1ice', // mouse, louse |
|
| 139 | - '/(matr|vert|ind)ix|ex$/' => '\1ices', // matrix, vertex, index |
|
| 140 | - '/(x|ch|ss|sh)$/' => '\1es', // search, switch, fix, box, process, address |
|
| 141 | - '/([^aeiouy]|qu)y$/' => '\1ies', // query, ability, agency |
|
| 142 | - '/(hive)$/' => '\1s', // archive, hive |
|
| 143 | - '/(?:([^f])fe|([lr])f)$/' => '\1\2ves', // half, safe, wife |
|
| 144 | - '/sis$/' => 'ses', // basis, diagnosis |
|
| 145 | - '/([ti])um$/' => '\1a', // datum, medium |
|
| 146 | - '/(p)erson$/' => '\1eople', // person, salesperson |
|
| 147 | - '/(m)an$/' => '\1en', // man, woman, spokesman |
|
| 148 | - '/(c)hild$/' => '\1hildren', // child |
|
| 149 | - '/(buffal|tomat)o$/' => '\1\2oes', // buffalo, tomato |
|
| 150 | - '/(bu|campu)s$/' => '\1\2ses', // bus, campus |
|
| 151 | - '/(alias|status|virus)$/' => '\1es', // alias |
|
| 152 | - '/(octop)us$/' => '\1i', // octopus |
|
| 153 | - '/(ax|cris|test)is$/' => '\1es', // axis, crisis |
|
| 154 | - '/s$/' => 's', // no change (compatibility) |
|
| 136 | + '/(quiz)$/' => '\1zes', // quizzes |
|
| 137 | + '/^(ox)$/' => '\1\2en', // ox |
|
| 138 | + '/([m|l])ouse$/' => '\1ice', // mouse, louse |
|
| 139 | + '/(matr|vert|ind)ix|ex$/' => '\1ices', // matrix, vertex, index |
|
| 140 | + '/(x|ch|ss|sh)$/' => '\1es', // search, switch, fix, box, process, address |
|
| 141 | + '/([^aeiouy]|qu)y$/' => '\1ies', // query, ability, agency |
|
| 142 | + '/(hive)$/' => '\1s', // archive, hive |
|
| 143 | + '/(?:([^f])fe|([lr])f)$/' => '\1\2ves', // half, safe, wife |
|
| 144 | + '/sis$/' => 'ses', // basis, diagnosis |
|
| 145 | + '/([ti])um$/' => '\1a', // datum, medium |
|
| 146 | + '/(p)erson$/' => '\1eople', // person, salesperson |
|
| 147 | + '/(m)an$/' => '\1en', // man, woman, spokesman |
|
| 148 | + '/(c)hild$/' => '\1hildren', // child |
|
| 149 | + '/(buffal|tomat)o$/' => '\1\2oes', // buffalo, tomato |
|
| 150 | + '/(bu|campu)s$/' => '\1\2ses', // bus, campus |
|
| 151 | + '/(alias|status|virus)$/' => '\1es', // alias |
|
| 152 | + '/(octop)us$/' => '\1i', // octopus |
|
| 153 | + '/(ax|cris|test)is$/' => '\1es', // axis, crisis |
|
| 154 | + '/s$/' => 's', // no change (compatibility) |
|
| 155 | 155 | '/$/' => 's', |
| 156 | 156 | ); |
| 157 | 157 | |
@@ -1,40 +1,40 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * CodeIgniter |
|
| 4 | - * |
|
| 5 | - * An open source application development framework for PHP |
|
| 6 | - * |
|
| 7 | - * This content is released under the MIT License (MIT) |
|
| 8 | - * |
|
| 9 | - * Copyright (c) 2014 - 2015, British Columbia Institute of Technology |
|
| 10 | - * |
|
| 11 | - * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
| 12 | - * of this software and associated documentation files (the "Software"), to deal |
|
| 13 | - * in the Software without restriction, including without limitation the rights |
|
| 14 | - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
| 15 | - * copies of the Software, and to permit persons to whom the Software is |
|
| 16 | - * furnished to do so, subject to the following conditions: |
|
| 17 | - * |
|
| 18 | - * The above copyright notice and this permission notice shall be included in |
|
| 19 | - * all copies or substantial portions of the Software. |
|
| 20 | - * |
|
| 21 | - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
| 22 | - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
| 23 | - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
| 24 | - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
| 25 | - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
| 26 | - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|
| 27 | - * THE SOFTWARE. |
|
| 28 | - * |
|
| 29 | - * @package CodeIgniter |
|
| 30 | - * @author EllisLab Dev Team |
|
| 31 | - * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/) |
|
| 32 | - * @copyright Copyright (c) 2014 - 2015, British Columbia Institute of Technology (http://bcit.ca/) |
|
| 33 | - * @license http://opensource.org/licenses/MIT MIT License |
|
| 34 | - * @link http://codeigniter.com |
|
| 35 | - * @since Version 1.0.0 |
|
| 36 | - * @filesource |
|
| 37 | - */ |
|
| 3 | + * CodeIgniter |
|
| 4 | + * |
|
| 5 | + * An open source application development framework for PHP |
|
| 6 | + * |
|
| 7 | + * This content is released under the MIT License (MIT) |
|
| 8 | + * |
|
| 9 | + * Copyright (c) 2014 - 2015, British Columbia Institute of Technology |
|
| 10 | + * |
|
| 11 | + * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
| 12 | + * of this software and associated documentation files (the "Software"), to deal |
|
| 13 | + * in the Software without restriction, including without limitation the rights |
|
| 14 | + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
| 15 | + * copies of the Software, and to permit persons to whom the Software is |
|
| 16 | + * furnished to do so, subject to the following conditions: |
|
| 17 | + * |
|
| 18 | + * The above copyright notice and this permission notice shall be included in |
|
| 19 | + * all copies or substantial portions of the Software. |
|
| 20 | + * |
|
| 21 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
| 22 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
| 23 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
| 24 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
| 25 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
| 26 | + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|
| 27 | + * THE SOFTWARE. |
|
| 28 | + * |
|
| 29 | + * @package CodeIgniter |
|
| 30 | + * @author EllisLab Dev Team |
|
| 31 | + * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/) |
|
| 32 | + * @copyright Copyright (c) 2014 - 2015, British Columbia Institute of Technology (http://bcit.ca/) |
|
| 33 | + * @license http://opensource.org/licenses/MIT MIT License |
|
| 34 | + * @link http://codeigniter.com |
|
| 35 | + * @since Version 1.0.0 |
|
| 36 | + * @filesource |
|
| 37 | + */ |
|
| 38 | 38 | defined('BASEPATH') OR exit('No direct script access allowed'); |
| 39 | 39 | |
| 40 | 40 | /** |
@@ -67,23 +67,19 @@ |
||
| 67 | 67 | { |
| 68 | 68 | $num = round($num / 1099511627776, $precision); |
| 69 | 69 | $unit = $CI->lang->line('terabyte_abbr'); |
| 70 | - } |
|
| 71 | - elseif ($num >= 1000000000) |
|
| 70 | + } elseif ($num >= 1000000000) |
|
| 72 | 71 | { |
| 73 | 72 | $num = round($num / 1073741824, $precision); |
| 74 | 73 | $unit = $CI->lang->line('gigabyte_abbr'); |
| 75 | - } |
|
| 76 | - elseif ($num >= 1000000) |
|
| 74 | + } elseif ($num >= 1000000) |
|
| 77 | 75 | { |
| 78 | 76 | $num = round($num / 1048576, $precision); |
| 79 | 77 | $unit = $CI->lang->line('megabyte_abbr'); |
| 80 | - } |
|
| 81 | - elseif ($num >= 1000) |
|
| 78 | + } elseif ($num >= 1000) |
|
| 82 | 79 | { |
| 83 | 80 | $num = round($num / 1024, $precision); |
| 84 | 81 | $unit = $CI->lang->line('kilobyte_abbr'); |
| 85 | - } |
|
| 86 | - else |
|
| 82 | + } else |
|
| 87 | 83 | { |
| 88 | 84 | $unit = $CI->lang->line('bytes'); |
| 89 | 85 | return number_format($num).' '.$unit; |
@@ -1,40 +1,40 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * CodeIgniter |
|
| 4 | - * |
|
| 5 | - * An open source application development framework for PHP |
|
| 6 | - * |
|
| 7 | - * This content is released under the MIT License (MIT) |
|
| 8 | - * |
|
| 9 | - * Copyright (c) 2014 - 2015, British Columbia Institute of Technology |
|
| 10 | - * |
|
| 11 | - * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
| 12 | - * of this software and associated documentation files (the "Software"), to deal |
|
| 13 | - * in the Software without restriction, including without limitation the rights |
|
| 14 | - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
| 15 | - * copies of the Software, and to permit persons to whom the Software is |
|
| 16 | - * furnished to do so, subject to the following conditions: |
|
| 17 | - * |
|
| 18 | - * The above copyright notice and this permission notice shall be included in |
|
| 19 | - * all copies or substantial portions of the Software. |
|
| 20 | - * |
|
| 21 | - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
| 22 | - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
| 23 | - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
| 24 | - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
| 25 | - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
| 26 | - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|
| 27 | - * THE SOFTWARE. |
|
| 28 | - * |
|
| 29 | - * @package CodeIgniter |
|
| 30 | - * @author EllisLab Dev Team |
|
| 31 | - * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/) |
|
| 32 | - * @copyright Copyright (c) 2014 - 2015, British Columbia Institute of Technology (http://bcit.ca/) |
|
| 33 | - * @license http://opensource.org/licenses/MIT MIT License |
|
| 34 | - * @link http://codeigniter.com |
|
| 35 | - * @since Version 1.0.0 |
|
| 36 | - * @filesource |
|
| 37 | - */ |
|
| 3 | + * CodeIgniter |
|
| 4 | + * |
|
| 5 | + * An open source application development framework for PHP |
|
| 6 | + * |
|
| 7 | + * This content is released under the MIT License (MIT) |
|
| 8 | + * |
|
| 9 | + * Copyright (c) 2014 - 2015, British Columbia Institute of Technology |
|
| 10 | + * |
|
| 11 | + * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
| 12 | + * of this software and associated documentation files (the "Software"), to deal |
|
| 13 | + * in the Software without restriction, including without limitation the rights |
|
| 14 | + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
| 15 | + * copies of the Software, and to permit persons to whom the Software is |
|
| 16 | + * furnished to do so, subject to the following conditions: |
|
| 17 | + * |
|
| 18 | + * The above copyright notice and this permission notice shall be included in |
|
| 19 | + * all copies or substantial portions of the Software. |
|
| 20 | + * |
|
| 21 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
| 22 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
| 23 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
| 24 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
| 25 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
| 26 | + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|
| 27 | + * THE SOFTWARE. |
|
| 28 | + * |
|
| 29 | + * @package CodeIgniter |
|
| 30 | + * @author EllisLab Dev Team |
|
| 31 | + * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/) |
|
| 32 | + * @copyright Copyright (c) 2014 - 2015, British Columbia Institute of Technology (http://bcit.ca/) |
|
| 33 | + * @license http://opensource.org/licenses/MIT MIT License |
|
| 34 | + * @link http://codeigniter.com |
|
| 35 | + * @since Version 1.0.0 |
|
| 36 | + * @filesource |
|
| 37 | + */ |
|
| 38 | 38 | defined('BASEPATH') OR exit('No direct script access allowed'); |
| 39 | 39 | |
| 40 | 40 | /** |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | { |
| 82 | 82 | parent::__construct($params); |
| 83 | 83 | |
| 84 | - $CI =& get_instance(); |
|
| 84 | + $CI = & get_instance(); |
|
| 85 | 85 | isset($CI->db) OR $CI->load->database(); |
| 86 | 86 | $this->_db = $CI->db; |
| 87 | 87 | |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | function set_realpath($path, $check_existance = FALSE) |
| 62 | 62 | { |
| 63 | 63 | // Security check to make sure the path is NOT a URL. No remote file inclusion! |
| 64 | - if (preg_match('#^(http:\/\/|https:\/\/|www\.|ftp)#i', $path) OR filter_var($path, FILTER_VALIDATE_IP) === $path ) |
|
| 64 | + if (preg_match('#^(http:\/\/|https:\/\/|www\.|ftp)#i', $path) OR filter_var($path, FILTER_VALIDATE_IP) === $path) |
|
| 65 | 65 | { |
| 66 | 66 | show_error('The path you submitted must be a local server path, not a URL'); |
| 67 | 67 | } |
@@ -70,8 +70,7 @@ |
||
| 70 | 70 | if (realpath($path) !== FALSE) |
| 71 | 71 | { |
| 72 | 72 | $path = realpath($path); |
| 73 | - } |
|
| 74 | - elseif ($check_existance && ! is_dir($path) && ! is_file($path)) |
|
| 73 | + } elseif ($check_existance && ! is_dir($path) && ! is_file($path)) |
|
| 75 | 74 | { |
| 76 | 75 | show_error('Not a valid path: '.$path); |
| 77 | 76 | } |
@@ -1,40 +1,40 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * CodeIgniter |
|
| 4 | - * |
|
| 5 | - * An open source application development framework for PHP |
|
| 6 | - * |
|
| 7 | - * This content is released under the MIT License (MIT) |
|
| 8 | - * |
|
| 9 | - * Copyright (c) 2014 - 2015, British Columbia Institute of Technology |
|
| 10 | - * |
|
| 11 | - * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
| 12 | - * of this software and associated documentation files (the "Software"), to deal |
|
| 13 | - * in the Software without restriction, including without limitation the rights |
|
| 14 | - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
| 15 | - * copies of the Software, and to permit persons to whom the Software is |
|
| 16 | - * furnished to do so, subject to the following conditions: |
|
| 17 | - * |
|
| 18 | - * The above copyright notice and this permission notice shall be included in |
|
| 19 | - * all copies or substantial portions of the Software. |
|
| 20 | - * |
|
| 21 | - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
| 22 | - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
| 23 | - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
| 24 | - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
| 25 | - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
| 26 | - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|
| 27 | - * THE SOFTWARE. |
|
| 28 | - * |
|
| 29 | - * @package CodeIgniter |
|
| 30 | - * @author EllisLab Dev Team |
|
| 31 | - * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/) |
|
| 32 | - * @copyright Copyright (c) 2014 - 2015, British Columbia Institute of Technology (http://bcit.ca/) |
|
| 33 | - * @license http://opensource.org/licenses/MIT MIT License |
|
| 34 | - * @link http://codeigniter.com |
|
| 35 | - * @since Version 1.0.0 |
|
| 36 | - * @filesource |
|
| 37 | - */ |
|
| 3 | + * CodeIgniter |
|
| 4 | + * |
|
| 5 | + * An open source application development framework for PHP |
|
| 6 | + * |
|
| 7 | + * This content is released under the MIT License (MIT) |
|
| 8 | + * |
|
| 9 | + * Copyright (c) 2014 - 2015, British Columbia Institute of Technology |
|
| 10 | + * |
|
| 11 | + * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
| 12 | + * of this software and associated documentation files (the "Software"), to deal |
|
| 13 | + * in the Software without restriction, including without limitation the rights |
|
| 14 | + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
| 15 | + * copies of the Software, and to permit persons to whom the Software is |
|
| 16 | + * furnished to do so, subject to the following conditions: |
|
| 17 | + * |
|
| 18 | + * The above copyright notice and this permission notice shall be included in |
|
| 19 | + * all copies or substantial portions of the Software. |
|
| 20 | + * |
|
| 21 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
| 22 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
| 23 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
| 24 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
| 25 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
| 26 | + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|
| 27 | + * THE SOFTWARE. |
|
| 28 | + * |
|
| 29 | + * @package CodeIgniter |
|
| 30 | + * @author EllisLab Dev Team |
|
| 31 | + * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/) |
|
| 32 | + * @copyright Copyright (c) 2014 - 2015, British Columbia Institute of Technology (http://bcit.ca/) |
|
| 33 | + * @license http://opensource.org/licenses/MIT MIT License |
|
| 34 | + * @link http://codeigniter.com |
|
| 35 | + * @since Version 1.0.0 |
|
| 36 | + * @filesource |
|
| 37 | + */ |
|
| 38 | 38 | defined('BASEPATH') OR exit('No direct script access allowed'); |
| 39 | 39 | |
| 40 | 40 | /** |
@@ -134,7 +134,7 @@ |
||
| 134 | 134 | */ |
| 135 | 135 | function quotes_to_entities($str) |
| 136 | 136 | { |
| 137 | - return str_replace(array("\'","\"","'",'"'), array("'",""","'","""), $str); |
|
| 137 | + return str_replace(array("\'", "\"", "'", '"'), array("'", """, "'", """), $str); |
|
| 138 | 138 | } |
| 139 | 139 | } |
| 140 | 140 | |
@@ -1,40 +1,40 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * CodeIgniter |
|
| 4 | - * |
|
| 5 | - * An open source application development framework for PHP |
|
| 6 | - * |
|
| 7 | - * This content is released under the MIT License (MIT) |
|
| 8 | - * |
|
| 9 | - * Copyright (c) 2014 - 2015, British Columbia Institute of Technology |
|
| 10 | - * |
|
| 11 | - * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
| 12 | - * of this software and associated documentation files (the "Software"), to deal |
|
| 13 | - * in the Software without restriction, including without limitation the rights |
|
| 14 | - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
| 15 | - * copies of the Software, and to permit persons to whom the Software is |
|
| 16 | - * furnished to do so, subject to the following conditions: |
|
| 17 | - * |
|
| 18 | - * The above copyright notice and this permission notice shall be included in |
|
| 19 | - * all copies or substantial portions of the Software. |
|
| 20 | - * |
|
| 21 | - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
| 22 | - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
| 23 | - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
| 24 | - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
| 25 | - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
| 26 | - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|
| 27 | - * THE SOFTWARE. |
|
| 28 | - * |
|
| 29 | - * @package CodeIgniter |
|
| 30 | - * @author EllisLab Dev Team |
|
| 31 | - * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/) |
|
| 32 | - * @copyright Copyright (c) 2014 - 2015, British Columbia Institute of Technology (http://bcit.ca/) |
|
| 33 | - * @license http://opensource.org/licenses/MIT MIT License |
|
| 34 | - * @link http://codeigniter.com |
|
| 35 | - * @since Version 1.0.0 |
|
| 36 | - * @filesource |
|
| 37 | - */ |
|
| 3 | + * CodeIgniter |
|
| 4 | + * |
|
| 5 | + * An open source application development framework for PHP |
|
| 6 | + * |
|
| 7 | + * This content is released under the MIT License (MIT) |
|
| 8 | + * |
|
| 9 | + * Copyright (c) 2014 - 2015, British Columbia Institute of Technology |
|
| 10 | + * |
|
| 11 | + * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
| 12 | + * of this software and associated documentation files (the "Software"), to deal |
|
| 13 | + * in the Software without restriction, including without limitation the rights |
|
| 14 | + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
| 15 | + * copies of the Software, and to permit persons to whom the Software is |
|
| 16 | + * furnished to do so, subject to the following conditions: |
|
| 17 | + * |
|
| 18 | + * The above copyright notice and this permission notice shall be included in |
|
| 19 | + * all copies or substantial portions of the Software. |
|
| 20 | + * |
|
| 21 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
| 22 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
| 23 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
| 24 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
| 25 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
| 26 | + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|
| 27 | + * THE SOFTWARE. |
|
| 28 | + * |
|
| 29 | + * @package CodeIgniter |
|
| 30 | + * @author EllisLab Dev Team |
|
| 31 | + * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/) |
|
| 32 | + * @copyright Copyright (c) 2014 - 2015, British Columbia Institute of Technology (http://bcit.ca/) |
|
| 33 | + * @license http://opensource.org/licenses/MIT MIT License |
|
| 34 | + * @link http://codeigniter.com |
|
| 35 | + * @since Version 1.0.0 |
|
| 36 | + * @filesource |
|
| 37 | + */ |
|
| 38 | 38 | defined('BASEPATH') OR exit('No direct script access allowed'); |
| 39 | 39 | |
| 40 | 40 | /** |
@@ -155,8 +155,7 @@ discard block |
||
| 155 | 155 | } |
| 156 | 156 | |
| 157 | 157 | $out .= $str[$i]; |
| 158 | - } |
|
| 159 | - else |
|
| 158 | + } else |
|
| 160 | 159 | { |
| 161 | 160 | if (count($temp) === 0) |
| 162 | 161 | { |
@@ -213,12 +212,10 @@ discard block |
||
| 213 | 212 | { |
| 214 | 213 | $out .= chr($digits); |
| 215 | 214 | |
| 216 | - } |
|
| 217 | - elseif ($digits < 2048) |
|
| 215 | + } elseif ($digits < 2048) |
|
| 218 | 216 | { |
| 219 | 217 | $out .= chr(192 + (($digits - ($digits % 64)) / 64)).chr(128 + ($digits % 64)); |
| 220 | - } |
|
| 221 | - else |
|
| 218 | + } else |
|
| 222 | 219 | { |
| 223 | 220 | $out .= chr(224 + (($digits - ($digits % 4096)) / 4096)) |
| 224 | 221 | .chr(128 + ((($digits % 4096) - ($digits % 64)) / 64)) |
@@ -278,8 +275,7 @@ discard block |
||
| 278 | 275 | if ($replacement !== '') |
| 279 | 276 | { |
| 280 | 277 | $str = preg_replace("/({$delim})(".str_replace('\*', '\w*?', preg_quote($badword, '/')).")({$delim})/i", "\\1{$replacement}\\3", $str); |
| 281 | - } |
|
| 282 | - else |
|
| 278 | + } else |
|
| 283 | 279 | { |
| 284 | 280 | $str = preg_replace("/({$delim})(".str_replace('\*', '\w*?', preg_quote($badword, '/')).")({$delim})/ie", "'\\1'.str_repeat('#', strlen('\\2')).'\\3'", $str); |
| 285 | 281 | } |
@@ -486,8 +482,7 @@ discard block |
||
| 486 | 482 | if ($temp !== '') |
| 487 | 483 | { |
| 488 | 484 | $output .= $temp."\n".$line."\n"; |
| 489 | - } |
|
| 490 | - else |
|
| 485 | + } else |
|
| 491 | 486 | { |
| 492 | 487 | $output .= $line."\n"; |
| 493 | 488 | } |
@@ -538,8 +533,7 @@ discard block |
||
| 538 | 533 | if ($position === 1) |
| 539 | 534 | { |
| 540 | 535 | $end = mb_substr($str, 0, -($max_length - mb_strlen($beg))); |
| 541 | - } |
|
| 542 | - else |
|
| 536 | + } else |
|
| 543 | 537 | { |
| 544 | 538 | $end = mb_substr($str, -($max_length - mb_strlen($beg))); |
| 545 | 539 | } |
@@ -1,40 +1,40 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * CodeIgniter |
|
| 4 | - * |
|
| 5 | - * An open source application development framework for PHP |
|
| 6 | - * |
|
| 7 | - * This content is released under the MIT License (MIT) |
|
| 8 | - * |
|
| 9 | - * Copyright (c) 2014 - 2015, British Columbia Institute of Technology |
|
| 10 | - * |
|
| 11 | - * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
| 12 | - * of this software and associated documentation files (the "Software"), to deal |
|
| 13 | - * in the Software without restriction, including without limitation the rights |
|
| 14 | - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
| 15 | - * copies of the Software, and to permit persons to whom the Software is |
|
| 16 | - * furnished to do so, subject to the following conditions: |
|
| 17 | - * |
|
| 18 | - * The above copyright notice and this permission notice shall be included in |
|
| 19 | - * all copies or substantial portions of the Software. |
|
| 20 | - * |
|
| 21 | - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
| 22 | - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
| 23 | - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
| 24 | - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
| 25 | - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
| 26 | - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|
| 27 | - * THE SOFTWARE. |
|
| 28 | - * |
|
| 29 | - * @package CodeIgniter |
|
| 30 | - * @author EllisLab Dev Team |
|
| 31 | - * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/) |
|
| 32 | - * @copyright Copyright (c) 2014 - 2015, British Columbia Institute of Technology (http://bcit.ca/) |
|
| 33 | - * @license http://opensource.org/licenses/MIT MIT License |
|
| 34 | - * @link http://codeigniter.com |
|
| 35 | - * @since Version 1.0.0 |
|
| 36 | - * @filesource |
|
| 37 | - */ |
|
| 3 | + * CodeIgniter |
|
| 4 | + * |
|
| 5 | + * An open source application development framework for PHP |
|
| 6 | + * |
|
| 7 | + * This content is released under the MIT License (MIT) |
|
| 8 | + * |
|
| 9 | + * Copyright (c) 2014 - 2015, British Columbia Institute of Technology |
|
| 10 | + * |
|
| 11 | + * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
| 12 | + * of this software and associated documentation files (the "Software"), to deal |
|
| 13 | + * in the Software without restriction, including without limitation the rights |
|
| 14 | + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
| 15 | + * copies of the Software, and to permit persons to whom the Software is |
|
| 16 | + * furnished to do so, subject to the following conditions: |
|
| 17 | + * |
|
| 18 | + * The above copyright notice and this permission notice shall be included in |
|
| 19 | + * all copies or substantial portions of the Software. |
|
| 20 | + * |
|
| 21 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
| 22 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
| 23 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
| 24 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
| 25 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
| 26 | + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|
| 27 | + * THE SOFTWARE. |
|
| 28 | + * |
|
| 29 | + * @package CodeIgniter |
|
| 30 | + * @author EllisLab Dev Team |
|
| 31 | + * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/) |
|
| 32 | + * @copyright Copyright (c) 2014 - 2015, British Columbia Institute of Technology (http://bcit.ca/) |
|
| 33 | + * @license http://opensource.org/licenses/MIT MIT License |
|
| 34 | + * @link http://codeigniter.com |
|
| 35 | + * @since Version 1.0.0 |
|
| 36 | + * @filesource |
|
| 37 | + */ |
|
| 38 | 38 | defined('BASEPATH') OR exit('No direct script access allowed'); |
| 39 | 39 | |
| 40 | 40 | /** |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | */ |
| 60 | 60 | function nl2br_except_pre($str) |
| 61 | 61 | { |
| 62 | - $CI =& get_instance(); |
|
| 62 | + $CI = & get_instance(); |
|
| 63 | 63 | $CI->load->library('typography'); |
| 64 | 64 | return $CI->typography->nl2br_except_pre($str); |
| 65 | 65 | } |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | */ |
| 79 | 79 | function auto_typography($str, $reduce_linebreaks = FALSE) |
| 80 | 80 | { |
| 81 | - $CI =& get_instance(); |
|
| 81 | + $CI = & get_instance(); |
|
| 82 | 82 | $CI->load->library('typography'); |
| 83 | 83 | return $CI->typography->auto_typography($str, $reduce_linebreaks); |
| 84 | 84 | } |
@@ -1,40 +1,40 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * CodeIgniter |
|
| 4 | - * |
|
| 5 | - * An open source application development framework for PHP |
|
| 6 | - * |
|
| 7 | - * This content is released under the MIT License (MIT) |
|
| 8 | - * |
|
| 9 | - * Copyright (c) 2014 - 2015, British Columbia Institute of Technology |
|
| 10 | - * |
|
| 11 | - * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
| 12 | - * of this software and associated documentation files (the "Software"), to deal |
|
| 13 | - * in the Software without restriction, including without limitation the rights |
|
| 14 | - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
| 15 | - * copies of the Software, and to permit persons to whom the Software is |
|
| 16 | - * furnished to do so, subject to the following conditions: |
|
| 17 | - * |
|
| 18 | - * The above copyright notice and this permission notice shall be included in |
|
| 19 | - * all copies or substantial portions of the Software. |
|
| 20 | - * |
|
| 21 | - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
| 22 | - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
| 23 | - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
| 24 | - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
| 25 | - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
| 26 | - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|
| 27 | - * THE SOFTWARE. |
|
| 28 | - * |
|
| 29 | - * @package CodeIgniter |
|
| 30 | - * @author EllisLab Dev Team |
|
| 31 | - * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/) |
|
| 32 | - * @copyright Copyright (c) 2014 - 2015, British Columbia Institute of Technology (http://bcit.ca/) |
|
| 33 | - * @license http://opensource.org/licenses/MIT MIT License |
|
| 34 | - * @link http://codeigniter.com |
|
| 35 | - * @since Version 1.0.0 |
|
| 36 | - * @filesource |
|
| 37 | - */ |
|
| 3 | + * CodeIgniter |
|
| 4 | + * |
|
| 5 | + * An open source application development framework for PHP |
|
| 6 | + * |
|
| 7 | + * This content is released under the MIT License (MIT) |
|
| 8 | + * |
|
| 9 | + * Copyright (c) 2014 - 2015, British Columbia Institute of Technology |
|
| 10 | + * |
|
| 11 | + * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
| 12 | + * of this software and associated documentation files (the "Software"), to deal |
|
| 13 | + * in the Software without restriction, including without limitation the rights |
|
| 14 | + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
| 15 | + * copies of the Software, and to permit persons to whom the Software is |
|
| 16 | + * furnished to do so, subject to the following conditions: |
|
| 17 | + * |
|
| 18 | + * The above copyright notice and this permission notice shall be included in |
|
| 19 | + * all copies or substantial portions of the Software. |
|
| 20 | + * |
|
| 21 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
| 22 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
| 23 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
| 24 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
| 25 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
| 26 | + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|
| 27 | + * THE SOFTWARE. |
|
| 28 | + * |
|
| 29 | + * @package CodeIgniter |
|
| 30 | + * @author EllisLab Dev Team |
|
| 31 | + * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/) |
|
| 32 | + * @copyright Copyright (c) 2014 - 2015, British Columbia Institute of Technology (http://bcit.ca/) |
|
| 33 | + * @license http://opensource.org/licenses/MIT MIT License |
|
| 34 | + * @link http://codeigniter.com |
|
| 35 | + * @since Version 1.0.0 |
|
| 36 | + * @filesource |
|
| 37 | + */ |
|
| 38 | 38 | defined('BASEPATH') OR exit('No direct script access allowed'); |
| 39 | 39 | |
| 40 | 40 | /** |
@@ -76,12 +76,12 @@ discard block |
||
| 76 | 76 | $lang['UP45'] = '(UTC +4:30) Afghanistan'; |
| 77 | 77 | $lang['UP5'] = '(UTC +5:00) Pakistan Standard Time, Yekaterinburg Time'; |
| 78 | 78 | $lang['UP55'] = '(UTC +5:30) Indian Standard Time, Sri Lanka Time'; |
| 79 | -$lang['UP575'] = '(UTC +5:45) Nepal Time'; |
|
| 79 | +$lang['UP575'] = '(UTC +5:45) Nepal Time'; |
|
| 80 | 80 | $lang['UP6'] = '(UTC +6:00) Bangladesh Standard Time, Bhutan Time, Omsk Time'; |
| 81 | 81 | $lang['UP65'] = '(UTC +6:30) Cocos Islands, Myanmar'; |
| 82 | 82 | $lang['UP7'] = '(UTC +7:00) Krasnoyarsk Time, Cambodia, Laos, Thailand, Vietnam'; |
| 83 | 83 | $lang['UP8'] = '(UTC +8:00) Australian Western Standard Time, Beijing Time, Irkutsk Time'; |
| 84 | -$lang['UP875'] = '(UTC +8:45) Australian Central Western Standard Time'; |
|
| 84 | +$lang['UP875'] = '(UTC +8:45) Australian Central Western Standard Time'; |
|
| 85 | 85 | $lang['UP9'] = '(UTC +9:00) Japan Standard Time, Korea Standard Time, Yakutsk Time'; |
| 86 | 86 | $lang['UP95'] = '(UTC +9:30) Australian Central Standard Time'; |
| 87 | 87 | $lang['UP10'] = '(UTC +10:00) Australian Eastern Standard Time, Vladivostok Time'; |
@@ -89,6 +89,6 @@ discard block |
||
| 89 | 89 | $lang['UP11'] = '(UTC +11:00) Srednekolymsk Time, Solomon Islands, Vanuatu'; |
| 90 | 90 | $lang['UP115'] = '(UTC +11:30) Norfolk Island'; |
| 91 | 91 | $lang['UP12'] = '(UTC +12:00) Fiji, Gilbert Islands, Kamchatka Time, New Zealand Standard Time'; |
| 92 | -$lang['UP1275'] = '(UTC +12:45) Chatham Islands Standard Time'; |
|
| 92 | +$lang['UP1275'] = '(UTC +12:45) Chatham Islands Standard Time'; |
|
| 93 | 93 | $lang['UP13'] = '(UTC +13:00) Samoa Time Zone, Phoenix Islands Time, Tonga'; |
| 94 | 94 | $lang['UP14'] = '(UTC +14:00) Line Islands'; |
@@ -37,32 +37,32 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | defined('BASEPATH') OR exit('No direct script access allowed'); |
| 39 | 39 | |
| 40 | -$lang['form_validation_required'] = 'The {field} field is required.'; |
|
| 41 | -$lang['form_validation_isset'] = 'The {field} field must have a value.'; |
|
| 42 | -$lang['form_validation_valid_email'] = 'The {field} field must contain a valid email address.'; |
|
| 43 | -$lang['form_validation_valid_emails'] = 'The {field} field must contain all valid email addresses.'; |
|
| 44 | -$lang['form_validation_valid_url'] = 'The {field} field must contain a valid URL.'; |
|
| 45 | -$lang['form_validation_valid_ip'] = 'The {field} field must contain a valid IP.'; |
|
| 40 | +$lang['form_validation_required'] = 'The {field} field is required.'; |
|
| 41 | +$lang['form_validation_isset'] = 'The {field} field must have a value.'; |
|
| 42 | +$lang['form_validation_valid_email'] = 'The {field} field must contain a valid email address.'; |
|
| 43 | +$lang['form_validation_valid_emails'] = 'The {field} field must contain all valid email addresses.'; |
|
| 44 | +$lang['form_validation_valid_url'] = 'The {field} field must contain a valid URL.'; |
|
| 45 | +$lang['form_validation_valid_ip'] = 'The {field} field must contain a valid IP.'; |
|
| 46 | 46 | $lang['form_validation_min_length'] = 'The {field} field must be at least {param} characters in length.'; |
| 47 | 47 | $lang['form_validation_max_length'] = 'The {field} field cannot exceed {param} characters in length.'; |
| 48 | -$lang['form_validation_exact_length'] = 'The {field} field must be exactly {param} characters in length.'; |
|
| 49 | -$lang['form_validation_alpha'] = 'The {field} field may only contain alphabetical characters.'; |
|
| 50 | -$lang['form_validation_alpha_numeric'] = 'The {field} field may only contain alpha-numeric characters.'; |
|
| 51 | -$lang['form_validation_alpha_numeric_spaces'] = 'The {field} field may only contain alpha-numeric characters and spaces.'; |
|
| 48 | +$lang['form_validation_exact_length'] = 'The {field} field must be exactly {param} characters in length.'; |
|
| 49 | +$lang['form_validation_alpha'] = 'The {field} field may only contain alphabetical characters.'; |
|
| 50 | +$lang['form_validation_alpha_numeric'] = 'The {field} field may only contain alpha-numeric characters.'; |
|
| 51 | +$lang['form_validation_alpha_numeric_spaces'] = 'The {field} field may only contain alpha-numeric characters and spaces.'; |
|
| 52 | 52 | $lang['form_validation_alpha_dash'] = 'The {field} field may only contain alpha-numeric characters, underscores, and dashes.'; |
| 53 | 53 | $lang['form_validation_numeric'] = 'The {field} field must contain only numbers.'; |
| 54 | 54 | $lang['form_validation_is_numeric'] = 'The {field} field must contain only numeric characters.'; |
| 55 | 55 | $lang['form_validation_integer'] = 'The {field} field must contain an integer.'; |
| 56 | -$lang['form_validation_regex_match'] = 'The {field} field is not in the correct format.'; |
|
| 56 | +$lang['form_validation_regex_match'] = 'The {field} field is not in the correct format.'; |
|
| 57 | 57 | $lang['form_validation_matches'] = 'The {field} field does not match the {param} field.'; |
| 58 | 58 | $lang['form_validation_differs'] = 'The {field} field must differ from the {param} field.'; |
| 59 | 59 | $lang['form_validation_is_unique'] = 'The {field} field must contain a unique value.'; |
| 60 | 60 | $lang['form_validation_is_natural'] = 'The {field} field must only contain digits.'; |
| 61 | 61 | $lang['form_validation_is_natural_no_zero'] = 'The {field} field must only contain digits and must be greater than zero.'; |
| 62 | -$lang['form_validation_decimal'] = 'The {field} field must contain a decimal number.'; |
|
| 63 | -$lang['form_validation_less_than'] = 'The {field} field must contain a number less than {param}.'; |
|
| 62 | +$lang['form_validation_decimal'] = 'The {field} field must contain a decimal number.'; |
|
| 63 | +$lang['form_validation_less_than'] = 'The {field} field must contain a number less than {param}.'; |
|
| 64 | 64 | $lang['form_validation_less_than_equal_to'] = 'The {field} field must contain a number less than or equal to {param}.'; |
| 65 | -$lang['form_validation_greater_than'] = 'The {field} field must contain a number greater than {param}.'; |
|
| 65 | +$lang['form_validation_greater_than'] = 'The {field} field must contain a number greater than {param}.'; |
|
| 66 | 66 | $lang['form_validation_greater_than_equal_to'] = 'The {field} field must contain a number greater than or equal to {param}.'; |
| 67 | 67 | $lang['form_validation_error_message_not_set'] = 'Unable to access an error message corresponding to your field name {field}.'; |
| 68 | -$lang['form_validation_in_list'] = 'The {field} field must be one of: {param}.'; |
|
| 68 | +$lang['form_validation_in_list'] = 'The {field} field must be one of: {param}.'; |
|
@@ -37,8 +37,8 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | defined('BASEPATH') OR exit('No direct script access allowed'); |
| 39 | 39 | |
| 40 | -$lang['ftp_no_connection'] = 'Unable to locate a valid connection ID. Please make sure you are connected before performing any file routines.'; |
|
| 41 | -$lang['ftp_unable_to_connect'] = 'Unable to connect to your FTP server using the supplied hostname.'; |
|
| 40 | +$lang['ftp_no_connection'] = 'Unable to locate a valid connection ID. Please make sure you are connected before performing any file routines.'; |
|
| 41 | +$lang['ftp_unable_to_connect'] = 'Unable to connect to your FTP server using the supplied hostname.'; |
|
| 42 | 42 | $lang['ftp_unable_to_login'] = 'Unable to login to your FTP server. Please check your username and password.'; |
| 43 | 43 | $lang['ftp_unable_to_mkdir'] = 'Unable to create the directory you have specified.'; |
| 44 | 44 | $lang['ftp_unable_to_changedir'] = 'Unable to change directories.'; |