/* let root = document.documentElement; root.style.setProperty('--fhd-hr', 1); root.style.setProperty('--fhd-vr', 1); if (STRINGS_Class== undefined){ class STRINGS_Class{ constructor() { this._eventHandlers = {}; } } STRINGS_Class.dom_parser = null; STRINGS_Class.xml_http = null; STRINGS_Class.CompleteString = function(str , replace_array){ if(replace_array){ if(!GENERICS_Class.IsArray(replace_array)){ replace_array = [replace_array]; } if(GENERICS_Class.IsFilledArray(replace_array)){ for(let i=0; i < replace_array.length; i++){ str = str.replace('$'+i,replace_array[i]); } } } return str; }; STRINGS_Class.EscapeHtml = function(text){ var map = { '<': '<', '>': '>', '"': '"', "'": ''' }; return text.replace(/[<>"']/g, function(m) { return map[m]; }); }; } */ var CONSTANTS = {}; CONSTANTS.languages = {"75":{"id_data":75,"id":2,"iso":"en","label":"Anglais","own":"English"}}; CONSTANTS.current_lang_id = 89; CONSTANTS.current_lang_iso = 'fr'; CONSTANTS.sids = true; CONSTANTS.base_url = 'https://steinergumene.fr/'; CONSTANTS.site_folder = ''; CONSTANTS.include_js_animate = '1'; CONSTANTS.reload_noparams = 'reloadnoparams'; CONSTANTS.posted_varname = 'posted_from_container'; CONSTANTS.posted_varname_container = 'posted_from_container_name'; CONSTANTS.quota = 1610612736000; CONSTANTS.usage = 0; CONSTANTS.percentage = 0; CONSTANTS.left = 1610612736000; CONSTANTS.max_upload_size = 1677721600; CONSTANTS.max_file_uploads = 20; CONSTANTS.json_list_identifier = "_AJAX_json_decode_list"; // max size for ONE file that can be upload without chunk CONSTANTS.file_upload_size = 1048576; // 1 Mo // when uploading a big file, we need to divise the file into little chunk. // this variable indicate the size of those chunk (1 Mo) CONSTANTS.slice_upload_size = 1048576; // variable used in conjunction with the PHP AJAX_Class to identify json variables CONSTANTS.json_list_identifier = '_AJAX_json_decode_list'; CONSTANTS.quick_edit_field = 'qe_f'; CONSTANTS.quick_edit_data = 'qe_d'; CONSTANTS.quick_edit_id = 'qe_i'; CONSTANTS.quick_edit_type = 'qe_t'; CONSTANTS.quick_edit_type_index = 'qe_ti'; CONSTANTS.symbols = {}; CONSTANTS.symbols.sign_plus = '+'; CONSTANTS.symbols.sign_minus = '-'; CONSTANTS.texts = {}; CONSTANTS.texts.too_many_files = 'Trop de fichiers envoyés ($1), la limite est de $2.'; CONSTANTS.texts.too_heavy_files = 'Envoi trop volumineux ($1), la limite est de $2.'; CONSTANTS.texts.error = 'Erreur'; CONSTANTS.texts.err_form = 'Problème avec le formulaire :'; CONSTANTS.texts.err_red = 'Veuillez remplir les champs bordés de rouge.'; CONSTANTS.texts.close = 'Fermer'; CONSTANTS.texts.required_field = 'Champ requis'; CONSTANTS.texts.invalid_content = 'Contenu invalide'; CONSTANTS.texts.short_content = 'Contenu trop court'; CONSTANTS.texts.long_content = 'Contenu trop long'; CONSTANTS.texts.out_of_bounds = 'Contenu hors limites'; CONSTANTS.texts.showPublic = 'Ouvrir le site dans une nouvelle page'; CONSTANTS.texts.pickModule = 'Permet la sélection d\'un module en cliquant directement sur la preview'; CONSTANTS.texts.prevSmart = 'Passer en mode mobile'; CONSTANTS.texts.prevTablet = 'Passer en mode tablette'; CONSTANTS.texts.prevPc = 'Passer en mode bureau (pc)'; CONSTANTS.texts.tlc_no_access = 'Vous n\'avez pas les droits pour accéder à ce module'; CONSTANTS.texts.tlc_save = 'Sauvegarder'; CONSTANTS.texts.tlc_annuler = 'Annuler'; CONSTANTS.texts.tlc_retour = 'Retour'; CONSTANTS.texts.tlc_fermer = 'Fermer'; CONSTANTS.texts.tlc_add = 'Ajouter'; CONSTANTS.texts.tlc_valid = 'Valider'; CONSTANTS.texts.tlc_oui = 'Oui'; CONSTANTS.texts.tlc_non = 'Non'; CONSTANTS.texts.tlc_del = 'Supprimer'; CONSTANTS.texts.tlc_copy = 'Copier'; CONSTANTS.texts.tlc_paste = 'Coller'; CONSTANTS.texts.tlc_modif = 'Modifier'; CONSTANTS.texts.tlc_too_many_files = 'Trop de fichiers envoyés ($1), la limite est de $2.'; CONSTANTS.texts.tlc_too_heavy_files = 'Envoi trop volumineux ($1), la limite est de $2.'; CONSTANTS.texts.tlc_error = 'Erreur'; CONSTANTS.texts.tlc_aide = 'Aide'; CONSTANTS.texts.tlc_load = 'Charger :'; CONSTANTS.texts.tlc_edit = 'Editer'; CONSTANTS.texts.tlc_ok = 'Ok'; CONSTANTS.texts.tlc_new = 'Nouvelle'; CONSTANTS.texts.tlc_nouv = 'Nouveau'; CONSTANTS.texts.tlc_ttc = '/ TTC'; CONSTANTS.texts.tlc_help = 'Aide'; CONSTANTS.texts.tlc_go = 'Allez'; CONSTANTS.texts.tlc_search = 'Rechercher'; CONSTANTS.texts.tlc_write = 'Ecrire'; CONSTANTS.texts.tlc_read = 'Lire'; CONSTANTS.texts.tlc_delete = 'Supprimer'; CONSTANTS.texts.tlc_move = 'Renommer/Déplacer'; CONSTANTS.texts.tlc_new_folder = 'Ajouter dossier'; CONSTANTS.texts.tlc_success = 'Réussi'; CONSTANTS.texts.tlc_apply = 'Appliquer'; CONSTANTS.texts.tlc_send = 'Envoyer'; CONSTANTS.texts.tlc_create = 'Créer'; CONSTANTS.texts.tlc_notconnected = 'Désolé, Vous n\\êtes pas connecté à votre compte, ou votre connexion web est instable.'; CONSTANTS.texts.tlc_open = 'Ouvrir'; CONSTANTS.texts.tlc_download = 'Télécharger'; CONSTANTS.usernameValidString = 'abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789'; CONSTANTS.GetText = function(key , replace_array){ if(CONSTANTS.texts[key]===undefined){ return '{'+key+'}'; }else{ return STRINGS_Class.CompleteString(CONSTANTS.texts[key] , replace_array); } }; CONSTANTS.image_ext = ["jpg","jpeg","png","bmp","gif","svg","svgz","webp"]; CONSTANTS.video_ext = ["mp4","ogg","avi","mpeg","mts","wmv","qt","mov","mpg","mkv","ogv","ts","m4v","mxf","webm"];