From 1db259e769ea5a50c0d9969da0b4dc9b14c66b5b Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sun, 16 Sep 2012 19:33:35 +0000 Subject: improved the "can free operating systems be installed?" --- h-source/Application/Include/hardware.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'h-source/Application/Include/hardware.php') diff --git a/h-source/Application/Include/hardware.php b/h-source/Application/Include/hardware.php index 2d0d26f..f2026a9 100644 --- a/h-source/Application/Include/hardware.php +++ b/h-source/Application/Include/hardware.php @@ -344,7 +344,7 @@ class Notebooks extends Hardware "E Garbage" => "E-garbage" ); - public static $subtypeSelect = 'notebook,netbook,motherboard,tablet,not-specified'; + public static $subtypeSelect = 'notebook,netbook,tablet,not-specified'; public static $architectureSelect = array( "not specified" => 'not-specified', @@ -367,7 +367,13 @@ class Notebooks extends Hardware "yes (please specify in the description entry)" => 'yes', ); - public static $installableSelect = 'not-specified,no,yes'; + public static $installableSelect = array( + "not specified" => 'not-specified', + "no (please specify in the description entry)" => 'no', + "yes" => 'yes', + ); + +// public static $installableSelect = 'not-specified,no,yes'; public static $videoSelect = array( "not specified" => 'not-specified', @@ -452,6 +458,11 @@ class Notebooks extends Hardware { return implode(',',array_values(self::$preventWifiSelect)); } + + public static function installableList() + { + return implode(',',array_values(self::$installableSelect)); + } } class ThreeGcards extends Wifi -- cgit v1.2.3