Skip to content

Commit

Permalink
Dev: added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Jan 20, 2017
1 parent 6028bfc commit c33bdf8
Showing 1 changed file with 18 additions and 1 deletion.
@@ -1,6 +1,23 @@
{#
If survey mode is "All in One", it will add the welcome/privacy messages if needed
LimeSurvey
Copyright (C) 2007-2017 The LimeSurvey Project Team / Louis Gac
All rights reserved.
License: GNU/GPL License v2 or later, see LICENSE.php
LimeSurvey is free software. This version may have been modified pursuant
to the GNU General Public License, and as distributed it includes or
is derivative of works licensed under the GNU General Public License or
other free or open source software licenses.
See COPYRIGHT.php for copyright notices and details.
(¯`·._.·(¯`·._.· Test Welcome / Privacy for All in one mode ·._.·´¯)·._.·´¯)
This file is only a piece of logic, it doesn't show nothing. We use it to hide complexity in layout.twig
When survey is in All In One mode, if welcome or privacy message are activated, they must be shown on the page.
#}

{% if aSurveyInfo.format == 'A' %}
{% if not aSurveyInfo.showwelcome is defined or not aSurveyInfo.showwelcome != 'N' %}
{{ include('welcome.twig') }}
Expand Down

0 comments on commit c33bdf8

Please sign in to comment.