Skip to content

Commit c941d85

Browse files
committed
Various typos and tabs adjustments
1 parent 5b55c15 commit c941d85

13 files changed

Lines changed: 27 additions & 27 deletions

File tree

application/config/doctypes.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,19 @@
2626
*/
2727

2828
$_doctypes = array(
29-
'xhtml11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">',
29+
'xhtml11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">',
3030
'xhtml1-strict' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">',
3131
'xhtml1-trans' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
3232
'xhtml1-frame' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">',
3333
'xhtml-basic11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">',
34-
'html5' => '<!DOCTYPE html>',
34+
'html5' => '<!DOCTYPE html>',
3535
'html4-strict' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">',
3636
'html4-trans' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">',
3737
'html4-frame' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">',
38-
'mathml1' => '<!DOCTYPE math SYSTEM "http://www.w3.org/Math/DTD/mathml1/mathml.dtd">',
39-
'mathml2' => '<!DOCTYPE math PUBLIC "-//W3C//DTD MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/mathml2.dtd">',
40-
'svg10' => '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">',
41-
'svg11' => '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">',
38+
'mathml1' => '<!DOCTYPE math SYSTEM "http://www.w3.org/Math/DTD/mathml1/mathml.dtd">',
39+
'mathml2' => '<!DOCTYPE math PUBLIC "-//W3C//DTD MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/mathml2.dtd">',
40+
'svg10' => '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">',
41+
'svg11' => '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">',
4242
'svg11-basic' => '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">',
4343
'svg11-tiny' => '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">',
4444
'xhtml-math-svg-xh' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">',

application/config/smileys.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
| SMILEYS
3131
| -------------------------------------------------------------------
3232
| This file contains an array of smileys for use with the emoticon helper.
33-
| Individual images can be used to replace multiple simileys. For example:
33+
| Individual images can be used to replace multiple smileys. For example:
3434
| :-) and :) use the same image replacement.
3535
|
3636
| Please see user guide for more info:
@@ -84,7 +84,7 @@
8484
':vampire:' => array('vampire.gif', '19', '19', 'vampire'),
8585
':snake:' => array('snake.gif', '19', '19', 'snake'),
8686
':exclaim:' => array('exclaim.gif', '19', '19', 'excaim'),
87-
':question:' => array('question.gif', '19', '19', 'question') // no comma after last item
87+
':question:' => array('question.gif', '19', '19', 'question')
8888

8989
);
9090

application/config/user_agents.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
'operamini' => 'Opera Mini',
183183
'opera mini' => 'Opera Mini',
184184
'opera mobi' => 'Opera Mobile',
185-
'fennec' => 'Firefox Mobile',
185+
'fennec' => 'Firefox Mobile',
186186

187187
// Other
188188
'digital paths' => 'Digital Paths',

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
*---------------------------------------------------------------
7878
*
7979
* This variable must contain the name of your "system" folder.
80-
* Include the path if the folder is not in the same directory
80+
* Include the path if the folder is not in the same directory
8181
* as this file.
8282
*/
8383
$system_path = 'system';

system/core/Common.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,8 +556,8 @@ function set_status_header($code = 200, $text = '')
556556
/**
557557
* Exception Handler
558558
*
559-
* This is the custom exception handler that is declaired at the top
560-
* of Codeigniter.php. The main reason we use this is to permit
559+
* This is the custom exception handler that is declared at the top
560+
* of CodeIgniter.php. The main reason we use this is to permit
561561
* PHP errors to be logged in our own log files since the user may
562562
* not have access to server logs. Since this function
563563
* effectively intercepts PHP errors, however, we also need

system/core/Input.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class CI_Input {
4747
public $ip_address = FALSE;
4848

4949
/**
50-
* User agent strin
50+
* User agent string
5151
*
5252
* @var string
5353
*/

system/core/Router.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,10 +351,10 @@ protected function _parse_routes()
351351
return $this->_set_request(explode('/', $this->routes[$uri]));
352352
}
353353

354-
// Loop through the route array looking for wild-cards
354+
// Loop through the route array looking for wildcards
355355
foreach ($this->routes as $key => $val)
356356
{
357-
// Convert wild-cards to RegEx
357+
// Convert wildcards to RegEx
358358
$key = str_replace(array(':any', ':num'), array('[^/]+', '[0-9]+'), $key);
359359

360360
// Does the RegEx match?

system/database/drivers/oci8/oci8_driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* @package CodeIgniter
2020
* @author EllisLab Dev Team
21-
* @copyright Copyright (c) 2008 - 2013, EllisLab, Inc. (http://ellislab.com/)
21+
* @copyright Copyright (c) 2008 - 2013, EllisLab, Inc. (http://ellislab.com/)
2222
* @license http://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
2323
* @link http://codeigniter.com
2424
* @since Version 1.0

system/database/drivers/oci8/oci8_result.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* @package CodeIgniter
2020
* @author EllisLab Dev Team
21-
* @copyright Copyright (c) 2008 - 2013, EllisLab, Inc. (http://ellislab.com/)
21+
* @copyright Copyright (c) 2008 - 2013, EllisLab, Inc. (http://ellislab.com/)
2222
* @license http://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
2323
* @link http://codeigniter.com
2424
* @since Version 1.0

system/libraries/Upload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ public function do_upload($field = 'userfile')
463463
}
464464

465465
// Are the image dimensions within the allowed size?
466-
// Note: This can fail if the server has an open_basdir restriction.
466+
// Note: This can fail if the server has an open_basedir restriction.
467467
if ( ! $this->is_allowed_dimensions())
468468
{
469469
$this->set_error('upload_invalid_dimensions');

0 commit comments

Comments
 (0)