diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2012-01-08 12:22:41 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2012-01-08 12:22:41 +0000 |
commit | 2fee8068c26773b3ff8ca1b822a5a363c6b639af (patch) | |
tree | 116ce9b8f55f8fb84c9d615b3c65313e050690f5 /h-source/Application | |
parent | 31d6fce5da571062bdceb9a755c3902520ae0785 (diff) |
improved mobile
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 --> |