--- alx-src/branches/alx-web-060/show.php 2011/11/02 14:43:33 3285 +++ alx-src/branches/alx-web-060/show.php 2011/11/04 11:32:24 3299 @@ -37,7 +37,14 @@ $drop = array(); if($alxos >= '0.6.0') { - $drop['cfg_graphic_module'] = array('vesa', 'ati', 'cirrus', 'i710', 'intel', 'nv', 'mach64', 'mga', 'openchrome', 'radeon', 's3', 's3virge', 'savage', 'sis', 'trident', 'tseng', 'vmware'); + if($alxos >= '0.6.2') + { + $drop['cfg_graphic_module'] = array('vesa', 'ati', 'cirrus', 'i710', 'intel', 'nv', 'mach64', 'mga', 'unichrome', 'radeon', 's3', 's3virge', 'savage', 'sis', 'trident', 'tseng', 'vmware'); + } + else + { + $drop['cfg_graphic_module'] = array('vesa', 'ati', 'cirrus', 'i710', 'intel', 'nv', 'mach64', 'mga', 'openchrome', 'radeon', 's3', 's3virge', 'savage', 'sis', 'trident', 'tseng', 'vmware'); + } if($gfxinfo[module] == 'intel') { $drop['cfg_graphic_hdmi'] = array('disable', 'enable'); @@ -302,7 +309,20 @@ $v='openchrome'; } } - + if($alxos >= '0.6.2') + { + if($v == 'via') + { + echo '
Replaced "via" with "unichrome" - Please press SAVE!
'; + $v='unichrome'; + } + if($v == 'openchrome') + { + echo '
Replaced "openchrome" with "unichrome" - Please press SAVE!
'; + $v='unichrome'; + } + } + # tell something about vesa if ($v == 'vesa') echo '
Warning: "vesa" graphic module doesn\'t support any resolutions higher than 1024x786x16@60hz!
';