config.xml 28.6 KB
Newer Older
1 2
<?xml version="1.0" encoding="UTF-8"?>
<!--
3
    Base configuration for SkelVanilla Theme.
4 5 6 7 8
    The content of this file is imported into DB when you install the template.
-->
<config>
    <!-- Those metadata are displayed in the theme configuration page.  -->
    <metadata>
Chenu Denis's avatar
Chenu Denis committed
9
        <name>skelvanilla</name>
10
        <type>theme</type>
Chenu Denis's avatar
Chenu Denis committed
11
        <title>SkelVanilla</title>
Chenu Denis's avatar
Chenu Denis committed
12
        <creationDate>2018-10-29</creationDate>
13 14
        <author>Denis Chenu</author>
        <authorEmail>noreply@sondages.pro</authorEmail>
15
        <authorUrl>https://www.sondages.pro/contact</authorUrl>
16
        <supportUrl>https://extensions.sondages.pro/themes-and-templates/skelvanilla-a11y-and-usuability/</supportUrl>
17
        <copyright>Copyright (C) 2018-2020 Denis Chenu / Sondages Pro</copyright>
18
        <license>GNU General Public License version 3 or later</license>
19
        <version>9.2.2</version>
20
        <apiVersion>3</apiVersion>
21
        <description><![CDATA[<strong>LimeSurvey Bootstrap Vanilla Survey Theme with Accessibility and Options</strong><br>Base on vanilla theme, usage of more aria, fix some role and aria from core.<br>Allow usage of a lot of variations, list of variation can be updated. Some decoration option using boostrap class.]]></description>
22
        <extends>vanilla</extends>
23 24
        <last_update>2020-07-01 07:34:48</last_update>
        <lastUpdate>2020-07-01 07:34:48</lastUpdate>
25
    </metadata>
26 27 28

    <files>
        <css>
29
            <remove>css/ajaxify.css</remove>
Chenu Denis's avatar
Chenu Denis committed
30
            <remove>noto.css</remove>
31
            <remove>yiistrap.css</remove>
Chenu Denis's avatar
Chenu Denis committed
32
            <remove>bootstrap-slider.css</remove>
33
            <remove>awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css</remove>
34
            <remove>awesome-bootstrap-checkbox/awesome-bootstrap-checkbox-rtl.css</remove>
35
            <remove>css/noTablesOnMobile.css</remove>
36
            <remove>template-core.css</remove>
Chenu Denis's avatar
Chenu Denis committed
37 38
            <remove>css/theme.css</remove>
            <remove>css/custom.css</remove>
Chenu Denis's avatar
Chenu Denis committed
39
            <add>css/skelvanilla.css</add>
40 41
        </css>
        <js>
42
            <remove>scripts/ajaxify.js</remove>
43
            <add>scripts/aria-live.js</add>
44
            <add>scripts/theme-vanilla.js</add>
45
            <add>scripts/skelvanilla.js</add>
46 47
            <add>scripts/theme.js</add>
            <add>scripts/custom.js</add>
48 49
        </js>
    </files>
50
    <!-- css/lsboostrap.css + css/theme.css + css/custom.css and scripts/theme.js, scripts/custom.js added in global_layout -->
51
    <!-- You can add here any option you want. It will be available in twig file via aSurveyInfo.options.youroptionname -->
52
    <!-- List of available variation, can use 0 to disable partially, remove or use "disable" : "1" to disable it -->
53 54 55
    <options>
        <hideprivacyinfo>off</hideprivacyinfo>
        <container>on</container>
56 57
        <questionhtag>off</questionhtag>
        <brandlogo>off</brandlogo>
58
        <brandlogofile>./files/logo.png</brandlogofile>
59 60 61
        <surveylistlogo>on</surveylistlogo>
        <surveylistlogofile>./files/survey_list_header.png</surveylistlogofile>
        <poweredlogo>on</poweredlogo>
62
        <poweredlogofile>./files/poweredby.png</poweredlogofile>
63 64
        <poweredlink>https://sondages.pro</poweredlink>
        <poweredtext>Theme by Sondages Pro</poweredtext>
65
        <showpopups>0</showpopups>
66 67 68
        <questioncolor>primary</questioncolor>
        <questionwrap>none</questionwrap>
        <questionsize>h4</questionsize>
