@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | |
237 | 237 | That's it for now. If you have questions, ideas or problems, please write me at daniel AT dornhardt.com. |
238 | 238 | */ |
239 | - if (! defined('TI_VIEWS_DIR') ) { |
|
239 | + if ( ! defined('TI_VIEWS_DIR')) { |
|
240 | 240 | if (defined('APPPATH')) { |
241 | 241 | define('TI_VIEWS_DIR', APPPATH.'views/'); |
242 | 242 | } else { |
@@ -285,7 +285,7 @@ discard block |
||
285 | 285 | $GLOBALS['CI']->load->view($GLOBALS['TI_CURRENT_BASE_TEMPLATE']); |
286 | 286 | } |
287 | 287 | else { |
288 | - include realpath( TI_VIEWS_DIR . $GLOBALS['TI_CURRENT_BASE_TEMPLATE']); |
|
288 | + include realpath(TI_VIEWS_DIR.$GLOBALS['TI_CURRENT_BASE_TEMPLATE']); |
|
289 | 289 | } |
290 | 290 | } |
291 | 291 | |
@@ -371,7 +371,7 @@ discard block |
||
371 | 371 | */ |
372 | 372 | function block_rendering_neccessary() { |
373 | 373 | // check if no child did override this block |
374 | - if (!array_key_exists($GLOBALS['TI_CURRENT_BLOCKNAME'], $GLOBALS['TI_EXTENDED_BASE_TEMPLATE_DATA'] )) { |
|
374 | + if ( ! array_key_exists($GLOBALS['TI_CURRENT_BLOCKNAME'], $GLOBALS['TI_EXTENDED_BASE_TEMPLATE_DATA'])) { |
|
375 | 375 | return true; |
376 | 376 | } |
377 | 377 | // check if there is an extension marker in the child blocks data. If so, the |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | return $str; |
48 | 48 | } |
49 | 49 | |
50 | - preg_match('/^\s*+(?:\S++\s*+){1,'.(int) $limit.'}/', $str, $matches); |
|
50 | + preg_match('/^\s*+(?:\S++\s*+){1,'.(int)$limit.'}/', $str, $matches); |
|
51 | 51 | |
52 | 52 | if (strlen($str) == strlen($matches[0])) |
53 | 53 | { |
@@ -117,9 +117,9 @@ discard block |
||
117 | 117 | { |
118 | 118 | function ascii_to_entities($str) |
119 | 119 | { |
120 | - $count = 1; |
|
121 | - $out = ''; |
|
122 | - $temp = array(); |
|
120 | + $count = 1; |
|
121 | + $out = ''; |
|
122 | + $temp = array(); |
|
123 | 123 | |
124 | 124 | for ($i = 0, $s = strlen($str); $i < $s; $i++) |
125 | 125 | { |
@@ -211,7 +211,7 @@ discard block |
||
211 | 211 | if ($all) |
212 | 212 | { |
213 | 213 | $str = str_replace(array("&", "<", ">", """, "'", "-"), |
214 | - array("&","<",">","\"", "'", "-"), |
|
214 | + array("&", "<", ">", "\"", "'", "-"), |
|
215 | 215 | $str); |
216 | 216 | } |
217 | 217 | |
@@ -454,8 +454,8 @@ discard block |
||
454 | 454 | } |
455 | 455 | |
456 | 456 | // Trim the word down |
457 | - $temp .= substr($line, 0, $charlim-1); |
|
458 | - $line = substr($line, $charlim-1); |
|
457 | + $temp .= substr($line, 0, $charlim - 1); |
|
458 | + $line = substr($line, $charlim - 1); |
|
459 | 459 | } |
460 | 460 | |
461 | 461 | // If $temp contains data it means we had to split up an over-length |
@@ -38,7 +38,7 @@ |
||
38 | 38 | { |
39 | 39 | function byte_format($num, $precision = 1) |
40 | 40 | { |
41 | - $CI =& get_instance(); |
|
41 | + $CI = & get_instance(); |
|
42 | 42 | $CI->lang->load('number'); |
43 | 43 | |
44 | 44 | if ($num >= 1000000000000) |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -$lang['ftp_no_connection'] = "Unable to locate a valid connection ID. Please make sure you are connected before peforming any file routines."; |
|
4 | -$lang['ftp_unable_to_connect'] = "Unable to connect to your FTP server using the supplied hostname."; |
|
3 | +$lang['ftp_no_connection'] = "Unable to locate a valid connection ID. Please make sure you are connected before peforming any file routines."; |
|
4 | +$lang['ftp_unable_to_connect'] = "Unable to connect to your FTP server using the supplied hostname."; |
|
5 | 5 | $lang['ftp_unable_to_login'] = "Unable to login to your FTP server. Please check your username and password."; |
6 | 6 | $lang['ftp_unable_to_makdir'] = "Unable to create the directory you have specified."; |
7 | 7 | $lang['ftp_unable_to_changedir'] = "Unable to change directories."; |
@@ -1,10 +1,10 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -$lang['ut_test_name'] = 'Test Name'; |
|
4 | -$lang['ut_test_datatype'] = 'Test Datatype'; |
|
5 | -$lang['ut_res_datatype'] = 'Expected Datatype'; |
|
6 | -$lang['ut_result'] = 'Result'; |
|
7 | -$lang['ut_undefined'] = 'Undefined Test Name'; |
|
3 | +$lang['ut_test_name'] = 'Test Name'; |
|
4 | +$lang['ut_test_datatype'] = 'Test Datatype'; |
|
5 | +$lang['ut_res_datatype'] = 'Expected Datatype'; |
|
6 | +$lang['ut_result'] = 'Result'; |
|
7 | +$lang['ut_undefined'] = 'Undefined Test Name'; |
|
8 | 8 | $lang['ut_file'] = 'File Name'; |
9 | 9 | $lang['ut_line'] = 'Line Number'; |
10 | 10 | $lang['ut_passed'] = 'Passed'; |
@@ -16,9 +16,9 @@ discard block |
||
16 | 16 | $lang['ut_string'] = 'String'; |
17 | 17 | $lang['ut_array'] = 'Array'; |
18 | 18 | $lang['ut_object'] = 'Object'; |
19 | -$lang['ut_resource'] = 'Resource'; |
|
20 | -$lang['ut_null'] = 'Null'; |
|
21 | -$lang['ut_notes'] = 'Notes'; |
|
19 | +$lang['ut_resource'] = 'Resource'; |
|
20 | +$lang['ut_null'] = 'Null'; |
|
21 | +$lang['ut_notes'] = 'Notes'; |
|
22 | 22 | |
23 | 23 | |
24 | 24 | /* End of file unit_test_lang.php */ |
@@ -1,10 +1,10 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -$lang['profiler_database'] = 'DATABASE'; |
|
3 | +$lang['profiler_database'] = 'DATABASE'; |
|
4 | 4 | $lang['profiler_controller_info'] = 'CLASS/METHOD'; |
5 | 5 | $lang['profiler_benchmarks'] = 'BENCHMARKS'; |
6 | -$lang['profiler_queries'] = 'QUERIES'; |
|
7 | -$lang['profiler_get_data'] = 'GET DATA'; |
|
6 | +$lang['profiler_queries'] = 'QUERIES'; |
|
7 | +$lang['profiler_get_data'] = 'GET DATA'; |
|
8 | 8 | $lang['profiler_post_data'] = 'POST DATA'; |
9 | 9 | $lang['profiler_uri_string'] = 'URI STRING'; |
10 | 10 | $lang['profiler_memory_usage'] = 'MEMORY USAGE'; |
@@ -12,12 +12,12 @@ discard block |
||
12 | 12 | $lang['profiler_session_data'] = 'SESSION DATA'; |
13 | 13 | $lang['profiler_headers'] = 'HTTP HEADERS'; |
14 | 14 | $lang['profiler_no_db'] = 'Database driver is not currently loaded'; |
15 | -$lang['profiler_no_queries'] = 'No queries were run'; |
|
15 | +$lang['profiler_no_queries'] = 'No queries were run'; |
|
16 | 16 | $lang['profiler_no_post'] = 'No POST data exists'; |
17 | 17 | $lang['profiler_no_get'] = 'No GET data exists'; |
18 | 18 | $lang['profiler_no_uri'] = 'No URI data exists'; |
19 | -$lang['profiler_no_memory'] = 'Memory Usage Unavailable'; |
|
20 | -$lang['profiler_no_profiles'] = 'No Profile data - all Profiler sections have been disabled.'; |
|
19 | +$lang['profiler_no_memory'] = 'Memory Usage Unavailable'; |
|
20 | +$lang['profiler_no_profiles'] = 'No Profile data - all Profiler sections have been disabled.'; |
|
21 | 21 | $lang['profiler_section_hide'] = 'Hide'; |
22 | 22 | $lang['profiler_section_show'] = 'Show'; |
23 | 23 |
@@ -39,12 +39,12 @@ discard block |
||
39 | 39 | $lang['UP45'] = '(UTC +4:30) Afghanistan'; |
40 | 40 | $lang['UP5'] = '(UTC +5:00) Pakistan Standard Time, Yekaterinburg Time'; |
41 | 41 | $lang['UP55'] = '(UTC +5:30) Indian Standard Time, Sri Lanka Time'; |
42 | -$lang['UP575'] = '(UTC +5:45) Nepal Time'; |
|
42 | +$lang['UP575'] = '(UTC +5:45) Nepal Time'; |
|
43 | 43 | $lang['UP6'] = '(UTC +6:00) Bangladesh Standard Time, Bhutan Time, Omsk Time'; |
44 | 44 | $lang['UP65'] = '(UTC +6:30) Cocos Islands, Myanmar'; |
45 | 45 | $lang['UP7'] = '(UTC +7:00) Krasnoyarsk Time, Cambodia, Laos, Thailand, Vietnam'; |
46 | 46 | $lang['UP8'] = '(UTC +8:00) Australian Western Standard Time, Beijing Time, Irkutsk Time'; |
47 | -$lang['UP875'] = '(UTC +8:45) Australian Central Western Standard Time'; |
|
47 | +$lang['UP875'] = '(UTC +8:45) Australian Central Western Standard Time'; |
|
48 | 48 | $lang['UP9'] = '(UTC +9:00) Japan Standard Time, Korea Standard Time, Yakutsk Time'; |
49 | 49 | $lang['UP95'] = '(UTC +9:30) Australian Central Standard Time'; |
50 | 50 | $lang['UP10'] = '(UTC +10:00) Australian Eastern Standard Time, Vladivostok Time'; |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | $lang['UP11'] = '(UTC +11:00) Magadan Time, Solomon Islands, Vanuatu'; |
53 | 53 | $lang['UP115'] = '(UTC +11:30) Norfolk Island'; |
54 | 54 | $lang['UP12'] = '(UTC +12:00) Fiji, Gilbert Islands, Kamchatka Time, New Zealand Standard Time'; |
55 | -$lang['UP1275'] = '(UTC +12:45) Chatham Islands Standard Time'; |
|
55 | +$lang['UP1275'] = '(UTC +12:45) Chatham Islands Standard Time'; |
|
56 | 56 | $lang['UP13'] = '(UTC +13:00) Phoenix Islands Time, Tonga'; |
57 | 57 | $lang['UP14'] = '(UTC +14:00) Line Islands'; |
58 | 58 |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | $lang['cal_sunday'] = "Sunday"; |
18 | 18 | $lang['cal_monday'] = "Monday"; |
19 | 19 | $lang['cal_tuesday'] = "Tuesday"; |
20 | -$lang['cal_wednesday'] = "Wednesday"; |
|
20 | +$lang['cal_wednesday'] = "Wednesday"; |
|
21 | 21 | $lang['cal_thursday'] = "Thursday"; |
22 | 22 | $lang['cal_friday'] = "Friday"; |
23 | 23 | $lang['cal_saturday'] = "Saturday"; |
@@ -33,15 +33,15 @@ discard block |
||
33 | 33 | $lang['cal_oct'] = "Oct"; |
34 | 34 | $lang['cal_nov'] = "Nov"; |
35 | 35 | $lang['cal_dec'] = "Dec"; |
36 | -$lang['cal_january'] = "January"; |
|
37 | -$lang['cal_february'] = "February"; |
|
36 | +$lang['cal_january'] = "January"; |
|
37 | +$lang['cal_february'] = "February"; |
|
38 | 38 | $lang['cal_march'] = "March"; |
39 | 39 | $lang['cal_april'] = "April"; |
40 | 40 | $lang['cal_mayl'] = "May"; |
41 | 41 | $lang['cal_june'] = "June"; |
42 | 42 | $lang['cal_july'] = "July"; |
43 | 43 | $lang['cal_august'] = "August"; |
44 | -$lang['cal_september'] = "September"; |
|
44 | +$lang['cal_september'] = "September"; |
|
45 | 45 | $lang['cal_october'] = "October"; |
46 | 46 | $lang['cal_november'] = "November"; |
47 | 47 | $lang['cal_december'] = "December"; |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -$lang['migration_none_found'] = "No migrations were found."; |
|
4 | -$lang['migration_not_found'] = "This migration could not be found."; |
|
3 | +$lang['migration_none_found'] = "No migrations were found."; |
|
4 | +$lang['migration_not_found'] = "This migration could not be found."; |
|
5 | 5 | $lang['migration_multiple_version'] = "This are multiple migrations with the same version number: %d."; |
6 | -$lang['migration_class_doesnt_exist'] = "The migration class \"%s\" could not be found."; |
|
6 | +$lang['migration_class_doesnt_exist'] = "The migration class \"%s\" could not be found."; |
|
7 | 7 | $lang['migration_missing_up_method'] = "The migration class \"%s\" is missing an 'up' method."; |
8 | -$lang['migration_missing_down_method'] = "The migration class \"%s\" is missing an 'up' method."; |
|
8 | +$lang['migration_missing_down_method'] = "The migration class \"%s\" is missing an 'up' method."; |
|
9 | 9 | $lang['migration_invalid_filename'] = "Migration \"%s\" has an invalid filename."; |
10 | 10 | |
11 | 11 |