diff options
| author | Antonio Gallo <tonicucoz@gmail.com> | 2012-09-09 14:08:19 +0000 | 
|---|---|---|
| committer | Antonio Gallo <tonicucoz@gmail.com> | 2012-09-09 14:08:19 +0000 | 
| commit | 93f681d5bd99d28acdb1e4c6eb3e5bbc4a6842bf (patch) | |
| tree | 16fa123a4141006cd2413326d34ca17df310d983 /h-source/Application/Controllers | |
| parent | 090c0fa2d0a40176e4c1e77f5892e734a1fa7feb (diff) | |
added the entry: 'does the device prevent the installation of wifi cards not-approved by the vendor?' - part 1
Diffstat (limited to 'h-source/Application/Controllers')
| -rw-r--r-- | h-source/Application/Controllers/DownloadController.php | 1 | ||||
| -rw-r--r-- | h-source/Application/Controllers/NotebooksController.php | 3 | 
2 files changed, 3 insertions, 1 deletions
diff --git a/h-source/Application/Controllers/DownloadController.php b/h-source/Application/Controllers/DownloadController.php index 98f362e..c8e79c9 100644 --- a/h-source/Application/Controllers/DownloadController.php +++ b/h-source/Application/Controllers/DownloadController.php @@ -72,6 +72,7 @@ class DownloadController extends BaseController  				$xml .= "\t\t<architecture>".translate($row['hardware']['architecture'])."</architecture>\n";  				$xml .= "\t\t<free_bios>".$row['hardware']['bios']."</free_bios>\n";  				$xml .= "\t\t<can_free_systems_be_installed>".$row['hardware']['can_free_systems_be_installed']."</can_free_systems_be_installed>\n"; +				$xml .= "\t\t<prevent_wifi>".$row['hardware']['prevent_wifi']."</prevent_wifi>\n";  			}  			$xml .= "\t\t<model_name>".$row['hardware']['model']."</model_name>\n"; diff --git a/h-source/Application/Controllers/NotebooksController.php b/h-source/Application/Controllers/NotebooksController.php index f84be07..9222743 100644 --- a/h-source/Application/Controllers/NotebooksController.php +++ b/h-source/Application/Controllers/NotebooksController.php @@ -55,6 +55,7 @@ class NotebooksController extends GenericController  			"+++++++checkIsStrings|".Notebooks::webcamList() 	=> 	"webcam_works",  			"++++++++checkIsStrings|".Notebooks::architectureList() 	=> 	"architecture",  			"+++++++++checkIsStrings|".Notebooks::$installableSelect 	=> 	"can_free_systems_be_installed", +			"++++++++++checkIsStrings|".Notebooks::preventWifiList() 	=> 	"prevent_wifi",  		);  		$this->m['HardwareModel']->strongConditions['insert'] = $this->m['HardwareModel']->strongConditions['update']; @@ -71,7 +72,7 @@ class NotebooksController extends GenericController  		$this->m['HardwareModel']->softConditions['insert'] = $this->m['HardwareModel']->softConditions['update']; -		$this->m['HardwareModel']->setFields('vendor,model,compatibility,kernel,description,distribution,video_card_type,video_card_works,wifi_type,wifi_works,comm_year,subtype,bios,can_free_systems_be_installed,webcam_type,webcam_works,architecture','sanitizeAll');		 +		$this->m['HardwareModel']->setFields('vendor,model,compatibility,kernel,description,distribution,video_card_type,video_card_works,wifi_type,wifi_works,comm_year,subtype,bios,can_free_systems_be_installed,webcam_type,webcam_works,architecture,prevent_wifi','sanitizeAll');		  		$argKeys = array(  			'page:forceNat'					=>	1,  | 
