diff --git a/html/pages/preferences.inc.php b/html/pages/preferences.inc.php
index 91a02e1ce..661a7a8f5 100644
--- a/html/pages/preferences.inc.php
+++ b/html/pages/preferences.inc.php
@@ -4,7 +4,8 @@ $no_refresh = true;
$pagetitle[] = 'Preferences';
-echo '
User Preferences
';
+echo 'User Preferences
';
+echo '
';
if ($_SESSION['userlevel'] == 11) {
demo_account();
@@ -30,10 +31,12 @@ else {
include 'includes/update-preferences-password.inc.php';
- echo "";
+
if (passwordscanchange($_SESSION['username'])) {
echo '
Change Password
';
+ echo '
';
+ echo "
";
echo $changepass_message;
echo "
-
+
";
echo '
';
}//end if
@@ -183,9 +188,10 @@ else {
}//end if
}//end if
-echo "";
-echo "
Device Permissions
";
+echo "
Device Permissions
";
+echo "
";
+echo "
";
if ($_SESSION['userlevel'] == '10') {
echo "Global Administrative Access";
}