{% extends '@CadolesCore/base.html.twig' %} {% block pagewrapper %}

{%if infotitle is defined%}{{infotitle}}{%else%}Inscriptions{%endif%}

{% autoescape %}

{{ info|raw }}

{% endautoescape %} {% if mode=="error" %} {% if mode_auth == "SAML" %} Déconnexion {% elseif mode_auth == "CAS" %} Déconnexion {% elseif mode_auth == "SQL" %} Déconnexion {% elseif mode_auth == "LDAP" %} Déconnexion {% endif %} {% endif %}
{% endblock %} {% block localjavascript %} {% if mode=="success" %} $(document).ready(function() { // Redirection vers la mire d'authentification setTimeout(function(){ {% if redirectto is defined and redirectto is not null %} window.location.href="{{ redirectto }}"; {% elseif mode_auth == "SAML" %} window.location.href="{{ path("lightsaml_sp.login") }}"; {% elseif mode_auth == "CAS" %} window.location.href="{{ path("cas_sp.login") }}"; {% elseif mode_auth == "SQL" %} window.location.href="{{ path("cadoles_core_login") }}"; {% elseif mode_auth == "LDAP" %} window.location.href="{{ path("cadoles_core_ldap_login") }}"; {% endif %} }, 6000); }); {% endif %} {% endblock %}