diff --git a/index.php b/index.php index eedf984..0cb6ff4 100755 --- a/index.php +++ b/index.php @@ -1,5 +1,4 @@ \n" @@ -133,7 +138,7 @@ function login($fail = false) { ." document.login.submit();\n" ." return true;\n" ." } else {\n" - ." form.onsubmit=null;\n" + ." document.login.onsubmit=function(){return false;}\n" ." return false;\n" ." }\n" ." }\n" @@ -172,6 +177,7 @@ function alternatehome() { function home() { global $nobar, $d, $bgcolor3, $tbcolor1, $tbcolor2, $tbcolor3, $tbcolor4, $userdir, $HTTP_HOST, $theme, $http, $extraheaders, $IMG_CHECK, $IMG_RENAME, $IMG_GET, $IMG_EDIT, $IMG_OPEN, $IMG_RENAME_NULL, $IMG_EDIT_NULL, $IMG_OPEN_NULL, $IMG_GET_NULL, $IMG_MIME_FOLDER, $IMG_MIME_BINARY, $IMG_MIME_AUDIO, $IMG_MIME_VIDEO, $IMG_MIME_IMAGE, $IMG_MIME_TEXT, $IMG_MIME_UNKNOWN, $permget, $permedit, $permrename, $permsub, $formatperm, $permmove, $permdelete, $permchmod; + global $adminfile; $extraheaders = "