added ability to change a user's password (sorry for flooding the language files again...)

This commit is contained in:
Alexander M. Turek
2002-12-19 22:58:09 +00:00
parent 2cec193768
commit f522e5626a
92 changed files with 304 additions and 67 deletions

View File

@@ -24,6 +24,10 @@ $Source$
* lang/*.inc.php3: Fixed a typo.
* lang/lithuanian-*.inc.php3: Updates, thanks to Vilius Zigmantas (viliusz).
* lang/english-*.inc.php3, lang/romanian-*.inc.php3: Reordered strings.
* server_privileges.php3, lang/*.inc.php3:
- Bugfixes;
- Small design modification;
- Added ability to change passwords via SET PASSWORD FOR user.
2002-12-18 Alexander M. Turek <rabus@users.sourceforge.net>
* main.php3, header.inc.php3, server_privileges.php3, server_links.php3,

View File

@@ -519,4 +519,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -520,4 +520,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -521,4 +521,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -522,4 +522,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -534,4 +534,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -533,4 +533,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -533,4 +533,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -534,4 +534,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -533,4 +533,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -534,4 +534,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -533,4 +533,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -509,4 +509,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -510,4 +510,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -519,4 +519,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -518,4 +518,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -517,4 +517,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -516,4 +516,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -532,4 +532,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -533,4 +533,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -532,4 +532,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -514,4 +514,5 @@ $strZeroRemovesTheLimit = 'Pozn
$strZip = '"zazipov<6F>no"';
// To translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -515,4 +515,5 @@ $strZeroRemovesTheLimit = 'Poznámka: Nastavení těchto parametrů na 0 (nulu)
$strZip = '"zazipováno"';
// To translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -514,4 +514,5 @@ $strZeroRemovesTheLimit = 'Pozn
$strZip = '"zazipov<6F>no"';
// To translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -527,4 +527,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -528,4 +528,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -213,7 +213,7 @@ $strKeepPass = 'Wijzig het wachtwoord niet';
$strKeyname = 'Sleutelnaam';
$strKill = 'stop proces';
$strLaTeX = 'LaTeX';
$strLaTeX = 'LaTeX';
$strLength = 'Lengte';
$strLengthSet = 'Lengte/Waardes*';
$strLimitNumRows = 'records per pagina';
@@ -521,4 +521,6 @@ $strShowDatadictAs = 'Data Dictionary Format'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -214,7 +214,7 @@ $strKeepPass = 'Wijzig het wachtwoord niet';
$strKeyname = 'Sleutelnaam';
$strKill = 'stop proces';
$strLaTeX = 'LaTeX';
$strLaTeX = 'LaTeX';
$strLength = 'Lengte';
$strLengthSet = 'Lengte/Waardes*';
$strLimitNumRows = 'records per pagina';
@@ -522,4 +522,6 @@ $strShowDatadictAs = 'Data Dictionary Format'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -287,6 +287,7 @@ $strPHPVersion = 'PHP Version';
$strPageNumber = 'Page number:';
$strPartialText = 'Partial Texts';
$strPassword = 'Password';
$strPasswordChanged = 'The Password for %s was changed successfully.';
$strPasswordEmpty = 'The password is empty!';
$strPasswordNotSame = 'The passwords aren\'t the same!';
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s';

View File

@@ -288,6 +288,7 @@ $strPHPVersion = 'PHP Version';
$strPageNumber = 'Page number:';
$strPartialText = 'Partial Texts';
$strPassword = 'Password';
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
$strPasswordEmpty = 'The password is empty!';
$strPasswordNotSame = 'The passwords aren\'t the same!';
$strPdfDbSchema = 'Schema of the the "%s" database - Page %s';

View File

@@ -508,4 +508,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
?>
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -509,4 +509,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
?>
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -518,4 +518,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -519,4 +519,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -508,4 +508,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -509,4 +509,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -508,4 +508,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -509,4 +509,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -532,4 +532,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -293,6 +293,7 @@ $strOverhead = '
$strPageNumber = 'Seite:';
$strPartialText = 'gek<65>rzte Textfelder';
$strPassword = 'Kennwort';
$strPasswordChanged = 'Das Kennwort f<>r %s wurde ge<67>ndert.';
$strPasswordEmpty = 'Es wurde kein Kennwort angegeben!';
$strPasswordNotSame = 'Die eingegebenen Kennw<6E>rter sind nicht identisch!';
$strPdfDbSchema = 'Schema der Datenbank "%s" - Seite %s';

View File

@@ -294,6 +294,7 @@ $strOverhead = 'Überhang';
$strPageNumber = 'Seite:';
$strPartialText = 'gekürzte Textfelder';
$strPassword = 'Kennwort';
$strPasswordChanged = 'Das Kennwort für %s wurde geändert.';
$strPasswordEmpty = 'Es wurde kein Kennwort angegeben!';
$strPasswordNotSame = 'Die eingegebenen Kennwörter sind nicht identisch!';
$strPdfDbSchema = 'Schema der Datenbank "%s" - Seite %s';

View File

@@ -531,4 +531,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -532,4 +532,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -529,4 +529,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -543,4 +543,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -517,4 +517,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -518,4 +518,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -515,4 +515,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -516,4 +516,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -516,4 +516,5 @@ $strZeroRemovesTheLimit = 'N.B.: 0 (zero) significa nessun limite.';
$strZip = '"compresso con zip"';
// To translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -517,4 +517,5 @@ $strZeroRemovesTheLimit = 'N.B.: 0 (zero) significa nessun limite.';
$strZip = '"compresso con zip"';
// To translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -522,4 +522,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -522,4 +522,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -522,4 +522,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -531,4 +531,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -533,4 +533,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -532,4 +532,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -509,4 +509,5 @@ $strZeroRemovesTheLimit = 'Pastaba: Nėra jokių apribojimų jeigu reikšmė nur
$strZip = '"zip"';
// To translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -508,4 +508,5 @@ $strZeroRemovesTheLimit = 'Pastaba: N
$strZip = '"zip"';
// To translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -528,4 +528,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
?>
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -529,4 +529,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
?>
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -511,4 +511,6 @@ $strYes = 'Ja';
$strZeroRemovesTheLimit = 'Merk: Ved <20> sette disse til 0 (null) fjerner begrensningen.';
$strZip = 'Komprimert (zip)';
// To translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -512,4 +512,6 @@ $strYes = 'Ja';
$strZeroRemovesTheLimit = 'Merk: Ved å sette disse til 0 (null) fjerner begrensningen.';
$strZip = 'Komprimert (zip)';
// To translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -510,4 +510,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -511,4 +511,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -528,4 +528,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -529,4 +529,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -515,4 +515,6 @@ $strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -516,4 +516,6 @@ $strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -515,4 +515,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -513,4 +513,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -514,4 +514,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -513,4 +513,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -535,4 +535,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -534,4 +534,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -515,4 +515,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -516,4 +516,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -515,4 +515,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -511,4 +511,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -512,4 +512,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -511,4 +511,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -511,4 +511,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -512,4 +512,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -512,4 +512,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -513,4 +513,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -516,4 +516,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -517,4 +517,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -520,4 +520,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -521,4 +521,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -514,4 +514,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -513,4 +513,6 @@ $strPrivilegesReloaded = 'The privileges were reloaded successfully.'; //to tran
$strResourceLimits = 'Resource limits'; //to translate
$strUserOverview = 'User overview'; //to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strPasswordChanged = 'The Password for %s was changed successfully.'; // to translate
?>

View File

@@ -80,6 +80,9 @@ function PMA_extractPrivInfo($row = '', $enableHTML = FALSE)
* Updates privileges
*/
if (!empty($update_privs)) {
if (empty($hostname)) {
$hostname = '%';
}
$sql_query0 = 'REVOKE ALL PRIVILEGES ON *.* FROM "' . $username . '"@"' . $hostname . '";';
$sql_query1 = 'REVOKE GRANT OPTION ON *.* FROM "' . $username . '"@"' . $hostname . '";';
$sql_query2 = 'GRANT ' . join(', ', PMA_extractPrivInfo()) . ' ON *.* TO "' . $username . '"@"' . $hostname . '"';
@@ -112,6 +115,33 @@ if (!empty($update_privs)) {
$message = sprintf($strUpdatePrivMessage, '\'' . $username . '\'@\'' . $hostname . '\'');
}
/**
* Updates the password
*/
if (!empty($change_pw)) {
if (empty($hostname)) {
$hostname = '%';
}
if ($nopass == 1) {
$sql_query = 'SET PASSWORD FOR "' . $username . '"@"' . $hostname . '" = ""';
PMA_mysql_query($sql_query, $userlink) or PMA_mysqlDie(PMA_mysql_error($userlink));
$message = sprintf($strPasswordChanged, '\'' . $username . '\'@\'' . $hostname . '\'');
} else if (empty($pma_pw) || empty($pma_pw2)) {
$message = $strPasswordEmpty;
} else if ($pma_pw != $pma_pw2) {
$message = $strPasswordNotSame;
} else {
$hidden_pw = '';
for ($i = 0; $i < strlen($pma_pw); $i++) {
$hidden_pw .= '*';
}
$local_query = 'SET PASSWORD FOR "' . $username . '"@"' . $hostname . '" = PASSWORD("' . $pma_pw . '")';
$sql_query = 'SET PASSWORD FOR "' . $username . '"@"' . $hostname . '" = PASSWORD("' . $hidden_pw . '")';
PMA_mysql_query($local_query, $userlink) or PMA_mysqlDie(PMA_mysql_error($userlink));
$message = sprintf($strPasswordChanged, '\'' . $username . '\'@\'' . $hostname . '\'');
}
}
/**
* Reloads the privilege tables into memory
*/
@@ -127,6 +157,7 @@ if (!empty($flush_privileges)) {
/**
* Does the common work
*/
$js_to_run = 'user_details.js';
require('./server_common.inc.php3');
/**
@@ -139,7 +170,7 @@ require('./server_links.inc.php3');
*/
if (!$is_superuser) {
echo '<h2>' . "\n"
. ' ' . $strUsers . "\n"
. ' ' . $strPrivileges . "\n"
. '</h2>' . "\n"
. $strNoPrivileges . "\n";
include('./footer.inc.php3');
@@ -161,7 +192,7 @@ if (!isset($username) && !isset($hostname)) {
$oldPrivTables = TRUE;
}
}
if (!isset($res) || empty($res) || (PMA_MYSQL_INT_VERSION >= 32211 && PMA_MYSQL_INT_VERSION < 40002)) {
if (empty($res) || (PMA_MYSQL_INT_VERSION >= 32211 && PMA_MYSQL_INT_VERSION < 40002)) {
$res = PMA_mysql_query('SELECT `User`, `Host`, IF(`Password` = "", "N", "Y") AS "Password", `Select_priv`, `Insert_priv`, `Update_priv`, `Delete_priv`, `Index_priv`, `Alter_priv`, `Create_priv`, `Drop_priv`, `Grant_priv`, `References_priv`, `Reload_priv`, `Shutdown_priv`, `Process_priv`, `File_priv` FROM `user`;', $userlink);
if (!$res) {
// the query failed! This may have two reasons:
@@ -170,7 +201,7 @@ if (!isset($username) && !isset($hostname)) {
$oldPrivTables = TRUE;
}
}
if (!$res || PMA_MYSQL_INT_VERSION < 32211) {
if (empty($res) || PMA_MYSQL_INT_VERSION < 32211) {
$res = PMA_mysql_query('SELECT * FROM `user`;', $userlink);
}
if (!$res) {
@@ -229,11 +260,10 @@ if (!isset($username) && !isset($hostname)) {
$hostname = '%';
}
echo '<h2>' . "\n"
. ' ' . $strEditPrivileges . '<br />' . "\n"
. '</h2>' . "\n"
. '<h3>' . "\n"
. ' ' . $strUser . ' <i>\'' . htmlspecialchars($username) . '\'@\'' . htmlspecialchars($hostname) . '\'</i>' . "\n"
. '</h3>' . "\n";
. '</h2>' . "\n"
. '<ul>' . "\n"
. ' <li>' . "\n";
$res = PMA_mysql_query('SELECT * FROM `user` WHERE `User` = "' . $username . '" AND `Host` = "' . $hostname . '"', $userlink);
$row = PMA_mysql_fetch_array($res, MYSQL_ASSOC);
@mysql_free_result($res);
@@ -282,73 +312,107 @@ if (!isset($username) && !isset($hostname)) {
if (isset($row['Repl_slave_priv'])) {
$privTable[2][] = array('Repl_slave', 'REPLICATION&nbsp;SLAVE', $strPrivDescReplSlave);
}
echo '<form action="server_privileges.php3" method="post">' . "\n"
. ' <input type="hidden" name="lang" value="' . $lang . '" />' . "\n"
. ' <input type="hidden" name="convcharset" value="' . $convcharset . '" />' . "\n"
. ' <input type="hidden" name="server" value="' . $server . '" />' . "\n"
. ' <input type="hidden" name="username" value="' . urlencode($username) . '" />' . "\n";
echo ' <form action="server_privileges.php3" method="post">' . "\n"
. ' <input type="hidden" name="lang" value="' . $lang . '" />' . "\n"
. ' <input type="hidden" name="convcharset" value="' . $convcharset . '" />' . "\n"
. ' <input type="hidden" name="server" value="' . $server . '" />' . "\n"
. ' <input type="hidden" name="username" value="' . urlencode($username) . '" />' . "\n";
if ($hostname != '%') {
echo ' <input type="hidden" name="hostname" value="' . urlencode($hostname) . '" />' . "\n";
echo ' <input type="hidden" name="hostname" value="' . urlencode($hostname) . '" />' . "\n";
}
echo ' <input type="hidden" name="grant_count" value="' . (count($privTable[0]) + count($privTable[1]) + count($privTable[2])) . '" />' . "\n"
. ' <table border="0">' . "\n"
. ' <tr>' . "\n"
. ' <th colspan="6">&nbsp;' . $strGlobalPrivileges . '&nbsp;</th>' . "\n"
. ' </tr>' . "\n"
. ' <tr>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '" colspan="6"><small><i>' . $strEnglishPrivileges . '</i></small></th>' . "\n"
. ' </tr>' . "\n"
. ' <tr>'
. ' <td bgcolor="' . $cfg['BgcolorOne'] . '" colspan="2">&nbsp;<b><i>' . $strData . '</i></b>&nbsp;</td>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorOne'] . '" colspan="2">&nbsp;<b><i>' . $strStructure . '</i></b>&nbsp;</td>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorOne'] . '" colspan="2">&nbsp;<b><i>' . $strAdministration . '</i></b>&nbsp;</td>' . "\n"
. ' </tr>' . "\n";
echo ' <input type="hidden" name="grant_count" value="' . (count($privTable[0]) + count($privTable[1]) + count($privTable[2])) . '" />' . "\n"
. ' <b>' . $strEditPrivileges . '</b><br />' . "\n"
. ' <table border="0">' . "\n"
. ' <tr>' . "\n"
. ' <th colspan="6">&nbsp;' . $strGlobalPrivileges . '&nbsp;</th>' . "\n"
. ' </tr>' . "\n"
. ' <tr>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '" colspan="6"><small><i>' . $strEnglishPrivileges . '</i></small></th>' . "\n"
. ' </tr>' . "\n"
. ' <tr>'
. ' <td bgcolor="' . $cfg['BgcolorOne'] . '" colspan="2">&nbsp;<b><i>' . $strData . '</i></b>&nbsp;</td>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorOne'] . '" colspan="2">&nbsp;<b><i>' . $strStructure . '</i></b>&nbsp;</td>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorOne'] . '" colspan="2">&nbsp;<b><i>' . $strAdministration . '</i></b>&nbsp;</td>' . "\n"
. ' </tr>' . "\n";
$limitTable = FALSE;
for ($i = 0; isset($privTable[0][$i]) || isset($privTable[1][$i]) || isset($privTable[2][$i]); $i++) {
echo ' <tr>' . "\n";
echo ' <tr>' . "\n";
for ($j = 0; $j < 3; $j++) {
if (isset($privTable[$j][$i])) {
echo ' <td bgcolor="' . $cfg['BgcolorTwo'] . '"><input type="checkbox" name="' . $privTable[$j][$i][0] . '_priv" id="checkbox_' . $privTable[$j][$i][0] . '_priv" value="Y" ' . ($row[$privTable[$j][$i][0] . '_priv'] == 'Y' ? 'checked="checked" ' : '') . 'title="' . $privTable[$j][$i][2] . '"/></td>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '"><label for="checkbox_' . $privTable[$j][$i][0] . '_priv"><tt><dfn title="' . $privTable[$j][$i][2] . '">' . $privTable[$j][$i][1] . '</dfn></tt></label></td>' . "\n";
echo ' <td bgcolor="' . $cfg['BgcolorTwo'] . '"><input type="checkbox" name="' . $privTable[$j][$i][0] . '_priv" id="checkbox_' . $privTable[$j][$i][0] . '_priv" value="Y" ' . ($row[$privTable[$j][$i][0] . '_priv'] == 'Y' ? 'checked="checked" ' : '') . 'title="' . $privTable[$j][$i][2] . '"/></td>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '"><label for="checkbox_' . $privTable[$j][$i][0] . '_priv"><tt><dfn title="' . $privTable[$j][$i][2] . '">' . $privTable[$j][$i][1] . '</dfn></tt></label></td>' . "\n";
} else if (!isset($privTable[0][$i]) && !isset($privTable[1][$i])
&& isset($row['max_questions']) && isset($row['max_updates']) && isset($row['max_connections'])
&& !$limitTable) {
echo ' <td colspan="4" rowspan="' . (count($privTable[2]) - $i) . '">' . "\n"
. ' <table border="0">' . "\n"
. ' <tr>' . "\n"
. ' <th colspan="2">&nbsp;' . $strResourceLimits . '&nbsp;</th>' . "\n"
. ' </tr>' . "\n"
. ' <tr>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '" colspan="2"><small><i>' . $strZeroRemovesTheLimit . '</i></small></td>' . "\n"
. ' </tr>' . "\n"
. ' <tr>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '"><label for="text_max_questions"><tt><dfn title="' . $strPrivDescMaxQuestions . '">MAX&nbsp;QUERIES&nbsp;PER&nbsp;HOUR</dfn></tt></label></td>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '"><input type="text" name="max_questions" id="text_max_questions" value="' . $row['max_questions'] . '" size="11" maxlength="11" title="' . $strPrivDescMaxQuestions . '" /></td>' . "\n"
. ' </tr>' . "\n"
. ' <tr>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '"><label for="text_max_updates"><tt><dfn title="' . $strPrivDescMaxUpdates . '">MAX&nbsp;UPDATES&nbsp;PER&nbsp;HOUR</dfn></tt></label></td>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '"><input type="text" name="max_updates" id="text_max_updates" value="' . $row['max_updates'] . '" size="11" maxlength="11" title="' . $strPrivDescMaxUpdates . '" /></td>' . "\n"
. ' </tr>' . "\n"
. ' <tr>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '"><label for="text_max_connections"><tt><dfn title="' . $strPrivDescMaxConnections . '">MAX&nbsp;CONNECTIONS&nbsp;PER&nbsp;HOUR</dfn></tt></label></td>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '"><input type="text" name="max_connections" id="text_max_connections" value="' . $row['max_connections'] . '" size="11" maxlength="11" title="' . $strPrivDescMaxConnections . '" /></td>' . "\n"
. ' </tr>' . "\n"
. ' </table>' . "\n"
. ' </td>' . "\n";
echo ' <td colspan="4" rowspan="' . (count($privTable[2]) - $i) . '">' . "\n"
. ' <table border="0">' . "\n"
. ' <tr>' . "\n"
. ' <th colspan="2">&nbsp;' . $strResourceLimits . '&nbsp;</th>' . "\n"
. ' </tr>' . "\n"
. ' <tr>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '" colspan="2"><small><i>' . $strZeroRemovesTheLimit . '</i></small></td>' . "\n"
. ' </tr>' . "\n"
. ' <tr>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '"><label for="text_max_questions"><tt><dfn title="' . $strPrivDescMaxQuestions . '">MAX&nbsp;QUERIES&nbsp;PER&nbsp;HOUR</dfn></tt></label></td>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '"><input type="text" name="max_questions" id="text_max_questions" value="' . $row['max_questions'] . '" size="11" maxlength="11" title="' . $strPrivDescMaxQuestions . '" /></td>' . "\n"
. ' </tr>' . "\n"
. ' <tr>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '"><label for="text_max_updates"><tt><dfn title="' . $strPrivDescMaxUpdates . '">MAX&nbsp;UPDATES&nbsp;PER&nbsp;HOUR</dfn></tt></label></td>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '"><input type="text" name="max_updates" id="text_max_updates" value="' . $row['max_updates'] . '" size="11" maxlength="11" title="' . $strPrivDescMaxUpdates . '" /></td>' . "\n"
. ' </tr>' . "\n"
. ' <tr>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '"><label for="text_max_connections"><tt><dfn title="' . $strPrivDescMaxConnections . '">MAX&nbsp;CONNECTIONS&nbsp;PER&nbsp;HOUR</dfn></tt></label></td>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '"><input type="text" name="max_connections" id="text_max_connections" value="' . $row['max_connections'] . '" size="11" maxlength="11" title="' . $strPrivDescMaxConnections . '" /></td>' . "\n"
. ' </tr>' . "\n"
. ' </table>' . "\n"
. ' </td>' . "\n";
$limitTable = TRUE;
} else if (!$limitTable) {
echo ' <td colspan="2"></td>' . "\n";
echo ' <td colspan="2"></td>' . "\n";
}
}
echo ' </tr>' . "\n";
echo ' </tr>' . "\n";
}
echo ' <tr>' . "\n"
. ' <td colspan="6" align="center">' . "\n"
. ' <input type="submit" name="update_privs" value="' . $strGo . '" />' . "\n"
. ' </td>' . "\n"
. ' </tr>' . "\n"
. ' </table>' . "\n"
. '</form>' . "\n";
echo ' <tr>' . "\n"
. ' <td colspan="6" align="center">' . "\n"
. ' <input type="submit" name="update_privs" value="' . $strGo . '" />' . "\n"
. ' </td>' . "\n"
. ' </tr>' . "\n"
. ' </table>' . "\n"
. ' </form>' . "\n"
. ' </li>' . "\n"
. ' <li>' . "\n"
. ' <form name="chgPassword" action="server_privileges.php3" method="post" onsubmit="return checkPassword(this);">' . "\n"
. ' <input type="hidden" name="lang" value="' . $lang . '" />' . "\n"
. ' <input type="hidden" name="convcharset" value="' . $convcharset . '" />' . "\n"
. ' <input type="hidden" name="server" value="' . $server . '" />' . "\n"
. ' <input type="hidden" name="username" value="' . urlencode($username) . '" />' . "\n";
if ($hostname != '%') {
echo ' <input type="hidden" name="hostname" value="' . urlencode($hostname) . '" />' . "\n";
}
echo ' <b>' . $strChangePassword . '</b><br />' . "\n"
. ' <table border="0">' . "\n"
. ' <tr>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorOne'] . '"><input type="radio" name="nopass" value="1" id="radio_nopass_1" onclick="pma_pw.value=\'\'; pma_pw2.value=\'\';" /></td>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorOne'] . '" colspan="2"><label for="radio_nopass_1">' . $strNoPassword . '</label></td>' . "\n"
. ' </tr>' . "\n"
. ' <tr>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '"><input type="radio" name="nopass" value="0" id="radio_nopass_0" onclick="document.getElementById(\'pw_pma_pw\').focus();" /></td>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '"><label for="radio_nopass_0">' . $strPassword . ':</label></td>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '"><input type="password" name="pma_pw" id="pw_pma_pw" class="textfield" onchange="nopass[1].checked = true;" /></td>' . "\n"
. ' </tr>' . "\n"
. ' <tr>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '">&nbsp;</td>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '"><label for="pw_pma_pw2">' . $strReType . ':</label></td>' . "\n"
. ' <td bgcolor="' . $cfg['BgcolorTwo'] . '"><input type="password" name="pma_pw2" id="pw_pma_pw2" class="textfield" onchange="nopass[1].checked = true;" /></td>' . "\n"
. ' </tr>' . "\n"
. ' <td colspan="3" align="center">' . "\n"
. ' <input type="submit" name="change_pw" value="' . $strGo . '" />' . "\n"
. ' </td>' . "\n"
. ' </table>' . "\n"
. ' </form>' . "\n"
. ' </li>' . "\n"
. '</ul>' . "\n";
} else if (isset($hostname)) {
// TODO: Host privilege editor
}
@@ -358,4 +422,4 @@ if (!isset($username) && !isset($hostname)) {
*/
require('./footer.inc.php3');
?>
?>