diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2011-12-27 07:27:36 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-12-27 07:27:36 +0000 |
commit | 7bda3432520d07d31220fc66b3e552e1eed46f82 (patch) | |
tree | 5d9381cd3eb10999db4088ffa931a334f8bd4dcc /h-source/Application/Views/Mobile/header.php | |
parent | b5d776bc5c8261ac75a74ed3070ca13a6eb741ca (diff) |
mobile: added language dialog
Diffstat (limited to 'h-source/Application/Views/Mobile/header.php')
-rw-r--r-- | h-source/Application/Views/Mobile/header.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/h-source/Application/Views/Mobile/header.php b/h-source/Application/Views/Mobile/header.php index 1d109c8..f79012e 100644 --- a/h-source/Application/Views/Mobile/header.php +++ b/h-source/Application/Views/Mobile/header.php @@ -36,13 +36,20 @@ $currPos = $querySanitized ? $this->controller."/".$this->action : 'home/index'; <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl;?>/Public/Js/jquery/jquery.mobile-1.0.css"> - <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl;?>/Public/Js/jquery/h-node-theme.css"> <script type="text/javascript" src="<?php echo $this->baseUrl;?>/Public/Js/jquery/jquery-1.7.1.min.js"></script> <script type="text/javascript" src="<?php echo $this->baseUrl;?>/Public/Js/jquery/jquery.mobile-1.0.min.js"></script> <script type="text/javascript" src="<?php echo $this->baseUrl;?>/Public/Js/functions.js"></script> <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl?>/Public/Css/mobile.css"> + + <style type='text/css'> + .ui-icon-current-lang + { + background-image: url(<?php echo $this->baseUrl;?>/Public/Img/Famfamfam/<?php echo $langIcon;?>); + background-position:1px 4px; + } + </style> <script type="text/javascript"> @@ -70,7 +77,7 @@ $currPos = $querySanitized ? $this->controller."/".$this->action : 'home/index'; <ul> <li><a href="#" class="ui-btn-active">Home</a></li> <li><a href="#">Hardware</a></li> - <li><a data-icon="gear" href="#">English</a></li> + <li><a data-icon="current-lang" data-rel="dialog" href="#language-dialog"><?php echo $langLabel;?></a></li> </ul> </div><!-- /navbar --> |