Completed
Pull Request — v3.0 (#146)
by
unknown
138:23 queued 125:22
created
web_interface/astpp/application/controllers/lowbalance.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,9 @@
 block discarded – undo
25 25
     function __construct()
26 26
     {
27 27
 	parent::__construct();
28
-	if(!defined( 'CRON' ) )  
29
-	  exit();
28
+	if(!defined( 'CRON' ) ) {
29
+		  exit();
30
+	}
30 31
         $this->load->model("db_model");
31 32
         $this->load->library("astpp/common");
32 33
     }
Please login to merge, or discard this patch.
astpp/application/modules/signup/views/view_signup_success.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 			<div class="col-md-4 col-md-offset-4">&nbsp;<span class="login_error">
38 38
                         <?php if (isset($astpp_notification)){ ?>
39 39
                         Login unsuccessful. Please make sure you entered the correct username and password, and that your account is active.
40
-                    <?php }else{
40
+                    <?php } else{
41 41
                          echo "&nbsp;";
42 42
                     } 
43 43
 			$astpp_err_msg = $this->session->flashdata('astpp_signupmsg');
Please login to merge, or discard this patch.
web_interface/astpp/application/modules/login/views/view_login.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
                         <div class="col-md-4 col-md-offset-4">&nbsp;<span class="login_error">
39 39
                         <?php if (isset($astpp_notification)){ ?>
40 40
                         Login unsuccessful. Please make sure you entered the correct username and password, and that your account is active.
41
-                    <?php }else{
41
+                    <?php } else{
42 42
                          echo "&nbsp;";
43 43
                     } ?>
44 44
                     </span></div> <br/>
Please login to merge, or discard this patch.
astpp/application/modules/accounts/views/view_reseller_invoices_config.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@
 block discarded – undo
208 208
 <?php
209 209
 	if($account_data['logo']  != ''){
210 210
 	     $logo=$account_data['file'];
211
-	}else{
211
+	} else{
212 212
 	     $logo=$account_data['logo'];
213 213
 	}
214 214
           if($logo != ''){        
Please login to merge, or discard this patch.
astpp/application/modules/refill_coupon/libraries/refill_coupon_form.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,8 +20,9 @@
 block discarded – undo
20 20
 # You should have received a copy of the GNU Affero General Public License
21 21
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
22 22
 ###############################################################################
23
-if (!defined('BASEPATH'))
23
+if (!defined('BASEPATH')) {
24 24
     exit('No direct script access allowed');
25
+}
25 26
 
26 27
 class Refill_coupon_form {
27 28
     function __construct($library_name = '') {
Please login to merge, or discard this patch.
astpp/application/modules/freeswitch/views/view_fs_freeswitch_execute.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,10 @@
 block discarded – undo
40 40
 		  <select class="form-control" name="host_id" id="host_id">
41 41
   		      <?php
42 42
     			foreach($fs_data as $name) { ?>
43
-     			 <option value="<?= $name['id'] ?>"<?php if(isset($host_id) && ($name['id'] == $host_id))echo 'selected';?>><?= $name['freeswitch_host'] ?></option>
43
+     			 <option value="<?= $name['id'] ?>"<?php if(isset($host_id) && ($name['id'] == $host_id)) {
44
+	echo 'selected';
45
+}
46
+?>><?= $name['freeswitch_host'] ?></option>
44 47
   			  <?php
45 48
     			  } ?>
46 49
 		   </select>
Please login to merge, or discard this patch.
astpp/application/modules/signup/views/view_forgot_success.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
                         <div class="col-md-4 col-md-offset-4">&nbsp;<span class="login_error">
39 39
                         <?php if (isset($astpp_notification)){ ?>
40 40
                         Login unsuccessful. Please make sure you entered the correct username and password, and that your account is active.
41
-                    <?php }else{
41
+                    <?php } else{
42 42
                          echo "&nbsp;";
43 43
                     } ?>
44 44
                     </span></div> <br/>
Please login to merge, or discard this patch.
astpp/application/modules/user/views/view_user_invoices_config.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@
 block discarded – undo
208 208
 <?php
209 209
 	if($account_data['logo']  != ''){
210 210
 	     $logo=$account_data['file'];
211
-	}else{
211
+	} else{
212 212
 	     $logo=$account_data['logo'];
213 213
 	}
214 214
           if($logo != ''){        
Please login to merge, or discard this patch.
web_interface/astpp/application/libraries/locale_menu.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,8 +20,9 @@
 block discarded – undo
20 20
 # You should have received a copy of the GNU Affero General Public License
21 21
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
22 22
 ###############################################################################
23
-if (!defined('BASEPATH'))
23
+if (!defined('BASEPATH')) {
24 24
     exit('No direct script access allowed');
25
+}
25 26
 
26 27
 class Refill_coupon_form {
27 28
     function __construct($library_name = '') {
Please login to merge, or discard this patch.