Changeset 2773:65aa733ce8a4 for plugins/simpleMenu/_public.php
- Timestamp:
- 11/10/14 14:14:12 (11 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/simpleMenu/_public.php
r2667 r2773 22 22 public static function simpleMenu($attr) 23 23 { 24 global $core; 25 26 if (!(boolean) $core->blog->settings->system->simpleMenu_active) 27 return ''; 28 24 29 $class = isset($attr['class']) ? trim($attr['class']) : ''; 25 30 $id = isset($attr['id']) ? trim($attr['id']) : ''; … … 42 47 global $core, $_ctx; 43 48 49 if (!(boolean) $core->blog->settings->system->simpleMenu_active) 50 return; 51 44 52 if (($w->homeonly == 1 && $core->url->type != 'default') || 45 53 ($w->homeonly == 2 && $core->url->type == 'default')) { … … 61 69 62 70 $ret = ''; 71 72 if (!(boolean) $core->blog->settings->system->simpleMenu_active) 73 return $ret; 63 74 64 75 $menu = $GLOBALS['core']->blog->settings->system->get('simpleMenu');
Note: See TracChangeset
for help on using the changeset viewer.