[svn r21990] FS#2867 - The online editor: Moving some file manager related settings from myconfig.js to myconfig.php.

skala
Ivan Tcholakov 16 years ago
parent bf47829661
commit b70eb1b062
  1. 89
      main/inc/lib/fckeditor/myconfig.js
  2. 16
      main/inc/lib/fckeditor/myconfig.php

@ -82,72 +82,37 @@ FCKConfig.GoogleMaps_Key = 'ABQIAAAAlXu5Pw6DFAUgqM2wQn01gxT2yXp_ZAY8_ufC3CFXhHIE
// You may add your own plugins here, i.e. write something as follows:
// FCKConfig.Plugins.Add('my_plugin', 'en') ;
/*
* Settings for browsing the server.
*/
// For all acceptable types of resources (files).
// true/false to enable/disable the browser.
FCKConfig.LinkBrowser = true ;
// Browser window sizes.
FCKConfig.LinkBrowserWindowWidth = 782 ;
FCKConfig.LinkBrowserWindowHeight = 490 ;
// For images.
// true/false to enable/disable the browser.
FCKConfig.ImageBrowser = true ;
// Browser window sizes.
FCKConfig.ImageBrowserWindowWidth = 782 ;
FCKConfig.ImageBrowserWindowHeight = 490 ;
// Upload path for the Image manager. Leave it empty.
FCKConfig.IMUploadPath = '' ;
// For flash objects.
// true/false to enable/disable the browser.
FCKConfig.FlashBrowser = true ;
// Browser window sizes.
FCKConfig.FlashBrowserWindowWidth = 782 ;
FCKConfig.FlashBrowserWindowHeight = 490 ;
// For audio files.
// true/false to enable/disable the browser.
FCKConfig.MP3Browser = true ;
// Browser window sizes.
FCKConfig.MP3BrowserWindowWidth = 782 ;
FCKConfig.MP3BrowserWindowHeight = 490 ;
// For video files.
// true/false to enable/disable the browser.
FCKConfig.VideoBrowser = true ;
// Browser window sizes.
FCKConfig.VideoBrowserWindowWidth = 782 ;
FCKConfig.VideoBrowserWindowHeight = 490 ;
// For video (flv) files.
// true/false to enable/disable the browser.
FCKConfig.MediaBrowser = true ;
// Browser window sizes.
/*
* File Manager.
*/
// Window size of file manager:
// for all acceptable types of files;
FCKConfig.LinkBrowserWindowWidth = 782 ;
FCKConfig.LinkBrowserWindowHeight = 490 ;
// for images;
FCKConfig.ImageBrowserWindowWidth = 782 ;
FCKConfig.ImageBrowserWindowHeight = 490 ;
// for flash objects;
FCKConfig.FlashBrowserWindowWidth = 782 ;
FCKConfig.FlashBrowserWindowHeight = 490 ;
// for audio files;
FCKConfig.MP3BrowserWindowWidth = 782 ;
FCKConfig.MP3BrowserWindowHeight = 490 ;
// for video files;
FCKConfig.VideoBrowserWindowWidth = 782 ;
FCKConfig.VideoBrowserWindowHeight = 490 ;
// for video (flv) files.
FCKConfig.MediaBrowserWindowWidth = 782 ;
FCKConfig.MediaBrowserWindowHeight = 490 ;
//Upload path for the Image manager. Leave it empty.
FCKConfig.IMUploadPath = '' ;
/*
* Settings for direct uploads on the server, without using browsers.
* Some of the editor's dialogs have quick-upload tabs for this purpose.
*/
/*
* Quick-upload tabs.
*/
// For all acceptable types of resources (files).

@ -114,8 +114,20 @@ $config['LoadPlugin'][] = 'wikilink';
// imgmap : Adds a dialog for assigning hyperlinks to specified image areas.
$config['LoadPlugin'][] = 'imgmap';
// Simple File Manager
// This setting defines how the simple file manager to be opened:
/*
* File manager.
*/
// Set true/false to enable/disable the file manager for different resource types:
$config['LinkBrowser'] = true; // for all acceptable types of files;
$config['ImageBrowser'] = true; // for images;
$config['FlashBrowser'] = true ; // for flash objects;
$config['MP3Browser'] = true ; // for audio files;
$config['VideoBrowser'] = true ; // for video files;
$config['MediaBrowser'] = true ; // for video (flv) files.
// The following setting defines how the simple file manager to be opened:
// true - in a new browser window, or
// false - as a dialog whithin the page (recommended).
$config['OpenSimpleFileManagerInANewWindow'] = false;

Loading…
Cancel
Save