You are here

function elfinder_admin_profiles in elFinder file manager 6.2

Same name and namespace in other branches
  1. 7.3 inc/elfinder.admin.profiles.inc \elfinder_admin_profiles()
  2. 7.2 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 12
file manager admin profile settings page

Code

function elfinder_admin_profiles($action = 'profile_add', $profile_name = '') {
  if ($action == 'profile_delete') {
    return drupal_get_form('elfinder_admin_profiles_delete_form', $action, $profile_name);
  }
  else {
    return drupal_get_form('elfinder_admin_profiles_form', $action, $profile_name);
  }
}