You are here

fckeditor.inc in elFinder file manager 7.3

FCKeditor integration plugin

File

editors/fckeditor/fckeditor.inc
View source
<?php

// $Id$

/**
 * @file
 * FCKeditor integration plugin
 */

/**
 * Pseudo-hook for elfinder hook_wysiwyg_plugin implementation
 */
function elfinder_fckeditor_elfinder_editor_plugin($options) {
  return array(
    'elfinder' => array(
      'extensions' => array(
        'elfinder' => t('elFinder'),
      ),
      'url' => $options['homepage_url'],
      'options' => array(
        'LinkBrowser' => TRUE,
        'LinkBrowserURL' => $options['elfinder_url'],
        'ImageBrowser' => TRUE,
        'ImageBrowserURL' => $options['elfinder_url'],
        'FlashBrowser' => TRUE,
        'FlashBrowserURL' => $options['elfinder_url'],
        'ImageUpload' => TRUE,
        'ImageUploadURL' => url('elfinder/upload/fckeditor'),
        'FlashUpload' => TRUE,
        //  'FlashUploadURL' => $options['elfinder_connector_url'],
        'LinkUpload' => TRUE,
      ),
      'load' => FALSE,
    ),
  );
}

Functions

Namesort descending Description
elfinder_fckeditor_elfinder_editor_plugin Pseudo-hook for elfinder hook_wysiwyg_plugin implementation