X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-edit_user.php;h=b9e64937b19817d4828b1def6d5f84092f07d152;hb=2e394cb5b8a6225a39a6942b1fcc17c37a17a175;hp=83bc543e7b18337b2fbcdd0a4189621a401f33ab;hpb=6914ebaaae909093df86d010e4c754a43d1a1aed;p=mailer.git diff --git a/inc/modules/admin/what-edit_user.php b/inc/modules/admin/what-edit_user.php index 83bc543e7b..b9e64937b1 100644 --- a/inc/modules/admin/what-edit_user.php +++ b/inc/modules/admin/what-edit_user.php @@ -14,13 +14,11 @@ * $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 * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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; @@ -118,21 +116,13 @@ LIMIT 1", } // Load template - loadTemplate('admin_settings_saved', false, $content); + displayMessage($content); } else { // Load entry $content = SQL_FETCHARRAY($result_main); - // Init entries - foreach (array('gender_m','gender_f','gender_c') as $entry) { - $content[$entry] = ''; - } // END - foreach - - // Prepare selections - $content['gender_' . strtolower($content['gender'])] = ' selected="selected"'; - // Load template - loadTemplate('form_submit_user', false, $content); + loadTemplate('admin_edit_user', false, $content); } } else { // Account does not exists!