X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fadmins_functions.php;h=cb0afb11f601023d13cb8570286e0742009874e2;hb=682edce003a1a91f66fb8e2212d7fdb591379843;hp=f87aff12df2aa19462b176d2f0639950167b3653;hpb=ff9e8f739bd4b6e184b2a6bf427334196e501da8;p=mailer.git diff --git a/inc/libs/admins_functions.php b/inc/libs/admins_functions.php index f87aff12df..cb0afb11f6 100644 --- a/inc/libs/admins_functions.php +++ b/inc/libs/admins_functions.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!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009, 2010 by Mailer Developer Team * @@ -282,7 +280,7 @@ LIMIT 1", } // END - if // Remove cache file - runFilterChain('post_admin_edited', postRequestArray()); + runFilterChain('post_form_submited', postRequestArray()); } // Make admin accounts editable @@ -351,7 +349,7 @@ function adminsDeleteAdminAccount ($postData) { $content['id'] = $id; // Load row template and switch color - $OUT .= loadTemplate('admin_del_admins_row', true, $content); + $OUT .= loadTemplate('admin_delete_admins_row', true, $content); } // END - if // Free result @@ -359,7 +357,7 @@ function adminsDeleteAdminAccount ($postData) { } // END - foreach // Load template - loadTemplate('admin_del_admins', false, $OUT); + loadTemplate('admin_delete_admins', false, $OUT); } else { // Cannot delete last account! loadTemplate('admin_settings_saved', false, '{--ADMIN_ADMINS_CANNOT_DELETE_LAST--}'); @@ -387,7 +385,7 @@ function adminsRemoveAdminAccount ($postData) { } // Remove cache if cache system is activated - runFilterChain('post_admin_deleted', postRequestArray()); + runFilterChain('post_form_deleted', postRequestArray()); } // List all admin accounts @@ -400,9 +398,6 @@ function adminsListAdminAccounts() { $content['mode'] = '{--ADMINS_' . strtoupper($content['mode']) . '_MODE--}'; $content['la_mode'] = '{--ADMINS_' . strtoupper($content['la_mode']) . '_LA_SETTING--}'; - // Prepare some more data - $content['email_link'] = generateEmailLink($content['id'], 'admins'); - // Load row template and switch color $OUT .= loadTemplate('admin_list_admins_row', true, $content); } // END - while @@ -624,9 +619,9 @@ function getAdminLastFailure ($adminId) { return $data['last_failure']; } -//***************************************************************************** -// Below only filter functions -//***************************************************************************** +//----------------------------------------------------------------------------- +// Filter Functions +//----------------------------------------------------------------------------- // Filter for adding extra data to the query function FILTER_ADD_EXTRA_SQL_DATA ($add = '') {