This repository has been archived by the owner on Aug 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheventListener.xml
56 lines (51 loc) · 2.72 KB
/
eventListener.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
<?xml version="1.0" encoding="utf-8"?>
<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com https://www.woltlab.com/XSD/5.4/eventListener.xsd">
<import>
<!-- admin -->
<eventlistener name="openAuthAvatarEditListenerAdmin">
<eventclassname>wcf\acp\form\UserEditForm</eventclassname>
<eventname>readData,assignVariables,save,saved</eventname>
<listenerclassname>wcf\system\event\listener\OpenAuthAvatarEditListener</listenerclassname>
<environment>admin</environment>
<inherit>1</inherit>
</eventlistener>
<eventlistener name="openAuthUserProfileListenerAdmin">
<eventclassname>wcf\data\user\UserProfile</eventclassname>
<eventname>getAvatar</eventname>
<listenerclassname>wcf\system\event\listener\OpenAuthUserProfileListener</listenerclassname>
<environment>admin</environment>
<inherit>1</inherit>
</eventlistener>
<!-- /admin -->
<!-- user -->
<eventlistener name="openAuthRegisterListener">
<eventclassname>wcf\form\RegisterForm</eventclassname>
<eventname>readData,submit,save,registerVia3rdParty,saved</eventname>
<inherit>1</inherit>
<environment>user</environment>
<listenerclassname>wcf\system\event\listener\OpenAuthRegisterListener</listenerclassname>
</eventlistener>
<eventlistener name="openAuthAccountManagementListener">
<eventclassname>wcf\form\AccountManagementForm</eventclassname>
<eventname>readFormParameters,assignVariables,save,saved</eventname>
<inherit>1</inherit>
<environment>user</environment>
<listenerclassname>wcf\system\event\listener\OpenAuthAccountManagementListener</listenerclassname>
</eventlistener>
<eventlistener name="openAuthAvatarEditListener">
<eventclassname>wcf\form\AvatarEditForm</eventclassname>
<eventname>readData,assignVariables,save,saved</eventname>
<listenerclassname>wcf\system\event\listener\OpenAuthAvatarEditListener</listenerclassname>
<environment>user</environment>
<inherit>1</inherit>
</eventlistener>
<eventlistener name="openAuthUserProfileListener">
<eventclassname>wcf\data\user\UserProfile</eventclassname>
<eventname>getAvatar</eventname>
<listenerclassname>wcf\system\event\listener\OpenAuthUserProfileListener</listenerclassname>
<environment>user</environment>
<inherit>1</inherit>
</eventlistener>
<!-- /user -->
</import>
</data>