aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers/DownloadController.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-10-02 17:35:41 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-10-02 17:35:41 +0000
commitfef5c074223364eb32032a5787ea824fcbadc4fe (patch)
treefc4a3256743f54de5e1170df93ecdb74fdbfa9cf /h-source/Application/Controllers/DownloadController.php
parent029021b689453cd745b6d44450adbe76684effca (diff)
added sd card readers
Diffstat (limited to 'h-source/Application/Controllers/DownloadController.php')
-rw-r--r--h-source/Application/Controllers/DownloadController.php10
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