var CONSTANTS = {}; CONSTANTS.languages = {"89":{"id_data":89,"id":1,"iso":"fr","label":"Fran\u00e7ais","own":"Fran\u00e7ais, langue fran\u00e7aise"},"75":{"id_data":75,"id":2,"iso":"en","label":"Anglais","own":"English"},"354":{"id_data":354,"id":3,"iso":"es","label":"Espagnol, castillan","own":"Espa\u00f1ol, castellano"}}; CONSTANTS.current_lang_id = 89; CONSTANTS.current_lang_iso = 'fr'; CONSTANTS.base_url = 'https://www.zerodechetdesgrandslacs.com/'; CONSTANTS.site_folder = ''; CONSTANTS.include_js_animate = '1'; CONSTANTS.reload_noparams = 'reloadnoparams'; CONSTANTS.posted_varname = 'posted_from_container'; CONSTANTS.quota = 5368709120; CONSTANTS.usage = 42019246; CONSTANTS.percentage = 0.78266944736242; CONSTANTS.left = 5326689874; CONSTANTS.max_upload_size = 1677721600; CONSTANTS.max_file_uploads = 20; CONSTANTS.json_list_identifier = "_AJAX_json_decode_list"; // 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.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); } };