aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Views
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Views')
-rw-r--r--h-source/Application/Views/Mobile/footer.php17
-rw-r--r--h-source/Application/Views/Mobile/header.php11
-rw-r--r--h-source/Application/Views/Mobile/right.php3
3 files changed, 28 insertions, 3 deletions
diff --git a/h-source/Application/Views/Mobile/footer.php b/h-source/Application/Views/Mobile/footer.php
index c49ad4b..3490393 100644
--- a/h-source/Application/Views/Mobile/footer.php
+++ b/h-source/Application/Views/Mobile/footer.php
@@ -36,5 +36,22 @@
</div> <!--fine page-->
+<!-- Start of second page: language dialog -->
+<div data-role="page" id="language-dialog">
+
+ <div data-role="header" data-theme="a">
+ <h1><?php echo gtext('Choose the language');?></h1>
+ </div><!-- /header -->
+
+ <div data-role="content" data-theme="d">
+ <?php echo $language_links;?>
+ </div><!-- /content -->
+
+
+ <div data-role="footer">
+ <p><?php echo gtext('list of languages');?></p>
+ </div><!-- /footer -->
+</div><!-- /page popup -->
+
</body>
</html>
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 -->
diff --git a/h-source/Application/Views/Mobile/right.php b/h-source/Application/Views/Mobile/right.php
index 47e9af9..55225a6 100644
--- a/h-source/Application/Views/Mobile/right.php
+++ b/h-source/Application/Views/Mobile/right.php
@@ -18,4 +18,5 @@
//
// You should have received a copy of the GNU General Public License
// along with h-source. If not, see <http://www.gnu.org/licenses/>.
-?> \ No newline at end of file
+?>
+