Magellan Linux

Diff of /alx-src/branches/alx-web-060/show.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2711 by niro, Wed Aug 3 13:57:12 2011 UTC revision 3275 by niro, Wed Nov 2 13:47:36 2011 UTC
# Line 16  $alxinfo = sqlfirst('SELECT * FROM clien Line 16  $alxinfo = sqlfirst('SELECT * FROM clien
16  $alxos = $alxinfo[os];  $alxos = $alxinfo[os];
17  $alxutils = $alxinfo[utils];  $alxutils = $alxinfo[utils];
18    
19    // get gfxdriver
20    $gfxinfo = sqlfirst('SELECT * FROM cfg_graphic WHERE serial='.$id);
21    
22  if($kill==1)  if($kill==1)
23  {  {
24   foreach($tabs as $t) mysql_query('UPDATE '.$t.' SET serial=-serial WHERE serial='.$id);   foreach($tabs as $t) mysql_query('UPDATE '.$t.' SET serial=-serial WHERE serial='.$id);
# Line 35  $drop = array(); Line 38  $drop = array();
38  if($alxos >= '0.6.0')  if($alxos >= '0.6.0')
39  {  {
40   $drop['cfg_graphic_module'] = array('vesa', 'ati', 'cirrus', 'i710', 'intel', 'nv', 'mach64', 'mga', 'openchrome', 'radeon', 's3', 's3virge', 'savage', 'sis', 'trident', 'tseng', 'vmware');   $drop['cfg_graphic_module'] = array('vesa', 'ati', 'cirrus', 'i710', 'intel', 'nv', 'mach64', 'mga', 'openchrome', 'radeon', 's3', 's3virge', 'savage', 'sis', 'trident', 'tseng', 'vmware');
41     if($gfxinfo[module] = 'intel')
42     {
43     $drop['cfg_graphic_hdmi'] = array('disable', 'enable');
44     }
45     else
46     {
47     $drop['cfg_graphic_hdmi'] = 'ignore';
48     }
49  }  }
50  else if($alxos >= '0.5.3')  else if($alxos >= '0.5.3')
51  {  {
52   $drop['cfg_graphic_module'] = array('vesa', 'ati', 'cirrus', 'i710', 'intel', 'nv', 'mach64', 'mga', 'openchrome', 'radeon', 's3', 's3virge', 'savage', 'sis', 'trident', 'tseng');   $drop['cfg_graphic_module'] = array('vesa', 'ati', 'cirrus', 'i710', 'intel', 'nv', 'mach64', 'mga', 'openchrome', 'radeon', 's3', 's3virge', 'savage', 'sis', 'trident', 'tseng');
53     $drop['cfg_graphic_hdmi'] = 'ignore';
54  }  }
55  else  else
56  {  {
57   $drop['cfg_graphic_module'] = array('vesa', 'ati', 'cirrus', 'i810', 'i710', 'nv', 'mga', 'r128', 'radeon', 's3', 's3virge', 'savage', 'sis', 'trident', 'tseng', 'via');   $drop['cfg_graphic_module'] = array('vesa', 'ati', 'cirrus', 'i810', 'i710', 'nv', 'mga', 'r128', 'radeon', 's3', 's3virge', 'savage', 'sis', 'trident', 'tseng', 'via');
58     $drop['cfg_graphic_hdmi'] = 'ignore';
59  }  }
60  $drop['resolution'] = array('640x480', '800x600', '1024x768', '1280x960', '1280x1024', '1360x768', '1366x768', '1400x1050', '1440x900', '1600x1200', '1680x1050', '1280x720', '1920x1080');  $drop['resolution'] = array('640x480', '800x600', '1024x768', '1280x960', '1280x1024', '1360x768', '1366x768', '1400x1050', '1440x900', '1600x1200', '1680x1050', '1280x720', '1920x1080');
61  $drop['depth'] = array('24', '16', '8');  $drop['depth'] = array('24', '16', '8');

Legend:
Removed from v.2711  
changed lines
  Added in v.3275