From 245d89756c67b286eb9e3ff237d0576d1eb72a86 Mon Sep 17 00:00:00 2001 From: Ivan Tcholakov Date: Thu, 23 Jul 2009 09:30:21 +0200 Subject: [PATCH] [svn r22305] FS#2867 - The online editor: Adding a configuration option on how the ImageManager is to be opened. --- main/inc/lib/fckeditor/myconfig.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main/inc/lib/fckeditor/myconfig.php b/main/inc/lib/fckeditor/myconfig.php index 943bd754a0..da978317cb 100644 --- a/main/inc/lib/fckeditor/myconfig.php +++ b/main/inc/lib/fckeditor/myconfig.php @@ -99,6 +99,10 @@ if (api_get_setting('show_glossary_in_documents') == 'ismanual') { // for previewing images. This is why we load this plugin only in case when the simple file manager is used. if (!(api_get_setting('advanced_filemanager') == 'true')) { $config['LoadPlugin'][] = 'ImageManager'; + // 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['OpenImageManagerInANewWindow'] = true; // true while developing this feature. } // fckEmbedMovies : Adds a dilog for inserting video files.