Commit 55e48c90 authored by Chenu Denis's avatar Chenu Denis
Browse files

[fix] Change language in clearall delete value from survey

parent 3d1222a6
......@@ -16,7 +16,7 @@
<supportUrl>https://extensions.sondages.pro/themes-and-templates/skelvanilla-a11y-and-usuability/</supportUrl>
<copyright>Copyright (C) 2018-2020 Denis Chenu / Sondages Pro</copyright>
<license>GNU General Public License version 3 or later</license>
<version>10.4.8</version>
<version>10.4.9</version>
<apiVersion>3</apiVersion>
<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>
<extends>vanilla</extends>
......
......@@ -23,13 +23,14 @@
{% set bodyClass = aSurveyInfo.class.body ~ " " ~ str_replace(['variations/','css/', '.css','.min','-','_'],['skelvanilla-','', '','',' skelvanilla-',' skelvanilla-'],theme) %}
<body class="{% if(aSurveyInfo.options.bodyloaded == 'on' or not aSurveyInfo.options.bodyloaded) %}body-loading {% endif %}{{ bodyClass }} lang-{{aSurveyInfo.languagecode}} {{aSurveyInfo.surveyformat}} {{ ( aSurveyInfo.options.brandlogo == 'on') ? 'with-brand-logo' : '' }} {{ (aSurveyInfo.options.fixedheader == 'on') ? 'with-navbar-fixed-top ' }}{{ (aSurveyInfo.options.tableheader != 'off') ? 'table-fixed-header ' }}" >
<div id="{{ aSurveyInfo.id.dynamicreload }}">
{# Fix LimeSurvey issue 17623 #}
{# Fix LimeSurvey issue 17623, need to remove all POST action to keed data #}
{% if(getPost('clearall') == 'clearall' and getPost('move') != 'clearcancel') %}
{% set aSurveyInfo = aSurveyInfo|merge({
"include_content": 'clearall_confirm',
"aNavigator": { },
"aQuestionIndex": { },
"bShowClearAll": false
"bShowClearAll": false,
"alanguageChanger": {}
}) %}
{% endif %}
{% block body %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment