Completed
Branch master (fc8cf3)
by Angus
10:14
created
application/controllers/AdminCLI.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php defined('BASEPATH') OR exit('No direct script access allowed');
1
+<?php defined('BASEPATH') or exit('No direct script access allowed');
2 2
 
3 3
 class AdminCLI extends CLI_Controller {
4 4
 	public function __construct() {
Please login to merge, or discard this patch.
application/controllers/Ajax/Userscript.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 	public function report_bug() {
69 69
 		$this->load->library('user_agent');
70 70
 		if($this->output->is_custom_header_set()) { $this->output->reset_status_header(); return; }
71
-		$this->form_validation->set_rules('bug[url]',  'Bug [URL]',  'required');
71
+		$this->form_validation->set_rules('bug[url]', 'Bug [URL]', 'required');
72 72
 		$this->form_validation->set_rules('bug[text]', 'Bug [Text]', 'required');
73 73
 
74 74
 		if($this->form_validation->run() === TRUE) {
Please login to merge, or discard this patch.
application/controllers/Ajax/TrackerInline.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@  discard block
 block discarded – undo
26 26
 	 * URL:        /ajax/update_tracker_inline
27 27
 	 */
28 28
 	public function update() {
29
-		$this->form_validation->set_rules('id',      'Chapter ID', 'required|ctype_digit');
30
-		$this->form_validation->set_rules('chapter', 'Chapter',    'required');
29
+		$this->form_validation->set_rules('id', 'Chapter ID', 'required|ctype_digit');
30
+		$this->form_validation->set_rules('chapter', 'Chapter', 'required');
31 31
 
32 32
 		if($this->form_validation->run() === TRUE) {
33 33
 			$success = $this->Tracker->updateTrackerByID($this->userID, $this->input->post('id'), $this->input->post('chapter'));
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 	 * URL:        /tag_update
123 123
 	 */
124 124
 	public function tag_update() {
125
-		$this->form_validation->set_rules('id',         'Chapter ID', 'required|ctype_digit');
125
+		$this->form_validation->set_rules('id', 'Chapter ID', 'required|ctype_digit');
126 126
 		$this->form_validation->set_rules('tag_string', 'Tag String', 'max_length[255]|is_valid_tag_string|not_contains[none]');
127 127
 
128 128
 		if($this->form_validation->run() === TRUE) {
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
 	 * URL:        /set_category
147 147
 	 */
148 148
 	public function set_category() {
149
-		$this->form_validation->set_rules('id[]',     'List of IDs',   'required|ctype_digit');
149
+		$this->form_validation->set_rules('id[]', 'List of IDs', 'required|ctype_digit');
150 150
 		$this->form_validation->set_rules('category', 'Category Name', 'required|is_valid_category');
151 151
 
152 152
 		if($this->form_validation->run() === TRUE) {
Please login to merge, or discard this patch.
application/controllers/IndexC.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php defined('BASEPATH') OR exit('No direct script access allowed');
1
+<?php defined('BASEPATH') or exit('No direct script access allowed');
2 2
 
3 3
 class IndexC extends User_Controller {
4 4
 	public function __construct() {
Please login to merge, or discard this patch.
application/controllers/ReportBug.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@
 block discarded – undo
12 12
 		$this->header_data['page']  = "report-bug";
13 13
 
14 14
 		$this->form_validation->set_rules('bug_description', 'Description', 'required|max_length[255]');
15
-		$this->form_validation->set_rules('bug_url',         'URL',         '');
15
+		$this->form_validation->set_rules('bug_url', 'URL', '');
16 16
 
17 17
 		$this->body_data['bug_submitted'] = FALSE;
18
-		if ($isValid = $this->form_validation->run() === TRUE) {
18
+		if($isValid = $this->form_validation->run() === TRUE) {
19 19
 			//send report
20 20
 			$this->body_data['bug_submitted'] = $this->Tracker->reportBug($this->input->post('bug_description'), NULL, $this->input->post('bug_url'));
21 21
 		}
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php defined('BASEPATH') OR exit('No direct script access allowed');
1
+<?php defined('BASEPATH') or exit('No direct script access allowed');
2 2
 
3 3
 class ReportBug extends MY_Controller {
4 4
 	public function __construct() {
Please login to merge, or discard this patch.
application/views/User/Forgot_Password.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
 			<div class="row">
21 21
 				<div class="col-xs-12 col-md-12">
22
-					<?=form_submit($form_submit);?>
22
+					<?=form_submit($form_submit); ?>
23 23
 				</div>
24 24
 			</div>
25 25
 		</form>
Please login to merge, or discard this patch.
application/views/User/Login.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 
26 26
 				<div class="row">
27 27
 					<div class="col-xs-6 col-sm-6 col-md-6">
28
-						<?=form_submit($form_submit);?>
28
+						<?=form_submit($form_submit); ?>
29 29
 					</div>
30 30
 					<div class="col-xs-6 col-sm-6 col-md-6">
31 31
 						<a href="<?=base_url('user/signup')?>" class="btn btn-lg btn-primary btn-block">Create an account</a>
Please login to merge, or discard this patch.
application/views/User/Reset_Password.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 
30 30
 			<div class="row">
31 31
 				<div class="col-xs-12 col-md-12">
32
-					<?=form_submit($form_submit);?>
32
+					<?=form_submit($form_submit); ?>
33 33
 				</div>
34 34
 			</div>
35 35
 		</form>
Please login to merge, or discard this patch.
application/views/User/Signup_Continued.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 
50 50
 			<div class="row">
51 51
 				<div class="col-xs-12 col-md-12">
52
-					<?=form_submit($form_submit);?>
52
+					<?=form_submit($form_submit); ?>
53 53
 				</div>
54 54
 			</div>
55 55
 		</form>
Please login to merge, or discard this patch.