diff options
Diffstat (limited to 'h-source/Application/Views/Mobile/header.php')
-rw-r--r-- | h-source/Application/Views/Mobile/header.php | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/h-source/Application/Views/Mobile/header.php b/h-source/Application/Views/Mobile/header.php index f79012e..aa6a9bb 100644 --- a/h-source/Application/Views/Mobile/header.php +++ b/h-source/Application/Views/Mobile/header.php @@ -35,10 +35,17 @@ $currPos = $querySanitized ? $this->controller."/".$this->action : 'home/index'; <meta name="keywords" content="hardware database free software GNU Linux distribution wiki users freedom" /> <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"> <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"> + $(document).bind("mobileinit", function(){ + $.mobile.ajaxEnabled = false; + }); + </script> + + <script type="text/javascript" src="<?php echo $this->baseUrl;?>/Public/Js/jquery/jquery.mobile-1.0.min.js"></script> + <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl;?>/Public/Js/jquery/jquery.mobile-1.0.css"> + <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"> @@ -62,7 +69,7 @@ $currPos = $querySanitized ? $this->controller."/".$this->action : 'home/index'; animateTabs(curr_lang); }); - + </script> </head> @@ -75,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="#" class="ui-btn-active">Home</a></li> - <li><a href="#">Hardware</a></li> + <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 data-icon="current-lang" data-rel="dialog" href="#language-dialog"><?php echo $langLabel;?></a></li> </ul> </div><!-- /navbar --> |