{# LimeSurvey Copyright (C) 2007-2026 The LimeSurvey Project Team 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. (¯`·._.·(¯`·._.· Navigator ·._.·´¯)·._.·´¯) Render the navigator: Previous, Next, Submit, Load, Save All needed datas are inside aSurveyInfo.aNavigator If you want to see what is available in aNavigator, turn debug mode on in application/config.php, and move out of comments the following line: {{ dump(aSurveyInfo.aNavigator) }} #} {# create a shortcut for aSurveyInfo.aNavigator #} {% set aNavigator = aSurveyInfo.aNavigator %} {# THEME ADDITION: font for the navigator buttons (Previous/Next/Submit) — config.xml option "buttonsfont", type fontselect. The class goes on the navigator container, the buttons inherit it. "base" = same as the base font: no extra class. #} {% set sButtonsFont = aSurveyInfo.options.buttonsfont|default('base') %} {# Prompt U: per-element text color — mode default -> fontcolor, primary -> primarycolor, secondary -> secondarycolor, other -> buttonstextcolorcustom. Emitted as an inline style on the element below. #} {% set sButtonsTextColorMode = aSurveyInfo.options.buttonstextcolor|default('default') %} {% set sButtonsTextColor = sButtonsTextColorMode == 'primary' ? aSurveyInfo.options.primarycolor|default('') : (sButtonsTextColorMode == 'secondary' ? aSurveyInfo.options.secondarycolor|default('') : (sButtonsTextColorMode == 'other' ? aSurveyInfo.options.buttonstextcolorcustom|default('') : aSurveyInfo.options.fontcolor|default(''))) %}
{{ include('./subviews/navigation/navigator_complement.twig') }}