diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2011-02-03 23:44:48 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-02-03 23:44:48 +0000 |
commit | 190ded0397f9434a1fadd0f06775edb6dcf60272 (patch) | |
tree | e3f4ec0f53d26d185e5c0b043e3b3fdbe1643db9 /h-source/Application/Controllers/DownloadController.php | |
parent | 67f94bb059506bf617d69a8af67e96a7f62632e8 (diff) |
added webcams - part 1
Diffstat (limited to 'h-source/Application/Controllers/DownloadController.php')
-rw-r--r-- | h-source/Application/Controllers/DownloadController.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/h-source/Application/Controllers/DownloadController.php b/h-source/Application/Controllers/DownloadController.php index c3a9661..cf5aa3c 100644 --- a/h-source/Application/Controllers/DownloadController.php +++ b/h-source/Application/Controllers/DownloadController.php @@ -63,9 +63,12 @@ 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') + if ($type === 'notebook' or $type === 'printer') { $xml .= "\t\t<subtype>".$row['hardware']['subtype']."</subtype>\n"; + } + if ($type === 'notebook') + { $xml .= "\t\t<free_bios>".$row['hardware']['bios']."</free_bios>\n"; } |