function imce_profile_operations

cis7 imce.admin.inc imce_profile_operations($op = 'add', $pid = 0)
cle7 imce.admin.inc imce_profile_operations($op = 'add', $pid = 0)
elmsmedia7 imce.admin.inc imce_profile_operations($op = 'add', $pid = 0)
icor7 imce.admin.inc imce_profile_operations($op = 'add', $pid = 0)
meedjum_blog7 imce.admin.inc imce_profile_operations($op = 'add', $pid = 0)
mooc7 imce.admin.inc imce_profile_operations($op = 'add', $pid = 0)

Add-Edit-Delete profiles.

1 string reference to 'imce_profile_operations'
imce_menu in sites/all/modules/ulmus/imce/imce.module
Implements hook_menu().

File

sites/all/modules/ulmus/imce/inc/imce.admin.inc, line 169
Serves administration pages of IMCE.

Code

function imce_profile_operations($op = 'add', $pid = 0) {
  //delete
  if ($op == 'delete') {
    drupal_set_title(t('Delete configuration profile'));
    return drupal_get_form('imce_profile_delete_form', $pid);
  }
  //add-edit
  if ($pid != 1 || $GLOBALS['user']->uid == 1) {
    return drupal_get_form('imce_profile_form', $pid);
  }
  drupal_access_denied();
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.