'icon_image', 'class' => 'inverse_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; } } return $return; } ?>