diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2012-08-02 00:44:36 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2012-08-02 00:44:36 +0000 |
commit | ea0f13c140f6444d4b0da9e38e1c27c9004b6184 (patch) | |
tree | c95d58a3a74f5c287040042f030dba6dd34c4012 /h-source/Application/Controllers/DownloadController.php | |
parent | 4ee5f0d9dd40b3baa2e27889a579dc7852cbfd6c (diff) |
dropped pcmcia controller, added generic host controller with subtype
Diffstat (limited to 'h-source/Application/Controllers/DownloadController.php')
-rw-r--r-- | h-source/Application/Controllers/DownloadController.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/h-source/Application/Controllers/DownloadController.php b/h-source/Application/Controllers/DownloadController.php index 5e15e7e..98f362e 100644 --- a/h-source/Application/Controllers/DownloadController.php +++ b/h-source/Application/Controllers/DownloadController.php @@ -63,7 +63,7 @@ class DownloadController extends BaseController $xml .= "\t\t<id>".$row['hardware']['id_hard']."</id>\n"; $xml .= "\t\t<type>".$row['hardware']['type']."</type>\n"; - if ($type === 'notebook' or $type === 'printer') + if ($type === 'notebook' or $type === 'printer' or $type === 'host-controller' ) { $xml .= "\t\t<subtype>".$row['hardware']['subtype']."</subtype>\n"; } @@ -116,7 +116,7 @@ class DownloadController extends BaseController { $xml .= "\t\t<it_works>".$row['hardware']['video_card_works']."</it_works>\n"; } - else if ($type === 'acquisition-card' or $type === 'modem' or $type === 'RAID-adapter' or $type === 'PCMCIA-controller') + else if ($type === 'acquisition-card' or $type === 'modem' or $type === 'RAID-adapter' or $type === 'host-controller') { $xml .= "\t\t<it_works>".$row['hardware']['compatibility']."</it_works>\n"; } @@ -259,8 +259,8 @@ class DownloadController extends BaseController $this->printXml($lang, array('type'=>'RAID-adapter','-deleted'=>'no')); } - public function pcmcia($lang = 'en') + public function hostcontrollers($lang = 'en') { - $this->printXml($lang, array('type'=>'PCMCIA-controller','-deleted'=>'no')); + $this->printXml($lang, array('type'=>'host-controller','-deleted'=>'no')); } }
\ No newline at end of file |