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);