From d4d9408a4ef624d69cc0a2241f19fa7adf38ffa0 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Fri, 3 Jan 2020 16:08:13 +0800 Subject: [PATCH] Update functions.php --- functions.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/functions.php b/functions.php index f8a9d0f..59b9f19 100644 --- a/functions.php +++ b/functions.php @@ -305,7 +305,7 @@ Can not write config to file.
} } $html .= ' -
+
language:
'; foreach ($constStr['languages'] as $key1 => $value1) { @@ -321,6 +321,14 @@ Can not write config to file.
document.cookie=\'language=\'+str+\'; path=/\'; location.href = location.href; } + function adminnotnull(t) + { + if (t.admin.value==\'\') { + alert(\'input admin\'); + return false; + } + return true; + } '; $title = $constStr['SelectLanguage'][$constStr['language']]; return message($html, $title, 201);