From: Michael M Slusarz Date: Fri, 31 Jul 2009 04:06:32 +0000 (-0600) Subject: Indicate that IMP has a mobile view X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=a51e0dc9b6e7a0abc20e7fa0ebb6b5175fad1849;p=horde.git Indicate that IMP has a mobile view --- diff --git a/imp/lib/api.php b/imp/lib/api.php index c616dec7d..8f8521a3d 100644 --- a/imp/lib/api.php +++ b/imp/lib/api.php @@ -124,6 +124,12 @@ $_services = array( 'type' => 'boolean' ), + /* Indicate that mobile view is available. */ + 'mobileView' => array( + 'args' => array(), + 'type' => 'boolean' + ), + /* Cache display method. */ 'cacheOutput' => array( 'args' => array( @@ -581,8 +587,20 @@ function _imp_cacheOutput($params) } } -/* - * TODO +/** + * Indicate that IMP supports a mobile view. + * + * @return boolean True. + */ +function _imp_mobileView() +{ + return true; +} + +/** + * Return login parameters used on the login page. + * + * @return array TODO */ function _imp_authLoginParams() {