diff options
Diffstat (limited to 'h-source/Application')
7 files changed, 23 insertions, 9 deletions
diff --git a/h-source/Application/Controllers/BaseController.php b/h-source/Application/Controllers/BaseController.php index 7bd8027..9287cee 100644 --- a/h-source/Application/Controllers/BaseController.php +++ b/h-source/Application/Controllers/BaseController.php @@ -44,6 +44,7 @@ class BaseController extends Controller "download" => null, "help" => null, "wiki" => null, + "project" => null, ); public function __construct($model, $controller, $queryString) { diff --git a/h-source/Application/Controllers/ContactController.php b/h-source/Application/Controllers/ContactController.php index ddbbe43..197ec9a 100644 --- a/h-source/Application/Controllers/ContactController.php +++ b/h-source/Application/Controllers/ContactController.php @@ -26,7 +26,7 @@ class ContactController extends BaseController public function __construct($model, $controller, $queryString) { - $this->_topMenuClasses['contact'] = " class='currentitem'"; + $this->_topMenuClasses['contact'] = " class='currentitem ui-btn-active'"; parent::__construct($model, $controller, $queryString); diff --git a/h-source/Application/Controllers/CreditsController.php b/h-source/Application/Controllers/CreditsController.php index c8c01fb..4dbcc4a 100644 --- a/h-source/Application/Controllers/CreditsController.php +++ b/h-source/Application/Controllers/CreditsController.php @@ -26,7 +26,7 @@ class CreditsController extends BaseController public function __construct($model, $controller, $queryString) { - $this->_topMenuClasses['credits'] = " class='currentitem'"; + $this->_topMenuClasses['credits'] = " class='currentitem ui-btn-active'"; parent::__construct($model, $controller, $queryString); diff --git a/h-source/Application/Controllers/ProjectController.php b/h-source/Application/Controllers/ProjectController.php index 8be77a1..234fb59 100644 --- a/h-source/Application/Controllers/ProjectController.php +++ b/h-source/Application/Controllers/ProjectController.php @@ -25,6 +25,8 @@ class ProjectController extends BaseController public function __construct($model, $controller, $queryString) { + $this->_topMenuClasses['project'] = " class='currentitem ui-btn-active'"; + parent::__construct($model, $controller, $queryString); $data['title'] = 'project - '.Website::$generalName; diff --git a/h-source/Application/Include/languages.php b/h-source/Application/Include/languages.php index aedbdae..0de0d51 100644 --- a/h-source/Application/Include/languages.php +++ b/h-source/Application/Include/languages.php @@ -376,6 +376,9 @@ class Lang /*0316*/"next" => "successivi", /*0317*/"previous" => "precedenti", /*0318*/"type" => "tipo", + /*0319*/"contact us" => "contattaci", + /*0320*/"credits" => "crediti", + /*0321*/"desktop version" => "versione desktop", ), 'es' => array ( diff --git a/h-source/Application/Views/Desktop/footer.php b/h-source/Application/Views/Desktop/footer.php index 56dbcda..1eafcc6 100644 --- a/h-source/Application/Views/Desktop/footer.php +++ b/h-source/Application/Views/Desktop/footer.php @@ -26,11 +26,11 @@ </div> <div class="footer_credits_box"> - <a href="<?php echo $this->baseUrl."/credits/index/$lang";?>">credits</a> + <a href="<?php echo $this->baseUrl."/credits/index/$lang";?>"><?php echo gtext("credits");?></a> </div> <div class="footer_credits_box"> - <a href="<?php echo $this->baseUrl."/contact/index/$lang";?>">contact</a> + <a href="<?php echo $this->baseUrl."/contact/index/$lang";?>"><?php echo gtext("contact us");?></a> </div> </div> <!--fine footer--> diff --git a/h-source/Application/Views/Mobile/footer.php b/h-source/Application/Views/Mobile/footer.php index 830f2bd..489f53a 100644 --- a/h-source/Application/Views/Mobile/footer.php +++ b/h-source/Application/Views/Mobile/footer.php @@ -21,11 +21,19 @@ ?> <div id="footer" data-role="footer"> - <div class="ui-grid-b"> - <div class="ui-block-a"><a rel='external' href="<?php echo $this->baseUrl."/contact/index/$lang";?>">contact</a></div> - <div class="ui-block-b"><a rel='external' href="<?php echo $this->baseUrl."/credits/index/$lang";?>">credits</a></div> - <div class="ui-block-c">The <a rel='external' href="<?php echo $this->baseUrl."/project/index/$lang";?>"><?php echo Website::$projectName;?></a> Project</div> - </div><!-- /grid-b --> + + <div data-theme='b' data-role="navbar"> + <ul> + <li><a <?php echo $tm['contact']; ?> rel='external' href="<?php echo $this->baseUrl."/contact/index/$lang";?>"><?php echo gtext("contact us");?></a></li> + <li><a <?php echo $tm['credits']; ?> rel='external' href="<?php echo $this->baseUrl."/credits/index/$lang";?>"><?php echo gtext("credits");?></a></li> + <li><a <?php echo $tm['project']; ?> rel='external' href="<?php echo $this->baseUrl."/project/index/$lang";?>">The <?php echo Website::$projectName;?> Project</a></li> + </ul> + </div><!-- /navbar --> + <div data-role="navbar"> + <ul> + <li><a href="<?php echo $this->baseUrl."/home/index/$lang?version=desktop";?>"><?php echo gtext("desktop version");?></a></li> + </ul> + </div><!-- /navbar --> </div> <!--fine footer--> </div> <!--fine page--> |