* $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 *
} // END - if
// Remove cache file
- runFilterChain('post_admin_edited', postRequestArray());
+ runFilterChain('post_form_submited', postRequestArray());
}
// Make admin accounts editable
$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
} // 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--}');
}
// Remove cache if cache system is activated
- runFilterChain('post_admin_deleted', postRequestArray());
+ runFilterChain('post_form_deleted', postRequestArray());
}
// List all admin accounts
$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
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 = '') {