config.xml 27.8 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 17
        <supportUrl>https://extensions.sondages.pro/themes-and-templates/skelvanilla-a11y-and-usuability/</supportUrl>
        <copyright>Copyright (C) 2018-2019 Denis Chenu / Sondages Pro</copyright>
18
        <license>GNU General Public License version 3 or later</license>
19
        <version>9.0.1</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>
Chenu Denis's avatar
Chenu Denis committed
23 24
        <last_update>2020-06-10 10:04:52</last_update>
        <lastUpdate>2020-06-10 10:04:52</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>
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 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
        <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"
210 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
  },
  "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"
259 260
  }
}</availablevariations>
261
    </options>
Chenu Denis's avatar
Chenu Denis committed
262

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

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

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

279 280 281
        <template_editor>
            <screens>
                <question>
282
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Question')}} ]]></screen_title>
283 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="subview">./subviews/footer/footer.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="css">./css/bootstrap.css</file>
298
                    <file type="css">./css/skelvanilla.css</file>
299
                    <file type="css">./css/theme.css</file>
300
                    <file type="css">./css/custom.css</file>
301
                    <file type="js">./scripts/aria-live.js</file>
302
                    <file type="js">./scripts/skelvanilla.js</file>
303 304 305 306 307
                    <file type="js">./scripts/theme.js</file>
                    <file type="js">./scripts/custom.js</file>
                </question>

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

                <welcome>
325
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Welcome')}} ]]></screen_title>
326 327 328 329 330 331 332 333 334 335 336 337 338 339
                    <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/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>
                    <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>
                    <file type="view" role="subview">./subviews/navigation/language_changer.twig</file>
340
                    <file type="css">./css/bootstrap.css</file>
341
                    <file type="css">./css/theme.css</file>
342
                    <file type="js">./scripts/aria-live.js</file>
343 344 345 346 347 348
                    <file type="js">./scripts/theme.js</file>
                    <file type="css">./css/custom.css</file>
                    <file type="js">./scripts/custom.js</file>
                </welcome>

                <completed>
349
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Completed')}} ]]></screen_title>
350 351 352 353 354
                    <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>
355
                    <file type="css">./css/bootstrap.css</file>
356 357 358 359 360 361 362
                    <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>
363
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Assessments')}} ]]></screen_title>
364 365 366 367 368 369
                    <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>
370
                    <file type="css">./css/bootstrap.css</file>
371 372 373 374 375 376 377
                    <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>
378
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Error')}} ]]></screen_title>
379 380
                    <file type="view" role="layout">layout_errors.twig</file>
                    <file type="view" role="subview">./subviews/footer/footer.twig</file>
381 382
                    <file type="view" role="subview">./subviews/messages/warnings.twig</file>
                    <file type="view" role="subview">./subviews/messages/bootstrap_alert_modal.twig</file>
383 384 385
                </error>

                <clearall>
386
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Clear all')}} ]]></screen_title>
387 388 389 390 391
                    <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>
392
                    <file type="css">./css/bootstrap.css</file>
393 394 395 396 397 398 399
                    <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>
400
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Load')}} ]]></screen_title>
401 402 403 404 405
                    <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>
406
                    <file type="css">./css/bootstrap.css</file>
407 408 409 410 411 412 413
                    <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>
414
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Save')}} ]]></screen_title>
415 416 417 418 419
                    <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>
420
                    <file type="css">./css/bootstrap.css</file>
421 422 423 424 425 426 427
                    <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>
428
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Registration')}} ]]></screen_title>
429 430 431 432 433 434 435 436 437
                    <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>
438
                    <file type="css">./css/bootstrap.css</file>
439 440 441 442 443 444 445
                    <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>
446
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Print answers')}} ]]></screen_title>
447 448 449 450 451
                    <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>
452
                    <file type="css">./css/bootstrap.css</file>
453 454 455 456 457 458 459
                    <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>
460
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('PDF')}} ]]></screen_title>
461 462 463
                    <file type="view" role="layout">layout_print.twig</file>
                </pdf>

464 465 466 467 468 469 470
                <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>

471
                <navigation>
472
                    <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Navigation')}} ]]></screen_title>
473 474 475 476 477 478 479 480 481
                    <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>
482 483
                    <file type="view" role="subview">./subviews/navigation/previous_link.twig</file>
                    <file type="view" role="subview">./subviews/navigation/nextsubmit_link.twig</file>
484
                    <file type="view" role="subview">./subviews/navigation/navigator.twig</file>
485
                    <file type="view" role="subview">./subviews/navigation/navigator_move.twig</file>
486 487 488 489 490 491
                    <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>
492
                    <file type="css">./css/bootstrap.css</file>
493 494 495 496 497
                    <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>
498 499

                <token>
500
                  <screen_title type="data" role="title" twig="on"><![CDATA[ {{gT('Token')}} ]]></screen_title>
501 502 503 504 505 506
                  <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>

507
            </screens>
508 509 510 511 512 513

            <!-- 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>
514 515
                <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>
516 517 518 519 520 521 522 523 524 525 526
                <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">
527
                <code type="data">'Q1 '</code>
528 529 530 531
                <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">
532
                <code type="data">'Q2 '</code>
533 534 535
                <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>
536
              <assessments type="core">
537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555
                <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>

556 557 558
        </template_editor>
    </engine>

559
</config>