Browse Source

Update user_dashboard.php

Correct the layout for the description on the dashboard.
FusionPBX 9 năm trước cách đây
mục cha
commit
5c38cc8ae3
1 tập tin đã thay đổi với 7 bổ sung3 xóa
  1. 7 3
      core/user_settings/user_dashboard.php

+ 7 - 3
core/user_settings/user_dashboard.php

@@ -62,20 +62,25 @@
 	$language = new text;
 	$text = $language->get();
 
-//load header
+//load header and set the title
 	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";
 	echo "	<tr>\n";
 	echo "		<td valign='top'>";
 	echo "			<b>".$text['header-user_dashboard']."</b><br />";
-	echo "			".$text['description-user_dashboard'];
 	echo "		</td>\n";
 	echo "		<td valign='top' style='text-align: right; white-space: nowrap;'>\n";
 	echo "			".$text['label-welcome']." <a href='".PROJECT_PATH."/core/user_settings/user_edit.php'>".$_SESSION["username"]."</a>";
 	echo "		</td>\n";
 	echo "	</tr>\n";
+	echo "	<tr>\n";
+	echo "		<td colspan='2' valign='top'>";
+	echo "			".$text['description-user_dashboard'];
+	echo "		</td>\n";
+	echo "	</tr>\n";
 	echo "</table>\n";
 	echo "<br />";
 
@@ -399,7 +404,6 @@
 				$n++;
 		}
 
-
 	//missed calls
 		if (in_array('missed', $selected_blocks) && permission_exists('xml_cdr_view') && is_array($_SESSION['user']['extension']) && sizeof($_SESSION['user']['extension']) > 0) {
 			foreach ($_SESSION['user']['extension'] as $assigned_extension) {