From 59a70fc11463d7583d2ee9e72f3c54e8bd6a0876 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Fri, 13 May 2011 10:32:35 +0000 Subject: h-source:improved the way forms are managed --- h-source/Application/Controllers/SoundcardsController.php | 4 ++++ h-source/Application/Controllers/ThreegcardsController.php | 4 ++++ h-source/Application/Controllers/VideocardsController.php | 4 ++++ h-source/Application/Controllers/WifiController.php | 4 ++++ 4 files changed, 16 insertions(+) (limited to 'h-source/Application/Controllers') diff --git a/h-source/Application/Controllers/SoundcardsController.php b/h-source/Application/Controllers/SoundcardsController.php index a45a4eb..ba04987 100644 --- a/h-source/Application/Controllers/SoundcardsController.php +++ b/h-source/Application/Controllers/SoundcardsController.php @@ -97,6 +97,10 @@ class SoundcardsController extends GenericController $this->setArgKeys($argKeys); $data['title'] = 'Soundcard'; + + $data['intefaceOptions'] = Soundcards::$interface; + $data['worksOptions'] = Soundcards::$audioSelect; + $data['worksField'] = 'sound_card_works'; $this->append($data); } diff --git a/h-source/Application/Controllers/ThreegcardsController.php b/h-source/Application/Controllers/ThreegcardsController.php index 5770fa8..2ddc108 100644 --- a/h-source/Application/Controllers/ThreegcardsController.php +++ b/h-source/Application/Controllers/ThreegcardsController.php @@ -97,6 +97,10 @@ class ThreegcardsController extends GenericController $this->setArgKeys($argKeys); $data['title'] = '3G card'; + + $data['intefaceOptions'] = Wifi::$interface; + $data['worksOptions'] = Wifi::$wifiSelect; + $data['worksField'] = 'wifi_works'; $this->append($data); } diff --git a/h-source/Application/Controllers/VideocardsController.php b/h-source/Application/Controllers/VideocardsController.php index ab869bc..08eda31 100644 --- a/h-source/Application/Controllers/VideocardsController.php +++ b/h-source/Application/Controllers/VideocardsController.php @@ -97,6 +97,10 @@ class VideocardsController extends GenericController $this->setArgKeys($argKeys); $data['title'] = 'Videocards'; + + $data['intefaceOptions'] = Videocard::$interface; + $data['worksOptions'] = Videocard::$videoSelect; + $data['worksField'] = 'video_card_works'; $this->append($data); } diff --git a/h-source/Application/Controllers/WifiController.php b/h-source/Application/Controllers/WifiController.php index c2b9e20..52a9657 100644 --- a/h-source/Application/Controllers/WifiController.php +++ b/h-source/Application/Controllers/WifiController.php @@ -97,6 +97,10 @@ class WifiController extends GenericController $this->setArgKeys($argKeys); $data['title'] = 'Wifi'; + + $data['intefaceOptions'] = Wifi::$interface; + $data['worksOptions'] = Wifi::$wifiSelect; + $data['worksField'] = 'wifi_works'; $this->append($data); } -- cgit v1.2.3