aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers/DownloadController.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Controllers/DownloadController.php')
-rw-r--r--h-source/Application/Controllers/DownloadController.php8
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