69 70
        <helpcolor>text-info</helpcolor>
        <validitycolor>text-info</validitycolor>
71
        <fixedheader>off</fixedheader>
Chenu Denis's avatar
Chenu Denis committed
72
        <theme>off</theme>
73 74
        <bodyloaded>on</bodyloaded>
        <removeback>on</removeback>
75
        <fixnumauto>disable</fixnumauto>
76
        <dynamicvalidity>off</dynamicvalidity>
77 78 79 80
        <savelink>on</savelink>
        <clearalllink>on</clearalllink>
        <indexlink>on</indexlink>
        <languagelink>on</languagelink>
81 82
        <previouslink>off</previouslink>
        <nextsubmitlink>off</nextsubmitlink>
83
        <showclearall>on</showclearall>
Chenu Denis's avatar
Chenu Denis committed
84
        <tableheader>on</tableheader>
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 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210
        <availablevariations>{
  "contrast": {
    "name": "Contrast",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "bootstrap": {
    "name": "Bootstrap",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "cerulean": {
    "name": "Cerulean",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "cosmo": {
    "name": "Cosmo",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "cyborg": {
    "name": "Cyborg",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "darkly": {
    "name": "Darkly",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "flatly": {
    "name": "Flatly",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "journal": {
    "name": "Journal",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "lumen": {
    "name": "Lumen",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "paper": {
    "name": "Paper",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "readable": {
    "name": "Readable",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "sandstone": {
    "name": "Sandstone",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "simplex": {
    "name": "Simplex",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "slate": {
    "name": "Slate",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "spacelab": {
    "name": "Spacelab",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "superhero": {
    "name": "Superhero",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "united": {
    "name": "United",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "yeti": {
    "name": "Yeti",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259
  },
  "fruity-apple_blossom": {
    "name": "(Fruity) Apple Blossom",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "fruity-black_pearl": {
    "name": "(Fruity) Black Pearl",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "fruity-free_magenta": {
    "name": "(Fruity) Free magenta",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "fruity-purple_tentacle": {
    "name": "(Fruity) Purple Tentacle",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "fruity-sea_green": {
    "name": "(Fruity) Sea Green",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "fruity-skyline_blue": {
    "name": "(Fruity) Skyline Blue",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "fruity-sunset_orange": {
    "name": "(Fruity) Sunset Orange",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
260 261
  }
}</availablevariations>
262
    </options>
Chenu Denis's avatar
Chenu Denis committed
263

264 265
    <!-- Here datas about how LimeSurvey should load the theme -->
    <engine>
266 267
        <cssframework>
            <name>bootstrap</name>
268
            <css replace="bootstrap.css">css/minimal.css</css>
269 270 271 272 273 274 275
        </cssframework>

        <viewdirectory>views</viewdirectory>
        <filesdirectory>files</filesdirectory>

        <packages>
            <add>moment</add>
Chenu Denis's avatar
Chenu Denis committed
276 277
            <remove>pjax</remove>
            <remove>font-noto</remove>
278 279
        </packages>

280 281 282
        <template_editor>
            <screens>
                <question>
283
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Question')}} ]]></screen_title>
284 285 286 287 288 289 290 291 292 293 294 295 296
                    <file type="view" role="layout">layout_global.twig</file>
                    <file type="view" role="content">./subviews/content/main.twig</file>
                    <file type="view" role="subview">./subviews/survey/group.twig</file>
                    <file type="view" role="subview">./subviews/survey/group_subviews/group_container.twig</file>
                    <file type="view" role="subview">./subviews/survey/group_subviews/group_desc.twig</file>
                    <file type="view" role="subview">./subviews/survey/group_subviews/group_name.twig</file>
                    <file type="view" role="subview">./subviews/survey/question.twig</file>
                    <file type="view" role="subview">./subviews/survey/question_container.twig</file>
                    <file type="view" role="subview">./subviews/survey/question_subviews/question_text_container.twig</file>
                    <file type="view" role="subview">./subviews/survey/question_subviews/question_text_content.twig</file>
                    <file type="view" role="subview">./subviews/survey/question_subviews/answers.twig</file>
                    <file type="view" role="subview">./subviews/survey/question_subviews/survey_question_help.twig</file>
                    <file type="view" role="subview">./subviews/survey/question_subviews/valid_message_and_help.twig</file>
297
                    <file type="view" role="subview">./subviews/footer/footer.twig</file>
298
                    <file type="css">./css/bootstrap.css</file>
299
                    <file type="css">./css/skelvanilla.css</file>
300
                    <file type="css">./css/theme.css</file>
301
                    <file type="css">./css/custom.css</file>
302
                    <file type="js">./scripts/aria-live.js</file>
303
                    <file type="js">./scripts/skelvanilla.js</file>
304 305 306 307 308
                    <file type="js">./scripts/theme.js</file>
                    <file type="js">./scripts/custom.js</file>
                </question>

                <surveylist>
309
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Survey list')}} ]]></screen_title>
310 311 312 313
                    <file type="view" role="layout">layout_survey_list.twig</file>
                    <file type="view" role="subview">./subviews/content/mainrow.twig</file>
                    <file type="view" role="subview">./subviews/content/outerframe.twig</file>
                    <file type="view" role="subview">./subviews/navigation/language_changer_form.twig</file>
314
                    <file type="view" role="subview">./subviews/footer/footer.twig</file>
315
                    <file type="css">./css/bootstrap.css</file>
316
                    <file type="css">./css/skelvanilla.css</file>
317 318
                    <file type="css">./css/theme.css</file>
                    <file type="css">./css/custom.css</file>
319 320 321
                    <file type="js">./scripts/aria-live.js</file>
                    <file type="js">./scripts/skelvanilla.js</file>
                    <file type="js">./scripts/theme.js</file>
322 323 324 325
                    <file type="js">./scripts/custom.js</file>
                </surveylist>

                <welcome>
326
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Welcome')}} ]]></screen_title>
327 328 329 330 331 332 333
                    <file type="view" role="layout">layout_global.twig</file>
                    <file type="view" role="subview">./subviews/content/mainrow.twig</file>
                    <file type="view" role="subview">./subviews/content/outerframe.twig</file>
                    <file type="view" role="content">./subviews/content/firstpage.twig</file>
                    <file type="view" role="subview">./subviews/header/head.twig</file>
                    <file type="view" role="subview">./subviews/header/custom_header.twig</file>
                    <file type="view" role="subview">./subviews/header/nav_bar.twig</file>
334
                    <file type="view" role="subview">./subviews/header/description.twig</file>
335 336 337 338 339
                    <file type="view" role="subview">./subviews/header/progress_bar.twig</file>
                    <file type="view" role="subview">./subviews/messages/welcome.twig</file>
                    <file type="view" role="subview">./subviews/messages/warnings.twig</file>
                    <file type="view" role="subview">./subviews/messages/no_js_alert.twig</file>
                    <file type="view" role="subview">./subviews/privacy/privacy.twig</file>
340 341 342
                    <file type="view" role="subview">./subviews/privacy/privacy_modal.twig</file>
                    <file type="view" role="subview">./subviews/privacy/privacy_text.twig</file>
                    <file type="view" role="subview">./subviews/content/allinone_welcome.twig</file>
343
                    <file type="view" role="subview">./subviews/navigation/language_changer.twig</file>
344
                    <file type="view" role="subview">./subviews/footer/footer.twig</file>
345
                    <file type="css">./css/bootstrap.css</file>
346
                    <file type="css">./css/theme.css</file>
347
                    <file type="js">./scripts/aria-live.js</file>
348 349 350 351 352 353
                    <file type="js">./scripts/theme.js</file>
                    <file type="css">./css/custom.css</file>
                    <file type="js">./scripts/custom.js</file>
                </welcome>

                <completed>
354
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Completed')}} ]]></screen_title>
355
                    <file type="view" role="layout">layout_global.twig</file>
356 357
                    <file type="view" role="subview">./subviews/header/nav_bar.twig</file>
                    <file type="view" role="subview">./subviews/header/description.twig</file>
358 359 360
                    <file type="view" role="subview">./subviews/content/mainrow.twig</file>
                    <file type="view" role="subview">./subviews/content/outerframe.twig</file>
                    <file type="view" role="content">./subviews/content/submit.twig</file>
361
                    <file type="view" role="subview">./subviews/footer/footer.twig</file>
362
                    <file type="css">./css/bootstrap.css</file>
363 364 365 366 367 368 369
                    <file type="css">./css/theme.css</file>
                    <file type="js">./scripts/theme.js</file>
                    <file type="css">./css/custom.css</file>
                    <file type="js">./scripts/custom.js</file>
                </completed>

                <assessments>
370
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Assessments')}} ]]></screen_title>
371 372 373 374 375 376
                    <file type="view" role="layout">layout_global.twig</file>
                    <file type="view" role="subview">./subviews/footer/footer.twig</file>
                    <file type="view" role="subview">./subviews/content/mainrow.twig</file>
                    <file type="view" role="subview">./subviews/content/outerframe.twig</file>
                    <file type="view" role="content">./subviews/content/submit.twig</file>
                    <file type="view" role="subview">./subviews/messages/assessments.twig</file>
377
                    <file type="css">./css/bootstrap.css</file>
378 379 380 381 382 383 384
                    <file type="css">./css/theme.css</file>
                    <file type="js">./scripts/theme.js</file>
                    <file type="css">./css/custom.css</file>
                    <file type="js">./scripts/custom.js</file>
                </assessments>

                <error>
385
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Error')}} ]]></screen_title>
386
                    <file type="view" role="layout">layout_errors.twig</file>
387 388
                    <file type="view" role="subview">./subviews/header/nav_bar.twig</file>
                    <file type="view" role="subview">./subviews/header/description.twig</file>
389 390
                    <file type="view" role="subview">./subviews/messages/warnings.twig</file>
                    <file type="view" role="subview">./subviews/messages/bootstrap_alert_modal.twig</file>
391
                    <file type="view" role="subview">./subviews/footer/footer.twig</file>
392 393 394
                </error>

                <clearall>
395
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Clear all')}} ]]></screen_title>
396 397 398 399 400
                    <file type="view" role="layout">layout_global.twig</file>
                    <file type="view" role="subview">./subviews/footer/footer.twig</file>
                    <file type="view" role="subview">./subviews/content/mainrow.twig</file>
                    <file type="view" role="subview">./subviews/content/outerframe.twig</file>
                    <file type="view" role="content">./subviews/content/clearall.twig</file>
401
                    <file type="css">./css/bootstrap.css</file>
402 403 404 405 406 407 408
                    <file type="css">./css/theme.css</file>
                    <file type="js">./scripts/theme.js</file>
                    <file type="css">./css/custom.css</file>
                    <file type="js">./scripts/custom.js</file>
                </clearall>

                <load>
409
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Load')}} ]]></screen_title>
410 411 412 413 414
                    <file type="view" role="layout">layout_global.twig</file>
                    <file type="view" role="subview">./subviews/footer/footer.twig</file>
                    <file type="view" role="subview">./subviews/content/mainrow.twig</file>
                    <file type="view" role="subview">./subviews/content/outerframe.twig</file>
                    <file type="view" role="content">./subviews/content/load.twig</file>
415
                    <file type="css">./css/bootstrap.css</file>
416 417 418 419 420 421 422
                    <file type="css">./css/theme.css</file>
                    <file type="js">./scripts/theme.js</file>
                    <file type="css">./css/custom.css</file>
                    <file type="js">./scripts/custom.js</file>
                </load>

                <save>
423
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Save')}} ]]></screen_title>
424 425 426 427 428
                    <file type="view" role="layout">layout_global.twig</file>
                    <file type="view" role="subview">./subviews/footer/footer.twig</file>
                    <file type="view" role="subview">./subviews/content/mainrow.twig</file>
                    <file type="view" role="subview">./subviews/content/outerframe.twig</file>
                    <file type="view" role="content">./subviews/content/save.twig</file>
429
                    <file type="css">./css/bootstrap.css</file>
430 431 432 433 434 435 436
                    <file type="css">./css/theme.css</file>
                    <file type="js">./scripts/theme.js</file>
                    <file type="css">./css/custom.css</file>
                    <file type="js">./scripts/custom.js</file>
                </save>

                <register>
437
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Registration')}} ]]></screen_title>
438 439 440 441 442 443 444 445 446
                    <file type="view" role="layout">layout_global.twig</file>
                    <file type="view" role="subview">./subviews/footer/footer.twig</file>
                    <file type="view" role="content">./subviews/content/register.twig</file>
                    <file type="view" role="subview">./subviews/registration/register_error.twig</file>
                    <file type="view" role="subview">./subviews/registration/register_head.twig</file>
                    <file type="view" role="subview">./subviews/registration/register_message.twig</file>
                    <file type="view" role="subview">./subviews/registration/register_success.twig</file>
                    <file type="view" role="subview">./subviews/registration/register_form.twig</file>
                    <file type="view" role="subview">./subviews/registration/required.twig</file>
447
                    <file type="css">./css/bootstrap.css</file>
448 449 450 451 452 453 454
                    <file type="css">./css/theme.css</file>
                    <file type="js">./scripts/theme.js</file>
                    <file type="css">./css/custom.css</file>
                    <file type="js">./scripts/custom.js</file>
                </register>

                <printanswers>
455
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Print answers')}} ]]></screen_title>
456 457 458 459 460
                    <file type="view" role="layout">layout_printanswers.twig</file>
                    <file type="view" role="subview">./subviews/content/outerframe.twig</file>
                    <file type="view" role="content">./subviews/content/printanswers.twig</file>
                    <file type="view" role="subview">./subviews/printanswers/printanswers_question.twig</file>
                    <file type="view" role="subview">./subviews/printanswers/printanswers_table.twig</file>
461
                    <file type="css">./css/bootstrap.css</file>
462 463 464 465 466 467 468
                    <file type="css">./css/theme.css</file>
                    <file type="js">./scripts/theme.js</file>
                    <file type="css">./css/custom.css</file>
                    <file type="js">./scripts/custom.js</file>
                </printanswers>

                <pdf>
469
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('PDF')}} ]]></screen_title>
470 471 472
                    <file type="view" role="layout">layout_print.twig</file>
                </pdf>

473 474 475 476 477 478 479
                <quotas>
                  <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Quotas exceeded')}} ]]></screen_title>
                  <file type="view" role="layout">layout_global.twig</file>
                  <file type="view" role="content">./subviews/content/quotas.twig</file>
                  <file type="view" role="subview">./subviews/header/start_form.twig</file>
                </quotas>

480
                <navigation>
481
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Navigation')}} ]]></screen_title>
482 483 484 485 486 487 488 489 490
                    <file type="view" role="layout">layout_global.twig</file>
                    <file type="view" role="subview">./subviews/footer/footer.twig</file>
                    <file type="view" role="content">./subviews/content/main.twig</file>
                    <file type="view" role="subview">./subviews/navigation/ajax_indicator.twig</file>
                    <file type="view" role="subview">./subviews/navigation/clearall_links.twig</file>
                    <file type="view" role="subview">./subviews/navigation/save_links.twig</file>
                    <file type="view" role="subview">./subviews/navigation/language_changer_top_menu.twig</file>
                    <file type="view" role="subview">./subviews/navigation/language_changer.twig</file>
                    <file type="view" role="subview">./subviews/navigation/question_index_menu.twig</file>
491 492
                    <file type="view" role="subview">./subviews/navigation/previous_link.twig</file>
                    <file type="view" role="subview">./subviews/navigation/nextsubmit_link.twig</file>
493
                    <file type="view" role="subview">./subviews/navigation/navigator.twig</file>
494
                    <file type="view" role="subview">./subviews/navigation/navigator_move.twig</file>
495 496 497 498 499 500
                    <file type="view" role="subview">./subviews/navigation/navigator_complement.twig</file>
                    <file type="view" role="subview">./subviews/navigation/clearall_buttons.twig</file>
                    <file type="view" role="subview">./subviews/navigation/save_buttons.twig</file>
                    <file type="view" role="subview">./subviews/navigation/question_index_buttons.twig</file>
                    <file type="view" role="subview">./subviews/navigation/question_index_questions_buttons.twig</file>
                    <file type="view" role="subview">./subviews/navigation/question_index_groups_buttons.twig</file>
501
                    <file type="css">./css/bootstrap.css</file>
502 503 504 505 506
                    <file type="css">./css/theme.css</file>
                    <file type="js">./scripts/theme.js</file>
                    <file type="css">./css/custom.css</file>
                    <file type="js">./scripts/custom.js</file>
                </navigation>
507 508

                <token>
509
                  <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Token')}} ]]></screen_title>
510 511 512 513 514 515
                  <file type="view" role="layout">layout_user_forms.twig</file>
                  <file type="view" role="content">./subviews/content/userforms.twig</file>
                  <file type="view" role="subview">./subviews/logincomponents/token.twig</file>
                  <file type="view" role="subview">./subviews/logincomponents/captcha.twig</file>
                </token>

516
            </screens>
517 518 519 520 521 522

            <!-- Data for preview in Theme Editor and Twig Cache command line generator  -->
            <default_data>
              <survey type="core">
                <name type="data" twig="on"><![CDATA[ {{ gT("Template Sample") }} ]]></name>
                <description type="data" twig="on"><![CDATA[<p>{{ gT('This is a sample survey description. It could be quite long.') }}</p><p>{{ gT("But this one isn't.") }}<p>]]></description>
523 524
                <welcome type="data" twig="on"><![CDATA[<p>{{ gT('Welcome to this sample survey')}} <p> <p> {{ gT('You should have a great time doing this') }} <p> ]]></welcome>
                <therearexquestions type="data" twig="on"><![CDATA[gT('There is 2 question in this survey'])]]></therearexquestions>
525 526 527 528 529 530 531 532 533 534 535
                <surveyls_url type="data" twig="on">"https://www.sondages.pro"</surveyls_url>
                <surveyls_urldescription type="data" twig="on"><![CDATA[ gT("Some URL description") ]]></surveyls_urldescription>
                <showsurveypolicynotice>2</showsurveypolicynotice>
                <datasecurity_notice_label type="data" twig="on"><![CDATA[ <a href='#data-security-modal-' data-toggle='collapse'> {{ gT('Show Policy') }} </a>  ]]></datasecurity_notice_label>
                <datasecurity_notice type="data" twig="on"><![CDATA[ {{ gT("Here your data security notice") }} ]]></datasecurity_notice>
              </survey>
              <group type="core">
                <name type="data" twig="on"><![CDATA[ {{ gT("Group 1: The first lot of questions") }} ]]></name>
                <description type="data" twig="on"><![CDATA[ {{ gT("This group description is fairly vacuous, but quite important.") }} ]]></description>
              </group>
              <question_1 type="core">
536
                <code type="data">'Q1 '</code>
537 538 539 540
                <text type="data" twig="on"><![CDATA[ {{ gT("How many roads must a man walk down?") }} ]]></text>
                <valid_message type="data" twig="on"><![CDATA[ <div id="vmsg_4496_num_answers" class="em_num_answers emtip error"><span class="fa fa-exclamation-circle" aria-hidden="true"></span> {{ gT("Choose one of the following answers") }} </div> ]]></valid_message>
              </question_1>
              <question_2 type="core">
541
                <code type="data">'Q2 '</code>
542 543 544
                <text type="data" twig="on"><![CDATA[ {{ gT("Please explain something in detail:") }} ]]></text>
                <valid_message type="data" twig="on"><![CDATA[<div id="vmsg_4496_num_answers" class="em_num_answers emtip error"><span class="fa fa-exclamation-circle" aria-hidden="true"></span> {{ gT("Hint when response is not valid") }} </div> ]]></valid_message>
              </question_2>
545
              <assessments type="core">
546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564
                <name type="data" twig="on"><![CDATA[ {{ gT("Welcome to the Assessment") }} ]]></name>
                <message type="data" twig="on"><![CDATA[ {{ gT("You got {TOTAL} points out of 3 possible points.") }} ]]></message>
              </assessments>

              <!-- This is an exemple to show you how to add your custom screen in the theme editor with custom values -->
              <!-- The name of the array inside aSurveyInfo that feed your twig view is specified as "array-name". If you check quotas.twig, you'll notice the main variable is aSurveyInfo.aQuotas -->
              <!-- Notice that the data you pass here are simple. You can't pass complex arrays inside the array, only key => value pairs.-->
              <quotas type="custom" arrayName="aQuotas">
                <sMessage type="data" twig="on"><![CDATA[ {{ gT("Sorry your responses have exceeded a quota on this survey.") }} ]]></sMessage>
                <sUrl type="data">https://sondages.pro</sUrl>
                <sUrlDescription type="data" twig="on"><![CDATA[ {{ gT("End url") }} ]]></sUrlDescription>
                <bShowNavigator type="data">false</bShowNavigator>
              </quotas>

              <userforms type="custom" arrayName="aForm">
                <sType type="data">token</sType>
              </userforms>
            </default_data>

565 566 567
        </template_editor>
    </engine>

568
</config>