Răsfoiți Sursa

Fix the link in user_settings, and fix some of the variable names used in the app_languages.php.

Mark Crane 12 ani în urmă
părinte
comite
2892d10720

+ 1 - 1
core/user_settings/app_config.php

@@ -32,7 +32,7 @@
 		$apps[$x]['menu'][0]['uuid'] = '4d532f0b-c206-c39d-ff33-fc67d668fb69';
 		$apps[$x]['menu'][0]['parent_uuid'] = '02194288-6d56-6d3e-0b1a-d53a2bc10788';
 		$apps[$x]['menu'][0]['category'] = 'internal';
-		$apps[$x]['menu'][0]['path'] = 'user/user_edit.php';
+		$apps[$x]['menu'][0]['path'] = '/core/user_settings/user_edit.php';
 		$apps[$x]['menu'][0]['groups'][] = 'user';
 		$apps[$x]['menu'][0]['groups'][] = 'admin';
 		$apps[$x]['menu'][0]['groups'][] = 'superadmin';

+ 2 - 2
core/user_settings/app_languages.php

@@ -63,8 +63,8 @@
 	$content_users['confirm-update']['en-us'] = 'Update Complete';
 	$content_users['confirm-update']['pt-pt'] = 'Actualização Completa';
 
-	$text['title-user-information']['en-us'] = 'User Information';
-	$text['title-user-information']['pt-pt'] = 'Informação do Utilizador';
+	$text['title-user-settings']['en-us'] = 'User Information';
+	$text['title-user-settings']['pt-pt'] = 'Informação do Utilizador';
 
 	$text['label-username']['en-us'] = 'User Name';
 	$text['label-username']['pt-pt'] = 'Nome do Utilizador';

+ 4 - 5
core/user_settings/user_dashboard.php

@@ -32,9 +32,6 @@ require_once "includes/require.php";
 require_once "includes/checkauth.php";
 require_once "includes/header.php";
 
-echo "<br />";
-echo "<br />";
-
 //add multi-lingual support
 	echo "<!--\n";
 	require_once "app_languages.php";
@@ -54,13 +51,15 @@ echo "<br />";
 	//echo "<br />\n";
 
 //start the user table
+	echo "<br />";
+	echo "<br />";
 	echo "<table width=\"100%\" border=\"0\" cellpadding=\"7\" cellspacing=\"0\">\n";
 	echo "<tr>\n";
-	echo "	<th class='th' colspan='2' align='left'>".$text['title-user-settings']."&nbsp;</th>\n";
+	echo "	<th class='th' colspan='2' align='left'>".$text['title-user-settings']." &nbsp;</th>\n";
 	echo "</tr>\n";
 	echo "<tr>\n";
 	echo "	<td width='20%' class=\"vncell\" style='text-align: left;'>\n";
-	echo "		".$text['label-usernname'].": \n";
+	echo "		".$text['label-username'].": \n";
 	echo "	</td>\n";
 	echo "	<td class=\"row_style1\">\n";
 	echo "		<a href='".PROJECT_PATH."/core/user_settings/user_edit.php'>".$_SESSION["username"]."</a> \n";