Эх сурвалжийг харах

Dashboard: Adjust window title.

Nate 5 жил өмнө
parent
commit
7cc40b010a

+ 2 - 8
core/user_settings/user_dashboard.php

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