From fad53c421cae174bcdfd6d6d4ffdaa5da40a2c5c Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Wed, 13 Jun 2012 13:29:47 +0000 Subject: adding motherboards - part 1 --- h-source/Application/Include/hardware.php | 13 +++++++++++-- h-source/Application/Include/languages.php | 8 ++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) (limited to 'h-source/Application/Include') diff --git a/h-source/Application/Include/hardware.php b/h-source/Application/Include/hardware.php index 61a01dd..bcfd635 100644 --- a/h-source/Application/Include/hardware.php +++ b/h-source/Application/Include/hardware.php @@ -301,7 +301,7 @@ class Notebooks extends Hardware "E Garbage" => "E-garbage" ); - public static $subtypeSelect = 'notebook,netbook,tablet,not-specified'; + public static $subtypeSelect = 'notebook,netbook,motherboard,tablet,not-specified'; public static $architectureSelect = array( "not specified" => 'not-specified', @@ -311,7 +311,11 @@ class Notebooks extends Hardware "ARM" => 'ARM', ); - public static $biosSelect = 'not-specified,no,yes'; + public static $biosSelect = array( + "not specified" => 'not-specified', + "no" => 'no', + "yes" => 'yes' + ); public static $installableSelect = 'not-specified,no,yes'; @@ -388,6 +392,11 @@ class Notebooks extends Hardware { return implode(',',array_values(self::$architectureSelect)); } + + public static function biosList() + { + return implode(',',array_values(self::$biosSelect)); + } } class ThreeGcards extends Wifi diff --git a/h-source/Application/Include/languages.php b/h-source/Application/Include/languages.php index fa87142..c3a88b5 100644 --- a/h-source/Application/Include/languages.php +++ b/h-source/Application/Include/languages.php @@ -385,6 +385,14 @@ class Lang /*0325*/"No PCMCIA Controller found" => "Nessun controller PCMCIA รจ stato trovato", /*0326*/"PCMCIA Controllers" => "Controller PCMCIA", /*0327*/"Download the xml file of all the PCMCIA Controllers in the database" => "Scarica il file xml di tutti i Controller PCMCIA presenti nel database", + /*0328*/"notebook" => "notebook", + /*0329*/"netbook" => "netbook", + /*0330*/"motherboard" => "scheda madre", + /*0331*/"tablet" => "tablet", + /*0332*/"netbooks" => "netbook", + /*0333*/"Notebooks" => "Notebook", + /*0334*/"tablet PC" => "PC tablet", + /*0335*/"motherboards" => "schede madri", ), 'es' => array ( -- cgit v1.2.3