From 2ae134226ac8dcc16bbb92cfc3d13f47f37b60cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Hord=C3=A9?= Date: Sun, 3 Jan 2021 14:32:47 +0100 Subject: [PATCH] Javascript translation OK --- index.php | 7 +++++-- js/functions.js | 7 ++++--- js/functionsadmin.js | 16 ++++++++-------- lib/functions.php | 5 +++-- 4 files changed, 20 insertions(+), 15 deletions(-) diff --git a/index.php b/index.php index 1d05ba6..4808951 100644 --- a/index.php +++ b/index.php @@ -26,14 +26,14 @@ include LIB_DIR."/functions.php"; ### Translations loadlang(LANGUAGE); -global $LANG; +global $LANG,$JSLANG; ### Security testip(); logprotect(); ### Sessions -session_name(markdoc); +session_name('markdoc'); session_start(); /*var_dump($_POST); @@ -223,6 +223,9 @@ print(($_SESSION['md_admin'] == true)?'