Revision 1681
Added by darkviper about 12 years ago
include.php | ||
---|---|---|
539 | 539 |
if (version_compare(WB_VERSION, '2.7', '>=')) { // WB 2.7+ |
540 | 540 |
$fields .= ',`viewing_users`'; |
541 | 541 |
} |
542 |
if(version_compare(WB_VERSION, '2.9.0', '>=')) {
|
|
542 |
if(version_compare(WB_VERSION, '2.8.4', '>=')) {
|
|
543 | 543 |
$fields .= ',`menu_icon_0`,`menu_icon_1`,`page_icon`,`tooltip`'; |
544 | 544 |
} |
545 | 545 |
if ($flags & SM2_ALLINFO) { |
... | ... | |
576 | 576 |
continue; |
577 | 577 |
} |
578 | 578 |
} |
579 |
if(isset($page['page_icon']) && $page['page_icon'] != '') { |
|
580 |
$page['page_icon'] = WB_URL.$page['page_icon']; |
|
581 |
} |
|
582 |
if(isset($page['menu_icon_0']) && $page['menu_icon_0'] != '') { |
|
583 |
$page['menu_icon_0'] = WB_URL.$page['menu_icon_0']; |
|
584 |
} |
|
585 |
if(isset($page['menu_icon_1']) && $page['menu_icon_1'] != '') { |
|
586 |
$page['menu_icon_1'] = WB_URL.$page['menu_icon_1']; |
|
587 |
} |
|
588 |
|
|
579 | 589 |
if(!isset($page['tooltip'])) { $page['tooltip'] = $page['page_title']; } |
580 | 590 |
// ensure that we have an array entry in the table to add this to |
581 | 591 |
$idx = $page['parent']; |
Also available in: Unified diff
reorganisation of default theme of page-settings
added menu_icon_0 and menu_icon_1
update show_menu2 to handle the new icon fields (see README.de|en.txt)
add new droplet 'iParentIcon' for use with the new icons
added new module-depending language files (not complete yet) in admin/pages