aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Include
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-08-22 06:13:52 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-08-22 06:13:52 +0000
commit0721f5e55bf8ae501e15880f9ae243a58eadd00b (patch)
treea57f95c36c57af8c192efe6f7e31b45482786303 /h-source/Application/Include
parentaf545a1469350e9cd6ce6ca3925184b601bae27d (diff)
chenged label for architecture
Diffstat (limited to 'h-source/Application/Include')
-rw-r--r--h-source/Application/Include/hardware.php14
1 files changed, 12 insertions, 2 deletions
diff --git a/h-source/Application/Include/hardware.php b/h-source/Application/Include/hardware.php
index 999a540..8306417 100644
--- a/h-source/Application/Include/hardware.php
+++ b/h-source/Application/Include/hardware.php
@@ -249,7 +249,13 @@ class Notebooks extends Hardware
public static $subtypeSelect = 'notebook,netbook,not-specified';
- public static $architectureSelect = 'not-specified,x86,amd64,MIPS,ARM';
+ public static $architectureSelect = array(
+ "not specified" => 'not-specified',
+ "x86" => 'x86',
+ "x86-64/amd64" => 'amd64',
+ "MIPS" => 'MIPS',
+ "ARM" => 'ARM',
+ );
public static $biosSelect = 'not-specified,no,yes';
@@ -321,7 +327,11 @@ class Notebooks extends Hardware
{
return implode(',',array_values(self::$compatibility));
}
-
+
+ public static function architectureList()
+ {
+ return implode(',',array_values(self::$architectureSelect));
+ }
}
class ThreeGcards extends Wifi