egroupware/phpgwapi/js/tinymce/jscripts/tiny_mce/plugins/filemanager
Cornelius Weiß 2e1d4cbc59 fixes:
- handle wrong user inputs on filemanger url and dirs
- get mimes from phpgwapi
2005-11-16 10:53:38 +00:00
..
images a nice filemanager for tinymce 2005-10-07 18:23:58 +00:00
InsertFile fixes: 2005-11-16 10:53:38 +00:00
langs tinymce uses now the eGW translation system: 2005-10-10 23:20:11 +00:00
editor_plugin.js a nice filemanager for tinymce 2005-10-07 18:23:58 +00:00
readme.txt a nice filemanager for tinymce 2005-10-07 18:23:58 +00:00

 file Manager plugin for TinyMCE
---------------------------------

Installation instructions:
  * Copy the ibrowser directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
  * Add plugin to TinyMCE plugin option list example: plugins : "filemanager".
  * Add the ibrowser button name to button list, example: theme_advanced_buttons3_add : "filemanager".
  * Modify the ..../jscripts/tiny_mce/plugins/filemanager/insertfile/config.inc.php

Configuration example:
$MY_DOCUMENT_ROOT     = 'C:/appserv/www/tinymce142/resource/insfile'; //* system path to the directory you want to manage the files and folders
$MY_BASE_URL          = "http://localhost/tinymce142/resource/insfile";
$MY_URL_TO_OPEN_FILE  = "http://localhost/tinymce142/resource/insfile"; 
$MY_ALLOW_EXTENSIONS = array('html', 'doc', 'xls', 'txt', 'gif', 'jpeg', 'jpg', 'png', 'pdf', 'zip', 'pdf');
$MY_DENY_EXTENSIONS  = array('php', 'php3', 'php4', 'phtml', 'shtml', 'cgi', 'pl');
$MY_LIST_EXTENSIONS  = array('html', 'doc', 'xls', 'txt', 'gif', 'jpeg', 'jpg', 'png', 'pdf', 'zip', 'pdf');
$MY_ALLOW_CREATE     = true; // Boolean (false or true) whether creating folders is allowed or not.
$MY_ALLOW_DELETE     = true; // Boolean (false or true) whether deleting files and folders is allowed or not.
$MY_ALLOW_RENAME     = true; // Boolean (false or true) whether renaming files and folders is allowed or not.
$MY_ALLOW_MOVE       = true; // Boolean (false or true) whether moving files and folders is allowed or not.
$MY_ALLOW_UPLOAD     = true; // Boolean (false or true) whether uploading files is allowed or not.



Initialization example:
  tinyMCE.init({
    theme : "advanced",
    elements: "ta",
    mode : "exact",
    plugins : "filemanager",
    theme_advanced_buttons3_add : "filemanager"
  });