diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2011-10-27 06:16:03 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-10-27 06:16:03 +0000 |
commit | 30302704689cdb2dd38d012f65bb0e5226b4ca3e (patch) | |
tree | d7e76daab3e9348a3cdb492e86a3972fe7c6ea38 /h-source/Application/Controllers | |
parent | d67f5736dfbec2b769e98dd17f34137b9feec1fc (diff) |
added module inside insert and update pages - Luis Alberto issue
Diffstat (limited to 'h-source/Application/Controllers')
-rw-r--r-- | h-source/Application/Controllers/GenericController.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/h-source/Application/Controllers/GenericController.php b/h-source/Application/Controllers/GenericController.php index 3724140..639faa5 100644 --- a/h-source/Application/Controllers/GenericController.php +++ b/h-source/Application/Controllers/GenericController.php @@ -56,7 +56,9 @@ class GenericController extends BaseController $this->orderPopup = $popup; + $data['howToCompileLabel'] = null; $data['isApproved'] = true; + $this->append($data); } @@ -113,10 +115,6 @@ class GenericController extends BaseController $data['submission_response'] = 'executed'; } -// if ($this->m['HardwareModel']->queryResult) -// { -// $data['submission_response'] = 'executed'; -// } $this->viewRedirect($this->m['HardwareModel']->lastId); } @@ -131,6 +129,7 @@ class GenericController extends BaseController $data['hiddenInput'] = null; $data['tracksHelpLabel'] = $this->getModule(array('devices',$this->controller,'form','it_tracks_users')); + $data['howToCompileLabel'] = $this->getModule(array('devices','all','form','how_to_compile')); $data['values'] = $this->m['HardwareModel']->getFormValues('insert','sanitizeHtml'); $this->append($data); @@ -292,7 +291,8 @@ class GenericController extends BaseController $data['hiddenInput'] = "<input type='hidden' name='id_hard' value='".$clean['id_hard']."'>\n"; $data['tracksHelpLabel'] = $this->getModule(array('devices',$this->controller,'form','it_tracks_users')); - + $data['howToCompileLabel'] = $this->getModule(array('devices','all','form','how_to_compile')); + $this->append($data); if (!isset($_POST['from_client'])) |