--- alx-src/branches/alx-web-060/show.php 2011/07/12 15:10:27 2705 +++ alx-src/branches/alx-web-060/show.php 2011/11/02 13:47:36 3275 @@ -16,6 +16,9 @@ $alxos = $alxinfo[os]; $alxutils = $alxinfo[utils]; +// get gfxdriver +$gfxinfo = sqlfirst('SELECT * FROM cfg_graphic WHERE serial='.$id); + if($kill==1) { foreach($tabs as $t) mysql_query('UPDATE '.$t.' SET serial=-serial WHERE serial='.$id); @@ -35,14 +38,24 @@ 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($gfxinfo[module] = 'intel') + { + $drop['cfg_graphic_hdmi'] = array('disable', 'enable'); + } + else + { + $drop['cfg_graphic_hdmi'] = 'ignore'; + } } else if($alxos >= '0.5.3') { $drop['cfg_graphic_module'] = array('vesa', 'ati', 'cirrus', 'i710', 'intel', 'nv', 'mach64', 'mga', 'openchrome', 'radeon', 's3', 's3virge', 'savage', 'sis', 'trident', 'tseng'); + $drop['cfg_graphic_hdmi'] = 'ignore'; } else { $drop['cfg_graphic_module'] = array('vesa', 'ati', 'cirrus', 'i810', 'i710', 'nv', 'mga', 'r128', 'radeon', 's3', 's3virge', 'savage', 'sis', 'trident', 'tseng', 'via'); + $drop['cfg_graphic_hdmi'] = 'ignore'; } $drop['resolution'] = array('640x480', '800x600', '1024x768', '1280x960', '1280x1024', '1360x768', '1366x768', '1400x1050', '1440x900', '1600x1200', '1680x1050', '1280x720', '1920x1080'); $drop['depth'] = array('24', '16', '8'); @@ -66,7 +79,7 @@ } else { - $drop['cfg_printers_port'] = array('lpt1', 'usb1', 'usb2', 'com1', 'com2', 'lpd', 'socket', 'ipp'); + $drop['port'] = array('lpt1', 'usb1', 'usb2', 'com1', 'com2', 'lpd', 'socket', 'ipp'); } $drop['location'] = sqlarr('SELECT location FROM client_locations', '', 'location'); $drop['id'] = 'hidden'; @@ -533,14 +546,16 @@ echo ''; echo ''; echo ''; + echo '
'; + echo ''; echo '

'; } echo '
'; echo 'Remote Shadow:
'; - echo '
'; - echo '
'; - echo '
'; + echo ''; + echo ''; + echo '

'; echo '
'; echo 'Client Update:
'; echo '
';