diff options
Diffstat (limited to 'h-source/Application')
-rw-r--r-- | h-source/Application/Controllers/HardwareController.php | 2 | ||||
-rw-r--r-- | h-source/Application/Controllers/HomeController.php | 2 | ||||
-rw-r--r-- | h-source/Application/Views/Mobile/header.php | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/h-source/Application/Controllers/HardwareController.php b/h-source/Application/Controllers/HardwareController.php index 721ed80..a75c4fe 100644 --- a/h-source/Application/Controllers/HardwareController.php +++ b/h-source/Application/Controllers/HardwareController.php @@ -26,7 +26,7 @@ class HardwareController extends BaseController public function __construct($model, $controller, $queryString) { - $this->_topMenuClasses['hardware'] = " class='currentitem'"; + $this->_topMenuClasses['hardware'] = " class='currentitem ui-btn-active'"; parent::__construct($model, $controller, $queryString); diff --git a/h-source/Application/Controllers/HomeController.php b/h-source/Application/Controllers/HomeController.php index eecb53f..3c47547 100644 --- a/h-source/Application/Controllers/HomeController.php +++ b/h-source/Application/Controllers/HomeController.php @@ -26,7 +26,7 @@ class HomeController extends BaseController public function __construct($model, $controller, $queryString) { - $this->_topMenuClasses['home'] = " class='currentitem'"; + $this->_topMenuClasses['home'] = " class='currentitem ui-btn-active'"; parent::__construct($model, $controller, $queryString); diff --git a/h-source/Application/Views/Mobile/header.php b/h-source/Application/Views/Mobile/header.php index aa6a9bb..e3340b0 100644 --- a/h-source/Application/Views/Mobile/header.php +++ b/h-source/Application/Views/Mobile/header.php @@ -82,8 +82,8 @@ $currPos = $querySanitized ? $this->controller."/".$this->action : 'home/index'; <div data-theme='b' data-role="navbar" data-iconpos="left"> <ul> - <li><a href="<?php echo $this->baseUrl."/home/index/$lang";?>" class="ui-btn-active">Home</a></li> - <li><a href="<?php echo $this->baseUrl."/hardware/catalogue/$lang";?>">Hardware</a></li> + <li><a <?php echo $tm['home']; ?> href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a></li> + <li><a <?php echo $tm['hardware']; ?> href="<?php echo $this->baseUrl."/hardware/catalogue/$lang";?>">Hardware</a></li> <li><a data-icon="current-lang" data-rel="dialog" href="#language-dialog"><?php echo $langLabel;?></a></li> </ul> </div><!-- /navbar --> |