--- alx-src/branches/alx-web-060/show.php 2011/07/06 10:37:11 2601
+++ 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';
@@ -285,6 +295,7 @@
.keytab, input, textarea, select, option { font-size:8pt; font-family:Tahoma }
.but { font-size:10pt; font-family:Tahoma; height:23px }
+