From: Chuck Hagenbuch Date: Thu, 21 Oct 2010 03:22:27 +0000 (-0400) Subject: First cut at a jquery-mobile mobile login page X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2438315fee071326e3dc912e63c51792e6447f4e;p=horde.git First cut at a jquery-mobile mobile login page --- 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 '

+ +
+ +
+ + +