Completed
Pull Request — v3.0 (#152)
by Samir
11:27
created
web_interface/astpp/system/libraries/Trackback.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,7 @@
 block discarded – undo
42 42
 		if ($this->conn_id)
43 43
 		{
44 44
 			return "SELECT '".$this->database."'";
45
-		}
46
-		else
45
+		} else
47 46
 		{
48 47
 			return FALSE;
49 48
 		}
Please login to merge, or discard this patch.
web_interface/astpp/system/libraries/font/courierbi.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,6 +3,7 @@
 block discarded – undo
3 3
 $name = 'Courier-Oblique';
4 4
 $up = -100;
5 5
 $ut = 50;
6
-for ($i = 0; $i <= 255; $i++)
7
-	$cw[chr($i)] = 600;
6
+for ($i = 0; $i <= 255; $i++) {
7
+	$cw[chr($i)] = 600;
8
+}
8 9
 ?>
Please login to merge, or discard this patch.
web_interface/astpp/system/libraries/font/courierb.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,6 +3,7 @@
 block discarded – undo
3 3
 $name = 'Courier-Oblique';
4 4
 $up = -100;
5 5
 $ut = 50;
6
-for ($i = 0; $i <= 255; $i++)
7
-	$cw[chr($i)] = 600;
6
+for ($i = 0; $i <= 255; $i++) {
7
+	$cw[chr($i)] = 600;
8
+}
8 9
 ?>
Please login to merge, or discard this patch.
web_interface/astpp/system/libraries/font/courier.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,6 +3,7 @@
 block discarded – undo
3 3
 $name = 'Courier-Oblique';
4 4
 $up = -100;
5 5
 $ut = 50;
6
-for ($i = 0; $i <= 255; $i++)
7
-	$cw[chr($i)] = 600;
6
+for ($i = 0; $i <= 255; $i++) {
7
+	$cw[chr($i)] = 600;
8
+}
8 9
 ?>
Please login to merge, or discard this patch.
web_interface/astpp/system/helpers/url_helper.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -207,8 +207,7 @@
 block discarded – undo
207 207
 				$y = rand(0, $img_height / 2);
208 208
 				imagestring($im, $font_size, $x, $y, substr($word, $i, 1), $text_color);
209 209
 				$x += ($font_size * 2);
210
-			}
211
-			else
210
+			} else
212 211
 			{
213 212
 				$y = rand($img_height / 2, $img_height - 3);
214 213
 				imagettftext($im, $font_size, $angle, $x, $y, $text_color, $font_path, substr($word, $i, 1));
Please login to merge, or discard this patch.
web_interface/astpp/system/core/Output.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,7 @@
 block discarded – undo
42 42
 		if ($this->conn_id)
43 43
 		{
44 44
 			return "SELECT '".$this->database."'";
45
-		}
46
-		else
45
+		} else
47 46
 		{
48 47
 			return FALSE;
49 48
 		}
Please login to merge, or discard this patch.
astpp/application/modules/freeswitch/views/view_fssipprofile_edit.php 1 patch
Braces   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -119,7 +119,8 @@  discard block
 block discarded – undo
119 119
 			<div style="width:550px;"><label style="text-align:right;" class="col-md-3">Status </label>
120 120
 			<select name="sipstatus" class="col-md-5 form-control selectpicker" data-live-search='true'>
121 121
 			    
122
-			    <option value="0" <?if ($status == 0)echo 'selected=selected;'?>>Active</option>
122
+			    <option value="0" <?if ($status == 0) {
123
+	echo 'selected=selected;'?>>Active</option>
123 124
 			    <option value="1" <?if ($status == 1)echo 'selected=selected;'?>>Inactive</option>
124 125
 			  </select>
125 126
                        </div>
@@ -146,7 +147,8 @@  discard block
 block discarded – undo
146 147
     	<div class="container">
147 148
    	    <div class="row">
148 149
             	<div class="portlet-content"  id="search_bar" style="cursor:pointer; display:none">
149
-                    	<?php echo $form_search;
150
+                    	<?php echo $form_search;
151
+}
150 152
 
151 153
 ?>
152 154
     	        </div>
@@ -194,7 +196,7 @@  discard block
 block discarded – undo
194 196
 			  if($params_name!='')
195 197
 			  {
196 198
 				$type="edit_setting";
197
-			  }else{
199
+			  } else{
198 200
 				$type="add_setting";
199 201
 			  }
200 202
 			?>
Please login to merge, or discard this patch.