diff options
| author | Antonio Gallo <tonicucoz@gmail.com> | 2011-10-02 17:35:41 +0000 | 
|---|---|---|
| committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-10-02 17:35:41 +0000 | 
| commit | fef5c074223364eb32032a5787ea824fcbadc4fe (patch) | |
| tree | fc4a3256743f54de5e1170df93ecdb74fdbfa9cf /h-source/Application/Controllers/DownloadController.php | |
| parent | 029021b689453cd745b6d44450adbe76684effca (diff) | |
added sd card readers
Diffstat (limited to 'h-source/Application/Controllers/DownloadController.php')
| -rw-r--r-- | h-source/Application/Controllers/DownloadController.php | 10 | 
1 files changed, 10 insertions, 0 deletions
diff --git a/h-source/Application/Controllers/DownloadController.php b/h-source/Application/Controllers/DownloadController.php index d44d343..d58ba6c 100644 --- a/h-source/Application/Controllers/DownloadController.php +++ b/h-source/Application/Controllers/DownloadController.php @@ -145,6 +145,11 @@ class DownloadController extends BaseController  				$xml .= "\t\t<it_works>".$row['hardware']['ethernet_card_works']."</it_works>\n";  			} +			if ($type === 'sd-card-reader') +			{ +				$xml .= "\t\t<it_works>".$row['hardware']['sd_card_works']."</it_works>\n"; +			} +  			if ($type !== "notebook")  			{  				$xml .= "\t\t<driver>".$row['hardware']['driver']."</driver>\n"; @@ -240,4 +245,9 @@ class DownloadController extends BaseController  	{  		$this->printXml($lang, array('type'=>'ethernet-card','-deleted'=>'no'));  	} + +	public function sdcardreaders($lang = 'en') +	{ +		$this->printXml($lang, array('type'=>'sd-card-reader','-deleted'=>'no')); +	}  }
\ No newline at end of file  | 
