Browse Source

Update user_dashboard.php

FusionPBX 7 years ago
parent
commit
f1b3b25f8e
1 changed files with 8 additions and 2 deletions
  1. 8 2
      core/user_settings/user_dashboard.php

+ 8 - 2
core/user_settings/user_dashboard.php

@@ -62,9 +62,8 @@
 	$language = new text;
 	$language = new text;
 	$text = $language->get();
 	$text = $language->get();
 
 
-//load header and set the title
+//load the header
 	require_once "resources/header.php";
 	require_once "resources/header.php";
-	$document['title'] = $text['title-user_dashboard'];
 
 
 //start the content
 //start the content
 	echo "<table cellpadding='0' cellspacing='0' border='0' width='100%'>\n";
 	echo "<table cellpadding='0' cellspacing='0' border='0' width='100%'>\n";
@@ -1263,6 +1262,13 @@
 		echo "</div>\n";
 		echo "</div>\n";
 	}
 	}
 
 
+//add multi-lingual support
+	$language = new text;
+	$text = $language->get();
+
+//set the title
+	$document['title'] = $text['title-user_dashboard'];
+
 //show the footer
 //show the footer
 	require_once "resources/footer.php";
 	require_once "resources/footer.php";