| @@ -191,7 +191,7 @@ | ||
| 191 | 191 | $admin_areas['config']['areas']['umen'] = array( | 
| 192 | 192 | 'label' => $txt['um_admin_menu'], | 
| 193 | 193 | 'file' => 'ManageUltimateMenu.php', | 
| 194 | -		'function' => function () { | |
| 194 | +		'function' => function() { | |
| 195 | 195 | new ManageUltimateMenu; | 
| 196 | 196 | }, | 
| 197 | 197 | 'icon' => 'umen.png', | 
| @@ -329,7 +329,7 @@ | ||
| 329 | 329 | if (is_numeric($menu_entry['name'])) | 
| 330 | 330 | $post_errors['name'] = 'um_menu_numeric'; | 
| 331 | 331 | |
| 332 | - // Let's make sure you're not trying to make a name that's already taken. | |
| 332 | + // Let's make sure you're not trying to make a name that's already taken . | |
| 333 | 333 | $check = $this->um->checkButton($menu_entry['id'], $menu_entry['name']); | 
| 334 | 334 | if ($check > 0) | 
| 335 | 335 | $post_errors['name'] = 'um_menu_mysql'; | 
| @@ -361,11 +361,11 @@ | ||
| 361 | 361 | if (!empty($button_data['sub_buttons'])) | 
| 362 | 362 |  			{ | 
| 363 | 363 | foreach ($button_data['sub_buttons'] as $child_button => $child_button_data) | 
| 364 | - $button_names[$child_button] = [1, $child_button_data['title']]; | |
| 364 | + $button_names[$child_button] = [1, $child_button_data['title']]; | |
| 365 | 365 | |
| 366 | 366 | if (!empty($child_button_data['sub_buttons'])) | 
| 367 | 367 | foreach ($child_button_data['sub_buttons'] as $grand_child_button => $grand_child_button_data) | 
| 368 | - $button_names[$grand_child_button] = [ 2, $grand_child_button_data['title']]; | |
| 368 | + $button_names[$grand_child_button] = [2, $grand_child_button_data['title']]; | |
| 369 | 369 | } | 
| 370 | 370 | } | 
| 371 | 371 | |
| @@ -57,7 +57,7 @@ discard block | ||
| 57 | 57 |  		printf(' | 
| 58 | 58 | <option value="%s"%s>%s...</option>', | 
| 59 | 59 | $v, | 
| 60 | - $context['button_data']['position'] == $v ? ' selected="selected"' : '', | |
| 60 | + $context['button_data']['position'] == $v ? ' selected="selected"' : '', | |
| 61 | 61 | $txt['um_menu_' . $v]); | 
| 62 | 62 | |
| 63 | 63 | echo ' | 
| @@ -68,8 +68,8 @@ discard block | ||
| 68 | 68 |  		printf(' | 
| 69 | 69 | <option value="%s"%s>%s...</option>', | 
| 70 | 70 | $idx, | 
| 71 | - $context['button_data']['position'] == $idx ? ' selected="selected"' : '', | |
| 72 | -			empty($title[0])?$title[1]:str_repeat('-',$title[0]*2).$title[1] | |
| 71 | + $context['button_data']['position'] == $idx ? ' selected="selected"' : '', | |
| 72 | +			empty($title[0]) ? $title[1] : str_repeat('-', $title[0] * 2) . $title[1] | |
| 73 | 73 | ); | 
| 74 | 74 | |
| 75 | 75 | echo ' | 
| @@ -110,7 +110,7 @@ discard block | ||
| 110 | 110 | <input type="checkbox" class="input_check" name="permissions[]" value="', $id, '"', $permission['checked'] ? ' checked="checked"' : '', ' /> | 
| 111 | 111 | <span'; | 
| 112 | 112 | |
| 113 | - if ($permission['is_post_group']) | |
| 113 | + if ($permission['is_post_group']) | |
| 114 | 114 | echo ' title="' . $txt['mboards_groups_post_group'] . '"'; | 
| 115 | 115 | |
| 116 | 116 | echo '>', $permission['name'], '</span> |