]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-del_sponsor.php
Several code-cleanups:
[mailer.git] / inc / modules / admin / what-del_sponsor.php
index b7e6b0b95b9574b59d5e349e953295f7605ac1ed..8001fc0bec625ab09f065929eb6f055241f469f1 100644 (file)
  * $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!!!!!!            *
  * -------------------------------------------------------------------- *
  * 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 *
@@ -43,7 +41,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 } // END - if
 
 // Add description as navigation point
-addMenuDescription('admin', __FILE__);
+addYouAreHereLink('admin', __FILE__);
 
 if (isGetRequestParameterSet('id')) {
        // Check for selected sponsor
@@ -80,14 +78,13 @@ if (isGetRequestParameterSet('id')) {
                        $content = SQL_FETCHARRAY($result);
 
                        // Transfer data to constants for the template
-                       $content['gender'] = translateGender($content['gender']);
                        $content['userid'] = bigintval(getRequestParameter('id'));
 
                        // Display form
-                       loadTemplate('admin_del_sponsor', false, $content);
+                       loadTemplate('admin_delete_sponsor', false, $content);
                }
        } else {
-               // Sponsor not found!
+               // Sponsor not found
                loadTemplate('admin_settings_saved', false, getMaskedMessage('ADMIN_SPONSOR_404', bigintval(getRequestParameter('id'))));
        }