소스 검색

Update user_dashboard.php

FusionPBX 7 년 전
부모
커밋
f1b3b25f8e
1개의 변경된 파일8개의 추가작업 그리고 2개의 파일을 삭제
  1. 8 2
      core/user_settings/user_dashboard.php

+ 8 - 2
core/user_settings/user_dashboard.php

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