'icon_image', 'class' => 'invert_filter main_menu_icon', 'style' => 'margin-left: 10px', 'content' => ui_print_os_icon($idOS, false, true), ], true ); echo '
'; function get_list_os_icons_dir() { global $config; $return = []; $items = scandir($config['homedir'].'/images/'); foreach ($items as $item) { if (strstr($item, '@os.svg')) { $return[$item] = $item; } } $items2 = scandir($config['homedir'].'/images/os_icons'); foreach ($items2 as $item2) { if (strstr($item2, '_small.png') || strstr($item2, '_small.gif') || strstr($item2, '_small.jpg') ) { continue; } if (strstr($item2, '.png') || strstr($item2, '.gif') || strstr($item2, '.jpg') ) { $return[$item2] = $item2; } } return $return; } ?>