bug 2509: fix file permissions
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / js / tinymce / examples / example_full.htm
1 <html xmlns="http://www.w3.org/1999/xhtml">\r
2 <head>\r
3 <title>Full featured example</title>\r
4 <!-- TinyMCE -->\r
5 <script language="javascript" type="text/javascript" src="../jscripts/tiny_mce/tiny_mce_dev.js"></script>\r
6 <script language="javascript" type="text/javascript">\r
7         tinyMCE.init({\r
8                 mode : "textareas",\r
9                 theme : "advanced",\r
10                 plugins : "devkit,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",\r
11                 theme_advanced_buttons1_add_before : "save,newdocument,separator",\r
12                 theme_advanced_buttons1_add : "fontselect,fontsizeselect",\r
13                 theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,separator,forecolor,backcolor",\r
14                 theme_advanced_buttons2_add_before: "cut,copy,paste,pastetext,pasteword,separator,search,replace,separator",\r
15                 theme_advanced_buttons3_add_before : "tablecontrols,separator",\r
16                 theme_advanced_buttons3_add : "emotions,iespell,media,advhr,separator,print,separator,ltr,rtl,separator,fullscreen",\r
17                 theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,|,code",\r
18                 theme_advanced_toolbar_location : "top",\r
19                 theme_advanced_toolbar_align : "left",\r
20                 theme_advanced_path_location : "bottom",\r
21                 content_css : "example_full.css",\r
22             plugin_insertdate_dateFormat : "%Y-%m-%d",\r
23             plugin_insertdate_timeFormat : "%H:%M:%S",\r
24                 extended_valid_elements : "hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",\r
25                 external_link_list_url : "example_link_list.js",\r
26                 external_image_list_url : "example_image_list.js",\r
27                 flash_external_list_url : "example_flash_list.js",\r
28                 media_external_list_url : "example_media_list.js",\r
29                 template_external_list_url : "example_template_list.js",\r
30                 file_browser_callback : "fileBrowserCallBack",\r
31                 theme_advanced_resize_horizontal : false,\r
32                 theme_advanced_resizing : true,\r
33                 nonbreaking_force_tab : true,\r
34                 apply_source_formatting : true,\r
35                 template_replace_values : {\r
36                         username : "Jack Black",\r
37                         staffid : "991234"\r
38                 },\r
39                 relat2ive_urls : false,\r
40                 rem2ove_script_host : false\r
41         });\r
42 \r
43         function fileBrowserCallBack(field_name, url, type, win) {\r
44                 // This is where you insert your custom filebrowser logic\r
45                 alert("Example of filebrowser callback: field_name: " + field_name + ", url: " + url + ", type: " + type);\r
46 \r
47                 // Insert new URL, this would normaly be done in a popup\r
48                 win.document.forms[0].elements[field_name].value = "someurl.htm";\r
49         }\r
50 </script>\r
51 <!-- /TinyMCE -->\r
52 </head>\r
53 <body>\r
54 \r
55 [Full featured example] <a href="example_advanced.htm">[Advanced example]</a> <a href="example_simple.htm">[Simple example]</a>  <a href="example_word.htm">[Word example]</a>\r
56 <form method="post" action="http://tinymce.moxiecode.com/dump.php?example=true">\r
57         <h3>Full featured example</h3>\r
58         This page shows all available plugins that are included in the TinyMCE distribution. Some of these plugins will only be visible on MSIE due to the lack of some support in FF. For more details on the various options on TinyMCE check the <a href="../docs/index.html">manual</a> or for more third party plugins check the plugin section.<br /><br />\r
59         <textarea id="elm1" name="elm1" rows="15" cols="80" style="width: 100%">\r
60                 &lt;span class=&quot;example1&quot;&gt;Test header 1&lt;/span&gt;&lt;br /&gt;\r
61                 &lt;span class=&quot;example2&quot;&gt;Test header 2&lt;/span&gt;&lt;br /&gt;\r
62                 &lt;span class=&quot;example3&quot;&gt;Test header 3&lt;/span&gt;&lt;br /&gt;\r
63                 Some &lt;b&gt;element&lt;/b&gt;, this is to be editor 1. &lt;br /&gt; This editor instance has a 100% width to it.\r
64                 &lt;p&gt;Some paragraph. &lt;a href=&quot;http://www.sourceforge.net&quot;&gt;Some link&lt;/a&gt;&lt;/p&gt;\r
65                 &lt;img src=&quot;logo.jpg&quot;&gt;\r
66         </textarea>\r
67         <br />\r
68         <input type="submit" name="save" value="Submit" />\r
69         <input type="reset" name="reset" value="Reset" />\r
70 </form>\r
71 \r
72 </body>\r
73 </html>\r