add FileHandlerMobile
This allow to use plugins in mobile interface
This commit is contained in:
parent
28c56c50c9
commit
e599013582
7 changed files with 49 additions and 0 deletions
|
@ -26,6 +26,13 @@ if(!class_exists('BMAddressbook'))
|
|||
include('../serverlib/addressbook.class.php');
|
||||
RequestPrivileges(PRIVILEGES_USER | PRIVILEGES_MOBILE);
|
||||
|
||||
/**
|
||||
* file handler for modules
|
||||
*/
|
||||
ModuleFunction('FileHandlerMobile',
|
||||
array(substr(__FILE__, strlen(__DIR__)+1),
|
||||
isset($_REQUEST['action']) ? $_REQUEST['action'] : ''));
|
||||
|
||||
/**
|
||||
* calendar interface
|
||||
*/
|
||||
|
|
|
@ -24,6 +24,13 @@ if(!class_exists('BMAddressbook'))
|
|||
include('../serverlib/addressbook.class.php');
|
||||
RequestPrivileges(PRIVILEGES_USER | PRIVILEGES_MOBILE);
|
||||
|
||||
/**
|
||||
* file handler for modules
|
||||
*/
|
||||
ModuleFunction('FileHandlerMobile',
|
||||
array(substr(__FILE__, strlen(__DIR__)+1),
|
||||
isset($_REQUEST['action']) ? $_REQUEST['action'] : ''));
|
||||
|
||||
/**
|
||||
* addressbook interface
|
||||
*/
|
||||
|
|
|
@ -26,6 +26,13 @@ if(!class_exists('BMMailBuilder'))
|
|||
include('../serverlib/mailbuilder.class.php');
|
||||
RequestPrivileges(PRIVILEGES_USER | PRIVILEGES_MOBILE);
|
||||
|
||||
/**
|
||||
* file handler for modules
|
||||
*/
|
||||
ModuleFunction('FileHandlerMobile',
|
||||
array(substr(__FILE__, strlen(__DIR__)+1),
|
||||
isset($_REQUEST['action']) ? $_REQUEST['action'] : ''));
|
||||
|
||||
/**
|
||||
* open mailbox
|
||||
*/
|
||||
|
|
|
@ -21,6 +21,13 @@
|
|||
|
||||
include('../serverlib/init.inc.php');
|
||||
|
||||
/**
|
||||
* file handler for modules
|
||||
*/
|
||||
ModuleFunction('FileHandlerMobile',
|
||||
array(substr(__FILE__, strlen(__DIR__)+1),
|
||||
isset($_REQUEST['action']) ? $_REQUEST['action'] : ''));
|
||||
|
||||
/**
|
||||
* delete no redirect cookie, if exists
|
||||
*/
|
||||
|
|
|
@ -24,6 +24,13 @@ if(!class_exists('BMTodo'))
|
|||
include('../serverlib/todo.class.php');
|
||||
RequestPrivileges(PRIVILEGES_USER | PRIVILEGES_MOBILE);
|
||||
|
||||
/**
|
||||
* file handler for modules
|
||||
*/
|
||||
ModuleFunction('FileHandlerMobile',
|
||||
array(substr(__FILE__, strlen(__DIR__)+1),
|
||||
isset($_REQUEST['action']) ? $_REQUEST['action'] : ''));
|
||||
|
||||
/**
|
||||
* todo interface
|
||||
*/
|
||||
|
|
|
@ -26,6 +26,13 @@ if(!class_exists('BMZIP'))
|
|||
include('../serverlib/zip.class.php');
|
||||
RequestPrivileges(PRIVILEGES_USER | PRIVILEGES_MOBILE);
|
||||
|
||||
/**
|
||||
* file handler for modules
|
||||
*/
|
||||
ModuleFunction('FileHandlerMobile',
|
||||
array(substr(__FILE__, strlen(__DIR__)+1),
|
||||
isset($_REQUEST['action']) ? $_REQUEST['action'] : ''));
|
||||
|
||||
/**
|
||||
* open webdisk
|
||||
*/
|
||||
|
|
|
@ -400,6 +400,13 @@ class BMPlugin
|
|||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* user page handler for mobile interface.
|
||||
*/
|
||||
public function FileHandlerMobile($file, $action)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* admin page handler.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue