Merge branch '2.1'
[GitHub/WoltLab/com.woltlab.wcf.conversation.git] / option.xml
CommitLineData
9544b6b4 1<?xml version="1.0" encoding="UTF-8"?>
29482d84 2<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/vortex/option.xsd">
9544b6b4
MW
3 <import>
4 <categories>
5 <category name="message.conversation">
6 <parent>message</parent>
7 <options>module_conversation</options>
8 </category>
9 </categories>
9a980472 10
9544b6b4
MW
11 <options>
12 <option name="module_conversation">
763ccf2c 13 <categoryname>module.community</categoryname>
9544b6b4
MW
14 <optiontype>boolean</optiontype>
15 <defaultvalue>1</defaultvalue>
16 </option>
17
18 <option name="conversations_per_page">
19 <categoryname>message.conversation</categoryname>
20 <optiontype>integer</optiontype>
5af3f33c
MW
21 <defaultvalue>10</defaultvalue>
22 <minvalue>5</minvalue>
23 <maxvalue>40</maxvalue>
9544b6b4
MW
24 </option>
25 <option name="conversation_messages_per_page">
26 <categoryname>message.conversation</categoryname>
27 <optiontype>integer</optiontype>
5af3f33c
MW
28 <defaultvalue>20</defaultvalue>
29 <minvalue>5</minvalue>
30 <maxvalue>40</maxvalue>
9544b6b4
MW
31 </option>
32
65a160b7
AE
33 <option name="conversation_reply_show_messages_max">
34 <categoryname>message.conversation</categoryname>
35 <optiontype>integer</optiontype>
36 <defaultvalue>10</defaultvalue>
5af3f33c
MW
37 <minvalue>5</minvalue>
38 <maxvalue>40</maxvalue>
65a160b7
AE
39 </option>
40
9544b6b4
MW
41 <option name="conversation_list_default_sort_field">
42 <categoryname>message.conversation</categoryname>
43 <optiontype>select</optiontype>
44 <defaultvalue>lastPostTime</defaultvalue>
f58effd4
MS
45 <selectoptions>subject:wcf.global.subject
46lastPostTime:wcf.conversation.lastPostTime</selectoptions>
9544b6b4
MW
47 </option>
48 <option name="conversation_list_default_sort_order">
49 <categoryname>message.conversation</categoryname>
50 <optiontype>select</optiontype>
51 <defaultvalue>DESC</defaultvalue>
f58effd4
MS
52 <selectoptions>ASC:wcf.global.sortOrder.ascending
53DESC:wcf.global.sortOrder.descending</selectoptions>
9544b6b4
MW
54 </option>
55 </options>
56 </import>
57</data>