diff options
Diffstat (limited to 'h-source/Application/Controllers/GenericController.php')
-rw-r--r-- | h-source/Application/Controllers/GenericController.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/h-source/Application/Controllers/GenericController.php b/h-source/Application/Controllers/GenericController.php index 3a8c1f0..adf2555 100644 --- a/h-source/Application/Controllers/GenericController.php +++ b/h-source/Application/Controllers/GenericController.php @@ -28,8 +28,11 @@ class GenericController extends BaseController public $orderPopup; public function __construct($model, $controller, $queryString) { - parent::__construct($model, $controller, $queryString); + + $this->_topMenuClasses['hardware'] = " class='currentitem ui-btn-active'"; + parent::__construct($model, $controller, $queryString); + $this->model('UsersModel'); $popup = new Popup(); @@ -64,7 +67,7 @@ class GenericController extends BaseController $data['howToCompileLabel'] = null; $data['isApproved'] = true; - + $this->append($data); } @@ -481,6 +484,7 @@ class GenericController extends BaseController // echo $this->mod->getQuery(); $data['pageList'] = $this->h['Pages']->render($page-3,7); + $data['numberOfPages'] = $this->h['Pages']->getNumbOfPages(); $data['topNotice'] = $this->getModule(array('devices',$this->controller,'catalogue')); |