1 function CustomFileBrowser(field_name, url, type, win) {
3 var cmsURL = "/admin/filebrowser/browse/?pop=2";
4 cmsURL = cmsURL + "&type=" + type;
6 tinyMCE.activeEditor.windowManager.open({
8 width: 820, // Your dimensions may differ - toy around with them!
12 inline: "no", // This parameter only has an effect if you use the inlinepopups plugin!
17 editor_id: tinyMCE.selectedInstance.editorId
30 object_resizing: true,
31 cleanup_on_startup: true,
32 forced_root_block: "p",
33 remove_trailing_nbsp: true,
34 theme_advanced_toolbar_location: "top",
35 theme_advanced_toolbar_align: "left",
36 theme_advanced_statusbar_location: "none",
37 theme_advanced_buttons1: "formatselect,bold,italic,underline,bullist,numlist,undo,redo,link,unlink,image,code,fullscreen,pasteword,media,charmap",
38 theme_advanced_buttons2: "",
39 theme_advanced_buttons3: "",
40 theme_advanced_path: false,
41 theme_advanced_blockformats: "p,h2,h3,h4,h5,h6",
44 plugins: "advimage,advlink,fullscreen,visualchars,paste,media,template,searchreplace",
45 advimage_styles: "Linksbündig neben Text=img_left;Rechtsbündig neben Text=img_right;Eigener Block=img_block",
46 advlink_styles: "internal (sehmaschine.net)=internal;external (link to an external site)=external",
47 advimage_update_dimensions_onchange: true,
48 file_browser_callback: "CustomFileBrowser",
52 "a[href|target=_blank|class]," +
60 "img[class|src|alt=|width|height]," +
65 extended_valid_elements: "" +
66 "a[name|class|href|target|title|onclick]," +
67 "img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name]," +
69 "-p[class<clearfix?summary?code]," +
70 "h2[class<clearfix],h3[class<clearfix],h4[class<clearfix]," +
71 "ul[class<clearfix],ol[class<clearfix]," +