var CONSTANTS = {}; CONSTANTS.languages = {"89":{"id_data":89,"id":1,"iso":"fr","label":"Fran\u00e7ais","own":"Fran\u00e7ais"}}; CONSTANTS.current_lang_id = 89; CONSTANTS.current_lang_iso = 'fr'; CONSTANTS.base_url = 'https://www.association-entraide-travail.com/'; CONSTANTS.site_folder = ''; CONSTANTS.include_js_animate = '1'; CONSTANTS.reload_noparams = 'reloadnoparams'; CONSTANTS.posted_varname = 'posted_from_container'; CONSTANTS.quota = 5368709120; CONSTANTS.usage = 463167517; CONSTANTS.percentage = 8.627167288214; CONSTANTS.left = 4905541603; 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); } };