[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
1 file Manager plugin for TinyMCE 2 --------------------------------- 3 4 Installation instructions: 5 * Copy the ibrowser directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins). 6 * Add plugin to TinyMCE plugin option list example: plugins : "filemanager". 7 * Add the ibrowser button name to button list, example: theme_advanced_buttons3_add : "filemanager". 8 * Modify the ..../jscripts/tiny_mce/plugins/filemanager/insertfile/config.inc.php 9 10 Configuration example: 11 $MY_DOCUMENT_ROOT = 'C:/appserv/www/tinymce142/resource/insfile'; //* system path to the directory you want to manage the files and folders 12 $MY_BASE_URL = "http://localhost/tinymce142/resource/insfile"; 13 $MY_URL_TO_OPEN_FILE = "http://localhost/tinymce142/resource/insfile"; 14 $MY_ALLOW_EXTENSIONS = array('html', 'doc', 'xls', 'txt', 'gif', 'jpeg', 'jpg', 'png', 'pdf', 'zip', 'pdf'); 15 $MY_DENY_EXTENSIONS = array('php', 'php3', 'php4', 'phtml', 'shtml', 'cgi', 'pl'); 16 $MY_LIST_EXTENSIONS = array('html', 'doc', 'xls', 'txt', 'gif', 'jpeg', 'jpg', 'png', 'pdf', 'zip', 'pdf'); 17 $MY_ALLOW_CREATE = true; // Boolean (false or true) whether creating folders is allowed or not. 18 $MY_ALLOW_DELETE = true; // Boolean (false or true) whether deleting files and folders is allowed or not. 19 $MY_ALLOW_RENAME = true; // Boolean (false or true) whether renaming files and folders is allowed or not. 20 $MY_ALLOW_MOVE = true; // Boolean (false or true) whether moving files and folders is allowed or not. 21 $MY_ALLOW_UPLOAD = true; // Boolean (false or true) whether uploading files is allowed or not. 22 23 24 25 Initialization example: 26 tinyMCE.init({ 27 theme : "advanced", 28 elements: "ta", 29 mode : "exact", 30 plugins : "filemanager", 31 theme_advanced_buttons3_add : "filemanager" 32 }); 33 34
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |