/
config.xml
111 lines (106 loc) · 3.75 KB
/
config.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<?xml version="1.0" encoding="UTF-8"?>
<!--
Default configuration for the multiplechoice question template.
-->
<config>
<!-- Those metadata will be displayed in the template configuration page. They are not used for now. -->
<metadata>
<name>ranking_advanced</name>
<type>question_theme</type>
<title>Ranking Advanced</title>
<creationDate>15/11/2017</creationDate>
<author>Markus Flür</author>
<authorEmail>mfluer@limesurvey.org</authorEmail>
<authorUrl>http://www.limesurvey.org</authorUrl>
<copyright>Copyright (C) 2005 - 2017 LimeSurvey Gmbh, Inc. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later</license>
<version>1.0</version>
<apiVersion>1</apiVersion>
<description>New implementation of the ranking question</description>
<questionType>R</questionType>
<group>Mask questions</group>
<subquestions>0</subquestions>
<answerscales>1</answerscales>
<hasdefaultvalues>0</hasdefaultvalues>
<assessable>1</assessable>
<class>ranking</class>
</metadata>
<compatibility>
<version>4.0</version>
</compatibility>
<!--
Here the list of the css/js files to load.
Any file here will be loaded via the asset manager (when in config.php debug = 0)
-->
<files>
<css>
<filename>css/ranking.css</filename>
</css>
<js>
<filename>scripts/advanced_ranking.js</filename>
</js>
</files>
<attributes>
<attribute>
<name>show_handle</name>
<category>Display</category>
<sortorder>90</sortorder>
<inputtype>buttongroup</inputtype>
<options>
<no>No</no>
<yes>Yes</yes>
</options>
<default>no</default>
<help>Show a handle for drag and drop</help>
<caption>Show handle: </caption>
</attribute>
<attribute>
<name>show_number</name>
<category>Display</category>
<sortorder>90</sortorder>
<inputtype>buttongroup</inputtype>
<options>
<no>No</no>
<yes>Yes</yes>
</options>
<default>no</default>
<help>Show the actual list numbers</help>
<caption>Show number: </caption>
</attribute>
<attribute>
<name>only_pull</name>
<category>Display</category>
<sortorder>90</sortorder>
<inputtype>buttongroup</inputtype>
<options>
<no>No</no>
<yes>Yes</yes>
</options>
<default>no</default>
<help>Allow only moving the answers</help>
<caption>Without reorder: </caption>
</attribute>
<attribute>
<name>visualize</name>
<category>Display</category>
<sortorder>90</sortorder>
<inputtype>singleselect</inputtype>
<options>
<list>List</list>
<bubbles>Bubbles</bubbles>
<blocks>Blocks</blocks>
<buttons>Buttons</buttons>
</options>
<default>list</default>
<help>Change visualization of the ranking question</help>
<caption>Viuzialisation: </caption>
</attribute>
</attributes>
<!-- Here datas about how LimeSurvey should load the core js/css of the question -->
<engine>
<load_core_css>true</load_core_css>
<load_core_js>true</load_core_js>
<show_as_template>true</show_as_template>
<show_as_question_type>true</show_as_question_type>
</engine>
</config>