diff --git a/web/templates/admin/list_search.html b/web/templates/admin/list_search.html
index 110feb87b..6aa243e91 100644
--- a/web/templates/admin/list_search.html
+++ b/web/templates/admin/list_search.html
@@ -72,29 +72,9 @@
if ($key == $user) {
?>
-
- if (!empty($_SESSION['look_alert'])) {
- ?>
-
-
-
=__('LOGGED_IN_AS',$key)?>
-
-
- unset($_SESSION['look_alert']);
- }
- } else { ?>
+
}
}
diff --git a/web/templates/admin/list_user.html b/web/templates/admin/list_user.html
index a4753aa3d..d52d80986 100644
--- a/web/templates/admin/list_user.html
+++ b/web/templates/admin/list_user.html
@@ -92,38 +92,9 @@ sort-bandwidth="=$data[$key]['U_BANDWIDTH']?>" sort-disk="=$data[$key]['U_DI
if ($key == $user) {
?>
-
- if (!empty($_SESSION['look_alert'])) {
- ?>
-
-
-
=__('LOGGED_IN_AS',$key)?>
-
-
- unset($_SESSION['look_alert']);
- }
- } else { ?>
+
}?>
diff --git a/web/templates/footer.html b/web/templates/footer.html
index fa71c1540..bab46cf05 100644
--- a/web/templates/footer.html
+++ b/web/templates/footer.html
@@ -17,13 +17,12 @@
?>
-
-
-
=htmlentities($_SESSION['error_msg'])?>
-
-
+
+
=__('LOGGED_IN_AS', $_SESSION['look'])?>
+
+
+
+
+
+
=htmlentities($_SESSION['error_msg'])?>
+
-
- if (!empty($_SESSION['look_alert'])) {
- ?>
-
-
-
=__('LOGGED_IN_AS',$key)?>
-
-
- unset($_SESSION['look_alert']);
- }
- } else { ?>
+
}
}
@@ -235,4 +215,4 @@
-
\ No newline at end of file
+
diff --git a/web/templates/user/list_user.html b/web/templates/user/list_user.html
index eea0e93a3..3087bc65d 100644
--- a/web/templates/user/list_user.html
+++ b/web/templates/user/list_user.html
@@ -90,38 +90,9 @@ sort-disk="=$data[$key]['U_DISK']?>" sort-star="
-
- if (!empty($_SESSION['look_alert'])) {
- ?>
-
-
-
=__('LOGGED_IN_AS',$key)?>
-
-
- unset($_SESSION['look_alert']);
- }
- } else { ?>
+
}?>