diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2010-11-02 22:35:24 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2010-11-02 22:35:24 +0000 |
commit | 559bc640d5fba84451c0275c464b3752ceac116e (patch) | |
tree | 39dfd6a3365c7d8a66b4479e999a9635672a9001 /h-source/Application | |
parent | 4477a95a94fad105139927ecb7890dc508ef2f05 (diff) |
improved download controller
Diffstat (limited to 'h-source/Application')
-rw-r--r-- | h-source/Application/Controllers/DownloadController.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/h-source/Application/Controllers/DownloadController.php b/h-source/Application/Controllers/DownloadController.php index 3c20425..2ff5429 100644 --- a/h-source/Application/Controllers/DownloadController.php +++ b/h-source/Application/Controllers/DownloadController.php @@ -93,6 +93,7 @@ class DownloadController extends BaseController { $xml .= "\t\t<wifi_card>".$row['hardware']['wifi_type']."</wifi_card>\n"; $xml .= "\t\t<videocard>".$row['hardware']['video_card_type']."</videocard>\n"; + $xml .= "\t\t<webcam>".$row['hardware']['webcam_type']."</webcam>\n"; } if ($type === 'notebook') @@ -109,6 +110,12 @@ class DownloadController extends BaseController { $xml .= "\t\t<videocard_works>".$row['hardware']['video_card_works']."</videocard_works>\n"; } + + if ($type === 'notebook') + { + $xml .= "\t\t<webcam_works>".$row['hardware']['webcam_works']."</webcam_works>\n"; + } + if ($type === 'printer' or $type === 'scanner') { $xml .= "\t\t<driver>".$row['hardware']['driver']."</driver>\n"; |