} // END - if
// Remove cache file
- runFilterChain('post_admin_edited', postRequestArray());
+ runFilterChain('post_form_submited', postRequestArray());
}
// Make admin accounts editable
$content['la_mode'] = generateOptionList('/ARRAY/', array('global', 'OLD', 'NEW'), array('{--ADMINS_GLOBAL_LA_SETTING--}', '{--ADMINS_OLD_LA_SETTING--}', '{--ADMINS_NEW_LA_SETTING--}'), $content['la_mode']);
// Load row template and switch color
- $OUT .= loadTemplate('admin_edit_admins_row', true, $content);
+ $OUT .= loadTemplate('form_submit_admins_row', true, $content);
} // END - if
} // END - foreach
// Load template
- loadTemplate('admin_edit_admins', false, $OUT);
+ loadTemplate('form_submit_admins', false, $OUT);
}
// Delete given admin accounts
}
// 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 = '') {