X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-edit_user.php;h=681bad17c0e6eba708e961e1b6b7ed12bb068241;hb=c5173c4d66be7ec72fbf8051a2097cbb377e87a0;hp=c3125cbac5bd4ce9cc5d6bdfbd1d035281e4c18d;hpb=6facc4166f2c190c28656fce5d10f171187b312f;p=mailer.git diff --git a/inc/modules/admin/what-edit_user.php b/inc/modules/admin/what-edit_user.php index c3125cbac5..681bad17c0 100644 --- a/inc/modules/admin/what-edit_user.php +++ b/inc/modules/admin/what-edit_user.php @@ -14,8 +14,6 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * @TODO Add support for ext-country * * -------------------------------------------------------------------- * @@ -45,7 +43,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { } // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); // Fix a notice $result_main = false; @@ -71,7 +69,7 @@ if ((!isGetRequestParameterSet('userid')) || (SQL_NUMROWS($result_main) == 1)) { if (!isGetRequestParameterSet('userid')) { // Output selection form with all confirmed user accounts listed addMemberSelectionBox(); - } elseif (isPostRequestParameterSet('edit')) { + } elseif (isFormSent('edit')) { // Ok, change the account... $updateUser = false; $add = ''; if ((!isPostRequestParameterSet('pass1')) && (!isPostRequestParameterSet('pass2'))) { @@ -111,10 +109,10 @@ LIMIT 1", postRequestParameter('email'), bigintval(getRequestParameter('userid')), ), __FILE__, __LINE__); - $content = getMessage('USER_ACCOUNT_SAVED'); + $content = '{--ADMIN_USER_ACCOUNT_SAVED--}'; } else { // Problem while saving data - $content = getMessage('USER_ACCOUNT_NOT_SAVED'); + $content = '{--ADMIN_USER_ACCOUNT_NOT_SAVED--}'; } // Load template @@ -136,7 +134,7 @@ LIMIT 1", } } else { // Account does not exists! - loadTemplate('admin_settings_saved', false, '
' . getMaskedMessage('ADMIN_MEMBER_404', getRequestParameter('userid')) . '
'); + loadTemplate('admin_settings_unsaved', false, getMaskedMessage('ADMIN_MEMBER_404', bigintval(getRequestParameter('userid')))); } // Free the result