function imce_mkdir_content

cis7 imce_mkdir.module imce_mkdir_content(&$imce)
cle7 imce_mkdir.module imce_mkdir_content(&$imce)
elmsmedia7 imce_mkdir.module imce_mkdir_content(&$imce)
icor7 imce_mkdir.module imce_mkdir_content(&$imce)
meedjum_blog7 imce_mkdir.module imce_mkdir_content(&$imce)
mooc7 imce_mkdir.module imce_mkdir_content(&$imce)

Custom content. Returns directory creation form

2 string references to 'imce_mkdir_content'
imce_mkdir_install in sites/all/modules/ulmus/imce_mkdir/imce_mkdir.install
Implements hook_install()
imce_mkdir_uninstall in sites/all/modules/ulmus/imce_mkdir/imce_mkdir.install
Implements hook_uninstall().

File

sites/all/modules/ulmus/imce_mkdir/imce_mkdir.module, line 25

Code

function imce_mkdir_content(&$imce) {
  if (!$imce['error'] && (imce_perm_exists($imce, 'mkdir') || imce_perm_exists($imce, 'rmdir'))) {
    $path = drupal_get_path('module', 'imce_mkdir');
    drupal_add_js($path . '/imce_mkdir.js');
    drupal_add_css($path . '/imce_mkdir.css');
    $form = drupal_get_form('imce_mkdir_form', array('imce' => &$imce));
    return drupal_render($form);
  }
}
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.