From ea0f13c140f6444d4b0da9e38e1c27c9004b6184 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Thu, 2 Aug 2012 00:44:36 +0000 Subject: dropped pcmcia controller, added generic host controller with subtype --- h-source/Application/Controllers/DownloadController.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'h-source/Application/Controllers/DownloadController.php') 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".$row['hardware']['id_hard']."\n"; $xml .= "\t\t".$row['hardware']['type']."\n"; - if ($type === 'notebook' or $type === 'printer') + if ($type === 'notebook' or $type === 'printer' or $type === 'host-controller' ) { $xml .= "\t\t".$row['hardware']['subtype']."\n"; } @@ -116,7 +116,7 @@ class DownloadController extends BaseController { $xml .= "\t\t".$row['hardware']['video_card_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".$row['hardware']['compatibility']."\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 -- cgit v1.2.3