You are here

function elfinder_admin_profiles in elFinder file manager 7.2

Same name and namespace in other branches
  1. 6.2 inc/elfinder.admin.profiles.inc \elfinder_admin_profiles()
  2. 7.3 inc/elfinder.admin.profiles.inc \elfinder_admin_profiles()

Settings form callback

1 string reference to 'elfinder_admin_profiles'
elfinder_menu in ./elfinder.module
Implements hook_menu().

File

inc/elfinder.admin.profiles.inc, line 331
file manager admin profile settings page

Code

function elfinder_admin_profiles($action = '', $profile_name = '') {
  $obj = NULL;
  if ($action == 'profile_delete') {
    $obj = drupal_get_form('elfinder_admin_profiles_delete_form', $action, $profile_name);
  }
  else {
    $obj = drupal_get_form('elfinder_admin_profile', $action, $profile_name);
  }
  return drupal_render($obj);
}