2001-05-19 08:09:07 +02:00
|
|
|
<?php
|
2008-10-10 13:51:29 +02:00
|
|
|
/**
|
2010-09-05 17:24:34 +02:00
|
|
|
* EGroupware - Preferences
|
2008-10-10 13:51:29 +02:00
|
|
|
*
|
|
|
|
* @link http://www.egroupware.org
|
|
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
|
|
* @package preferences
|
|
|
|
* @subpackage setup
|
|
|
|
*/
|
2003-08-28 16:31:11 +02:00
|
|
|
|
2008-10-10 13:51:29 +02:00
|
|
|
$setup_info['preferences']['name'] = 'preferences';
|
|
|
|
$setup_info['preferences']['title'] = 'Preferences';
|
2023-02-28 08:49:36 +01:00
|
|
|
$setup_info['preferences']['version'] = '23.1';
|
2008-10-10 13:51:29 +02:00
|
|
|
$setup_info['preferences']['app_order'] = 1;
|
|
|
|
$setup_info['preferences']['tables'] = '';
|
|
|
|
$setup_info['preferences']['enable'] = 2;
|
2010-06-09 08:38:00 +02:00
|
|
|
$setup_info['preferences']['license'] = 'GPL';
|
2013-11-18 09:22:19 +01:00
|
|
|
$setup_info['preferences']['index'] = 'preferences.preferences_settings.index&ajax=true';
|
2001-06-03 22:56:46 +02:00
|
|
|
|
2008-10-10 13:51:29 +02:00
|
|
|
/* The hooks this app includes, needed for hooks registration */
|
2009-10-12 11:41:46 +02:00
|
|
|
$setup_info['preferences']['hooks']['deleteaccount'] = 'preferences_hooks::deleteaccount';
|
2010-01-27 06:44:31 +01:00
|
|
|
$setup_info['preferences']['hooks']['deletegroup'] = 'preferences_hooks::deleteaccount';
|
2009-10-12 11:41:46 +02:00
|
|
|
$setup_info['preferences']['hooks']['settings'] = 'preferences_hooks::settings';
|
2013-05-11 10:51:06 +02:00
|
|
|
$setup_info['preferences']['hooks']['edit_user'] = 'preferences_hooks::edit_user';
|
2013-05-15 11:37:20 +02:00
|
|
|
$setup_info['preferences']['hooks']['view_user'] = 'preferences_hooks::edit_user';
|
|
|
|
$setup_info['preferences']['hooks']['edit_group'] = 'preferences_hooks::edit_user';
|
|
|
|
$setup_info['preferences']['hooks']['group_manager'] = 'preferences_hooks::edit_user';
|
2013-10-02 18:29:08 +02:00
|
|
|
$setup_info['preferences']['hooks']['admin'] = 'preferences_hooks::admin';
|
|
|
|
$setup_info['preferences']['hooks']['deny_prefs'] = 'preferences_hooks::deny_prefs';
|
|
|
|
$setup_info['preferences']['hooks']['deny_acl'] = 'preferences_hooks::deny_acl';
|
|
|
|
$setup_info['preferences']['hooks']['deny_cats'] = 'preferences_hooks::deny_cats';
|
2023-07-11 13:39:46 +02:00
|
|
|
// Token / application passwords GUI for regular users
|
|
|
|
$setup_info['preferences']['hooks']['preferences_security'] = \EGroupware\Preferences\Token::class.'::security';
|
2001-05-29 16:15:53 +02:00
|
|
|
|
2008-10-10 13:51:29 +02:00
|
|
|
/* Dependencies for this app to work */
|
|
|
|
$setup_info['preferences']['depends'][] = array(
|
2016-04-30 19:16:36 +02:00
|
|
|
'appname' => 'api',
|
2023-02-28 08:49:36 +01:00
|
|
|
'versions' => Array('23.1')
|
|
|
|
);
|