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 c33bdf8 commit 87928ca
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
22 changes: 22 additions & 0 deletions templates/default/views/subviews/bootstrap_alert_modal.twig
@@ -1,3 +1,25 @@
{#
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.
(¯`·._.·(¯`·._.· Bootstrap Modal Alert ·._.·´¯)·._.·´¯)
This is the modal that show most of the alert message.
The conversion from pure JavaScript alert to Bootstrap modal is done in template-core.js
About bootstrap modal, see:
http://getbootstrap.com/javascript/#modals
#}

<!-- Bootstrap Modal Alert -->
<div id="bootstrap-alert-box-modal" class="modal fade">
<div class="modal-dialog">
Expand Down
21 changes: 20 additions & 1 deletion templates/default/views/subviews/language_changer.twig
@@ -1,4 +1,23 @@
{# Show a language changer inside the form #}
{#
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.
(¯`·._.·(¯`·._.· Language Changer ·._.·´¯)·._.·´¯)
Show a language changer inside the form.
It uses the Yii helper CHtml::dropDownList().
@see: http://www.yiiframework.com/wiki/48/by-example-chtml/#hh5
#}



{% if aSurveyInfo.alanguageChangerDatas != false %}
{% set aLCD = aSurveyInfo.alanguageChangerDatas %}
Expand Down

0 comments on commit 87928ca

Please sign in to comment.