--- alx-src/branches/alx-web-060/show.php 2011/07/06 10:44:48 2603 +++ alx-src/branches/alx-web-060/show.php 2011/07/06 13:21:45 2604 @@ -53,7 +53,17 @@ $drop['cfg_network_module'] = array('3c59x', '8139too', '8139cp', 'e100', 'ne2k-pci', 'pcnet32', 'sis900', 'via-rhine', 'zd1211', 'b44', 'bnx2', 'dl2k', 'e1000', 'forcedeth', 'r8169', 'sk98lin', 'tg3', 'via-velocity'); } $drop['networking'] = array('dhcp', 'static'); -$drop['port'] = array('lpt1', 'usb1', 'usb2', 'com1', 'com2', 'lpd', 'socket', 'ipp'); +// 0.6.0 does not support lpd, ipp and socket printing atm +if($alxos>='0.6.0') +{ + $drop['cfg_printers_port'] = array('lpt1', 'usb1', 'usb2', 'com1', 'com2'); + $drop['cfg_printers_ip'] = 'ignore'; + $drop['cfg_printers_share'] = 'ignore'; +} +else +{ + $drop['cfg_printers_port'] = array('lpt1', 'usb1', 'usb2', 'com1', 'com2', 'lpd', 'socket', 'ipp'); +} $drop['location'] = sqlarr('SELECT location FROM client_locations', '', 'location'); $drop['id'] = 'hidden'; $drop['flg_modified'] = '1';