egroupware/addressbook/setup/setup.inc.php

67 lines
3.2 KiB
PHP
Raw Normal View History

<?php
/**
2010-09-05 17:24:34 +02:00
* EGroupware - Addressbook
*
* @package addressbook
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
*/
/* Basic information about this app */
$setup_info['addressbook']['name'] = 'addressbook';
$setup_info['addressbook']['title'] = 'Addressbook';
2019-07-16 10:46:59 +02:00
$setup_info['addressbook']['version'] = '19.1';
$setup_info['addressbook']['app_order'] = 4;
$setup_info['addressbook']['enable'] = 1;
$setup_info['addressbook']['index'] = 'addressbook.addressbook_ui.index&ajax=true';
$setup_info['addressbook']['author'] = 'Ralf Becker, Cornelius Weiss, Lars Kneschke';
$setup_info['addressbook']['license'] = 'GPL';
$setup_info['addressbook']['description'] =
'Contact manager with Vcard support.<br />
Always have your address book available for updates or look ups from anywhere. <br />
Share address book contact information with others. <br />
Link contacts to calendar events or InfoLog entires like phonecalls.<br />
Addressbook is the eGroupWare default contact application. <br />
It stores contact information via SQL or LDAP and provides contact services via the eGroupWare API.';
2009-03-30 16:12:21 +02:00
$setup_info['addressbook']['maintainer'] = array(
'name' => 'Ralf Becker',
'email' => 'ralfbecker@outdoor-training.de'
);
$setup_info['addressbook']['tables'] = array(); // addressbook tables are in the API!
/* The hooks this app includes, needed for hooks registration */
$setup_info['addressbook']['hooks']['admin'] = 'addressbook_hooks::all_hooks';
$setup_info['addressbook']['hooks']['sidebox_menu'] = 'addressbook_hooks::all_hooks';
$setup_info['addressbook']['hooks']['settings'] = 'addressbook_hooks::settings';
$setup_info['addressbook']['hooks']['deleteaccount'] = 'addressbook.addressbook_bo.deleteaccount';
$setup_info['addressbook']['hooks']['deletegroup'] = 'addressbook.addressbook_bo.deleteaccount';
$setup_info['addressbook']['hooks']['delete_category'] = 'addressbook.addressbook_bo.delete_category';
$setup_info['addressbook']['hooks']['search_link'] = 'addressbook_hooks::search_link';
$setup_info['addressbook']['hooks']['calendar_resources'] = 'addressbook_hooks::calendar_resources';
2016-04-25 17:57:38 +02:00
$setup_info['addressbook']['hooks']['config'] = 'addressbook_hooks::config';
$setup_info['addressbook']['hooks']['group_acl'] = 'addressbook_hooks::group_acl';
$setup_info['addressbook']['hooks']['not_enum_group_acls'] = 'addressbook_hooks::not_enum_group_acls';
$setup_info['addressbook']['hooks']['export_limit'] = 'addressbook_hooks::getAppExportLimit';
2013-08-26 20:25:43 +02:00
$setup_info['addressbook']['hooks']['acl_rights'] = 'addressbook_hooks::acl_rights';
$setup_info['addressbook']['hooks']['categories'] = 'addressbook_hooks::categories';
$setup_info['addressbook']['hooks']['groupdav_root_props'] = 'addressbook_groupdav::groupdav_root_props';
/* Dependencies for this app to work */
$setup_info['addressbook']['depends'][] = array(
2016-04-29 12:41:53 +02:00
'appname' => 'api',
2019-07-16 10:46:59 +02:00
'versions' => Array('19.1')
);
// installation checks for addresbook
$setup_info['addressbook']['check_install'] = array(
'gd' => array(
'func' => 'extension_check',
),
'imagecreatefromjpeg' => array(
2006-11-07 07:35:29 +01:00
'func' => 'function_check',
'warning' => "The imagecreatefromjpeg function is supplied by the gd extension (complied with jpeg support!). It's needed to upload photos for contacts.",
),
);