1<?php
2// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project
3//
4// All Rights Reserved. See copyright.txt for details and a complete list of authors.
5// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
6// $Id$
7
8function prefs_activity_list()
9{
10	return [
11		'activity_basic_events' => [
12			'name' => tr('Record basic events'),
13			'description' => tr('Enable recording of basic internal Tiki events. This is primarily for entry level options. Using custom events is strongly encouraged.'),
14			'help' => 'Activity+Stream',
15			'type' => 'flag',
16			'default' => 'n',
17		],
18		'activity_basic_tracker_update' => [
19			'name' => tr('Record tracker item update'),
20			'description' => tr('Enable recording of basic internal Tiki events.'),
21			'dependencies' => ['activity_basic_events', 'feature_trackers'],
22			'help' => 'Activity+Stream',
23			'type' => 'flag',
24			'default' => 'n',
25		],
26		'activity_basic_tracker_create' => [
27			'name' => tr('Record tracker item creation'),
28			'description' => tr('Enable recording of basic internal Tiki events.'),
29			'dependencies' => ['activity_basic_events', 'feature_trackers'],
30			'help' => 'Activity+Stream',
31			'type' => 'flag',
32			'default' => 'n',
33		],
34		'activity_basic_user_follow_add' => [
35			'name' => tr('Record user following users'),
36			'description' => tr('Enable recording of basic internal Tiki events.'),
37			'dependencies' => ['activity_basic_events', 'feature_friends'],
38			'help' => 'Activity+Stream',
39			'type' => 'flag',
40			'default' => 'n',
41		],
42		'activity_basic_user_follow_incoming' => [
43			'name' => tr('Record user being followed by users'),
44			'description' => tr('Enable recording of basic internal Tiki events.'),
45			'dependencies' => ['activity_basic_events', 'feature_friends'],
46			'help' => 'Activity+Stream',
47			'type' => 'flag',
48			'default' => 'n',
49		],
50		'activity_basic_user_friend_add' => [
51			'name' => tr('Record user adding new friend'),
52			'description' => tr('Enable recording of basic internal Tiki events.'),
53			'dependencies' => ['activity_basic_events', 'feature_friends'],
54			'help' => 'Activity+Stream',
55			'type' => 'flag',
56			'default' => 'n',
57		],
58		'activity_custom_events' => [
59			'name' => tr('Custom activities'),
60			'description' => tr('Allow the defining of custom behaviors in addition to internal events.'),
61			'help' => 'Activity+Stream',
62			'type' => 'flag',
63			'default' => 'n',
64		],
65		'activity_notifications' => [
66			'name' => tr('Enable notifications through activities'),
67			'description' => tr('Allow users to create notifications using activities.'),
68			'help' => 'Activity+Notifications',
69			'type' => 'flag',
70			'default' => 'n',
71		],
72	];
73}
74