-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbbcode.xml
More file actions
40 lines (39 loc) · 1.63 KB
/
bbcode.xml
File metadata and controls
40 lines (39 loc) · 1.63 KB
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
<?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 http://www.woltlab.com/XSD/6.0/bbcode.xsd">
<import>
<bbcode name="unixtime">
<classname>wcf\system\bbcode\UnixTimestampBBCode</classname>
<wysiwygicon>clock</wysiwygicon>
<buttonlabel>wcf.editor.button.unix</buttonlabel>
<attributes>
<attribute name="0">
<validationpattern>^\d+$</validationpattern>
<required>1</required>
<usetext>1</usetext>
</attribute>
<attribute name="1">
<validationpattern>^\D+$</validationpattern>
</attribute>
<attribute name="2">
<validationpattern>^\D+$</validationpattern>
</attribute>
<attribute name="3">
<validationpattern>^\D+$</validationpattern>
</attribute>
</attributes>
</bbcode>
<bbcode name="unixrelative">
<classname>wcf\system\bbcode\UnixRelativeBBCode</classname>
<attributes>
<attribute name="0">
<validationpattern>^\d+$</validationpattern>
<required>1</required>
<usetext>1</usetext>
</attribute>
<attribute name="1">
<validationpattern>^\D+$</validationpattern>
</attribute>
</attributes>
</bbcode>
</import>
</data>