{# pre_imports.html.twig #}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Limoog">
{% if not estDemo() %}
<meta name="robots" content="noindex"/>
<title>PAA</title>
{% else %}
<title>Logiciel planning médico-social et Alternance gratuit - PAA</title>
{% endif %}
<link rel="icon" type="image/x-icon" href="{{ asset_version('Images/PAA.ICO') }}" />
{% if poController is defined %}
<script>
window.estDevMode = "{{ poController.estDevMode() }}" ;
window.estPucette = "{{ poController.estPucette() }}" ;
window.appVersion = "{{ poController.getVersion() }}" ;
window.bAutoriseSemaineRecurrente = "{{poController.getParamètre('gbAutoriseSemaineRécurrente', 'false', 'L') }}" ;
window.iNbPlansTypes = "{{poController.getParamètre('giNbPlansTypes', '3', 'N') }}" ;
{% if poController.getDBName() is not same as("default") %}
window.baseURL = "/DB/{{ poController.getDBName() }}/" ;
{% else %}
window.baseURL = "{{ baseURL }}" ;
{% endif %}
window.baseURLJS = "{{ baseURLJS }}" ;
window.currentUser = "{{ app.user ? app.user : "" }}" ;
window.currentUser_Type = "{{ app.user ? app.user.ctype_res : "" }}" ;
window.currentUser_Id = "{{ app.user ? app.user.iid_res : "" }}" ;
{% if piSessionTimeout is defined %}
window.loginTimeout = "{{ piSessionTimeout }}" ;
{% else %}
window.loginTimeout = "{{ session_max_idle_time }}" ;
{% endif %}
window.bEstPucette = "{{ poController.estPucette() }}" ;
</script>
{% endif %}