-
Notifications
You must be signed in to change notification settings - Fork 2
/
hook.xml
70 lines (69 loc) · 2.02 KB
/
hook.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
70
<?xml version="1.0" encoding="UTF-8"?>
<!-- Mandatory first XML node -->
<hookstore>
<!--
Add languages if your plugin need to add dedicated translation to it here :
One <value></value> for each lang
Available languages :
br_BR - Brazilian Portuguese
cs_CZ - Czech
de_DE - German
en_GB - English
es_ES - Spanish
fr_FR - French
it_IT - Italian
ja_JP - Japanese
nl_NL - Dutch
pl_PL - Polish
pt_PT - Portuguese
ru_RU - Russian
si_SI - Sinhalese
tr_TR - Turkish
ug_UY - Uighur
uk_UA - Ukrainian
zh_CN - Chinese
-->
<hook type="lang">
<value>en_GB</value>
</hook>
<!--
This will add a new computer detail entry to show computer related data :
identifier : (php file name needs to match identifier)
translation : corresponding translation code for the extension's name
category :
admin
hardware
software
network
devices
config
teledeploy
other
available : needs to be the identifier without "cd_"
-->
<hook type="cdentry">
<identifier>cd_example</identifier>
<translation>25632</translation>
<category>other</category>
<available>example</available>
</hook>
<!--
This node will add a new submenu inside OCS WebUI :
mainmenuidentifier :
ms_all_computers
ms_inventory
ms_teledeploy
ms_config
ms_regconfig
ms_extension
ms_logs
ms_help
identifier : (php file name needs to match identifier)
translation : corresponding translation code for the extension's name
-->
<hook type="submenu">
<mainmenuidentifier>ms_extension</mainmenuidentifier>
<identifier>ms_example</identifier>
<translation>25633</translation>
</hook>
</hookstore>