Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChanaka Indrajith <pe.chanaka.ck@gmail.com>2012-05-11 14:35:55 +0400
committerChanaka Indrajith <pe.chanaka.ck@gmail.com>2012-05-11 14:35:55 +0400
commitbf15800089d11e83dc7998e5064dafcf2280c118 (patch)
tree3fbc3e8efb1b064b663a9ba7ee143011516339ac /user_password.php
parent61360750cacb245ef61b62f0134788af7bd8295b (diff)
Remove HTML rendering inside the functions in display_tbl.lib.php file itselves
Diffstat (limited to 'user_password.php')
-rw-r--r--user_password.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_password.php b/user_password.php
index f1b632c889..8a9937eb00 100644
--- a/user_password.php
+++ b/user_password.php
@@ -82,7 +82,7 @@ function PMA_getChangePassMessage($change_password_message, $sql_query = '')
if ($change_password_message['error']) {
PMA_ajaxResponse($change_password_message['msg'], false);
} else {
- $extra_data['sql_query'] = PMA_showMessage($change_password_message['msg'], $sql_query, 'success');
+ $extra_data['sql_query'] = PMA_getMessage($change_password_message['msg'], $sql_query, 'success');
PMA_ajaxResponse($change_password_message['msg'], true, $extra_data);
}
}
@@ -205,7 +205,7 @@ function PMA_changePassDisplayPage($message, $sql_query, $_url_params)
{
include_once './libraries/header.inc.php';
echo '<h1>' . __('Change password') . '</h1>' . "\n\n";
- PMA_showMessage($message, $sql_query, 'success');
+ echo PMA_getMessage($message, $sql_query, 'success');
echo '<a href="index.php'.PMA_generate_common_url($_url_params).' target="_parent">'. "\n"
.'<strong>'.__('Back').'</strong></a>';
include './libraries/footer.inc.php';