-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathmod_sched_tasks.xml
69 lines (56 loc) · 1.87 KB
/
mod_sched_tasks.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
<id>temar:TEA</id>
<version>1.00</version>
<file name="$sourcedir/ScheduledTasks.php">
<operation>
<search position="end"/>
<add><![CDATA[
function scheduled_TEA_cron()
{
Global $sourcedir,$tea;
require_once($sourcedir."/TEA.php");
$tea -> update_api(FALSE);
return true;
}
function scheduled_TEA_jabber_cron()
{
Global $sourcedir,$teaj;
require_once($sourcedir."/TEA.php");
$teaj -> check_access();
return true;
}
function scheduled_TEA_ts_access_cron()
{
Global $sourcedir,$teats;
require_once($sourcedir."/TEA.php");
$teats -> check_access();
return true;
}
function scheduled_TEA_ts_names_cron()
{
Global $sourcedir,$teats;
require_once($sourcedir."/TEA.php");
$teats -> check_names();
return true;
}
]]></add>
</operation>
</file>
<file name="$languagedir/ManageScheduledTasks.english.php">
<operation>
<search position="end" />
<add><![CDATA[
$txt['scheduled_task_TEA_cron'] = 'Poll Eveapi API for forum members';
$txt['scheduled_task_desc_TEA_cron'] = 'Connects to the Eve-online api and updates forum member details.';
$txt['scheduled_task_TEA_jabber_cron'] = 'Update Jabber for Eve forum members';
$txt['scheduled_task_desc_TEA_jabber_cron'] = 'Syncronises forum groups to Openfire.';
$txt['scheduled_task_TEA_ts_access_cron'] = 'Update TS for Eve forum members';
$txt['scheduled_task_desc_TEA_ts_access_cron'] = 'Syncronises forum groups to TS.';
$txt['scheduled_task_TEA_ts_names_cron'] = 'Kick unaurthorised Eve members from TS';
$txt['scheduled_task_desc_TEA_ts_names_cron'] = 'Kick unaurthorised Eve members from TS.';
]]></add>
</operation>
</file>
</modification>