@@ -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', |
@@ -191,7 +191,8 @@ |
||
| 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 | 196 | new ManageUltimateMenu; |
| 196 | 197 | }, |
| 197 | 198 | 'icon' => 'umen.png', |
@@ -57,7 +57,7 @@ |
||
| 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 ' |
@@ -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'; |