From 2438315fee071326e3dc912e63c51792e6447f4e Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Wed, 20 Oct 2010 23:22:27 -0400 Subject: [PATCH] First cut at a jquery-mobile mobile login page --- horde/login.php | 2 - horde/templates/login/mobile.inc | 80 +++++++++++++++++++++++++--------------- 2 files changed, 51 insertions(+), 31 deletions(-) diff --git a/horde/login.php b/horde/login.php index 2c3e38e9d..5034cb504 100644 --- a/horde/login.php +++ b/horde/login.php @@ -317,9 +317,7 @@ if ($browser->isMobile()) { ); } - require $registry->get('templates', 'horde') . '/common-header.inc'; require $registry->get('templates', 'horde') . '/login/mobile.inc'; - require $registry->get('templates', 'horde') . '/common-footer.inc'; exit; } diff --git a/horde/templates/login/mobile.inc b/horde/templates/login/mobile.inc index 63740b846..a8a35908c 100644 --- a/horde/templates/login/mobile.inc +++ b/horde/templates/login/mobile.inc @@ -1,38 +1,60 @@ -
get('name'))) ?>
+ + + + <?php echo $title ?> + + + + + + +
+ +

+ +
- - - + + + -

$val) { - switch ($val['type']) { - case 'hidden': - echo ''; - break; - - case 'text': - case 'password': - case 'select': - echo '

+ +
+ +
+ + + -- 2.11.0