Completed
Pull Request — v3.0 (#136)
by
unknown
25:07
created
astpp/application/modules/accounts/views/view_reseller_invoices_config.php 3 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -207,12 +207,12 @@
 block discarded – undo
207 207
 		</div>	
208 208
 <?php
209 209
 	if($account_data['logo']  != ''){
210
-	     $logo=$account_data['file'];
210
+		 $logo=$account_data['file'];
211 211
 	}else{
212
-	     $logo=$account_data['logo'];
212
+		 $logo=$account_data['logo'];
213 213
 	}
214
-          if($logo != ''){        
215
-             $file_name= base_url()."upload/$logo";
214
+		  if($logo != ''){        
215
+			 $file_name= base_url()."upload/$logo";
216 216
 ?>
217 217
 
218 218
 		<div class='col-md-12 no-padding'>
Please login to merge, or discard this patch.
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -62,12 +62,12 @@  discard block
 block discarded – undo
62 62
             <div class="col-md-12 no-padding color-three border_box"> 
63 63
                 <div class="pull-left">
64 64
                     <ul class="breadcrumb">
65
-                        <li><a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_list/";?>"><?= ucfirst($accounttype); ?>s</a></li>
65
+                        <li><a href="<?= base_url()."accounts/".strtolower($accounttype)."_list/"; ?>"><?= ucfirst($accounttype); ?>s</a></li>
66 66
                         <li>
67
-                            <a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_edit/" . $edit_id . "/"; ?>"><?= ucfirst($accounttype); ?> Profile </a>
67
+                            <a href="<?= base_url()."accounts/".strtolower($accounttype)."_edit/".$edit_id."/"; ?>"><?= ucfirst($accounttype); ?> Profile </a>
68 68
                         </li>
69 69
                         <li class="active">
70
-                            <a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_invoice_config/" . $edit_id . "/"; ?>">
70
+                            <a href="<?= base_url()."accounts/".strtolower($accounttype)."_invoice_config/".$edit_id."/"; ?>">
71 71
                                 Company Profile
72 72
                             </a>
73 73
                         </li>
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
                 <div class="pull-right">
77 77
                     <ul class="breadcrumb">
78 78
 		      <li class="active pull-right">
79
-		      <a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_edit/" . $edit_id . "/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
79
+		      <a href="<?= base_url()."accounts/".strtolower($accounttype)."_edit/".$edit_id."/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
80 80
                     </ul>
81 81
                 </div>
82 82
             </div>
@@ -103,8 +103,8 @@  discard block
 block discarded – undo
103 103
 				<div class='col-md-4 no-padding'><label>Invoice Due Notification:</label></div>
104 104
 				<div class='col-md-6'>
105 105
 				<select name="invoice_due_notification" value="<?= $account_data['invoice_due_notification'] ?>" class="col-md-12 form-control selectpicker" data-live-search='true'>
106
-                                    <option value=0 <?=$account_data['invoice_due_notification'] ==0 ? 'selected':''; ?>>Enable</option>
107
-                                    <option value=1 <?=$account_data['invoice_due_notification'] ==1 ? 'selected':''; ?>>Disable</option>
106
+                                    <option value=0 <?=$account_data['invoice_due_notification'] == 0 ? 'selected' : ''; ?>>Enable</option>
107
+                                    <option value=1 <?=$account_data['invoice_due_notification'] == 1 ? 'selected' : ''; ?>>Disable</option>
108 108
 				</select>
109 109
 			</div>	
110 110
 		</div>
@@ -118,8 +118,8 @@  discard block
 block discarded – undo
118 118
 				<div class='col-md-4 no-padding '><label>Invoice Notification:</label></div>
119 119
 				<div class='col-md-6'>
120 120
 				<select name="invoice_notification" value="<?= $account_data['invoice_notification'] ?>" class="col-md-12 form-control selectpicker" data-live-search='true'>
121
-					<option value=0 <?=$account_data['invoice_notification'] ==0 ? 'selected':''; ?> >Enable</option>
122
-					<option value=1 <?=$account_data['invoice_notification'] ==1 ? 'selected':''; ?> >Disable</option>
121
+					<option value=0 <?=$account_data['invoice_notification'] == 0 ? 'selected' : ''; ?> >Enable</option>
122
+					<option value=1 <?=$account_data['invoice_notification'] == 1 ? 'selected' : ''; ?> >Disable</option>
123 123
 				</select>
124 124
 				</div>
125 125
 			</div>
@@ -206,13 +206,13 @@  discard block
 block discarded – undo
206 206
 				</div>
207 207
 		</div>	
208 208
 <?php
209
-	if($account_data['logo']  != ''){
210
-	     $logo=$account_data['file'];
211
-	}else{
212
-	     $logo=$account_data['logo'];
209
+	if ($account_data['logo'] != '') {
210
+	     $logo = $account_data['file'];
211
+	} else {
212
+	     $logo = $account_data['logo'];
213 213
 	}
214
-          if($logo != ''){        
215
-             $file_name= base_url()."upload/$logo";
214
+          if ($logo != '') {        
215
+             $file_name = base_url()."upload/$logo";
216 216
 ?>
217 217
 
218 218
 		<div class='col-md-12 no-padding'>
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
 		<center>
239 239
 		<div class="col-md-12 margin-t-20 margin-b-20">
240 240
 			<input type="submit" value="Save" name='submit' class="btn btn-line-parrot">
241
-			<button name="action" type="button" value="cancel" class="btn btn-line-sky margin-x-10" onclick="return redirect_page('<?= base_url() . 'accounts/' . strtolower($accounttype) . '_edit/' . $edit_id . '/'; ?>')">Cancel</button>
241
+			<button name="action" type="button" value="cancel" class="btn btn-line-sky margin-x-10" onclick="return redirect_page('<?= base_url().'accounts/'.strtolower($accounttype).'_edit/'.$edit_id.'/'; ?>')">Cancel</button>
242 242
 		</div>
243 243
 		</center>
244 244
 		</form>
Please login to merge, or discard this 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/accounts/views/view_customer_charges.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 <? startblock('extra_head') ?>
4 4
 <script type="text/javascript" language="javascript">
5 5
     $(document).ready(function() {
6
-        build_grid("charges_grid","<?php echo base_url() . "accounts/customer_details_json/charges/$edit_id/"; ?>",<? echo $grid_fields ?>,"");
6
+        build_grid("charges_grid","<?php echo base_url()."accounts/customer_details_json/charges/$edit_id/"; ?>",<? echo $grid_fields ?>,"");
7 7
         $("#left_panel_quick_search").keyup(function(){
8 8
             quick_search("accounts/customer_details_search/"+'<?php echo $accounttype?>'+"_charges/");
9 9
         });
@@ -22,12 +22,12 @@  discard block
 block discarded – undo
22 22
             <div class="col-md-12 no-padding color-three border_box"> 
23 23
                 <div class="pull-left">
24 24
                     <ul class="breadcrumb">
25
-                        <li><a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_list/";?>"><?= ucfirst($accounttype); ?>s </a></li>
25
+                        <li><a href="<?= base_url()."accounts/".strtolower($accounttype)."_list/"; ?>"><?= ucfirst($accounttype); ?>s </a></li>
26 26
                         <li>
27
-                            <a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_edit/" . $edit_id . "/"; ?>"> Profile </a>
27
+                            <a href="<?= base_url()."accounts/".strtolower($accounttype)."_edit/".$edit_id."/"; ?>"> Profile </a>
28 28
                         </li>
29 29
                        <li class="active">
30
-                            <a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_charges/" . $edit_id . "/"; ?>">
30
+                            <a href="<?= base_url()."accounts/".strtolower($accounttype)."_charges/".$edit_id."/"; ?>">
31 31
                                 Charges History
32 32
                             </a>
33 33
                         </li>
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
                 <div class="pull-right">
37 37
                     <ul class="breadcrumb">
38 38
 		      <li class="active pull-right">
39
-		      <a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_edit/" . $edit_id . "/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
39
+		      <a href="<?= base_url()."accounts/".strtolower($accounttype)."_edit/".$edit_id."/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
40 40
                     </ul>
41 41
                 </div>
42 42
             </div>
Please login to merge, or discard this patch.
astpp/application/modules/accounts/views/view_customer_alert_threshold.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -48,12 +48,12 @@
 block discarded – undo
48 48
                             print_error(ERR_STR);
49 49
                         </script>
50 50
                     <?php
51
-                    }
52
-                    $data_errrors = json_decode($validation_errors);
53
-                    foreach ($data_errrors as $key => $value) {
54
-                        echo $value . "<br/>";
55
-                    }
56
-                    ?> 
51
+					}
52
+					$data_errrors = json_decode($validation_errors);
53
+					foreach ($data_errrors as $key => $value) {
54
+						echo $value . "<br/>";
55
+					}
56
+					?> 
57 57
                 </div>
58 58
             </div> 
59 59
         </div>
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -21,12 +21,12 @@  discard block
 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
-                        <li><a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_list/";?>"><?= ucfirst($accounttype); ?>s</a></li>
24
+                        <li><a href="<?= base_url()."accounts/".strtolower($accounttype)."_list/"; ?>"><?= ucfirst($accounttype); ?>s</a></li>
25 25
                         <li>
26
-                            <a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_edit/" . $edit_id . "/"; ?>"> Profile </a>
26
+                            <a href="<?= base_url()."accounts/".strtolower($accounttype)."_edit/".$edit_id."/"; ?>"> Profile </a>
27 27
                         </li>
28 28
                         <li class="active">
29
-                            <a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_alert_threshold/" . $edit_id . "/"; ?>">
29
+                            <a href="<?= base_url()."accounts/".strtolower($accounttype)."_alert_threshold/".$edit_id."/"; ?>">
30 30
                                 Alert Threshold
31 31
                             </a>
32 32
                         </li>
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
                 <div class="pull-right">
36 36
                     <ul class="breadcrumb">
37 37
 		      <li class="active pull-right">
38
-		      <a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_edit/" . $edit_id . "/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
38
+		      <a href="<?= base_url()."accounts/".strtolower($accounttype)."_edit/".$edit_id."/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
39 39
                     </ul>
40 40
                 </div>
41 41
             </div>    
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
                     }
52 52
                     $data_errrors = json_decode($validation_errors);
53 53
                     foreach ($data_errrors as $key => $value) {
54
-                        echo $value . "<br/>";
54
+                        echo $value."<br/>";
55 55
                     }
56 56
                     ?> 
57 57
                 </div>
Please login to merge, or discard this patch.
astpp/application/modules/accounts/views/view_bulk_account_creation.php 3 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -56,18 +56,18 @@
 block discarded – undo
56 56
                 <div class="w-section inverse no-padding"> 
57 57
                     <div style="color:red;margin-left: 60px;">
58 58
                         <?php
59
-                        if (isset($validation_errors)) {
60
-                           $validation_array=json_decode($validation_errors);
61
-                           if(is_object($validation_array)){
62
-                           $validation_array = get_object_vars($validation_array);
63
-                           foreach($validation_array as $key=>$value)
64
-		              echo $value."<br/>";
65
-                           }
66
-                           else
67
-		              echo $validation_errors;
59
+						if (isset($validation_errors)) {
60
+						   $validation_array=json_decode($validation_errors);
61
+						   if(is_object($validation_array)){
62
+						   $validation_array = get_object_vars($validation_array);
63
+						   foreach($validation_array as $key=>$value)
64
+					  echo $value."<br/>";
65
+						   }
66
+						   else
67
+					  echo $validation_errors;
68 68
                            
69
-                        }
70
-                        ?>
69
+						}
70
+						?>
71 71
                     </div>
72 72
         <?php echo $form; ?>
73 73
                 </div>      
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php include(FCPATH.'application/views/popup_header.php'); ?>
2 2
 <script type="text/javascript">
3 3
 $(document).ready(function() {
4
- <?php if($entity_name != 'admin' && $entity_name !='subadmin'){ ?>
4
+ <?php if ($entity_name != 'admin' && $entity_name != 'subadmin') { ?>
5 5
    document.getElementsByName("sweep_id")[0].selectedIndex = <?=1?>;
6 6
 
7 7
 		$("#sweep_id").change(function(e){
@@ -28,11 +28,11 @@  discard block
 block discarded – undo
28 28
         });
29 29
         $(".sweep_id").change();
30 30
         <?php } ?> 
31
-document.getElementsByName("currency_id")[0].selectedIndex = <?=$currency_id-1?>;
32
-document.getElementsByName("timezone_id")[0].selectedIndex = <?=$timezone_id-1?>;
33
-document.getElementsByName("country_id")[0].selectedIndex = <?=$country_id-2?>;
31
+document.getElementsByName("currency_id")[0].selectedIndex = <?=$currency_id - 1?>;
32
+document.getElementsByName("timezone_id")[0].selectedIndex = <?=$timezone_id - 1?>;
33
+document.getElementsByName("country_id")[0].selectedIndex = <?=$country_id - 2?>;
34 34
     $("#submit").click(function(){
35
-        submit_form("customer_bulk_form","<?php echo base_url();?>accounts/customer_bulk_save/");
35
+        submit_form("customer_bulk_form","<?php echo base_url(); ?>accounts/customer_bulk_save/");
36 36
     });
37 37
 });
38 38
 </script>
@@ -57,10 +57,10 @@  discard block
 block discarded – undo
57 57
                     <div style="color:red;margin-left: 60px;">
58 58
                         <?php
59 59
                         if (isset($validation_errors)) {
60
-                           $validation_array=json_decode($validation_errors);
61
-                           if(is_object($validation_array)){
60
+                           $validation_array = json_decode($validation_errors);
61
+                           if (is_object($validation_array)) {
62 62
                            $validation_array = get_object_vars($validation_array);
63
-                           foreach($validation_array as $key=>$value)
63
+                           foreach ($validation_array as $key=>$value)
64 64
 		              echo $value."<br/>";
65 65
                            }
66 66
                            else
Please login to merge, or discard this patch.
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,11 +60,12 @@
 block discarded – undo
60 60
                            $validation_array=json_decode($validation_errors);
61 61
                            if(is_object($validation_array)){
62 62
                            $validation_array = get_object_vars($validation_array);
63
-                           foreach($validation_array as $key=>$value)
64
-		              echo $value."<br/>";
63
+                           foreach($validation_array as $key=>$value) {
64
+                           		              echo $value."<br/>";
65
+                           }
66
+                           } else {
67
+                           		              echo $validation_errors;
65 68
                            }
66
-                           else
67
-		              echo $validation_errors;
68 69
                            
69 70
                         }
70 71
                         ?>
Please login to merge, or discard this patch.
astpp/application/modules/accounts/views/view_customer_blocked_prefixes.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 <script type="text/javascript" language="javascript">
5 5
 $(document).ready(function() {
6 6
 	$('a[rel*=facebox]').facebox();
7
-	build_grid("pattern_grid","<?php echo base_url() . "accounts/customer_details_json/pattern/$edit_id/"; ?>",<? echo $grid_fields ?>,"");
7
+	build_grid("pattern_grid","<?php echo base_url()."accounts/customer_details_json/pattern/$edit_id/"; ?>",<? echo $grid_fields ?>,"");
8 8
 	$("#left_panel_quick_search").keyup(function(){
9 9
 		quick_search("accounts/customer_details_search/"+'<?php echo $accounttype?>'+"_pattern/");
10 10
 	});
@@ -26,13 +26,13 @@  discard block
 block discarded – undo
26 26
                 <div class="pull-left">
27 27
                     <ul class="breadcrumb">
28 28
                         <li>
29
-                            <a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_list/";?>"><?= ucfirst($accounttype); ?>s</a></li>
29
+                            <a href="<?= base_url()."accounts/".strtolower($accounttype)."_list/"; ?>"><?= ucfirst($accounttype); ?>s</a></li>
30 30
                         <li>
31
-                            <a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_edit/" . $edit_id . "/"; ?>"> Profile
31
+                            <a href="<?= base_url()."accounts/".strtolower($accounttype)."_edit/".$edit_id."/"; ?>"> Profile
32 32
                             </a>
33 33
                         </li>
34 34
                         <li class="active">
35
-                            <a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_blocked_prefixes/" . $edit_id . "/"; ?>">
35
+                            <a href="<?= base_url()."accounts/".strtolower($accounttype)."_blocked_prefixes/".$edit_id."/"; ?>">
36 36
                                 Blocked Codes
37 37
                             </a>
38 38
                         </li>
@@ -41,14 +41,14 @@  discard block
 block discarded – undo
41 41
                 <div class="pull-right">
42 42
                     <ul class="breadcrumb">
43 43
 		      <li class="active pull-right">
44
-		      <a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_edit/" . $edit_id . "/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
44
+		      <a href="<?= base_url()."accounts/".strtolower($accounttype)."_edit/".$edit_id."/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
45 45
                     </ul>
46 46
                 </div>
47 47
             </div>  
48 48
             <div class="padding-15 col-md-12">
49 49
             <div class="col-md-12 no-padding">
50 50
                 <div class="pull-left margin-t-10">
51
-					<a href='<?php echo base_url()."/accounts/customer_add_blockpatterns/$edit_id/";?>' rel="facebox_medium" title="Add">
51
+					<a href='<?php echo base_url()."/accounts/customer_add_blockpatterns/$edit_id/"; ?>' rel="facebox_medium" title="Add">
52 52
                     <span class="btn btn-line-warning">
53 53
                         
54 54
                         <i class="fa fa-plus-circle fa-lg"></i> Add
Please login to merge, or discard this patch.
astpp/application/modules/accounts/views/view_customer_sipdevices.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 
9 9
 $(document).ready(function() {
10 10
 	$('a[rel*=facebox]').facebox();
11
-    build_grid("sidevices_grid","<?php echo base_url() . "accounts/customer_details_json/freeswitch/$edit_id/"; ?>",<? echo $grid_fields ?>,"");
11
+    build_grid("sidevices_grid","<?php echo base_url()."accounts/customer_details_json/freeswitch/$edit_id/"; ?>",<? echo $grid_fields ?>,"");
12 12
     $('.checkall').click(function () {
13 13
         $('.chkRefNos').attr('checked', this.checked); //if you want to select/deselect checkboxes use this
14 14
     });
@@ -28,12 +28,12 @@  discard block
 block discarded – undo
28 28
             <div class="col-md-12 no-padding color-three border_box"> 
29 29
                 <div class="pull-left">
30 30
                     <ul class="breadcrumb">
31
-                        <li><a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_list/"; ?>"><?= ucfirst($accounttype); ?>s</a></li>
31
+                        <li><a href="<?= base_url()."accounts/".strtolower($accounttype)."_list/"; ?>"><?= ucfirst($accounttype); ?>s</a></li>
32 32
                         <li>
33
-                            <a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_edit/" . $edit_id . "/"; ?>"> Profile </a>
33
+                            <a href="<?= base_url()."accounts/".strtolower($accounttype)."_edit/".$edit_id."/"; ?>"> Profile </a>
34 34
                         </li>
35 35
                         <li class="active">
36
-                            <a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_sipdevices/" . $edit_id . "/"; ?>">
36
+                            <a href="<?= base_url()."accounts/".strtolower($accounttype)."_sipdevices/".$edit_id."/"; ?>">
37 37
                                 SIP Devices
38 38
                             </a>
39 39
                         </li>
@@ -42,14 +42,14 @@  discard block
 block discarded – undo
42 42
                 <div class="pull-right">
43 43
                     <ul class="breadcrumb">
44 44
 		      <li class="active pull-right">
45
-		      <a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_edit/" . $edit_id . "/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
45
+		      <a href="<?= base_url()."accounts/".strtolower($accounttype)."_edit/".$edit_id."/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
46 46
                     </ul>
47 47
                 </div>
48 48
             </div> 
49 49
             <div class="padding-15 col-md-12">
50 50
                 <div class="col-md-12 no-padding">
51 51
                     <div class="pull-left margin-t-10">
52
-						<a href='<?php echo base_url() . "freeswitch/customer_fssipdevices_add/" . $edit_id . "/"; ?>' rel="facebox_medium" title="Add">
52
+						<a href='<?php echo base_url()."freeswitch/customer_fssipdevices_add/".$edit_id."/"; ?>' rel="facebox_medium" title="Add">
53 53
                         <span class="btn btn-line-warning">
54 54
                             
55 55
                                 <i class="fa fa-plus-circle fa-lg"></i> Create
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
                         </span>
65 65
                     </div>
66 66
                     <div id="show_search" class="pull-right margin-t-10 col-md-4 no-padding">
67
-                        <input type="text" name="left_panel_quick_search" id="left_panel_quick_search" class="col-md-5 form-control pull-right" value="<?php echo $this->session->userdata('left_panel_search_' . $accounttype . '_sipdevices') ?>" placeholder="Search"/>
67
+                        <input type="text" name="left_panel_quick_search" id="left_panel_quick_search" class="col-md-5 form-control pull-right" value="<?php echo $this->session->userdata('left_panel_search_'.$accounttype.'_sipdevices') ?>" placeholder="Search"/>
68 68
                     </div>
69 69
                 </div>    
70 70
 
Please login to merge, or discard this patch.
astpp/application/modules/accounts/views/view_customer_ipmap.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 <script type="text/javascript" src="<?php echo base_url(); ?>assets/js/validate.js"></script>
5 5
 <script type="text/javascript" language="javascript">
6 6
     $(document).ready(function() {
7
-        build_grid("ipsettings_list","<?php echo base_url() . "accounts/customer_ipmap_json/$edit_id/$accounttype/"; ?>",<? echo $grid_fields; ?>,"");
7
+        build_grid("ipsettings_list","<?php echo base_url()."accounts/customer_ipmap_json/$edit_id/$accounttype/"; ?>",<? echo $grid_fields; ?>,"");
8 8
         $.validator.addMethod('IP4Checker', function(value) {
9 9
             //var pattern = /^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/;
10 10
             var n = value.indexOf("/");
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 	  var prefix=$("#prefix").val();        
22 22
 	  var ip =$("#ip").val();
23 23
           $.ajax({
24
-                 url: "<?=base_url();?>accounts/customer_validate_ip/",
24
+                 url: "<?=base_url(); ?>accounts/customer_validate_ip/",
25 25
                  type: "post",
26 26
                  async:false,
27 27
                  data: {
@@ -87,19 +87,19 @@  discard block
 block discarded – undo
87 87
             <div class="col-md-12 no-padding color-three border_box"> 
88 88
                 <div class="pull-left">
89 89
                     <ul class="breadcrumb">
90
-                        <li><a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_list/";?>"><?= ucfirst($accounttype); ?>s</a></li>
90
+                        <li><a href="<?= base_url()."accounts/".strtolower($accounttype)."_list/"; ?>"><?= ucfirst($accounttype); ?>s</a></li>
91 91
                         <li>
92
-                            <a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_edit/" . $edit_id . "/"; ?>"> Profile</a>
92
+                            <a href="<?= base_url()."accounts/".strtolower($accounttype)."_edit/".$edit_id."/"; ?>"> Profile</a>
93 93
                         </li>
94 94
                         <li class="active">
95
-                            <a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_ipmap/" . $edit_id . "/"; ?>"> IP Settings</a>
95
+                            <a href="<?= base_url()."accounts/".strtolower($accounttype)."_ipmap/".$edit_id."/"; ?>"> IP Settings</a>
96 96
                         </li>
97 97
                     </ul>
98 98
                 </div>
99 99
                 <div class="pull-right">
100 100
                     <ul class="breadcrumb">
101 101
 		      <li class="active pull-right">
102
-		      <a href="<?= base_url() . "accounts/" . strtolower($accounttype) . "_edit/" . $edit_id . "/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
102
+		      <a href="<?= base_url()."accounts/".strtolower($accounttype)."_edit/".$edit_id."/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
103 103
                     </ul>
104 104
                 </div>
105 105
             </div>     
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
                 <div class="margin-b-10 slice color-three pull-left content_border col-md-12" id="left_panel_form" style="cursor: pointer; display: none;">
118 118
                     <fieldset class="margin-b-20">
119 119
                         <legend>New IP</legend>
120
-                        <form method="post" name="ip_map" id="ip_map" action="<?= base_url() . "accounts/customer_ipmap_action/add/$edit_id/$accounttype/" ?>">
120
+                        <form method="post" name="ip_map" id="ip_map" action="<?= base_url()."accounts/customer_ipmap_action/add/$edit_id/$accounttype/" ?>">
121 121
                             <div class='col-md-4'> 
122 122
                                 <label class="col-md-1 no-padding">Name</label>
123 123
                                 <input class="col-md-2 form-control" name="name" size="16" type="text"/>
Please login to merge, or discard this patch.
astpp/application/modules/accounts/views/view_reseller_details.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,13 +62,13 @@
 block discarded – undo
62 62
             <div class="col-md-12 no-padding color-three border_box"> 
63 63
                 <div class="pull-left">
64 64
                     <ul class="breadcrumb">
65
-                        <li><a href="<?= base_url() . "accounts/" . strtolower($entity_name) . "_list/";?>"><?= ucfirst($entity_name); ?>s</a></li>
66
-                        <li class="active"><a href="<?= base_url() . "accounts/" . strtolower($entity_name) . "_edit/" . $edit_id . "/";?>"> <?= ucfirst($entity_name); ?> Profile </a></li>
65
+                        <li><a href="<?= base_url()."accounts/".strtolower($entity_name)."_list/"; ?>"><?= ucfirst($entity_name); ?>s</a></li>
66
+                        <li class="active"><a href="<?= base_url()."accounts/".strtolower($entity_name)."_edit/".$edit_id."/"; ?>"> <?= ucfirst($entity_name); ?> Profile </a></li>
67 67
                     </ul>
68 68
                 </div>
69 69
                 <div class="pull-right">
70 70
                     <ul class="breadcrumb">
71
-		      <li class="active pull-right"><a href="<?= base_url() . "accounts/reseller_list/";?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
71
+		      <li class="active pull-right"><a href="<?= base_url()."accounts/reseller_list/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
72 72
                     </ul>
73 73
                 </div>
74 74
             </div>     
Please login to merge, or discard this patch.
astpp/application/modules/accounts/views/view_customer_details.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,14 +56,14 @@
 block discarded – undo
56 56
             <div class="col-md-12 no-padding color-three border_box"> 
57 57
                 <div class="pull-left">
58 58
                     <ul class="breadcrumb">
59
-                    <?php $entity= $entity_name == 'provider' ? 'customer':$entity_name; ?>
60
-                        <li><a href="<?= base_url() . "accounts/" . strtolower($entity) . "_list/";?>"><?= ucfirst($entity_name); ?>s</a></li>
61
-                        <li class="active"><a href="<?= base_url() . "accounts/" . strtolower($entity_name) . "_edit/" . $edit_id . "/";?>"> <?= ucfirst($accounttype); ?> Profile </a></li>
59
+                    <?php $entity = $entity_name == 'provider' ? 'customer' : $entity_name; ?>
60
+                        <li><a href="<?= base_url()."accounts/".strtolower($entity)."_list/"; ?>"><?= ucfirst($entity_name); ?>s</a></li>
61
+                        <li class="active"><a href="<?= base_url()."accounts/".strtolower($entity_name)."_edit/".$edit_id."/"; ?>"> <?= ucfirst($accounttype); ?> Profile </a></li>
62 62
                     </ul>
63 63
                 </div>
64 64
                 <div class="pull-right">
65 65
                     <ul class="breadcrumb">
66
-		      <li class="active pull-right"><a href="<?= base_url() . "accounts/customer_list/";?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
66
+		      <li class="active pull-right"><a href="<?= base_url()."accounts/customer_list/"; ?>"> <i class="fa fa-fast-backward" aria-hidden="true"></i> Back</a></li>
67 67
                     </ul>
68 68
                 </div>
69 69
             </div>     
Please login to merge, or discard this patch.