js checks for user_password
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2003-03-17 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* user_password.php3, header.inc.php3, libraries/user_password.js:
|
||||
put back js functions for user password change (= old user_details.js)
|
||||
|
||||
2003-03-15 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* pdf_pages.php3: Automatic layout of tables on the schema
|
||||
|
||||
|
@@ -60,7 +60,7 @@ var confirmMsg = '<?php echo(($GLOBALS['cfg']['Confirm']) ? str_replace('\'', '
|
||||
</script>
|
||||
<script src="libraries/functions.js" type="text/javascript" language="javascript"></script>
|
||||
<?php
|
||||
} else if (isset($js_to_run) && $js_to_run == 'user_details.js') {
|
||||
} else if (isset($js_to_run) && $js_to_run == 'user_password.js') {
|
||||
echo "\n";
|
||||
?>
|
||||
// js form validation stuff
|
||||
@@ -70,7 +70,7 @@ var jsPasswordEmpty = '<?php echo str_replace('\'', '\\\'', $GLOBALS['strPassw
|
||||
var jsPasswordNotSame = '<?php echo str_replace('\'', '\\\'', $GLOBALS['strPasswordNotSame']); ?>';
|
||||
//-->
|
||||
</script>
|
||||
<script src="libraries/user_details.js" type="text/javascript" language="javascript"></script>
|
||||
<script src="libraries/user_password.js" type="text/javascript" language="javascript"></script>
|
||||
<?php
|
||||
} else if (isset($js_to_run) && $js_to_run == 'server_privileges.js') {
|
||||
echo "\n";
|
||||
|
@@ -83,7 +83,7 @@ if (isset($nopass)) {
|
||||
* aren't valid -> displays the form
|
||||
*/
|
||||
// Loads the headers
|
||||
$js_to_run = 'user_details.js';
|
||||
$js_to_run = 'user_password.js';
|
||||
require('./header.inc.php3');
|
||||
echo '<h1>' . $strChangePassword . '</h1>' . "\n\n";
|
||||
|
||||
|
Reference in New Issue
Block a user