-
Notifications
You must be signed in to change notification settings - Fork 988
/
config.xml
165 lines (147 loc) · 7.59 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<?xml version="1.0" encoding="UTF-8"?>
<!--
Default configuration for the template.
In future versions of LimeSurvey, it will be used to fill a template table,
and to give user control on template configuration (like variables to use to render the questions, banners, background, etc.)
-->
<config>
<!-- Those metadata will be displayed in the template configuration page. They are not used for now. -->
<metadatas>
<name>Default</name>
<creationDate>08/01/2016</creationDate>
<author>Louis-Sébastien Gac Artigas</author>
<authorEmail>louis.gac@limesurvey.org</authorEmail>
<authorUrl>http://www.limesurvey.org</authorUrl>
<copyright>Copyright (C) 2005 - 2016 LimeSurvey Gmbh, Inc. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later</license>
<version>2.0</version>
<apiVersion>3</apiVersion>
<description>Default LimeSurvey Template.</description>
<last_update>2016-11-14 17:21:00</last_update>
</metadatas>
<!--
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/template.css</filename>
</css>
<js>
<filename>scripts/template.js</filename>
</js>
<print_css>
<filename>css/print_template.css</filename>
</print_css>
<!-- The logo is used for now only for Surveys List -->
<logo>
<filename>files/logo.png</filename>
</logo>
</files>
<!-- Here datas about how LimeSurvey should load the template -->
<engine>
<!-- If empty, bootstrap css/js files will not be loaded. In the future, we may have more engines, like foundation -->
<cssframework>
<name>bootstrap</name>
<css replace="css/bootstrap.css">css/bootstrap.css</css>
<css replace="css/yiistrap.css"></css>
</cssframework>
<!-- Path of the pstpl files -->
<pstpldirectory>views</pstpldirectory>
<!--
Set to yes to overwrite the question views,
then, just copy application/views/survey/* to template/{your_view_directory}/survey/
You also must allow the template to overwrite the views from your site configuration
In application/config/config.php, find : 'config'=>array
and add this line in it : 'allow_templates_to_overwrite_views'=>1
-->
<overwrite_question_views>false</overwrite_question_views>
<!-- Path of the views files (can be different than pstpl -->
<viewdirectory>views</viewdirectory>
<!-- Asset manager will copy the whole template directory to tmp. So it's possible to refer any file in the files directory in CSS via relative path (e.g: '../files/foo.jpg') -->
<filesdirectory>files</filesdirectory>
<!-- Here, you can publish packages set as third party extensions in application/config/third_party or application/config/package -->
<!-- If bootstrap is registered as a css framework, it will be loaded first -->
<packages>
<package>template-default</package>
<ltr>
<package>template-default-ltr</package>
</ltr>
<rtl>
<package>template-default-rtl</package>
</rtl>
</packages>
<!--
List of pages/files for tempalte editor
When a user select a page, the related files will be offer in the editable files
-->
<template_editor>
<screens>
<question>
<file type="view" role="layout">layout_global.twig</file>
<file type="view" role="layout">layout_main.twig</file>
<file type="view" role="subview">./subviews/survey/group.twig</file>
<file type="view" role="subview">./subviews/survey/question.twig</file>
<file type="view" role="subview">./subviews/nav_bar.twig</file>
<file type="view" role="subview">./subviews/head.twig</file>
<file type="view" role="subview">./subviews/warnings.twig</file>
<file type="view" role="subview">./subviews/progess_bar.twig</file>
<file type="view" role="subview">./subviews/no_js_alert.twig</file>
<file type="view" role="subview">./subviews/language_changer.twig</file>
<file type="css">./css/template.css</file>
<file type="js">./scripts/template.js</file>
</question>
<surveylist>
<file type="view" role="layout">layout_global.twig</file>
<file type="view" role="layout">layout_survey_list.twig</file>
<file type="css">./css/template.css</file>
<file type="js">./scripts/template.js</file>
</surveylist>
<welcome>
<file type="view" role="layout">layout_global.twig</file>
<file type="view" role="layout">layout_first_page.twig</file>
<file type="view" role="subview">./subviews/welcome.twig</file>
<file type="view" role="subview">./subviews/warnings.twig</file>
<file type="view" role="subview">./subviews/no_js_alert.twig</file>
<file type="view" role="subview">./subviews/privacy/privacy.twig</file>
<file type="css">./css/template.css</file>
<file type="js">./scripts/template.js</file>
</welcome>
<completed>
<file type="view" role="layout">layout_global.twig</file>
<file type="view" role="layout">layout_submit.twig</file>
<file type="css">./css/template.css</file>
<file type="js">./scripts/template.js</file>
</completed>
<assessments>
<file type="view" role="layout">layout_global.twig</file>
<file type="view" role="layout">layout_submit.twig</file>
<file type="view" role="subview">./subviews/assessments.twig</file>
<file type="css">./css/template.css</file>
<file type="js">./scripts/template.js</file>
</assessments>
<error>
<file type="view" role="layout">layout_errors.twig</file>
</error>
<clearall>
<file type="view" role="layout">layout_global.twig</file>
<file type="view" role="layout">layout_clearall.twig</file>
<file type="css">./css/template.css</file>
<file type="js">./scripts/template.js</file>
</clearall>
<load>
<file type="view" role="layout">layout_global.twig</file>
<file type="view" role="layout">layout_load.twig</file>
<file type="css">./css/template.css</file>
<file type="js">./scripts/template.js</file>
</load>
<save>
<file type="view" role="layout">layout_global.twig</file>
<file type="view" role="layout">layout_save.twig</file>
<file type="css">./css/template.css</file>
<file type="js">./scripts/template.js</file>
</save>
</screens>
</template_editor>
</engine>
</config>