array('url' => url('imce', array('query' => array('app' => $editor . '|url@')))), ); drupal_add_js($settings, 'setting'); } return array( 'imce' => array( 'extensions' => array('imce' => t('IMCE')), 'url' => 'http://drupal.org/project/imce', 'options' => array( 'file_browser_callback' => 'imceImageBrowser', 'inline_styles' => TRUE, ), 'load' => FALSE, ), ); case 'ckeditor': $integrated[$editor] = TRUE; return array( 'imce' => array( 'extensions' => array('imce' => t('IMCE')), 'url' => 'http://drupal.org/project/imce', 'options' => array( 'filebrowserBrowseUrl' => url('imce', array('query' => array('app' => $editor . '|sendto@imceCkeditSendTo|params@'))), ), 'load' => FALSE, ), ); case 'fckeditor': $integrated[$editor] = TRUE; return array( 'imce' => array( 'extensions' => array('imce' => t('IMCE')), 'url' => 'http://drupal.org/project/imce', 'options' => array( 'LinkBrowser' => TRUE, 'LinkBrowserURL' => url('imce', array('query' => array('app' => $editor . '|url@txtUrl'))), 'ImageBrowser' => TRUE, 'ImageBrowserURL' => url('imce', array('query' => array('app' => $editor . '|url@txtUrl|width@txtWidth|height@txtHeight'))), 'FlashBrowser' => TRUE, 'FlashBrowserURL' => url('imce', array('query' => array('app' => $editor . '|url@txtUrl'))), ), 'load' => FALSE, ), ); } }