add tabs for each application

This commit is contained in:
Ralf Becker 2013-06-25 13:14:27 +00:00
parent a05ac6fa11
commit aa221a4e77

View File

@ -7,7 +7,7 @@
* @package api * @package api
* @subpackage groupdav * @subpackage groupdav
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de> * @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @copyright (c) 2010-12 by Ralf Becker <RalfBecker-AT-outdoor-training.de> * @copyright (c) 2010-13 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @version $Id$ * @version $Id$
*/ */
@ -69,6 +69,10 @@ class groupdav_hooks
$class_name = $app.'_groupdav'; $class_name = $app.'_groupdav';
if (class_exists($class_name, true)) if (class_exists($class_name, true))
{ {
$settings[] = array(
'type' => 'section',
'title' => $app,
);
$settings += call_user_func(array($class_name,'get_settings'), $hook_data); $settings += call_user_func(array($class_name,'get_settings'), $hook_data);
} }
} }