Passed
Pull Request — v3.0 (#189)
by
unknown
10:51
created
astpp/application/modules/user/views/view_user_alert_threshold.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -31,22 +31,22 @@
 block discarded – undo
31 31
             <div class="col-md-12 no-padding color-three border_box"> 
32 32
                 <div class="pull-left">
33 33
                      <ul class="breadcrumb">
34
-                                         <?php $accountinfo=$this->session->userdata('accountinfo');
35
-						  if($accountinfo['type']==1){ ?>
36
-                          <li><a href="<?= base_url() . "user/user_myprofile/"; ?>">My Profile</a></li>
37
-                          <?php } else{ ?>
34
+                                         <?php $accountinfo = $this->session->userdata('accountinfo');
35
+						  if ($accountinfo['type'] == 1) { ?>
36
+                          <li><a href="<?= base_url()."user/user_myprofile/"; ?>">My Profile</a></li>
37
+                          <?php } else { ?>
38 38
 			    <li><a href="#">Configuration</a></li>
39 39
                           <?php } ?>
40 40
 			  <li class='active'>
41
-                             <a href="<?= base_url() . "user/user_alert_threshold/"; ?>">Alert Threshold</a>
41
+                             <a href="<?= base_url()."user/user_alert_threshold/"; ?>">Alert Threshold</a>
42 42
                           </li>
43 43
                     </ul>
44 44
                 </div>
45
-                <?php if($accountinfo['type']==1) { ?>
45
+                <?php if ($accountinfo['type'] == 1) { ?>
46 46
                    <div class="pull-right">
47 47
                     <ul class="breadcrumb">
48 48
 		      <li class="active pull-right">
49
-		      <a href="<?= base_url() . "user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
49
+		      <a href="<?= base_url()."user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
50 50
                     </ul>
51 51
                    </div>
52 52
                 <?php }?>      
Please login to merge, or discard this patch.
astpp/application/modules/user/views/view_user_sipdevices_list.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,24 +27,24 @@
 block discarded – undo
27 27
             <div class="col-md-12 no-padding color-three border_box"> 
28 28
                 <div class="pull-left">
29 29
                     <ul class="breadcrumb">
30
-                         <?php $accountinfo=$this->session->userdata('accountinfo');
31
-						  if($accountinfo['type']==1){ ?>
32
-                          <li><a href="<?= base_url() . "user/user_myprofile/"; ?>">My Profile</a></li>
33
-                          <?php } else{ ?>
30
+                         <?php $accountinfo = $this->session->userdata('accountinfo');
31
+						  if ($accountinfo['type'] == 1) { ?>
32
+                          <li><a href="<?= base_url()."user/user_myprofile/"; ?>">My Profile</a></li>
33
+                          <?php } else { ?>
34 34
 			    <li><a href="#">Configuration</a></li>
35 35
                           <?php }
36 36
 					?>
37 37
                         
38 38
                         <li class='active'>
39
-                           <a href="<?= base_url() . "user/user_sipdevices/"; ?>">SIP Devices</a>
39
+                           <a href="<?= base_url()."user/user_sipdevices/"; ?>">SIP Devices</a>
40 40
                         </li>
41 41
                     </ul>
42 42
                 </div>
43
-                <?php if($accountinfo['type']==1) { ?>
43
+                <?php if ($accountinfo['type'] == 1) { ?>
44 44
                    <div class="pull-right">
45 45
                     <ul class="breadcrumb">
46 46
 		      <li class="active pull-right">
47
-		      <a href="<?= base_url() . "user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
47
+		      <a href="<?= base_url()."user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
48 48
                     </ul>
49 49
                    </div>
50 50
                 <?php }?>
Please login to merge, or discard this patch.
web_interface/astpp/application/modules/user/views/view_user_dashboard.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -3,14 +3,14 @@
 block discarded – undo
3 3
   <?php echo $page_title; ?>
4 4
 <? endblock() ?>
5 5
 <?php
6
-	$accountinfo=$this->session->userdata('accountinfo');
7
-	$currency=$this->common->get_field_name('currency','currency',array("id"=>$accountinfo['currency_id']));
6
+	$accountinfo = $this->session->userdata('accountinfo');
7
+	$currency = $this->common->get_field_name('currency', 'currency', array("id"=>$accountinfo['currency_id']));
8 8
 
9 9
 ?>
10 10
 <? startblock('extra_head') ?>
11
-    <script type="text/javascript" src="<?php echo base_url();?>assets/js/chart/highcharts.js"></script>
12
-    <script type="text/javascript" src="<?php echo base_url();?>assets/js/chart/exporting.js"></script>
13
-    <script type="text/javascript" src="<?php echo base_url();?>assets/js/chart/highcharts-3d.js"></script>
11
+    <script type="text/javascript" src="<?php echo base_url(); ?>assets/js/chart/highcharts.js"></script>
12
+    <script type="text/javascript" src="<?php echo base_url(); ?>assets/js/chart/exporting.js"></script>
13
+    <script type="text/javascript" src="<?php echo base_url(); ?>assets/js/chart/highcharts-3d.js"></script>
14 14
 <style>
15 15
 .second{
16 16
  color: black;
Please login to merge, or discard this patch.
astpp/application/modules/user/views/view_user_fund_transfer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
         <div class="w-section inverse no-padding">
14 14
             <?php echo $form; ?>
15 15
             <?php
16
-			if(isset($validation_errors) && $validation_errors != ''){ ?>
16
+			if (isset($validation_errors) && $validation_errors != '') { ?>
17 17
                 <script>
18 18
                 var ERR_STR = '<?php echo $validation_errors; ?>';
19 19
                 print_error(ERR_STR);
Please login to merge, or discard this patch.
astpp/application/modules/user/views/view_user_subscriptions_list.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -23,24 +23,24 @@
 block discarded – undo
23 23
             <div class="col-md-12 no-padding color-three border_box"> 
24 24
                 <div class="pull-left">
25 25
                     <ul class="breadcrumb">
26
-                   <?php $accountinfo=$this->session->userdata('accountinfo');
27
-						  if($accountinfo['type']==1){ ?>
28
-                          <li><a href="<?= base_url() . "user/user_myprofile/"; ?>">My Profile</a></li>
29
-                          <?php } else{ ?>
26
+                   <?php $accountinfo = $this->session->userdata('accountinfo');
27
+						  if ($accountinfo['type'] == 1) { ?>
28
+                          <li><a href="<?= base_url()."user/user_myprofile/"; ?>">My Profile</a></li>
29
+                          <?php } else { ?>
30 30
 			    <li><a href="#">Billing</a></li>
31 31
                           <?php }
32 32
 					?>
33 33
                         
34 34
                         <li class='active'>
35
-                            <a href="<?= base_url() . "user/user_subscriptions/"; ?>">Subscriptions </a>
35
+                            <a href="<?= base_url()."user/user_subscriptions/"; ?>">Subscriptions </a>
36 36
                         </li>
37 37
                     </ul>
38 38
                 </div>
39
-                <?php if($accountinfo['type']==1) { ?>
39
+                <?php if ($accountinfo['type'] == 1) { ?>
40 40
                    <div class="pull-right">
41 41
                     <ul class="breadcrumb">
42 42
 		      <li class="active pull-right">
43
-		      <a href="<?= base_url() . "user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
43
+		      <a href="<?= base_url()."user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
44 44
                     </ul>
45 45
                    </div>
46 46
                 <?php }?>
Please login to merge, or discard this patch.
web_interface/astpp/application/modules/user/views/view_user_ipmap_list.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -21,24 +21,24 @@
 block discarded – undo
21 21
             <div class="col-md-12 no-padding color-three border_box"> 
22 22
                 <div class="pull-left">
23 23
                     <ul class="breadcrumb">
24
-                         <?php $accountinfo=$this->session->userdata('accountinfo');
25
-						  if($accountinfo['type']==1){ ?>
26
-                          <li><a href="<?= base_url() . "user/user_myprofile/"; ?>">My Profile</a></li>
27
-                          <?php } else{ ?>
24
+                         <?php $accountinfo = $this->session->userdata('accountinfo');
25
+						  if ($accountinfo['type'] == 1) { ?>
26
+                          <li><a href="<?= base_url()."user/user_myprofile/"; ?>">My Profile</a></li>
27
+                          <?php } else { ?>
28 28
 			    <li><a href="#">Configuration</a></li>
29 29
                           <?php }
30 30
 					?>
31 31
                         
32 32
                         <li class='active'>
33
-                            <a href="<?= base_url() . "user/user_ipmap/"; ?>">IP Settings</a>
33
+                            <a href="<?= base_url()."user/user_ipmap/"; ?>">IP Settings</a>
34 34
                         </li>
35 35
                     </ul>
36 36
                 </div>
37
-                <?php if($accountinfo['type']==1) { ?>
37
+                <?php if ($accountinfo['type'] == 1) { ?>
38 38
                    <div class="pull-right">
39 39
                     <ul class="breadcrumb">
40 40
 		      <li class="active pull-right">
41
-		      <a href="<?= base_url() . "user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
41
+		      <a href="<?= base_url()."user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
42 42
                     </ul>
43 43
                    </div>
44 44
                 <?php }?>
Please login to merge, or discard this patch.
web_interface/astpp/application/modules/user/views/view_user_animap.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -43,24 +43,24 @@
 block discarded – undo
43 43
             <div class="col-md-12 no-padding color-three border_box"> 
44 44
                 <div class="pull-left">
45 45
                     <ul class="breadcrumb">
46
-                         <?php $accountinfo=$this->session->userdata('accountinfo');
47
-						  if($accountinfo['type']==1){ ?>
48
-                          <li><a href="<?= base_url() . "user/user_myprofile/"; ?>">My Profile</a></li>
49
-                          <?php } else{ ?>
46
+                         <?php $accountinfo = $this->session->userdata('accountinfo');
47
+						  if ($accountinfo['type'] == 1) { ?>
48
+                          <li><a href="<?= base_url()."user/user_myprofile/"; ?>">My Profile</a></li>
49
+                          <?php } else { ?>
50 50
 			    <li><a href="#">Configuration</a></li>
51 51
                           <?php }
52 52
 					?>
53 53
                         
54 54
                         <li class='active'>
55
-                           <a href="<?= base_url() . "user/user_animap_list/"; ?>">Caller ID</a>
55
+                           <a href="<?= base_url()."user/user_animap_list/"; ?>">Caller ID</a>
56 56
                         </li>
57 57
                     </ul>
58 58
                 </div>
59
-                <?php if($accountinfo['type']==1) { ?>
59
+                <?php if ($accountinfo['type'] == 1) { ?>
60 60
                    <div class="pull-right">
61 61
                     <ul class="breadcrumb">
62 62
 		      <li class="active pull-right">
63
-		      <a href="<?= base_url() . "user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
63
+		      <a href="<?= base_url()."user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
64 64
                     </ul>
65 65
                    </div>
66 66
                 <?php }?>
Please login to merge, or discard this patch.
astpp/application/modules/user/views/view_user_invoices_list.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -52,24 +52,24 @@
 block discarded – undo
52 52
             <div class="col-md-12 no-padding color-three border_box"> 
53 53
                 <div class="pull-left">
54 54
                     <ul class="breadcrumb">
55
-                    <?php $accountinfo=$this->session->userdata('accountinfo');
56
-						  if($accountinfo['type']==1){ ?>
57
-                          <li><a href="<?= base_url() . "user/user_myprofile/"; ?>">My Profile</a></li>
58
-                          <?php } else{ ?>
55
+                    <?php $accountinfo = $this->session->userdata('accountinfo');
56
+						  if ($accountinfo['type'] == 1) { ?>
57
+                          <li><a href="<?= base_url()."user/user_myprofile/"; ?>">My Profile</a></li>
58
+                          <?php } else { ?>
59 59
 			    <li><a href="#">Billing</a></li>
60 60
                           <?php }
61 61
 					?>
62 62
                         
63 63
                         <li class='active'>
64
-                            <a href="<?= base_url() . "user/user_invoices_list/"; ?>">Invoices </a>
64
+                            <a href="<?= base_url()."user/user_invoices_list/"; ?>">Invoices </a>
65 65
                         </li>
66 66
                     </ul>
67 67
                 </div>
68
-                <?php if($accountinfo['type']==1) { ?>
68
+                <?php if ($accountinfo['type'] == 1) { ?>
69 69
                    <div class="pull-right">
70 70
                     <ul class="breadcrumb">
71 71
 		      <li class="active pull-right">
72
-		      <a href="<?= base_url() . "user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
72
+		      <a href="<?= base_url()."user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
73 73
                     </ul>
74 74
                    </div>
75 75
                 <?php }?>
Please login to merge, or discard this patch.
astpp/application/modules/user/views/view_user_charges_list.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -42,22 +42,22 @@
 block discarded – undo
42 42
             <div class="col-md-12 no-padding color-three border_box"> 
43 43
                 <div class="pull-left">
44 44
                     <ul class="breadcrumb">
45
-                    <?php $accountinfo=$this->session->userdata('accountinfo');
46
-						  if($accountinfo['type']==1){ ?>
47
-                          <li><a href="<?= base_url() . "user/user_myprofile/"; ?>">My Profile</a></li>
48
-                          <?php } else{ ?>
45
+                    <?php $accountinfo = $this->session->userdata('accountinfo');
46
+						  if ($accountinfo['type'] == 1) { ?>
47
+                          <li><a href="<?= base_url()."user/user_myprofile/"; ?>">My Profile</a></li>
48
+                          <?php } else { ?>
49 49
 			    <li><a href="#">Billing</a></li>
50 50
                           <?php } ?>
51 51
 			  <li class='active'>
52
-                            <a href="<?= base_url() . "user/user_charges_history/"; ?>">Charges History </a>
52
+                            <a href="<?= base_url()."user/user_charges_history/"; ?>">Charges History </a>
53 53
                           </li>
54 54
                     </ul>
55 55
                 </div>
56
-                <?php if($accountinfo['type']==1) { ?>
56
+                <?php if ($accountinfo['type'] == 1) { ?>
57 57
                    <div class="pull-right">
58 58
                     <ul class="breadcrumb">
59 59
 		      <li class="active pull-right">
60
-		      <a href="<?= base_url() . "user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
60
+		      <a href="<?= base_url()."user/user_myprofile/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
61 61
                     </ul>
62 62
                    </div>
63 63
                 <?php }?>
Please login to merge, or discard this patch.