Completed
Push — 3.2.x ( 60a453...1867b9 )
by Erwan
10:04
created
acp/phpbbdirectory_module.php 2 patches
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -19,10 +19,10 @@  discard block
 block discarded – undo
19 19
 	public $u_action;
20 20
 
21 21
 	/**
22
-	*
23
-	* @param int	$id
24
-	* @param string	$mode
25
-	*/
22
+	 *
23
+	 * @param int	$id
24
+	 * @param string	$mode
25
+	 */
26 26
 	public function main($id, $mode)
27 27
 	{
28 28
 		global $request, $phpbb_container;
@@ -187,11 +187,11 @@  discard block
 block discarded – undo
187 187
 	}
188 188
 
189 189
 	/**
190
-	* Display thumb services available
191
-	*
192
-	* @param 	string	$url_selected
193
-	* @return 	string
194
-	*/
190
+	 * Display thumb services available
191
+	 *
192
+	 * @param 	string	$url_selected
193
+	 * @return 	string
194
+	 */
195 195
 	public function get_thumb_service_list($url_selected)
196 196
 	{
197 197
 		$thumbshot = array(
@@ -211,11 +211,11 @@  discard block
 block discarded – undo
211 211
 	}
212 212
 
213 213
 	/**
214
-	* Display order drop-down list
215
-	*
216
-	* @param	string	$order_selected
217
-	* @return	string
218
-	*/
214
+	 * Display order drop-down list
215
+	 *
216
+	 * @param	string	$order_selected
217
+	 * @return	string
218
+	 */
219 219
 	public function get_order_list($order_selected)
220 220
 	{
221 221
 		global $user;
@@ -244,8 +244,8 @@  discard block
 block discarded – undo
244 244
 	}
245 245
 
246 246
 	/**
247
-	* Adjust all three max_filesize config vars for display
248
-	*/
247
+	 * Adjust all three max_filesize config vars for display
248
+	 */
249 249
 	public function max_filesize($value, $key = '')
250 250
 	{
251 251
 		// Determine size var and adjust the value accordingly
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
 		{
205 205
 			$selected = ($url == $url_selected) ? 'selected="selected"' : '';
206 206
 
207
-			$select_options .= '<option value="' . $url . '" ' . $selected . '>' . parse_url($url, PHP_URL_HOST) . '</option>';
207
+			$select_options .= '<option value="'.$url.'" '.$selected.'>'.parse_url($url, PHP_URL_HOST).'</option>';
208 208
 		}
209 209
 
210 210
 		return $select_options;
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
 		{
238 238
 			$selected = ($i == $order_selected) ? 'selected="selected"' : '';
239 239
 			$order_substr = trim(str_replace(' ', '_', $i));
240
-			$tpl .= '<option value="' . $i . '" ' . $selected . '>' . $user->lang['DIR_ORDER_' . strtoupper($order_substr)] . '</option>';
240
+			$tpl .= '<option value="'.$i.'" '.$selected.'>'.$user->lang['DIR_ORDER_'.strtoupper($order_substr)].'</option>';
241 241
 		}
242 242
 
243 243
 		return ($tpl);
@@ -254,6 +254,6 @@  discard block
 block discarded – undo
254 254
 		$value = $filesize['value'];
255 255
 
256 256
 		// size and maxlength must not be specified for input of type number
257
-		return '<input type="number" id="' . $key . '" min="0" max="999999999999999" step="any" name="config[' . $key . ']" value="' . $value . '" /> <select name="' . $key . '">' . size_select_options($size_var) . '</select>';
257
+		return '<input type="number" id="'.$key.'" min="0" max="999999999999999" step="any" name="config['.$key.']" value="'.$value.'" /> <select name="'.$key.'">'.size_select_options($size_var).'</select>';
258 258
 	}
259 259
 }
Please login to merge, or discard this patch.