@@ -314,9 +314,7 @@ function display_error_form($text)
314314 $ themename = htmlspecialchars (get_current_theme ());
315315
316316 ?> <!doctype html>
317- <!--[if IE 8 ]><html lang="en" class="ie ie8 lte9 lte8 no-js"><![endif]-->
318- <!--[if IE 9 ]><html lang="en" class="ie ie9 lte9 no-js"><![endif]-->
319- <!--[if (gt IE 9)|!(IE)]><!--><html lang="en" class="no-js"><!--<![endif]-->
317+ <html lang="en" class="no-js">
320318 <head>
321319
322320 <meta charset="UTF-8" />
@@ -335,7 +333,6 @@ function display_error_form($text)
335333
336334 <script src="/ui/js/jquery-3.5.1.min.js"></script>
337335
338- <!--[if lt IE 9]><script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script><![endif]-->
339336 </head>
340337 <body class="page-login">
341338 <div id=container">
@@ -377,9 +374,7 @@ function display_login_form($Login_Error)
377374 setcookie ("cookie_test " , bin2hex (random_bytes (16 )), time () + 3600 , '/ ' , null , $ config ['system ' ]['webgui ' ]['protocol ' ] == "https " , true );
378375 $ have_cookies = isset ($ _COOKIE ["cookie_test " ]);
379376 ?> <!doctype html>
380- <!--[if IE 8 ]><html lang="en" class="ie ie8 lte9 lte8 no-js"><![endif]-->
381- <!--[if IE 9 ]><html lang="en" class="ie ie9 lte9 no-js"><![endif]-->
382- <!--[if (gt IE 9)|!(IE)]><!--><html lang="en" class="no-js"><!--<![endif]-->
377+ <html lang="en" class="no-js">
383378 <head>
384379 <meta charset="UTF-8" />
385380 <meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -401,8 +396,6 @@ function display_login_form($Login_Error)
401396 <script src="<?= cache_safe ("/ui/themes/ {$ themename }/build/js/theme.js " ) ?> "></script>
402397 <?php endif ?>
403398
404- <!--[if lt IE 9]><script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script><![endif]-->
405-
406399 </head>
407400 <body class="page-login">
408401
0 commit comments