diff --git a/ChangeLog b/ChangeLog
index afb6d8a8c..842b520a1 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,12 @@ phpMyAdmin - Changelog
$Id$
$Source$
+2002-03-09 Loïc Chapeaux
+ * config.inc.php3, lines 127-130; Documentation.html, lines 677-701;
+ main.php3; user_password.php3 (new script); lang/*;
+ libraries/user_details.js: patch #525250 - Added 'Change Password' to
+ phpMyAdmin, thanks to Taco Scargo .
+
2002-03-08 Loïc Chapeaux
* Documentation.html: little changes ( is for code, for pathes,
quotations...).
diff --git a/Documentation.html b/Documentation.html
index dc7091755..df2c6726f 100755
--- a/Documentation.html
+++ b/Documentation.html
@@ -677,18 +677,26 @@
$cfgShowMysqlInfo boolean
$cfgShowMysqlVars boolean
- $cfgShowPhpInfo boolean
+ $cfgShowPhpInfo boolean
+ $cfgShowChgPassword boolean
Defines whether to display the "MySQL runtime information",
- "MySQL system variables" and "PHP information"
- links or not for simple users at the starting main (right) frame.
- This setting does not check MySQL commands entered directly.
+ "MySQL system variables", "PHP information" and
+ "Change password " links or not for simple users at the
+ starting main (right) frame. This setting does not check MySQL commands
+ entered directly.
Please note that to block the usage of phpinfo() in scripts, you
have to put this in your php.ini:
- disable_functions = phpinfo()
+ disable_functions = phpinfo()
+
+
+ Also note that enabling the "Change password " link has no
+ effect with "config" authentication mode: because of the hard
+ coded password value in the configuration file, end users can't be
+ allowed to change their passwords.
diff --git a/config.inc.php3 b/config.inc.php3
index 0280b5e54..0a75f4e36 100755
--- a/config.inc.php3
+++ b/config.inc.php3
@@ -125,8 +125,9 @@ $cfgLeftFrameLight = TRUE; // use a select-based menu and display only
// In the main frame, at startup...
$cfgShowMysqlInfo = FALSE; // whether to display the "MySQL runtime
-$cfgShowMysqlVars = FALSE; // information", "MySQL system variables" and "PHP
-$cfgShowPhpInfo = FALSE; // information" links for simple users or not
+$cfgShowMysqlVars = FALSE; // information", "MySQL system variables", "PHP
+$cfgShowPhpInfo = FALSE; // information" and "change password" links for
+$cfgShowChgPassword = FALSE; // simple users or not
// In browse mode...
$cfgShowBlob = FALSE; // display blob field contents
diff --git a/lang/arabic.inc.php3 b/lang/arabic.inc.php3
index 6f3db8b2f..427f4163c 100644
--- a/lang/arabic.inc.php3
+++ b/lang/arabic.inc.php3
@@ -340,6 +340,7 @@ $strZip = '"zipped" "
// To translate
$strCardinality = 'Cardinality';
+$strChangePassword = 'Change password';
$strCookiesRequired = 'Cookies must be enabled past this point.';
$strLogin = 'Login';
$strLogPassword = 'Password:';
diff --git a/lang/brazilian_portuguese.inc.php3 b/lang/brazilian_portuguese.inc.php3
index aff37310a..bcecf4b6a 100644
--- a/lang/brazilian_portuguese.inc.php3
+++ b/lang/brazilian_portuguese.inc.php3
@@ -301,6 +301,7 @@ $strYes = 'Sim';
$strAfterInsertBack = 'Return';
$strAfterInsertNewInsert = 'Insert a new record';
$strBookmarkDeleted = 'The bookmark has been deleted.';
+$strChangePassword = 'Change password';
$strCookiesRequired = 'Cookies must be enabled past this point.';
$strCopyTable = 'Copy table to (database.table):';
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
diff --git a/lang/bulgarian-koi8.inc.php3 b/lang/bulgarian-koi8.inc.php3
index 94572620e..7e8a78d8e 100644
--- a/lang/bulgarian-koi8.inc.php3
+++ b/lang/bulgarian-koi8.inc.php3
@@ -346,5 +346,6 @@ $strYes = '
$strZip = '"zip-ÎÁÔÏ"';
// To translate
+$strChangePassword = 'Change password';
$strDatabaseWildcard = 'Database (wildcards allowed):'; //to translate
?>
diff --git a/lang/bulgarian-win1251.inc.php3 b/lang/bulgarian-win1251.inc.php3
index f0bde4bc8..31aa22b6d 100644
--- a/lang/bulgarian-win1251.inc.php3
+++ b/lang/bulgarian-win1251.inc.php3
@@ -346,5 +346,6 @@ $strYes = '
$strZip = '"zip-íàòî"';
// To translate
+$strChangePassword = 'Change password';
$strDatabaseWildcard = 'Database (wildcards allowed):'; //to translate
?>
diff --git a/lang/catala.inc.php3 b/lang/catala.inc.php3
index d690c79de..56e4a757b 100644
--- a/lang/catala.inc.php3
+++ b/lang/catala.inc.php3
@@ -346,4 +346,5 @@ $strYes = 'Si';
$strZip = '"comprimit amb zip"';
// To translate
+$strChangePassword = 'Change password';
?>
diff --git a/lang/chinese_big5.inc.php3 b/lang/chinese_big5.inc.php3
index 5aa6b4959..cdc831bea 100644
--- a/lang/chinese_big5.inc.php3
+++ b/lang/chinese_big5.inc.php3
@@ -347,5 +347,6 @@ $strYes = '
$strZip = '"zipped"';
// To translate
+$strChangePassword = 'Change password';
$strDatabaseWildcard = 'Database (wildcards allowed):'; //to translate
?>
diff --git a/lang/chinese_gb.inc.php3 b/lang/chinese_gb.inc.php3
index 8fbfe5e30..3e7f0892e 100644
--- a/lang/chinese_gb.inc.php3
+++ b/lang/chinese_gb.inc.php3
@@ -269,6 +269,7 @@ $strAfterInsertNewInsert = 'Insert a new record';
$strAnIndex = 'An index has been added on %s';//to translate
$strAPrimaryKey = 'A primary key has been added on %s';//to translate
$strBookmarkDeleted = 'The bookmark has been deleted.';
+$strChangePassword = 'Change password';
$strCookiesRequired = 'Cookies must be enabled past this point.';
$strCopyTable = 'Copy table to (database.table):';
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
diff --git a/lang/czech-iso.inc.php3 b/lang/czech-iso.inc.php3
index 185515579..f8fdba8ca 100644
--- a/lang/czech-iso.inc.php3
+++ b/lang/czech-iso.inc.php3
@@ -344,6 +344,8 @@ $strWrongUser = '
$strYes = 'Ano';
$strZip = '"zazipováno"';
-// To translate
+
+// To translate
+$strChangePassword = 'Change password';
?>
diff --git a/lang/czech-win1250.inc.php3 b/lang/czech-win1250.inc.php3
index 5d228d4ce..e56974e62 100644
--- a/lang/czech-win1250.inc.php3
+++ b/lang/czech-win1250.inc.php3
@@ -345,7 +345,8 @@ $strYes = 'Ano';
$strZip = '"zazipováno"';
-// To translate
+// To translate
+$strChangePassword = 'Change password';
?>
diff --git a/lang/danish.inc.php3 b/lang/danish.inc.php3
index b057a59c3..b17beb79c 100644
--- a/lang/danish.inc.php3
+++ b/lang/danish.inc.php3
@@ -339,6 +339,7 @@ $strZip = '"zipped"'; //to translate
// To translate
$strAddToIndex = 'Add to index %s column(s)';
$strCantRenameIdxToPrimary = 'Can\'t rename index to PRIMARY!';
+$strChangePassword = 'Change password';
$strCreateIndex = 'Create an index on %s columns';
$strNoIndexPartsDefined = 'No index parts defined!';
$strPrimaryKeyWarning = '("PRIMARY" must be the name of and only of a primary key!)';
diff --git a/lang/dutch.inc.php3 b/lang/dutch.inc.php3
index f404e8885..cc7a9db0b 100644
--- a/lang/dutch.inc.php3
+++ b/lang/dutch.inc.php3
@@ -286,6 +286,7 @@ $strAnIndex = 'An index has been added on %s';//to translate
$strAPrimaryKey = 'A primary key has been added on %s';//to translate
$strBookmarkDeleted = 'The bookmark has been deleted.';
$strBzip = '"bzipped"'; //to translate
+$strChangePassword = 'Change password';
$strCookiesRequired = 'Cookies must be enabled past this point.';
$strCopyTable = 'Copy table to (database.table):';
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
diff --git a/lang/english.inc.php3 b/lang/english.inc.php3
index 760196138..09167254a 100644
--- a/lang/english.inc.php3
+++ b/lang/english.inc.php3
@@ -64,6 +64,7 @@ $strCantRenameIdxToPrimary = 'Can\'t rename index to PRIMARY!';
$strCardinality = 'Cardinality';
$strCarriage = 'Carriage return: \\r';
$strChange = 'Change';
+$strChangePassword = 'Change password';
$strCheckAll = 'Check All';
$strCheckDbPriv = 'Check Database Privileges';
$strCheckTable = 'Check table';
diff --git a/lang/finnish.inc.php3 b/lang/finnish.inc.php3
index f35111c09..ae2ddbecb 100644
--- a/lang/finnish.inc.php3
+++ b/lang/finnish.inc.php3
@@ -350,4 +350,5 @@ $strYes = 'Kyll
$strZip = '"zip-pakattu"';
// To translate
+$strChangePassword = 'Change password';
?>
diff --git a/lang/french.inc.php3 b/lang/french.inc.php3
index 86bf49630..4fe74d5c9 100644
--- a/lang/french.inc.php3
+++ b/lang/french.inc.php3
@@ -64,6 +64,7 @@ $strCantRenameIdxToPrimary = 'La clef ne peut
$strCardinality = 'Cardinalité';
$strCarriage = 'Retour de chariot : \\r';
$strChange = 'Modifier';
+$strChangePassword = 'Modifier le mot de passe';
$strCheckAll = 'Tout cocher';
$strCheckDbPriv = 'Afficher les privilèges sur';
$strCheckTable = 'Vérifier la table';
diff --git a/lang/galician.inc.php3 b/lang/galician.inc.php3
index 6af251c7d..23538a11c 100644
--- a/lang/galician.inc.php3
+++ b/lang/galician.inc.php3
@@ -347,6 +347,7 @@ $strZip = 'comprimido no formato "zipped"';
// To translate
$strCardinality = 'Cardinality';
+$strChangePassword = 'Change password';
$strLogin = 'Login';
$strLogPassword = 'Password:';
$strLogUsername = 'Username:';
diff --git a/lang/german.inc.php3 b/lang/german.inc.php3
index 09cf8d031..0d89f4559 100644
--- a/lang/german.inc.php3
+++ b/lang/german.inc.php3
@@ -346,5 +346,5 @@ $strYes = 'Ja';
$strZip = '"Zip komprimiert"';
// To translate
-
+$strChangePassword = 'Change password';
?>
diff --git a/lang/greek.inc.php3 b/lang/greek.inc.php3
index 4428700af..aca2463d5 100644
--- a/lang/greek.inc.php3
+++ b/lang/greek.inc.php3
@@ -293,6 +293,7 @@ $strAfterInsertNewInsert = 'Insert a new record';
$strAPrimaryKey = 'A primary key has been added on %s';//to translate
$strAnIndex = 'An index has been added on %s';//to translate
$strBookmarkDeleted = 'The bookmark has been deleted.';
+$strChangePassword = 'Change password';
$strCookiesRequired = 'Cookies must be enabled past this point.';
$strCopyTable = 'Copy table to (database.table):';
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
diff --git a/lang/hebrew.inc.php3 b/lang/hebrew.inc.php3
index e8b9962bd..53642a3d4 100644
--- a/lang/hebrew.inc.php3
+++ b/lang/hebrew.inc.php3
@@ -346,4 +346,5 @@ $strYes = '
$strZip = '"Zipped"';
// To translate
+$strChangePassword = 'Change password';
?>
diff --git a/lang/hungarian.inc.php3 b/lang/hungarian.inc.php3
index 60c7e938e..90550c0db 100644
--- a/lang/hungarian.inc.php3
+++ b/lang/hungarian.inc.php3
@@ -347,4 +347,5 @@ $strYes = 'Igen';
$strZip = '"zippel tömörítve"';
// To translate
+$strChangePassword = 'Change password';
?>
diff --git a/lang/italian.inc.php3 b/lang/italian.inc.php3
index 9962d7213..b8987596e 100644
--- a/lang/italian.inc.php3
+++ b/lang/italian.inc.php3
@@ -349,4 +349,5 @@ $strZip = '"compresso con zip"';
// To translate
+$strChangePassword = 'Change password';
?>
diff --git a/lang/japanese-euc.inc.php3 b/lang/japanese-euc.inc.php3
index 79e76b37b..6a2cafd50 100644
--- a/lang/japanese-euc.inc.php3
+++ b/lang/japanese-euc.inc.php3
@@ -350,5 +350,6 @@ $strKanjiEncodConvert = '
$strXkana = 'Á´³Ñ¥«¥Ê¤ØÊÑ´¹¤¹¤ë'; // convert to X208-kana
// To translate
+$strChangePassword = 'Change password';
$strDatabaseWildcard = 'Database (wildcards allowed):'; //to translate
?>
diff --git a/lang/japanese-sjis.inc.php3 b/lang/japanese-sjis.inc.php3
index 98e1d14ad..eda737379 100644
--- a/lang/japanese-sjis.inc.php3
+++ b/lang/japanese-sjis.inc.php3
@@ -350,5 +350,6 @@ $strKanjiEncodConvert = '
$strXkana = '‘SŠpƒJƒi‚Ö•ÏŠ·‚·‚é'; // convert to X208-kana
// To translate
+$strChangePassword = 'Change password';
$strDatabaseWildcard = 'Database (wildcards allowed):'; //to translate
?>
diff --git a/lang/korean.inc.php3 b/lang/korean.inc.php3
index 6e5ee92af..8d9f566de 100644
--- a/lang/korean.inc.php3
+++ b/lang/korean.inc.php3
@@ -268,6 +268,7 @@ $strAfterInsertNewInsert = 'Insert a new record';
$strAnIndex = 'An index has been added on %s';//to translate
$strAPrimaryKey = 'A primary key has been added on %s';//to translate
$strBookmarkDeleted = 'The bookmark has been deleted.';
+$strChangePassword = 'Change password';
$strCookiesRequired = 'Cookies must be enabled past this point.';
$strCopyTable = 'Copy table to (database.table):';
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
diff --git a/lang/norwegian.inc.php3 b/lang/norwegian.inc.php3
index 26fd5451f..2d4ba4693 100644
--- a/lang/norwegian.inc.php3
+++ b/lang/norwegian.inc.php3
@@ -345,4 +345,5 @@ $strYes = 'Ja';
$strZip = '"komprimert (zip)"';
// To translate
+$strChangePassword = 'Change password';
?>
diff --git a/lang/polish.inc.php3 b/lang/polish.inc.php3
index 2d7fd3803..0654a689d 100644
--- a/lang/polish.inc.php3
+++ b/lang/polish.inc.php3
@@ -346,4 +346,5 @@ $strYes = 'Tak';
$strZip = '".zip"';
// To translate
+$strChangePassword = 'Change password';
?>
diff --git a/lang/portuguese.inc.php3 b/lang/portuguese.inc.php3
index d14ecd536..47885e197 100644
--- a/lang/portuguese.inc.php3
+++ b/lang/portuguese.inc.php3
@@ -343,6 +343,7 @@ $strYes = 'Sim';
// To translate
$strBzip = '"bzipped"'; //to translate
+$strChangePassword = 'Change password';
$strGzip = '"gzipped"'; //to translate
$strHomepageSourceforge = 'Sourceforge phpMyAdmin Download Page'; //to translate
$strZip = '"zipped"'; //to translate
diff --git a/lang/romanian.inc.php3 b/lang/romanian.inc.php3
index ea29d95bd..946976d60 100644
--- a/lang/romanian.inc.php3
+++ b/lang/romanian.inc.php3
@@ -346,5 +346,6 @@ $strYes = 'Da';
$strZip = '"zipped"';
// To translate
+$strChangePassword = 'Change password';
$strDatabaseWildcard = 'Database (wildcards allowed):'; //to translate
?>
diff --git a/lang/russian-koi8.inc.php3 b/lang/russian-koi8.inc.php3
index 273846d15..c295d8aaa 100644
--- a/lang/russian-koi8.inc.php3
+++ b/lang/russian-koi8.inc.php3
@@ -345,5 +345,6 @@ $strYes = '
$strZip = 'ÕÐÁËÏ×ÁÔØ × "zip"';
// To translate
+$strChangePassword = 'Change password';
$strDatabaseWildcard = 'Database (wildcards allowed):'; //to translate
?>
diff --git a/lang/russian-win1251.inc.php3 b/lang/russian-win1251.inc.php3
index 94d6a4d3b..fe691fa93 100644
--- a/lang/russian-win1251.inc.php3
+++ b/lang/russian-win1251.inc.php3
@@ -345,5 +345,6 @@ $strYes = '
$strZip = 'óïàêîâàòü â "zip"';
// To translate
+$strChangePassword = 'Change password';
$strDatabaseWildcard = 'Database (wildcards allowed):'; //to translate
?>
diff --git a/lang/slovak-iso.inc.php3 b/lang/slovak-iso.inc.php3
index 85f9eb888..b83b22efb 100644
--- a/lang/slovak-iso.inc.php3
+++ b/lang/slovak-iso.inc.php3
@@ -349,4 +349,5 @@ $strZip = '"zo zipovan
// To translate
+$strChangePassword = 'Change password';
?>
diff --git a/lang/slovak-win1250.inc.php3 b/lang/slovak-win1250.inc.php3
index 9a6e864b3..d5d0716a0 100644
--- a/lang/slovak-win1250.inc.php3
+++ b/lang/slovak-win1250.inc.php3
@@ -345,6 +345,6 @@ $strZip = '"zozipovan
// To translate
-
+$strChangePassword = 'Change password';
$strDatabaseWildcard = 'Database (wildcards allowed):'; //to translate
?>
diff --git a/lang/spanish.inc.php3 b/lang/spanish.inc.php3
index 46b795bd0..0e5fcd210 100644
--- a/lang/spanish.inc.php3
+++ b/lang/spanish.inc.php3
@@ -318,6 +318,7 @@ $strYes = 'Si';
// To translate
$strAfterInsertBack = 'Return';
$strBzip = '"bzipped"';
+$strChangePassword = 'Change password';
$strFlushTable = 'Flush the table ("FLUSH")';
$strFullText = 'Full Texts';
$strGzip = '"gzipped"';
diff --git a/lang/swedish.inc.php3 b/lang/swedish.inc.php3
index 82ca24127..8ca591d6e 100644
--- a/lang/swedish.inc.php3
+++ b/lang/swedish.inc.php3
@@ -346,4 +346,5 @@ $strYes = 'Ja';
$strZip = '"zippad"';
// To translate
+$strChangePassword = 'Change password';
?>
diff --git a/lang/thai.inc.php3 b/lang/thai.inc.php3
index 65b43c777..dc7a9ca97 100644
--- a/lang/thai.inc.php3
+++ b/lang/thai.inc.php3
@@ -268,6 +268,7 @@ $strAfterInsertNewInsert = 'Insert a new record';
$strAnIndex = 'An index has been added on %s';//to translate
$strAPrimaryKey = 'A primary key has been added on %s';//to translate
$strBookmarkDeleted = 'The bookmark has been deleted.';
+$strChangePassword = 'Change password';
$strCookiesRequired = 'Cookies must be enabled past this point.';
$strCopyTable = 'Copy table to (database.table):';
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
diff --git a/lang/turkish.inc.php3 b/lang/turkish.inc.php3
index 6c46973ee..8fef10d28 100644
--- a/lang/turkish.inc.php3
+++ b/lang/turkish.inc.php3
@@ -346,4 +346,5 @@ $strYes = 'Evet';
$strZip = '"ziplenmiþ"';
// To translate
+$strChangePassword = 'Change password';
?>
diff --git a/lang/ukrainian-win1251.inc.php3 b/lang/ukrainian-win1251.inc.php3
index 47ba3c97e..1afb79bcc 100644
--- a/lang/ukrainian-win1251.inc.php3
+++ b/lang/ukrainian-win1251.inc.php3
@@ -345,5 +345,6 @@ $strYes = '
$strZip = 'çàïàêóâàòè â "zip"';
// To translate
+$strChangePassword = 'Change password';
$strDatabaseWildcard = 'Database (wildcards allowed):'; //to translate
?>
diff --git a/libraries/user_details.js b/libraries/user_details.js
index 0952ecfd4..45b9e22b5 100644
--- a/libraries/user_details.js
+++ b/libraries/user_details.js
@@ -11,7 +11,7 @@
function checkPassword(the_form)
{
// Gets the elements pointers
- if (the_form.name == 'addUserForm') {
+ if (the_form.name == 'addUserForm' || the_form.name == 'chgPassword') {
var pswd_index = 1;
var pswd1_name = 'pma_pw';
var pswd2_name = 'pma_pw2';
diff --git a/main.php3 b/main.php3
index 0a60eafc3..945ea96a0 100755
--- a/main.php3
+++ b/main.php3
@@ -212,10 +212,20 @@ if ($server > 0) {
$common_url_query = 'lang=' . $lang . '&server=' . $server;
+ if ($is_superuser) {
+ $cfgShowMysqlInfo = TRUE;
+ $cfgShowMysqlVars = TRUE;
+ $cfgShowChgPassword = TRUE;
+ }
+ if ($cfgServer['auth_type'] == 'config') {
+ $cfgShowChgPassword = FALSE;
+ }
+
// loic1: Displays the MySQL column only if at least one feature has to be
// displayed
if ($is_superuser || $is_create_priv || $is_process_priv || $is_reload_priv
- || $cfgShowMysqlInfo || $cfgShowMysqlVars || $cfgServer['auth_type'] != 'config') {
+ || $cfgShowMysqlInfo || $cfgShowMysqlVars || $cfgShowChgPassword
+ || $cfgServer['auth_type'] != 'config') {
?>
@@ -250,7 +260,7 @@ if ($server > 0) {
?>
|
@@ -263,7 +273,7 @@ if ($server > 0) {
@@ -331,6 +341,20 @@ if ($server > 0) {
}
}
+ // Change password (needs another message)
+ if ($cfgShowChgPassword) {
+ echo "\n";
+ ?>
+
+  |
+
+
+
+ |
+
+ ' . $strError . '
' . "\n";
+ echo ' ' . $strNoRights . '
' . "\n";
+ include('./footer.inc.php3');
+ exit();
+} // end if
+
+
+/**
+ * If the "change password" form has been submitted, checks for valid values
+ * and submit the query or logout
+ */
+if (isset($nopass)) {
+ $error_msg = '';
+
+ if ($nopass == 0 && isset($pma_pw) && isset($pma_pw2)) {
+ if ($pma_pw != $pma_pw2) {
+ $error_msg = $strPasswordNotSame;
+ }
+ if (empty($pma_pw) || empty($pma_pw2)) {
+ $error_msg = $strPasswordEmpty;
+ }
+ } // end if
+
+ // here $nopass could be == 1
+ if (empty($error_msg)) {
+
+ if (get_magic_quotes_gpc() && $pma_pw != '') {
+ $pma_pw = stripslashes($pma_pw);
+ }
+
+ // Defines the url to return to in case of error in the sql statement
+ $common_url_query = 'lang=' . $lang . '&server=' . $server;
+ $err_url = 'user_password.php3?' . $common_url_query;
+
+ $sql_query = 'SET password = ' . (($pma_pw == '') ? '\'\'' : 'PASSWORD(\'' . $pma_pw . '\')');
+ $result = @mysql_query($sql_query) or PMA_mysqlDie('', '', FALSE, $err_url);
+
+ // Changes password cookie if required
+ if ($cfgServer['auth_type'] == 'cookie') {
+ setcookie('pma_cookie_password', $pma_pw, 0, $cookie_path, '', $is_https);
+ } // end if
+ // For http auth. mode, the "back" link will also enforce new
+ // authentication
+ $http_logout = ($cfgServer['auth_type'] == 'http')
+ ? '&old_usr=relog'
+ : '';
+
+ // Displays the page
+ include('./header.inc.php3');
+ echo '' . $strChangePassword . '
' . "\n\n";
+ PMA_showMessage(get_magic_quotes_gpc() ? addslashes($strUpdateProfileMessage) : $strUpdateProfileMessage);
+ ?>
+
+
+ displays the form
+ */
+// Loads the headers
+$js_to_run = 'user_details.js';
+require('./header.inc.php3');
+echo '' . $strChangePassword . '
' . "\n\n";
+
+// Displays an error message if required
+if (!empty($error_msg)) {
+ echo '' . $strError . ' : ' . $error_msg . '
' . "\n";
+}
+
+// Displays the form
+?>
+
+
+