浏览代码

Dashboard: Adjust window title.

Nate 5 年之前
父节点
当前提交
7cc40b010a
共有 1 个文件被更改,包括 2 次插入8 次删除
  1. 2 8
      core/user_settings/user_dashboard.php

+ 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";
 
-?>
+?>