{##
  # Copyright (C) 2016 Wimar Schippers
  #
  # This file is part of Shortcodes KNVB API.
  #
  # Shortcodes KNVB API is free software: you can redistribute it and/or modify
  # it under the terms of the GNU General Public License as published by
  # the Free Software Foundation, either version 2 of the License, or
  # any later version.
  #
  # Shortcodes KNVB API is distributed in the hope that it will be useful,
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  # GNU General Public License for more details.
  #
  # You should have received a copy of the GNU General Public License
  # along with Shortcodes KNVB API. If not, see https://www.gnu.org/licenses/gpl-2.0.html.
  #}
<!-- <pre>
  {{ dump() }}
</pre> -->
<div class="wrap">
  <h2>Instellingen KNVB API</h2>
  <h2 class="nav-tab-wrapper">
    <a href="?page={{ menuslug }}&tab=settings" class="nav-tab {% if activetab == 'settings' %} nav-tab-active {% endif %}">Instellingen</a>
    {% if not hidetabs %}
      <a href="?page={{ menuslug }}&tab=shortcodes-general" class="nav-tab {% if activetab == 'shortcodes-general' %} nav-tab-active {% endif %}">Shortcodes algemeen</a>
      <a href="?page={{ menuslug }}&tab=shortcodes-team" class="nav-tab {% if activetab == 'shortcodes-team' %} nav-tab-active {% endif %}">Shortcodes per team</a>
      <a href="?page={{ menuslug }}&tab=shortcodes-match" class="nav-tab {% if activetab == 'shortcodes-match' %} nav-tab-active {% endif %}">Shortcodes per wedstrijd</a>
      <a href="?page={{ menuslug }}&tab=shortcodes-parameters" class="nav-tab {% if activetab == 'shortcodes-parameters' %} nav-tab-active {% endif %}">Shortcodes parameters</a>
    {% endif %}
  </h2>
  {% if     settingstemplate == 'settings-settings' %}              {% include 'settings-settings.tpl.twig' %}
  {% elseif settingstemplate == 'settings-shortcode-general' %}     {% include 'settings-shortcodes-general.tpl.twig' %}
  {% elseif settingstemplate == 'settings-shortcode-team' %}        {% include 'settings-shortcodes-team.tpl.twig' %}
  {% elseif settingstemplate == 'settings-shortcode-match' %}       {% include 'settings-shortcodes-match.tpl.twig' %}
  {% elseif settingstemplate == 'settings-shortcode-parameters' %}  {% include 'settings-shortcodes-parameters.tpl.twig' %}
  {% elseif settingstemplate == 'table' %}                          {% include 'table.tpl.twig' %}
  {% endif %}
</div>
