Browse Source

Dashboard: Adjust window title.

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

+ 2 - 8
core/user_settings/user_dashboard.php

@@ -64,6 +64,7 @@
 	$text = $language->get();
 	$text = $language->get();
 
 
 //load the header
 //load the header
+	$document['title'] = $text['title-user_dashboard'];
 	require_once "resources/header.php";
 	require_once "resources/header.php";
 
 
 //start the content
 //start the content
@@ -1291,14 +1292,7 @@
 		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";
 
 
-?>
+?>