no back button in the login page header; don't show mode and language selection on...
authorChuck Hagenbuch <chuck@horde.org>
Thu, 21 Oct 2010 05:33:09 +0000 (01:33 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Thu, 21 Oct 2010 05:33:09 +0000 (01:33 -0400)
horde/templates/login/mobile.inc

index a8a3590..fa23d03 100644 (file)
@@ -10,7 +10,7 @@
 
 <div data-role="page">
 
-<div data-role="header"><h1><?php echo $title ?></h1></div>
+<div data-role="header" data-nobackbtn="true"><h1><?php echo $title ?></h1></div>
 
 <div data-role="content">
 
@@ -21,6 +21,7 @@
 
 <?php
 foreach ($loginparams as $key => $val) {
+    if ($key == 'imp_select_view' || $key == 'new_lang') { continue; }
     switch ($val['type']) {
     case 'hidden':
         echo '<input type="hidden" name="' . $key . '" value="' . (isset($val['value']) ? $val['value'] : '') . '">';