From: Art Cancro Date: Fri, 7 Oct 2005 19:39:51 +0000 (+0000) Subject: re-added binary X-Git-Tag: v7.86~4578 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=a66abf6cce7aa581b58007438671d7196a9d9f99;p=citadel.git re-added binary --- diff --git a/webcit/static/CVS/Entries b/webcit/static/CVS/Entries new file mode 100644 index 000000000..a299f23fb --- /dev/null +++ b/webcit/static/CVS/Entries @@ -0,0 +1,131 @@ +/activeuser_24x.gif/625.0/Fri Aug 5 16:28:38 2005// +/addevent_24x.gif/625.0/Fri Aug 5 16:28:39 2005// +/addnewcontact_24x.gif/625.0/Fri Aug 5 16:28:39 2005// +/advanpage2_32x.gif/625.0/Fri Aug 5 16:28:39 2005// +/advanpage2_48x.gif/625.0/Fri Aug 5 16:28:39 2005// +/beginbox.html/625.0/Fri Aug 5 16:28:39 2005// +/beginbox_nt.html/625.0/Fri Aug 5 16:28:39 2005// +/bgcolor.gif/625.0/Fri Aug 5 16:28:39 2005// +/blackdot.gif/625.0/Fri Aug 5 16:28:39 2005// +/blank.gif/625.0/Fri Aug 5 16:28:39 2005// +/body-background.gif/625.0/Fri Aug 5 16:28:39 2005// +/bold.gif/625.0/Fri Aug 5 16:28:39 2005// +/calarea_16x.gif/625.0/Fri Aug 5 16:28:39 2005// +/calarea_32x.gif/625.0/Fri Aug 5 16:28:39 2005// +/calarea_48x.gif/625.0/Fri Aug 5 16:28:39 2005// +/centre.gif/625.0/Fri Aug 5 16:28:39 2005// +/chatframeset.html/625.0/Fri Aug 5 16:28:39 2005// +/chatrooms_16x.gif/625.0/Fri Aug 5 16:28:39 2005// +/chatrooms_32x.gif/625.0/Fri Aug 5 16:28:39 2005// +/chatrooms_48x.gif/625.0/Fri Aug 5 16:28:39 2005// +/citadel-logo.gif/625.0/Fri Aug 5 16:28:39 2005// +/citadelchat_16x.gif/625.0/Fri Aug 5 16:28:39 2005// +/citadelchat_24x.gif/625.0/Fri Aug 5 16:28:39 2005// +/citadelchat_32x.gif/625.0/Fri Aug 5 16:28:39 2005// +/citadelchat_48x.gif/625.0/Fri Aug 5 16:28:39 2005// +/copy.gif/625.0/Fri Aug 5 16:28:39 2005// +/cut.gif/625.0/Fri Aug 5 16:28:39 2005// +/diskette_24x.gif/625.0/Fri Aug 5 16:28:39 2005// +/down_pointer.gif/625.0/Fri Aug 5 16:28:39 2005// +/empty.html/625.0/Fri Aug 5 16:28:39 2005// +/endbox.html/625.0/Fri Aug 5 16:28:39 2005// +/enternewnote_24x.gif/625.0/Fri Aug 5 16:28:39 2005// +/error.gif/625.0/Fri Aug 5 16:28:39 2005// +/favicon.ico/625.0/Fri Aug 5 16:28:39 2005// +/folder_closed.gif/625.0/Fri Aug 5 16:28:39 2005// +/folder_open.gif/625.0/Fri Aug 5 16:28:39 2005// +/hr.gif/625.0/Fri Aug 5 16:28:39 2005// +/hyperlink.gif/625.0/Fri Aug 5 16:28:39 2005// +/image.gif/625.0/Fri Aug 5 16:28:39 2005// +/inactiveuser_24x.gif/625.0/Fri Aug 5 16:28:39 2005// +/indent.gif/625.0/Fri Aug 5 16:28:39 2005// +/italic.gif/625.0/Fri Aug 5 16:28:39 2005// +/justifyfull.gif/625.0/Fri Aug 5 16:28:39 2005// +/lastnode.gif/625.0/Fri Aug 5 16:28:39 2005// +/left_just.gif/625.0/Fri Aug 5 16:28:39 2005// +/line.gif/625.0/Fri Aug 5 16:28:39 2005// +/list.gif/625.0/Fri Aug 5 16:28:39 2005// +/login.html/625.0/Wed Aug 17 17:45:00 2005// +/logoff_32x.gif/625.0/Fri Aug 5 16:28:39 2005// +/markngo_24x.gif/625.0/Fri Aug 5 16:28:39 2005// +/menubar.html/625.0/Fri Aug 5 16:28:39 2005// +/minus.gif/625.0/Fri Aug 5 16:28:39 2005// +/minus_last.gif/625.0/Fri Aug 5 16:28:39 2005// +/minus_last_no_root.gif/625.0/Fri Aug 5 16:28:39 2005// +/minus_no_root.gif/625.0/Fri Aug 5 16:28:39 2005// +/minus_nolines.gif/625.0/Fri Aug 5 16:28:39 2005// +/monthview2_24x.gif/625.0/Fri Aug 5 16:28:39 2005// +/newmess2_24x.gif/625.0/Fri Aug 5 16:28:39 2005// +/newmess3_24x.gif/625.0/Fri Aug 5 16:28:39 2005// +/newstartpage.html/625.0/Fri Aug 5 16:28:39 2005// +/nextdate_32x.gif/625.0/Fri Aug 5 16:28:39 2005// +/numbered_list.gif/625.0/Fri Aug 5 16:28:39 2005// +/outdent.gif/625.0/Fri Aug 5 16:28:39 2005// +/page.gif/625.0/Fri Aug 5 16:28:39 2005// +/page16x16.gif/625.0/Fri Aug 5 16:28:39 2005// +/palette.htm/625.0/Fri Aug 5 16:28:39 2005// +/paste.gif/625.0/Fri Aug 5 16:28:39 2005// +/plus.gif/625.0/Fri Aug 5 16:28:39 2005// +/plus_last.gif/625.0/Fri Aug 5 16:28:39 2005// +/plus_last_no_root.gif/625.0/Fri Aug 5 16:28:39 2005// +/plus_no_root.gif/625.0/Fri Aug 5 16:28:39 2005// +/plus_nolines.gif/625.0/Fri Aug 5 16:28:39 2005// +/prevdate_32x.gif/625.0/Fri Aug 5 16:28:39 2005// +/privatemess_16x.gif/625.0/Fri Aug 5 16:28:39 2005// +/privatemess_32x.gif/625.0/Fri Aug 5 16:28:39 2005// +/privatemess_48x.gif/625.0/Fri Aug 5 16:28:39 2005// +/readallmess3_24x.gif/625.0/Fri Aug 5 16:28:39 2005// +/redo.gif/625.0/Fri Aug 5 16:28:39 2005// +/right_just.gif/625.0/Fri Aug 5 16:28:39 2005// +/robots.txt/625.0/Fri Aug 5 16:28:39 2005// +/roombanner.html/625.0/Fri Aug 5 16:28:39 2005// +/rte.css/625.0/Fri Aug 5 16:28:39 2005// +/savecontact_16x.gif/625.0/Fri Aug 5 16:28:39 2005// +/savecontact_32x.gif/625.0/Fri Aug 5 16:28:39 2005// +/savecontact_48x.gif/625.0/Fri Aug 5 16:28:39 2005// +/skipthisroom_24x.gif/625.0/Fri Aug 5 16:28:39 2005// +/sort_none.gif/625.0/Fri Aug 5 16:28:39 2005// +/spellcheck.gif/625.0/Fri Aug 5 16:28:39 2005// +/square.gif/625.0/Fri Aug 5 16:28:39 2005// +/storenotes_16x.gif/625.0/Fri Aug 5 16:28:39 2005// +/storenotes_32x.gif/625.0/Fri Aug 5 16:28:39 2005// +/storenotes_48x.gif/625.0/Fri Aug 5 16:28:39 2005// +/summscreen_32x.gif/625.0/Fri Aug 5 16:28:39 2005// +/summscreen_48x.gif/625.0/Fri Aug 5 16:28:39 2005// +/t.gif/625.0/Fri Aug 5 16:28:39 2005// +/t_no_root.gif/625.0/Fri Aug 5 16:28:39 2005// +/taskday2_24x.gif/625.0/Fri Aug 5 16:28:39 2005// +/taskmanag_16x.gif/625.0/Fri Aug 5 16:28:39 2005// +/taskmanag_24x.gif/625.0/Fri Aug 5 16:28:39 2005// +/taskmanag_32x.gif/625.0/Fri Aug 5 16:28:39 2005// +/taskmanag_48x.gif/625.0/Fri Aug 5 16:28:39 2005// +/textcolor.gif/625.0/Fri Aug 5 16:28:39 2005// +/trailing.html/625.0/Fri Aug 5 16:28:39 2005// +/underline.gif/625.0/Fri Aug 5 16:28:39 2005// +/undo.gif/625.0/Fri Aug 5 16:28:39 2005// +/ungoto2_24x.gif/625.0/Fri Aug 5 16:28:39 2005// +/up_pointer.gif/625.0/Fri Aug 5 16:28:39 2005// +/usermanag_32x.gif/625.0/Fri Aug 5 16:28:39 2005// +/usermanag_48x.gif/625.0/Fri Aug 5 16:28:39 2005// +/viewcontacts_16x.gif/625.0/Fri Aug 5 16:28:39 2005// +/viewcontacts_24x.gif/625.0/Fri Aug 5 16:28:40 2005// +/viewcontacts_32x.gif/625.0/Fri Aug 5 16:28:40 2005// +/viewcontacts_48x.gif/625.0/Fri Aug 5 16:28:40 2005// +/viewnotes_24x.gif/625.0/Fri Aug 5 16:28:40 2005// +/week_view.gif/625.0/Fri Aug 5 16:28:40 2005// +/white.gif/625.0/Fri Aug 5 16:28:40 2005// +/year_view.gif/625.0/Fri Aug 5 16:28:40 2005// +/xml_button.gif/1.1/Fri Sep 16 01:20:00 2005// +/nocookies.html/625.1/Mon Sep 19 02:03:27 2005// +/controls.js/625.1/Mon Sep 19 02:06:29 2005// +/dragdrop.js/625.1/Mon Sep 19 02:06:29 2005// +/effects.js/625.1/Mon Sep 19 02:06:29 2005// +/nanotree.js/625.0/Mon Sep 19 02:06:29 2005// +/prototype.js/625.0/Mon Sep 19 02:06:29 2005// +/scriptaculous.js/625.0/Mon Sep 19 02:06:29 2005// +/unittest.js/625.0/Mon Sep 19 02:06:29 2005// +/util.js/625.0/Mon Sep 19 02:06:29 2005// +/wclib.js/625.2/Mon Sep 19 02:06:29 2005// +/head.html/625.2/Mon Sep 26 01:19:33 2005// +/webcit.css/625.5/Sat Oct 1 02:16:38 2005// +D diff --git a/webcit/static/CVS/Repository b/webcit/static/CVS/Repository new file mode 100644 index 000000000..be0677381 --- /dev/null +++ b/webcit/static/CVS/Repository @@ -0,0 +1 @@ +webcit/static diff --git a/webcit/static/CVS/Root b/webcit/static/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/static/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/static/activeuser_24x.gif b/webcit/static/activeuser_24x.gif new file mode 100644 index 000000000..6ec913fc0 Binary files /dev/null and b/webcit/static/activeuser_24x.gif differ diff --git a/webcit/static/addevent_24x.gif b/webcit/static/addevent_24x.gif new file mode 100644 index 000000000..d6b34bd09 Binary files /dev/null and b/webcit/static/addevent_24x.gif differ diff --git a/webcit/static/addnewcontact_24x.gif b/webcit/static/addnewcontact_24x.gif new file mode 100644 index 000000000..f6364925b Binary files /dev/null and b/webcit/static/addnewcontact_24x.gif differ diff --git a/webcit/static/advanpage2_32x.gif b/webcit/static/advanpage2_32x.gif new file mode 100644 index 000000000..667dec762 Binary files /dev/null and b/webcit/static/advanpage2_32x.gif differ diff --git a/webcit/static/advanpage2_48x.gif b/webcit/static/advanpage2_48x.gif new file mode 100644 index 000000000..6ba92eddd Binary files /dev/null and b/webcit/static/advanpage2_48x.gif differ diff --git a/webcit/static/beginbox.html b/webcit/static/beginbox.html new file mode 100644 index 000000000..60cfba697 --- /dev/null +++ b/webcit/static/beginbox.html @@ -0,0 +1,4 @@ +';};ContextMenu.prototype.addItem=function(icon,title,command,value,disabled){if(title.charAt(0)=='$')title=tinyMCE.getLang(title.substring(1));var onMouseDown='';var html='';if(tinyMCE.isMSIE&&!tinyMCE.isMSIE5_0)onMouseDown='contextMenu.execCommand(\''+command+'\', \''+value+'\');return false;';else onMouseDown=this.settings['commandhandler']+'(\''+command+'\', \''+value+'\');return false;';if(icon=="")icon=this.settings['spacer_image'];if(!disabled)html+='';else html+='';html+='';html+='';html+='';this.html+=html;};ContextMenu.prototype.show=function(x,y){if(this.html=="")return;var html='';html+='
+ + +'; + html += ''; + + document.write(html); + + // tinyMCE.debug('-- image list start --', html, '-- image list end --'); +} + +// While loading +preinit(); diff --git a/webcit/tiny_mce/plugins/advimage/langs/CVS/Entries b/webcit/tiny_mce/plugins/advimage/langs/CVS/Entries new file mode 100644 index 000000000..7a6806cbc --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/langs/CVS/Entries @@ -0,0 +1,18 @@ +/cs.js/1.1/Tue Aug 30 18:35:56 2005// +/fa.js/1.1/Tue Aug 30 18:35:56 2005// +/fa_ca.js/1.1/Tue Aug 30 18:35:56 2005// +/fr.js/1.1/Tue Aug 30 18:35:56 2005// +/fr_ca.js/1.1/Tue Aug 30 18:35:56 2005// +/ko.js/1.1/Sun Sep 11 12:53:00 2005// +/nl.js/1.1/Tue Aug 30 18:35:56 2005// +/pl.js/1.1/Tue Aug 30 18:35:56 2005// +/pt_br.js/1.1/Tue Aug 30 18:35:56 2005// +/zh_cn.js/1.1/Sun Sep 11 12:53:00 2005// +/da.js/1.1/Mon Sep 26 18:44:31 2005// +/de.js/1.2/Wed Sep 28 03:47:27 2005// +/en.js/1.2/Wed Sep 28 03:47:27 2005// +/he.js/1.2/Wed Sep 28 03:47:27 2005// +/hu.js/1.1/Mon Sep 26 18:44:31 2005// +/no.js/1.1/Mon Sep 26 18:44:31 2005// +/sv.js/1.2/Wed Sep 28 03:47:27 2005// +D diff --git a/webcit/tiny_mce/plugins/advimage/langs/CVS/Repository b/webcit/tiny_mce/plugins/advimage/langs/CVS/Repository new file mode 100644 index 000000000..c7ea4a21c --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/langs/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/advimage/langs diff --git a/webcit/tiny_mce/plugins/advimage/langs/CVS/Root b/webcit/tiny_mce/plugins/advimage/langs/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/langs/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/advimage/langs/cs.js b/webcit/tiny_mce/plugins/advimage/langs/cs.js new file mode 100644 index 000000000..9dd373d09 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/langs/cs.js @@ -0,0 +1,8 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +insert_image_alt2 : 'Název obrázku', +insert_image_onmousemove : 'Alternativní obrázek', +insert_image_mouseover : 'pøi najetí myši', +insert_image_mouseout : 'pøi odjetí myši' +}); diff --git a/webcit/tiny_mce/plugins/advimage/langs/da.js b/webcit/tiny_mce/plugins/advimage/langs/da.js new file mode 100644 index 000000000..242e71535 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/langs/da.js @@ -0,0 +1,27 @@ +// DK lang variables contributed by Jan Moelgaard + +tinyMCE.addToLang('advimage',{ +tab_general : 'Generelt', +tab_appearance : 'Udseende', +tab_advanced : 'Avanceret', +general : 'Generelt', +title : 'Overskrift', +preview : 'Se', +constrain_proportions : 'Fasthold proportioner', +langdir : 'Tekstretning', +langcode : 'Sprogkode', +long_desc : 'Langt beskrivelseslink', +style : 'Style', +classes : 'Klasser', +ltr : 'Venstre til højre', +rtl : 'Højre til venstre', +id : 'Id', +image_map : 'Billedkort', +swap_image : 'Alternativt billede', +alt_image : 'Alternative image', +mouseover : 'ved mouse over', +mouseout : 'ved mouse out', +misc : 'Diverse', +example_img : 'Appearance preview image', +missing_alt : 'Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.' +}); diff --git a/webcit/tiny_mce/plugins/advimage/langs/de.js b/webcit/tiny_mce/plugins/advimage/langs/de.js new file mode 100644 index 000000000..52c2de818 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/langs/de.js @@ -0,0 +1,27 @@ +// DE lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'Allgemein', +tab_appearance : 'Erscheinungsbild', +tab_advanced : 'Erweitert', +general : 'Allgemein', +title : 'Titel', +preview : 'Vorschau', +constrain_proportions : 'Verhältnis beibehalten', +langdir : 'Sprachrichtung', +langcode : 'Sprach-Code', +long_desc : 'Link zu ausführlicher Beschreibung', +style : 'CSS-Stil', +classes : 'CSS-Klassen', +ltr : 'Von links nach rechts', +rtl : 'Von rechts nach links', +id : 'ID', +image_map : 'Image Map (Bild mit sensitiven Bereichen)', +swap_image : 'Bild austauschen', +alt_image : 'Alternatives Bild', +mouseover : 'für Mouse-Over', +mouseout : 'für Mouse-Out', +misc : 'Sonstiges', +example_img : 'Erscheinungsbild Vorschau Bild', +missing_alt : 'Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.' +}); diff --git a/webcit/tiny_mce/plugins/advimage/langs/en.js b/webcit/tiny_mce/plugins/advimage/langs/en.js new file mode 100644 index 000000000..ffd7e30c5 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/langs/en.js @@ -0,0 +1,27 @@ +// UK lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'General', +tab_appearance : 'Appearance', +tab_advanced : 'Advanced', +general : 'General', +title : 'Title', +preview : 'Preview', +constrain_proportions : 'Constrain proportions', +langdir : 'Language direction', +langcode : 'Language code', +long_desc : 'Long description link', +style : 'Style', +classes : 'Classes', +ltr : 'Left to right', +rtl : 'Right to left', +id : 'Id', +image_map : 'Image map', +swap_image : 'Swap image', +alt_image : 'Alternative image', +mouseover : 'for mouse over', +mouseout : 'for mouse out', +misc : 'Miscellaneous', +example_img : 'Appearance preview image', +missing_alt : 'Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.' +}); diff --git a/webcit/tiny_mce/plugins/advimage/langs/fa.js b/webcit/tiny_mce/plugins/advimage/langs/fa.js new file mode 100644 index 000000000..48dbe97b8 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/langs/fa.js @@ -0,0 +1,13 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +dir : 'rtl', +insert_image_alt2 : '????? ???', +insert_image_onmousemove : '??? ???????', +insert_image_mouseover : '??? ??????? ????? ???? ?????? ????', +insert_image_mouseout : '??? ??????? ????? ???? ?????? ????' +}); diff --git a/webcit/tiny_mce/plugins/advimage/langs/fa_ca.js b/webcit/tiny_mce/plugins/advimage/langs/fa_ca.js new file mode 100644 index 000000000..4779ba06a --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/langs/fa_ca.js @@ -0,0 +1,8 @@ +// CA_FR lang variables + +tinyMCE.addToLang('',{ +insert_image_alt2 : 'Titre de l\'image', +insert_image_onmousemove : 'Image alternative', +insert_image_mouseover : 'pour le «mouse over»', +insert_image_mouseout : 'pour le «mouse out»' +}); diff --git a/webcit/tiny_mce/plugins/advimage/langs/fr.js b/webcit/tiny_mce/plugins/advimage/langs/fr.js new file mode 100644 index 000000000..a2744d54d --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/langs/fr.js @@ -0,0 +1,8 @@ +// French lang variables by Laurent Dran + +tinyMCE.addToLang('',{ +insert_image_alt2 : 'Titre de l\'image', +insert_image_onmousemove : 'Image alternative', +insert_image_mouseover : 'Pour la souris au dessus', +insert_image_mouseout : 'Pour la souris en dehors' +}); diff --git a/webcit/tiny_mce/plugins/advimage/langs/fr_ca.js b/webcit/tiny_mce/plugins/advimage/langs/fr_ca.js new file mode 100644 index 000000000..4779ba06a --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/langs/fr_ca.js @@ -0,0 +1,8 @@ +// CA_FR lang variables + +tinyMCE.addToLang('',{ +insert_image_alt2 : 'Titre de l\'image', +insert_image_onmousemove : 'Image alternative', +insert_image_mouseover : 'pour le «mouse over»', +insert_image_mouseout : 'pour le «mouse out»' +}); diff --git a/webcit/tiny_mce/plugins/advimage/langs/he.js b/webcit/tiny_mce/plugins/advimage/langs/he.js new file mode 100644 index 000000000..37c3d8ab1 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/langs/he.js @@ -0,0 +1,27 @@ +// HE lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'ëììé', +tab_appearance : 'îøàä', +tab_advanced : 'îú÷ãí', +general : 'ëììé', +title : 'ëåúøú', +preview : 'úöåâä î÷ãéîä', +constrain_proportions : 'äâáìú îéîãéí', +langdir : 'ëéååï ùôä', +langcode : '÷åã ùôä', +long_desc : '÷éùåø ìäñáø àøåê', +style : 'ñâðåï', +classes : 'Classéí', +ltr : 'ùîàì ìéîéï', +rtl : 'éîéï ìùîàì', +id : 'Id', +image_map : 'îôú úîåðä', +swap_image : 'äçìôú úîåðä', +alt_image : 'úîåðä çìåôéú', +mouseover : 'ëùñîï äòëáø îòì äúîåðä', +mouseout : 'ëùñîï äòëáø òåæá àú äúîåðä', +misc : 'àçø', +example_img : 'úöåâä î÷ãéîä ùì îøàä', +missing_alt : 'Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.' +}); diff --git a/webcit/tiny_mce/plugins/advimage/langs/hu.js b/webcit/tiny_mce/plugins/advimage/langs/hu.js new file mode 100644 index 000000000..1980e8d84 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/langs/hu.js @@ -0,0 +1,27 @@ +// HU lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'Általános', +tab_appearance : 'Megjelenés', +tab_advanced : 'Haladó', +general : 'Általános', +title : 'Cím', +preview : 'Elõnézet', +constrain_proportions : 'Arányok kényszerítése', +langdir : 'Szöveg pozíció', +langcode : 'Szöveg kód', +long_desc : 'Hosszú leírás link', +style : 'Stílus', +classes : 'Osztályok', +ltr : 'Balról jobbra', +rtl : 'Jobbról balra', +id : 'Azonosító', +image_map : 'Kép térkép', +swap_image : 'Kép váltás', +alt_image : 'Másik kép', +mouseover : 'egér rámutatásra', +mouseout : 'egér elmozdítására', +misc : 'Egyéb', +example_img : 'Elõnézeti kép megjelenése', +missing_alt : 'Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.' +}); diff --git a/webcit/tiny_mce/plugins/advimage/langs/ko.js b/webcit/tiny_mce/plugins/advimage/langs/ko.js new file mode 100644 index 000000000..70eb4b1a7 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/langs/ko.js @@ -0,0 +1,8 @@ +// KO lang variables + +tinyMCE.addToLang('',{ +insert_image_alt2 : '±×¸² Á¦¸ñ', +insert_image_onmousemove : '´ëü À̹ÌÁö', +insert_image_mouseover : '¸¶¿ì½º¸¦ ¿Ã·ÈÀ» ¶§', +insert_image_mouseout : '¸¶¿ì½º¸¦ ³»·ÈÀ» ¶§' +}); diff --git a/webcit/tiny_mce/plugins/advimage/langs/nl.js b/webcit/tiny_mce/plugins/advimage/langs/nl.js new file mode 100644 index 000000000..261b72caf --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/langs/nl.js @@ -0,0 +1,8 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +insert_image_alt2 : 'Titel plaatje', +insert_image_onmousemove : 'Alternatief plaatje', +insert_image_mouseover : 'voor muis over', +insert_image_mouseout : 'voor muis out' +}); diff --git a/webcit/tiny_mce/plugins/advimage/langs/no.js b/webcit/tiny_mce/plugins/advimage/langs/no.js new file mode 100644 index 000000000..fb05e0f05 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/langs/no.js @@ -0,0 +1,27 @@ +// NO lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('advimage',{ +tab_general : 'Generelle innstillinger', +tab_appearance : 'Visuelle innstillinger', +tab_advanced : 'Avanserte innstillinger', +general : 'Generell', +title : 'Tittel', +preview : 'Forhåndsvisning', +constrain_proportions : 'Behold proporsjonene', +langdir : 'Skrift retning', +langcode : 'Språk kode', +long_desc : 'Lang beskrivelse', +style : 'Stil', +classes : 'CSS Klasser', +ltr : 'Venstre mot høyre', +rtl : 'Høyre mot venstre', +id : 'Id', +image_map : 'Opprett bilde', +swap_image : 'Bytt bilde', +alt_image : 'Alternativt bilde', +mouseover : 'når pekeren er over', +mouseout : 'når pekeren er utenfor', +misc : 'Annet', +example_img : 'Forhåndsvisnings bilde', +missing_alt : 'Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.' +}); diff --git a/webcit/tiny_mce/plugins/advimage/langs/pl.js b/webcit/tiny_mce/plugins/advimage/langs/pl.js new file mode 100644 index 000000000..48d6696a0 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/langs/pl.js @@ -0,0 +1,8 @@ +// PL lang variables + +tinyMCE.addToLang('',{ +insert_image_alt2 : 'Tytul obrazka', +insert_image_onmousemove : 'Obrazek zastepczy', +insert_image_mouseover : 'po najechaniu myszy', +insert_image_mouseout : 'po odjechaniu myszy' +}); diff --git a/webcit/tiny_mce/plugins/advimage/langs/pt_br.js b/webcit/tiny_mce/plugins/advimage/langs/pt_br.js new file mode 100644 index 000000000..de6a9363c --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/langs/pt_br.js @@ -0,0 +1,8 @@ +// pt_BR lang variables + +tinyMCE.addToLang('',{ +insert_image_alt2 : 'Título da Imagem', +insert_image_onmousemove : 'Imagem Alternativa', +insert_image_mouseover : 'para quando mouse sobre', +insert_image_mouseout : 'para quando mouse fora' +}); diff --git a/webcit/tiny_mce/plugins/advimage/langs/sv.js b/webcit/tiny_mce/plugins/advimage/langs/sv.js new file mode 100644 index 000000000..b4cb17992 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/langs/sv.js @@ -0,0 +1,27 @@ +// SE lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'Generella inställningar', +tab_appearance : 'Visuella inställningar', +tab_advanced : 'Avancerade inställningar', +general : 'Generella', +title : 'Titel', +preview : 'Förhandsgranskning', +constrain_proportions : 'Behåll proportionerna', +langdir : 'Skrift riktning', +langcode : 'Språk kåd', +long_desc : 'Long beskrivning', +style : 'Stil', +classes : 'CSS Classer', +ltr : 'Vänster till höger', +rtl : 'Höger till vänster', +id : 'Id', +image_map : 'Bild karta', +swap_image : 'Byt bild', +alt_image : 'Alternativ bild', +mouseover : 'när pekaren är över', +mouseout : 'när pekaren är utanför', +misc : 'Övrigt', +example_img : 'Förhandsgransknings bild', +missing_alt : 'Är du säker på att du vill fortsätta utan att skriva en bild beskrivning. Utan en alternativ beskrivning är bilden inte handikapanpassad.' +}); diff --git a/webcit/tiny_mce/plugins/advimage/langs/zh_cn.js b/webcit/tiny_mce/plugins/advimage/langs/zh_cn.js new file mode 100644 index 000000000..95039ba27 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/langs/zh_cn.js @@ -0,0 +1,9 @@ +// Simplified Chinese lang variables contributed by cube316 (cube316@gmail.com) +//Çë·ÃÎÊ http://www.cube316.net/ ÒÔ»ñÈ¡TinyMCEµÄÖÐÎÄÖ§³Ö + +tinyMCE.addToLang('',{ +insert_image_alt2 : 'ͼƬ±êÌâ', +insert_image_onmousemove : 'Ìæ´úͼÏñ', +insert_image_mouseover : 'Êó±êÒÆÉÏʱ', +insert_image_mouseout : 'Êó±êÒÆ¿ªÊ±' +}); diff --git a/webcit/tiny_mce/plugins/advimage/readme.txt b/webcit/tiny_mce/plugins/advimage/readme.txt new file mode 100644 index 000000000..4fdb78aec --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/webcit/tiny_mce/plugins/advlink/CVS/Entries b/webcit/tiny_mce/plugins/advlink/CVS/Entries new file mode 100644 index 000000000..8c0fecc3f --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/CVS/Entries @@ -0,0 +1,7 @@ +D/css//// +D/jscripts//// +D/langs//// +/link.htm/1.1/Sun Sep 11 12:53:00 2005// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// +/editor_plugin.js/1.2/Wed Sep 28 03:47:27 2005// +/editor_plugin_src.js/1.2/Wed Sep 28 03:47:27 2005// diff --git a/webcit/tiny_mce/plugins/advlink/CVS/Repository b/webcit/tiny_mce/plugins/advlink/CVS/Repository new file mode 100644 index 000000000..ed012c9f1 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/advlink diff --git a/webcit/tiny_mce/plugins/advlink/CVS/Root b/webcit/tiny_mce/plugins/advlink/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/advlink/css/CVS/Entries b/webcit/tiny_mce/plugins/advlink/css/CVS/Entries new file mode 100644 index 000000000..baa65e184 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/css/CVS/Entries @@ -0,0 +1,2 @@ +/advlink.css/1.1/Sun Sep 11 15:54:44 2005// +D diff --git a/webcit/tiny_mce/plugins/advlink/css/CVS/Repository b/webcit/tiny_mce/plugins/advlink/css/CVS/Repository new file mode 100644 index 000000000..e67213be8 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/css/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/advlink/css diff --git a/webcit/tiny_mce/plugins/advlink/css/CVS/Root b/webcit/tiny_mce/plugins/advlink/css/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/css/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/advlink/css/advlink.css b/webcit/tiny_mce/plugins/advlink/css/advlink.css new file mode 100644 index 000000000..0cb37bd20 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/css/advlink.css @@ -0,0 +1,35 @@ +/* CSS file for advimage plugin popup */ + +.mceLinkList, .mceAnchorList, #targetlist { + width: 280px; +} + +.mceActionPanel { + margin-top: 7px; +} + +.panel_wrapper div.current { + height: 320px; +} + +#classlist, #title, #href { + width: 280px; +} + +#popupurl, #popupname { + width: 200px; +} + +#popupwidth, #popupheight, #popupleft, #popuptop { + width: 30px; + vertical-align: middle; + text-align: center; +} + +#id, #style, #classes, #target, #dir, #hreflang, #lang, #charset, #type, #rel, #rev, #tabindex, #accesskey { + width: 200px; +} + +#events_panel input { + width: 200px; +} diff --git a/webcit/tiny_mce/plugins/advlink/editor_plugin.js b/webcit/tiny_mce/plugins/advlink/editor_plugin.js new file mode 100644 index 000000000..fbee34323 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/editor_plugin.js @@ -0,0 +1,2 @@ +/* Import plugin specific language pack */ + tinyMCE.importPluginLanguagePack('advlink','en,de,sv,zh_cn,cs,fa,fr_ca,fr,pl,pt_br,nl,he,no');function TinyMCE_advlink_getInfo(){return{longname:'Advanced link',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_advlink.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};};function TinyMCE_advlink_getControlHTML(control_name){switch(control_name){case "link":return '';}return "";}function TinyMCE_advlink_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mceAdvLink":var anySelection=false;var inst=tinyMCE.getInstanceById(editor_id);var focusElm=inst.getFocusElement();if(tinyMCE.selectedElement)anySelection=(tinyMCE.selectedElement.nodeName.toLowerCase()=="img")||(selectedText&&selectedText.length>0);if(anySelection||(focusElm!=null&&focusElm.nodeName=="A")){var template=new Array();template['file']='../../plugins/advlink/link.htm';template['width']=480;template['height']=400;template['width']+=tinyMCE.getLang('lang_advlink_delta_width',0);template['height']+=tinyMCE.getLang('lang_advlink_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});}return true;}return false;}function TinyMCE_advlink_handleNodeChange(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){tinyMCE.switchClassSticky(editor_id+'_advlink','mceButtonDisabled',true);if(node==null)return;if(any_selection)tinyMCE.switchClassSticky(editor_id+'_advlink','mceButtonNormal',false);do{if(node.nodeName=="A"&&tinyMCE.getAttrib(node,'href')!="")tinyMCE.switchClassSticky(editor_id+'_advlink','mceButtonSelected',false);}while((node=node.parentNode));return true;} \ No newline at end of file diff --git a/webcit/tiny_mce/plugins/advlink/editor_plugin_src.js b/webcit/tiny_mce/plugins/advlink/editor_plugin_src.js new file mode 100644 index 000000000..675ced3af --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/editor_plugin_src.js @@ -0,0 +1,68 @@ +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('advlink', 'en,de,sv,zh_cn,cs,fa,fr_ca,fr,pl,pt_br,nl,he,no'); + +function TinyMCE_advlink_getInfo() { + return { + longname : 'Advanced link', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_advlink.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; +}; + +function TinyMCE_advlink_getControlHTML(control_name) { + switch (control_name) { + case "link": + return ''; + } + + return ""; +} + +function TinyMCE_advlink_execCommand(editor_id, element, command, user_interface, value) { + switch (command) { + case "mceAdvLink": + var anySelection = false; + var inst = tinyMCE.getInstanceById(editor_id); + var focusElm = inst.getFocusElement(); + + if (tinyMCE.selectedElement) + anySelection = (tinyMCE.selectedElement.nodeName.toLowerCase() == "img") || (selectedText && selectedText.length > 0); + + if (anySelection || (focusElm != null && focusElm.nodeName == "A")) { + var template = new Array(); + + template['file'] = '../../plugins/advlink/link.htm'; + template['width'] = 480; + template['height'] = 400; + + // Language specific width and height addons + template['width'] += tinyMCE.getLang('lang_advlink_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_advlink_delta_height', 0); + + tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"}); + } + + return true; + } + + return false; +} + +function TinyMCE_advlink_handleNodeChange(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) { + tinyMCE.switchClassSticky(editor_id + '_advlink', 'mceButtonDisabled', true); + + if (node == null) + return; + + if (any_selection) + tinyMCE.switchClassSticky(editor_id + '_advlink', 'mceButtonNormal', false); + + do { + if (node.nodeName == "A" && tinyMCE.getAttrib(node, 'href') != "") + tinyMCE.switchClassSticky(editor_id + '_advlink', 'mceButtonSelected', false); + } while ((node = node.parentNode)); + + return true; +} diff --git a/webcit/tiny_mce/plugins/advlink/jscripts/CVS/Entries b/webcit/tiny_mce/plugins/advlink/jscripts/CVS/Entries new file mode 100644 index 000000000..1c75ec3bf --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/jscripts/CVS/Entries @@ -0,0 +1,2 @@ +/functions.js/1.2/Wed Sep 28 03:47:27 2005// +D diff --git a/webcit/tiny_mce/plugins/advlink/jscripts/CVS/Repository b/webcit/tiny_mce/plugins/advlink/jscripts/CVS/Repository new file mode 100644 index 000000000..9a9aa15c5 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/jscripts/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/advlink/jscripts diff --git a/webcit/tiny_mce/plugins/advlink/jscripts/CVS/Root b/webcit/tiny_mce/plugins/advlink/jscripts/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/jscripts/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/advlink/jscripts/functions.js b/webcit/tiny_mce/plugins/advlink/jscripts/functions.js new file mode 100644 index 000000000..dd9a387f4 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/jscripts/functions.js @@ -0,0 +1,538 @@ +/* Functions for the advlink plugin popup */ + +var templates = { + "window.open" : "window.open('${url}','${target}','${options}')" +}; + +function preinit() { + // Initialize + tinyMCE.setWindowArg('mce_windowresize', false); + + // Import external list url javascript + var url = tinyMCE.getParam("external_link_list_url"); + if (url != null) { + // Fix relative + if (url.charAt(0) != '/') + url = tinyMCE.documentBasePath + "/" + url; + + document.write(''); + } +} + +function changeClass() { + var formObj = document.forms[0]; + formObj.classes.value = getSelectValue(formObj, 'classlist'); +} + +function init() { + tinyMCEPopup.resizeToInnerSize(); + + var formObj = document.forms[0]; + var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id')); + var elm = inst.getFocusElement(); + var action = "insert"; + + // Resize some elements + if (isVisible('hrefbrowser')) + document.getElementById('href').style.width = '260px'; + + if (isVisible('popupurlbrowser')) + document.getElementById('popupurl').style.width = '180px'; + + elm = tinyMCE.getParentElement(elm, "a"); + if (elm != null && elm.nodeName == "A") + action = "update"; + + formObj.insert.value = tinyMCE.getLang('lang_' + action, 'Insert', true); + + setPopupControlsDisabled(true); + + if (action == "update") { + var href = tinyMCE.getAttrib(elm, 'href'); + + // Fix for drag-drop/copy paste bug in Mozilla + mceRealHref = tinyMCE.getAttrib(elm, 'mce_real_href'); + if (mceRealHref != "") + href = mceRealHref; + + href = convertURL(href, elm, true); + + var onclick = tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onclick')); + if (onclick == null || onclick == "") + onclick = tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'mce_onclick')); + + // Setup form data + setFormValue('href', href); + setFormValue('title', tinyMCE.getAttrib(elm, 'title')); + setFormValue('id', tinyMCE.getAttrib(elm, 'id')); + setFormValue('style', elm.style.cssText.toLowerCase()); + setFormValue('rel', tinyMCE.getAttrib(elm, 'rel')); + setFormValue('rev', tinyMCE.getAttrib(elm, 'rev')); + setFormValue('charset', tinyMCE.getAttrib(elm, 'charset')); + setFormValue('hreflang', tinyMCE.getAttrib(elm, 'hreflang')); + setFormValue('dir', tinyMCE.getAttrib(elm, 'dir')); + setFormValue('lang', tinyMCE.getAttrib(elm, 'lang')); + setFormValue('tabindex', tinyMCE.getAttrib(elm, 'tabindex', typeof(elm.tabindex) != "undefined" ? elm.tabindex : "")); + setFormValue('accesskey', tinyMCE.getAttrib(elm, 'accesskey', typeof(elm.accesskey) != "undefined" ? elm.accesskey : "")); + setFormValue('type', tinyMCE.getAttrib(elm, 'type')); + setFormValue('onfocus', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onfocus'))); + setFormValue('onblur', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onblur'))); + setFormValue('onclick', onclick); + setFormValue('ondblclick', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'ondblclick'))); + setFormValue('onmousedown', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onmousedown'))); + setFormValue('onmouseup', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onmouseup'))); + setFormValue('onmouseover', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onmouseover'))); + setFormValue('onmousemove', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onmousemove'))); + setFormValue('onmouseout', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onmouseout'))); + setFormValue('onkeypress', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onkeypress'))); + setFormValue('onkeydown', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onkeydown'))); + setFormValue('onkeyup', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onkeyup'))); + setFormValue('target', tinyMCE.getAttrib(elm, 'target')); + setFormValue('classes', tinyMCE.getAttrib(elm, 'class')); + + // Parse onclick data + if (onclick != null && onclick.indexOf('window.open') != -1) + parseWindowOpen(onclick); + else + parseFunction(onclick); + + // Select by the values + selectByValue(formObj, 'dir', tinyMCE.getAttrib(elm, 'dir')); + selectByValue(formObj, 'rel', tinyMCE.getAttrib(elm, 'rel')); + selectByValue(formObj, 'rev', tinyMCE.getAttrib(elm, 'rev')); + selectByValue(formObj, 'linklisthref', href); + + if (href.charAt(0) == '#') + selectByValue(formObj, 'anchorlist', href); + + selectByValue(formObj, 'classlist', tinyMCE.getAttrib(elm, 'class'), true); + selectByValue(formObj, 'targetlist', tinyMCE.getAttrib(elm, 'target'), true); + } + + addClassesToList('classlist', 'advlink_styles'); + + window.focus(); +} + +function setFormValue(name, value) { + document.forms[0].elements[name].value = value; +} + +function convertURL(url, node, on_save) { + return eval("tinyMCEPopup.windowOpener." + tinyMCE.settings['urlconverter_callback'] + "(url, node, on_save);"); +} + +function parseWindowOpen(onclick) { + var formObj = document.forms[0]; + + // Preprocess center code + if (onclick.indexOf('return false;') != -1) { + formObj.popupreturn.checked = true; + onclick = onclick.replace('return false;', ''); + } + + var onClickData = parseLink(onclick); + + if (onClickData != null) { + formObj.ispopup.checked = true; + setPopupControlsDisabled(false); + + var onClickWindowOptions = parseOptions(onClickData['options']); + + formObj.popupname.value = onClickData['target']; + formObj.popupurl.value = onClickData['url']; + formObj.popupwidth.value = getOption(onClickWindowOptions, 'width'); + formObj.popupheight.value = getOption(onClickWindowOptions, 'height'); + + formObj.popupleft.value = getOption(onClickWindowOptions, 'left'); + formObj.popuptop.value = getOption(onClickWindowOptions, 'top'); + + if (formObj.popupleft.value.indexOf('screen') != -1) + formObj.popupleft.value = "c"; + + if (formObj.popuptop.value.indexOf('screen') != -1) + formObj.popuptop.value = "c"; + + formObj.popuplocation.checked = getOption(onClickWindowOptions, 'location') == "yes"; + formObj.popupscrollbars.checked = getOption(onClickWindowOptions, 'scrollbars') == "yes"; + formObj.popupmenubar.checked = getOption(onClickWindowOptions, 'menubar') == "yes"; + formObj.popupresizable.checked = getOption(onClickWindowOptions, 'resizable') == "yes"; + formObj.popuptoolbar.checked = getOption(onClickWindowOptions, 'toolbar') == "yes"; + formObj.popupstatus.checked = getOption(onClickWindowOptions, 'status') == "yes"; + formObj.popupdependent.checked = getOption(onClickWindowOptions, 'dependent') == "yes"; + } +} + +function parseFunction(onclick) { + var formObj = document.forms[0]; + var onClickData = parseLink(onclick); + + // TODO: Add stuff here +} + +function getOption(opts, name) { + return typeof(opts[name]) == "undefined" ? "" : opts[name]; +} + +function setPopupControlsDisabled(state) { + var formObj = document.forms[0]; + + formObj.popupname.disabled = state; + formObj.popupurl.disabled = state; + formObj.popupwidth.disabled = state; + formObj.popupheight.disabled = state; + formObj.popupleft.disabled = state; + formObj.popuptop.disabled = state; + formObj.popuplocation.disabled = state; + formObj.popupscrollbars.disabled = state; + formObj.popupmenubar.disabled = state; + formObj.popupresizable.disabled = state; + formObj.popuptoolbar.disabled = state; + formObj.popupstatus.disabled = state; + formObj.popupreturn.disabled = state; + formObj.popupdependent.disabled = state; + + setBrowserDisabled('popupurlbrowser', state); +} + +function parseLink(link) { + link = link.replace(new RegExp(''', 'g'), "'"); + + var fnName = link.replace(new RegExp("\\s*([A-Za-z0-9\.]*)\\s*\\(.*", "gi"), "$1"); + + // Is function name a template function + var template = templates[fnName]; + if (template) { + // Build regexp + var variableNames = template.match(new RegExp("'?\\$\\{[A-Za-z0-9\.]*\\}'?", "gi")); + var regExp = "\\s*[A-Za-z0-9\.]*\\s*\\("; + var replaceStr = ""; + for (var i=0; i'); + for (var i=0; i{$lang_advlink_anchor_names}'; + html += ''; + + document.write(html); + + // tinyMCE.debug('-- image list start --', html, '-- image list end --'); +} + +function renderTargetList(elm_id, target_form_element) { + var targets = tinyMCE.getParam('theme_advanced_link_targets', '').split(';'); + var html = ''; + + html += ''; + + document.write(html); +} + +// While loading +preinit(); diff --git a/webcit/tiny_mce/plugins/advlink/langs/CVS/Entries b/webcit/tiny_mce/plugins/advlink/langs/CVS/Entries new file mode 100644 index 000000000..0fd35aff8 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/langs/CVS/Entries @@ -0,0 +1,17 @@ +/en.js/1.1/Sun Sep 11 12:53:00 2005// +/fa.js/1.1/Tue Aug 30 18:35:56 2005// +/fr.js/1.1/Tue Aug 30 18:35:56 2005// +/fr_ca.js/1.1/Tue Aug 30 18:35:56 2005// +/ko.js/1.1/Sun Sep 11 12:53:00 2005// +/nl.js/1.1/Tue Aug 30 18:35:56 2005// +/pl.js/1.1/Tue Aug 30 18:35:56 2005// +/pt_br.js/1.1/Tue Aug 30 18:35:56 2005// +/sv.js/1.1/Sun Sep 11 12:53:00 2005// +/zh_cn.js/1.1/Sun Sep 11 12:53:00 2005// +/cs.js/1.2/Wed Sep 28 03:47:27 2005// +/da.js/1.1/Mon Sep 26 18:44:31 2005// +/de.js/1.2/Wed Sep 28 03:47:27 2005// +/he.js/1.2/Wed Sep 28 03:47:27 2005// +/hu.js/1.1/Mon Sep 26 18:44:31 2005// +/no.js/1.1/Mon Sep 26 18:44:31 2005// +D diff --git a/webcit/tiny_mce/plugins/advlink/langs/CVS/Repository b/webcit/tiny_mce/plugins/advlink/langs/CVS/Repository new file mode 100644 index 000000000..acc68be07 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/langs/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/advlink/langs diff --git a/webcit/tiny_mce/plugins/advlink/langs/CVS/Root b/webcit/tiny_mce/plugins/advlink/langs/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/langs/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/advlink/langs/cs.js b/webcit/tiny_mce/plugins/advlink/langs/cs.js new file mode 100644 index 000000000..f573a3e63 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/langs/cs.js @@ -0,0 +1,28 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.2 2005/09/26 18:00:52 ajc Exp $ + */ + +tinyMCE.addToLang('',{ +insert_link_target_same : 'Otevřít ve stejném okně/rámu', +insert_link_target_parent : 'Otevřít v rodičovském okně/rámu', +insert_link_target_top : 'Otevřít v nejvyšším rámu (přepíše vÅ¡echny rámy)', +insert_link_target_blank : 'Otevřít v novém okně', +insert_link_target_named : 'Otevřít v okně', +insert_link_popup : 'JS-Popup', +insert_link_popup_url : 'Popup URL', +insert_link_popup_name : 'Název okna', +insert_link_popup_return : 'Vložit \'return false\'', +insert_link_popup_scrollbars : 'Ukázat posuvníky', +insert_link_popup_statusbar : 'Ukázat stavový řádek', +insert_link_popup_toolbar : 'Ukázat ovládací liÅ¡tu', +insert_link_popup_menubar : 'Ukázat menu', +insert_link_popup_location : 'Ukázat liÅ¡tu umístění', +insert_link_popup_resizable : 'Proměnná velikost okna', +insert_link_popup_size : 'Velikost', +insert_link_popup_position : 'Umístění (X/Y)', +insert_link_popup_missingtarget : 'Vložte název cíle nebo vyberte jinou volbu.' +}); + diff --git a/webcit/tiny_mce/plugins/advlink/langs/da.js b/webcit/tiny_mce/plugins/advlink/langs/da.js new file mode 100644 index 000000000..0fc94945e --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/langs/da.js @@ -0,0 +1,46 @@ +// DK lang variables contributed by Jan Moelgaard + +tinyMCE.addToLang('advlink',{ +general_tab : 'Generelt', +popup_tab : 'Pop up', +events_tab : 'Events', +advanced_tab : 'Avanceret', +general_props : 'General properties', +popup_props : 'Popup properties', +event_props : 'Events', +advanced_props : 'Advanced properties', +popup_opts : 'Options', +anchor_names : 'Anchors', +target_same : 'Open in this window / frame', +target_parent : 'Open in parent window / frame', +target_top : 'Open in top frame (replaces all frames)', +target_blank : 'Open in new window', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Window name', +popup_return : 'Insert \'return false\'', +popup_scrollbars : 'Show scrollbars', +popup_statusbar : 'Show status bar', +popup_toolbar : 'Show toolbars', +popup_menubar : 'Show menu bar', +popup_location : 'Show location bar', +popup_resizable : 'Make window resizable', +popup_dependent : 'Dependent (Mozilla/Firefox only)', +popup_size : 'Size', +popup_position : 'Position (X/Y)', +id : 'Id', +style: 'Style', +classes : 'Classes', +target_name : 'Target name', +langdir : 'Language direction', +target_langcode : 'Target language', +langcode : 'Language code', +encoding : 'Target character encoding', +mime : 'Target MIME type', +rel : 'Relationship page to target', +rev : 'Relationship target to page', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Left to right', +rtl : 'Right to left' +}); diff --git a/webcit/tiny_mce/plugins/advlink/langs/de.js b/webcit/tiny_mce/plugins/advlink/langs/de.js new file mode 100644 index 000000000..62c074407 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/langs/de.js @@ -0,0 +1,47 @@ +// DE lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'Allgemein', +popup_tab : 'Popup', +events_tab : 'JS-Events', +advanced_tab : 'Erweitert', +general_props : 'Allgemeine Eigenschaften', +popup_props : 'Popup-Eigenschaften', +event_props : 'Javascript-Events', +advanced_props : 'Erweiterte Eigenschaften', +popup_opts : 'Optionen', +anchor_names : 'Anker', +target_same : '_self - In diesem Fenster/Frame öffnen', +target_parent : '_parent - Im Eltern-Fenster/-Frame öffnen', +target_top : '_top - Im Fenster öffnen (ersetzt alle Frames)', +target_blank : '_blank - In neuem Fenster öffnen', +popup : 'Javascript-Popup', +popup_url : 'Popup-URL', +popup_name : 'Popup-Name', +popup_return : 'Mit \'return false\' einfügen', +popup_scrollbars : 'Scrollleisten anzeigen', +popup_statusbar : 'Statuszeilen anzeigen', +popup_toolbar : 'Werkzeugleisten anzeigen', +popup_menubar : 'Menüleiste anzeigen', +popup_location : 'Adresszeile anzeigen', +popup_resizable : 'Fenstergröße veränderbar', +popup_dependent : 'Abhängiges Fenster (Nur Mozilla/Firefox)', +popup_size : 'Größe', +popup_position : 'Position (X/Y)', +id : 'ID', +style: 'CSS-Stil', +classes : 'CSS-Klassen', +target_name : 'Zielname', +langdir : 'Sprachrichtung', +target_langcode : 'Zielsprache', +langcode : 'Sprach-Code', +encoding : 'Zeichenkodierung', +mime : 'MIME-Typ', +rel : 'Verhältnis Seite zu Ziel', +rev : 'Verhältnis Ziel zu Seite', +tabindex : 'Tabulator-Index', +accesskey : 'Tastaturkürzel', +ltr : 'Von links nach rechts', +rtl : 'Von rechts nach links', +delta_width : 10 +}); diff --git a/webcit/tiny_mce/plugins/advlink/langs/en.js b/webcit/tiny_mce/plugins/advlink/langs/en.js new file mode 100644 index 000000000..0e68e5ab3 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/langs/en.js @@ -0,0 +1,46 @@ +// UK lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'General', +popup_tab : 'Popup', +events_tab : 'Events', +advanced_tab : 'Advanced', +general_props : 'General properties', +popup_props : 'Popup properties', +event_props : 'Events', +advanced_props : 'Advanced properties', +popup_opts : 'Options', +anchor_names : 'Anchors', +target_same : 'Open in this window / frame', +target_parent : 'Open in parent window / frame', +target_top : 'Open in top frame (replaces all frames)', +target_blank : 'Open in new window', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Window name', +popup_return : 'Insert \'return false\'', +popup_scrollbars : 'Show scrollbars', +popup_statusbar : 'Show status bar', +popup_toolbar : 'Show toolbars', +popup_menubar : 'Show menu bar', +popup_location : 'Show location bar', +popup_resizable : 'Make window resizable', +popup_dependent : 'Dependent (Mozilla/Firefox only)', +popup_size : 'Size', +popup_position : 'Position (X/Y)', +id : 'Id', +style: 'Style', +classes : 'Classes', +target_name : 'Target name', +langdir : 'Language direction', +target_langcode : 'Target language', +langcode : 'Language code', +encoding : 'Target character encoding', +mime : 'Target MIME type', +rel : 'Relationship page to target', +rev : 'Relationship target to page', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Left to right', +rtl : 'Right to left' +}); diff --git a/webcit/tiny_mce/plugins/advlink/langs/fa.js b/webcit/tiny_mce/plugins/advlink/langs/fa.js new file mode 100644 index 000000000..aca154bf8 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/langs/fa.js @@ -0,0 +1,27 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +dir : 'rtl', +insert_link_target_same : '?? ???? ???? / ???? ??? ??', +insert_link_target_parent : '?? ???? / ???? ???? ??? ??', +insert_link_target_top : '?? ???? ???? ??? ?? (??? ?????? ?????? ????? ?????)', +insert_link_target_blank : '?? ???? ???? ??? ??', +insert_link_target_named : '?? ????? ??? ??', +insert_link_popup : 'JS-Popup', +insert_link_popup_url : 'URL ?????', +insert_link_popup_name : '??? ?????', +insert_link_popup_return : '?????? \'return false\'', +insert_link_popup_scrollbars : '????? scrollbars', +insert_link_popup_statusbar : '????? statusbar', +insert_link_popup_toolbar : '????? toolbars', +insert_link_popup_menubar : '????? menubar', +insert_link_popup_location : '????? locationbar', +insert_link_popup_resizable : '???? ????? ?????? ????', +insert_link_popup_size : '??????', +insert_link_popup_position : '?????? (X/Y)', +insert_link_popup_missingtarget : '???? ?? ??? ???? ???? ?????? ???? ?? ??? ??? ???? ????? ????? ?? ?????? ??????.' +}); diff --git a/webcit/tiny_mce/plugins/advlink/langs/fr.js b/webcit/tiny_mce/plugins/advlink/langs/fr.js new file mode 100644 index 000000000..14f196ecf --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/langs/fr.js @@ -0,0 +1,22 @@ +// French lang variables by Laurent Dran + +tinyMCE.addToLang('',{ +insert_link_target_same : 'Ouvre dans la fenętre / Cadre(frame)', +insert_link_target_parent : 'Ouvre dans fenętre parente / Cadres(frame)', +insert_link_target_top : 'Ouvre dans le Top frame (remplace toutes les cadres(frames))', +insert_link_target_blank : 'Ouvre dans la fenętre', +insert_link_target_named : 'Ouvre dans la fenętre', +insert_link_popup : 'JS-Popup', +insert_link_popup_url : 'URL de la Popup', +insert_link_popup_name : 'Nom de la fenętre', +insert_link_popup_return : 'Insert \'return false\'', +insert_link_popup_scrollbars : 'Montrer la barre de défilement ', +insert_link_popup_statusbar : 'Montrer la barre d\'état', +insert_link_popup_toolbar : 'Montrer la barre d\'outils', +insert_link_popup_menubar : 'Montrer la barre du menu', +insert_link_popup_location : 'Montre la barre d\'adresse', +insert_link_popup_resizable : 'Fabriquer une fenętre redimensionnable', +insert_link_popup_size : 'Taille', +insert_link_popup_position : 'Position (X/Y)', +insert_link_popup_missingtarget : 'Veuillez insérer un nom pour la cible ou choisissez une autre option.' +}); diff --git a/webcit/tiny_mce/plugins/advlink/langs/fr_ca.js b/webcit/tiny_mce/plugins/advlink/langs/fr_ca.js new file mode 100644 index 000000000..7b57ba302 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/langs/fr_ca.js @@ -0,0 +1,22 @@ +// CA_FR lang variables + +tinyMCE.addToLang('',{ +insert_link_target_same : 'Ouvrir dans la même fenêtre', +insert_link_target_parent : 'Ouvrir dans la fenêtre parent', +insert_link_target_top : 'Ouvrir dans le cadre supérieur', +insert_link_target_blank : 'Ouvrir dans une nouvelle fenêtre', +insert_link_target_named : 'Ouvrir à la destination', +insert_link_popup : 'JS-Popup', +insert_link_popup_url : 'URL du popup', +insert_link_popup_name : 'Nom de la fenêtre', +insert_link_popup_return : 'Insérer le script \'return false\'', +insert_link_popup_scrollbars : 'Barres de défilement', +insert_link_popup_statusbar : 'Barre de statut', +insert_link_popup_toolbar : 'Barres d\'outils', +insert_link_popup_menubar : 'Barre de menu', +insert_link_popup_location : 'Barre d\'adresse', +insert_link_popup_resizable : 'Fenêtre redimensionnable', +insert_link_popup_size : 'Dimensions', +insert_link_popup_position : 'Position (X/Y)', +insert_link_popup_missingtarget : 'S.v.p., entrer un nom de destination ou choisir une autre option.' +}); diff --git a/webcit/tiny_mce/plugins/advlink/langs/he.js b/webcit/tiny_mce/plugins/advlink/langs/he.js new file mode 100644 index 000000000..bf3f79482 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/langs/he.js @@ -0,0 +1,46 @@ +// UK lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'ëììé', +popup_tab : 'çìåï ÷åôõ', +events_tab : 'àøåòéí', +advanced_tab : 'îú÷ãí', +general_props : 'îàôééðéí ëììééí', +popup_props : 'îàôééðé äçìåï ä÷åôõ', +event_props : 'àøåòéí', +advanced_props : 'îàôééðéí îú÷ãîéí', +popup_opts : 'àôùøåéåú', +anchor_names : 'òåâðéí', +target_same : 'ôúç áçìåï æä àå îñâøú æå', +target_parent : 'ôúç áçìåï àå áîñâøú äî÷åøééí', +target_top : 'ôúç áîñâøú äøàùéú (îçìéó àú ëì äîñâøåú)', +target_blank : 'ôúç áçìåï çãù', +popup : 'çìåï ÷åôõ ùì Javascript', +popup_url : 'ëúåáú äçìåï ä÷åôõ', +popup_name : 'ùí äçìåï', +popup_return : 'äëðñ \'return false\'', +popup_scrollbars : 'äöâ ôñé âìéìä', +popup_statusbar : 'äöâ ùåøú îöá', +popup_toolbar : 'äöâ ñøâìé ëìåí', +popup_menubar : 'äöâ àú ùåøú äúôøéèéí', +popup_location : 'äöâ àú ùåøú äëúåáú', +popup_resizable : 'çìåï ùðéúï ìùðåú àú âåãìå', +popup_dependent : 'úìåé (Mozilla/Firefox áìáã)', +popup_size : 'âåãì', +popup_position : 'îé÷åí (X/Y)', +id : 'Id', +style: 'ñâðåï', +classes : 'Classéí', +target_name : 'ùí éòã', +langdir : 'ëéååï ùôä', +target_langcode : 'ùôú éòã', +langcode : '÷åã ùôä', +encoding : '÷éãåã úååéí ùì äéòã', +mime : 'ñåâ MIME ùì äéòã', +rel : 'éçñ ùì ãó ìéòã', +rev : 'éçñ ùì éòã ìãó', +tabindex : 'ñãø èàáéí', +accesskey : 'î÷ù âéùä', +ltr : 'ùîàì ìéîéï', +rtl : 'éîéï ìùîàì' +}); \ No newline at end of file diff --git a/webcit/tiny_mce/plugins/advlink/langs/hu.js b/webcit/tiny_mce/plugins/advlink/langs/hu.js new file mode 100644 index 000000000..75f6beb5f --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/langs/hu.js @@ -0,0 +1,46 @@ +// HU lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'Általános', +popup_tab : 'Popup', +events_tab : 'Események', +advanced_tab : 'Haladó', +general_props : 'Általános beállítások', +popup_props : 'Popup beállítások', +event_props : 'Események', +advanced_props : 'Haladó beállítások', +popup_opts : 'Opciók', +anchor_names : 'Horgonyok', +target_same : 'Megnyitás ebben az ablakban / keretben', +target_parent : 'Megnyitás a szülõ ablakban / keretben', +target_top : 'Megnyitás felsõ keretben (minden keretet lecserél)', +target_blank : 'Megnyitás új ablakban', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Ablak név', +popup_return : '\'return false\' beszúrása', +popup_scrollbars : 'Görgetõsávok megjelenítése', +popup_statusbar : 'Állapotsor megjelenítése', +popup_toolbar : 'Eszköztárak megjelenítése', +popup_menubar : 'Menüsor megjelenítése', +popup_location : 'Címsáv megjelenítése', +popup_resizable : 'Ablak átméretezhetõvé tétele', +popup_dependent : 'Függõ (csak Mozilla/Firefox)', +popup_size : 'Méret', +popup_position : 'Pozíció (X/Y)', +id : 'Azonosító', +style: 'Stílus', +classes : 'Osztályok', +target_name : 'Cél neve', +langdir : 'Szöveg pozíció', +target_langcode : 'Cél szöveg', +langcode : 'Szöveg kód', +encoding : 'Cél karakter kódolás', +mime : 'Cél MIME típus', +rel : 'Oldal kapcsolata a céllal', +rev : 'Cél kapcsolat az oldallal', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Balról jobbra', +rtl : 'Jobbról balra' +}); diff --git a/webcit/tiny_mce/plugins/advlink/langs/ko.js b/webcit/tiny_mce/plugins/advlink/langs/ko.js new file mode 100644 index 000000000..bcd48c04e --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/langs/ko.js @@ -0,0 +1,21 @@ +// KO lang variables + +tinyMCE.addToLang('',{ +insert_link_target_same : '°°Àº â¿¡¼­ ¸µÅ©/ÇÁ·¹ÀÓ ¿­±â', +insert_link_target_parent : 'ºÎ¸ð â¿¡¼­ ¸µÅ©/ÇÁ·¹ÀÓ ¿­±â', +insert_link_target_top : 'TOP ÇÁ·¹ÀÓ¿¡¼­ ¿­±â (¸ðµç ÇÁ·¹ÀÓÀ» ´ëü)', +insert_link_target_blank : '»õ â¿¡¼­ ¿­±â', +insert_link_target_named : '»õ â¿¡¼­ ¿­±â', +insert_link_popup : 'JS-Popup', +insert_link_popup_url : 'Æ˾÷ URL', +insert_link_popup_name : 'â À̸§', +insert_link_popup_return : '\'return false\' ³Ö±â', +insert_link_popup_scrollbars : '½ºÅ©·Ñ¹Ù¸¦ º¸¿©ÁÜ', +insert_link_popup_statusbar : '»óÅÂâÀ» º¸¿©ÁÜ', +insert_link_popup_toolbar : 'Åø¹Ù¸¦ º¸¿©ÁÜ', +insert_link_popup_menubar : '¸Þ´º¹Ù¸¦ º¸¿©ÁÜ', +insert_link_popup_location : 'À§Ä¡ Ç¥½ÃÁÙÀ» º¸¿©ÁÜ', +insert_link_popup_resizable : 'Å©±â Á¶Àý °¡´ÉÇÑ À©µµ¿ì »ý¼º', +insert_link_popup_size : 'Å©±â', +insert_link_popup_position : 'À§Ä¡ (X/Y)' +}); diff --git a/webcit/tiny_mce/plugins/advlink/langs/nl.js b/webcit/tiny_mce/plugins/advlink/langs/nl.js new file mode 100644 index 000000000..abcc14ee8 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/langs/nl.js @@ -0,0 +1,22 @@ +// NL lang variables + +tinyMCE.addToLang('',{ +insert_link_target_same : 'Open in dit window / frame', +insert_link_target_parent : 'Open in parent window / frame', +insert_link_target_top : 'Open in top frame (vervangt alle frames)', +insert_link_target_blank : 'Open in nieuw window', +insert_link_target_named : 'Open in het window', +insert_link_popup : 'JS-Popup', +insert_link_popup_url : 'Popup URL', +insert_link_popup_name : 'Window naam', +insert_link_popup_return : 'invoegen \'return false\'', +insert_link_popup_scrollbars : 'Laat scrollbars zien', +insert_link_popup_statusbar : 'Laat statusbar zien', +insert_link_popup_toolbar : 'Laat toolbars zien', +insert_link_popup_menubar : 'Laat menubar zien', +insert_link_popup_location : 'Laat locatiebar zien', +insert_link_popup_resizable : 'Maak window resizable', +insert_link_popup_size : 'Grootte', +insert_link_popup_position : 'Positie (X/Y)', +insert_link_popup_missingtarget : 'Geef de naam van het target window of kies een andere optie.' +}); diff --git a/webcit/tiny_mce/plugins/advlink/langs/no.js b/webcit/tiny_mce/plugins/advlink/langs/no.js new file mode 100644 index 000000000..48735bb4c --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/langs/no.js @@ -0,0 +1,46 @@ +// NO lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('advlink',{ +general_tab : 'Generelle innstillinger', +popup_tab : 'Popup', +events_tab : 'Hendelser', +advanced_tab : 'Avanserte innstillinger', +general_props : 'Generelle innstillinger', +popup_props : 'Popup innstillninger', +event_props : 'Hendelser', +advanced_props : 'Generelle innstillinger', +popup_opts : 'Innstillinger', +anchor_names : 'Bokmærke', +target_same : 'Åpne i samme vindu / ramme', +target_parent : 'Åpne i underliggende vindu / ramme', +target_top : 'Åpne i topprammen (erstatter alle rammer)', +target_blank : 'Åpne i et nytt vindu', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Vindu navn', +popup_return : 'Sett inn \'return false\'', +popup_scrollbars : 'Vis scrollbars', +popup_statusbar : 'Vis status bar', +popup_toolbar : 'Vis toolbars', +popup_menubar : 'Vis menu bar', +popup_location : 'Vis location bar', +popup_resizable : 'Gjør vinduet skalerbart', +popup_dependent : 'Avhengig vindu (Bare i Mozilla/Firefox)', +popup_size : 'St&oring;rrelse', +popup_position : 'Posisjon (X/Y)', +id : 'Id', +style: 'Stil', +classes : 'CSS Klasser', +target_name : 'Mål navn', +langdir : 'Skrift retning', +target_langcode : 'Mål språk', +langcode : 'Språk kode', +encoding : 'Tegn konvertering', +mime : 'Målets MIME type', +rel : 'Relasjon side til mål', +rev : 'Relasjon mål til side', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Venstre mot høyre', +rtl : 'Høyre mot venstre' +}); diff --git a/webcit/tiny_mce/plugins/advlink/langs/pl.js b/webcit/tiny_mce/plugins/advlink/langs/pl.js new file mode 100644 index 000000000..7e05366eb --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/langs/pl.js @@ -0,0 +1,24 @@ +// PL lang variables + +tinyMCE.addToLang('',{ +insert_link_target_same : 'Otwórz w tym samym oknie', +insert_link_target_parent : 'Open in parent window / frame', +insert_link_target_top : 'Open in top frame (replaces all frames)', +insert_link_target_blank : 'Otwórz w nowym oknie', +insert_link_target_named : 'Open in the window', +insert_link_popup : 'JS-Popup', +insert_link_popup_url : 'Popup URL', +insert_link_popup_name : 'Window name', +insert_link_popup_return : 'insert \'return false\'', +insert_link_popup_scrollbars : 'Show scrollbars', +insert_link_popup_statusbar : 'Show statusbar', +insert_link_popup_toolbar : 'Show toolbars', +insert_link_popup_menubar : 'Show menubar', +insert_link_popup_location : 'Show locationbar', +insert_link_popup_resizable : 'Make window resizable', +insert_link_popup_size : 'Size', +insert_link_popup_position : 'Position (X/Y)', +insert_link_popup_missingtarget : 'Please insert a name for the target or choose another option.', +insert_link_url : 'Adres URL', +insert_link_target : 'Cel' +}); diff --git a/webcit/tiny_mce/plugins/advlink/langs/pt_br.js b/webcit/tiny_mce/plugins/advlink/langs/pt_br.js new file mode 100644 index 000000000..c4df61ceb --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/langs/pt_br.js @@ -0,0 +1,22 @@ +// pt_BR lang variables + +tinyMCE.addToLang('',{ +insert_link_target_same : 'Abrir nesta mesma janela / frame', +insert_link_target_parent : 'Abrir na janela / frame prévia', +insert_link_target_top : 'Abrir no frame superior (substitui todos os frames)', +insert_link_target_blank : 'Abrir em nova janela', +insert_link_target_named : 'Abrir na janela', +insert_link_popup : 'JS-Popup', +insert_link_popup_url : 'Popup URL endereço', +insert_link_popup_name : 'Nome da janela', +insert_link_popup_return : 'inserir \'retorna falso\'', +insert_link_popup_scrollbars : 'Mostra barras de rolagem', +insert_link_popup_statusbar : 'Mostra barra de status', +insert_link_popup_toolbar : 'Mostra barras de ferramentas', +insert_link_popup_menubar : 'Mostra barra de menu', +insert_link_popup_location : 'Mostra barra de endereço', +insert_link_popup_resizable : 'Permite redimensionamento da janela', +insert_link_popup_size : 'Tamanho', +insert_link_popup_position : 'Posição (X/Y)', +insert_link_popup_missingtarget : 'Por Favor insira um nome para o alvo ou escolha outra opção.' +}); diff --git a/webcit/tiny_mce/plugins/advlink/langs/sv.js b/webcit/tiny_mce/plugins/advlink/langs/sv.js new file mode 100644 index 000000000..1efe42a97 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/langs/sv.js @@ -0,0 +1,46 @@ +// UK lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'Generella inställningar', +popup_tab : 'Popup', +events_tab : 'Händelser', +advanced_tab : 'Avancerade inställningar', +general_props : 'Generella inställningar', +popup_props : 'Popup inställningar', +event_props : 'Händelser', +advanced_props : 'Generella inställningar', +popup_opts : 'Inställningar', +anchor_names : 'Bokmärken', +target_same : 'Öppna i samma fönster / ram', +target_parent : 'Öppna i underliggande fönster / ram', +target_top : 'Öppna i toppramen (ersätter alla ramar)', +target_blank : 'Öppna i ett nytt fönster', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Fönster namn', +popup_return : 'Sättin \'return false\'', +popup_scrollbars : 'Visa scrollbars', +popup_statusbar : 'Visa status bar', +popup_toolbar : 'Visa toolbars', +popup_menubar : 'Visa menu bar', +popup_location : 'Visa location bar', +popup_resizable : 'Gör fönstret skalbart', +popup_dependent : 'Beroende fönster (Ändast i Mozilla/Firefox)', +popup_size : 'Storek', +popup_position : 'Position (X/Y)', +id : 'Id', +style: 'Stil', +classes : 'CSS Classer', +target_name : 'Mål namn', +langdir : 'Skrift riktning', +target_langcode : 'Mål språk', +langcode : 'Språk kåd', +encoding : 'Tecken konvertering', +mime : 'Målets MIME typ', +rel : 'Relation sida till mål', +rev : 'Relation mål till sida', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Vänster till höger', +rtl : 'Höger till vänster' +}); diff --git a/webcit/tiny_mce/plugins/advlink/langs/zh_cn.js b/webcit/tiny_mce/plugins/advlink/langs/zh_cn.js new file mode 100644 index 000000000..18ab5c9b8 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/langs/zh_cn.js @@ -0,0 +1,23 @@ +// Simplified Chinese lang variables contributed by cube316 (cube316@gmail.com) +//Çë·ÃÎÊ http://www.cube316.net/ ÒÔ»ñÈ¡TinyMCEµÄÖÐÎÄÖ§³Ö + +tinyMCE.addToLang('',{ +insert_link_target_same : 'ÔÚ±¾´°¿Ú/¿ò¼ÜÖдò¿ª', +insert_link_target_parent : 'ÔÚ¸¸´°¿Ú/¿ò¼ÜÖдò¿ª', +insert_link_target_top : 'ÔÚ¸ù¿ò¼ÜÖдò¿ª£¨Ìæ»»ËùÓпò¼Ü£©', +insert_link_target_blank : 'ÔÚд°¿ÚÖдò¿ª', +insert_link_target_named : 'ÔÚ´Ë´°¿ÚÖдò¿ª', +insert_link_popup : 'JavaScriptµ¯³ö´°¿Ú', +insert_link_popup_url : 'µ¯³ö´°¿ÚµØÖ·', +insert_link_popup_name : '´°¿ÚÃû³Æ', +insert_link_popup_return : '²åÈë \'return false\'', +insert_link_popup_scrollbars : 'ÏÔʾ¹ö¶¯Ìõ', +insert_link_popup_statusbar : 'ÏÔʾ״̬À¸', +insert_link_popup_toolbar : 'ÏÔʾ¹¤¾ßÀ¸', +insert_link_popup_menubar : 'ÏÔʾ²Ëµ¥À¸', +insert_link_popup_location : 'ÏÔʾµØÖ·À¸', +insert_link_popup_resizable : '¿ÉÖض¨Òå´°¿Ú´óС', +insert_link_popup_size : '³ß´ç', +insert_link_popup_position : 'λÖÃ(X/Y)', +insert_link_popup_missingtarget : 'Çë²åÈëÄ¿±êÃû³Æ»òÕßÑ¡ÔñÁíÍâµÄÑ¡Ïî¡£' +}); diff --git a/webcit/tiny_mce/plugins/advlink/link.htm b/webcit/tiny_mce/plugins/advlink/link.htm new file mode 100644 index 000000000..308d48374 --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/link.htm @@ -0,0 +1,327 @@ + + + {$lang_insert_link_title} + + + + + + + + + + +
+
+
+ {$lang_advlink_general_props} + +
diff --git a/webcit/static/beginbox_nt.html b/webcit/static/beginbox_nt.html new file mode 100644 index 000000000..3c1700520 --- /dev/null +++ b/webcit/static/beginbox_nt.html @@ -0,0 +1,3 @@ +
+ +
diff --git a/webcit/static/bgcolor.gif b/webcit/static/bgcolor.gif new file mode 100644 index 000000000..55fcf1ba6 Binary files /dev/null and b/webcit/static/bgcolor.gif differ diff --git a/webcit/static/blackdot.gif b/webcit/static/blackdot.gif new file mode 100644 index 000000000..f79319f81 Binary files /dev/null and b/webcit/static/blackdot.gif differ diff --git a/webcit/static/blank.gif b/webcit/static/blank.gif new file mode 100644 index 000000000..4bcc753a1 Binary files /dev/null and b/webcit/static/blank.gif differ diff --git a/webcit/static/body-background.gif b/webcit/static/body-background.gif new file mode 100644 index 000000000..e69942eb8 Binary files /dev/null and b/webcit/static/body-background.gif differ diff --git a/webcit/static/bold.gif b/webcit/static/bold.gif new file mode 100644 index 000000000..bdb3259c3 Binary files /dev/null and b/webcit/static/bold.gif differ diff --git a/webcit/static/calarea_16x.gif b/webcit/static/calarea_16x.gif new file mode 100644 index 000000000..ec469b7dd Binary files /dev/null and b/webcit/static/calarea_16x.gif differ diff --git a/webcit/static/calarea_32x.gif b/webcit/static/calarea_32x.gif new file mode 100644 index 000000000..67d1e7899 Binary files /dev/null and b/webcit/static/calarea_32x.gif differ diff --git a/webcit/static/calarea_48x.gif b/webcit/static/calarea_48x.gif new file mode 100644 index 000000000..fbb8fcc2f Binary files /dev/null and b/webcit/static/calarea_48x.gif differ diff --git a/webcit/static/centre.gif b/webcit/static/centre.gif new file mode 100644 index 000000000..f98c86a78 Binary files /dev/null and b/webcit/static/centre.gif differ diff --git a/webcit/static/chatframeset.html b/webcit/static/chatframeset.html new file mode 100644 index 000000000..69a1b4283 --- /dev/null +++ b/webcit/static/chatframeset.html @@ -0,0 +1,30 @@ + + + Real-time chat: <?ROOMNAME> + + + + + + + + + + + + + + + + + + + + +Sorry, web-based access to Citadel requires a browser that supports frames, +such as <a href="http://www.mozilla.org/products/firefox/">Firefox</a> or +<a href="http://www.mozilla.org">Mozilla</a>. If you are using an older +browser, please upgrade now. + + + diff --git a/webcit/static/chatrooms_16x.gif b/webcit/static/chatrooms_16x.gif new file mode 100644 index 000000000..7c95338ad Binary files /dev/null and b/webcit/static/chatrooms_16x.gif differ diff --git a/webcit/static/chatrooms_32x.gif b/webcit/static/chatrooms_32x.gif new file mode 100644 index 000000000..8c0fb0cf3 Binary files /dev/null and b/webcit/static/chatrooms_32x.gif differ diff --git a/webcit/static/chatrooms_48x.gif b/webcit/static/chatrooms_48x.gif new file mode 100644 index 000000000..2d42ae297 Binary files /dev/null and b/webcit/static/chatrooms_48x.gif differ diff --git a/webcit/static/citadel-logo.gif b/webcit/static/citadel-logo.gif new file mode 100644 index 000000000..58611e843 Binary files /dev/null and b/webcit/static/citadel-logo.gif differ diff --git a/webcit/static/citadelchat_16x.gif b/webcit/static/citadelchat_16x.gif new file mode 100644 index 000000000..02fd9d370 Binary files /dev/null and b/webcit/static/citadelchat_16x.gif differ diff --git a/webcit/static/citadelchat_24x.gif b/webcit/static/citadelchat_24x.gif new file mode 100644 index 000000000..64d27b82c Binary files /dev/null and b/webcit/static/citadelchat_24x.gif differ diff --git a/webcit/static/citadelchat_32x.gif b/webcit/static/citadelchat_32x.gif new file mode 100644 index 000000000..0212d8754 Binary files /dev/null and b/webcit/static/citadelchat_32x.gif differ diff --git a/webcit/static/citadelchat_48x.gif b/webcit/static/citadelchat_48x.gif new file mode 100644 index 000000000..fe4770fa0 Binary files /dev/null and b/webcit/static/citadelchat_48x.gif differ diff --git a/webcit/static/controls.js b/webcit/static/controls.js new file mode 100644 index 000000000..43cdb3eaa --- /dev/null +++ b/webcit/static/controls.js @@ -0,0 +1,699 @@ +// Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) +// (c) 2005 Ivan Krstic (http://blogs.law.harvard.edu/ivan) +// (c) 2005 Jon Tirsen (http://www.tirsen.com) +// Contributors: +// Richard Livsey +// Rahul Bhargava +// +// Permission is hereby granted, free of charge, to any person obtaining +// a copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to +// permit persons to whom the Software is furnished to do so, subject to +// the following conditions: +// +// The above copyright notice and this permission notice shall be +// included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +// Autocompleter.Base handles all the autocompletion functionality +// that's independent of the data source for autocompletion. This +// includes drawing the autocompletion menu, observing keyboard +// and mouse events, and similar. +// +// Specific autocompleters need to provide, at the very least, +// a getUpdatedChoices function that will be invoked every time +// the text inside the monitored textbox changes. This method +// should get the text for which to provide autocompletion by +// invoking this.getToken(), NOT by directly accessing +// this.element.value. This is to allow incremental tokenized +// autocompletion. Specific auto-completion logic (AJAX, etc) +// belongs in getUpdatedChoices. +// +// Tokenized incremental autocompletion is enabled automatically +// when an autocompleter is instantiated with the 'tokens' option +// in the options parameter, e.g.: +// new Ajax.Autocompleter('id','upd', '/url/', { tokens: ',' }); +// will incrementally autocomplete with a comma as the token. +// Additionally, ',' in the above example can be replaced with +// a token array, e.g. { tokens: [',', '\n'] } which +// enables autocompletion on multiple tokens. This is most +// useful when one of the tokens is \n (a newline), as it +// allows smart autocompletion after linebreaks. + +var Autocompleter = {} +Autocompleter.Base = function() {}; +Autocompleter.Base.prototype = { + baseInitialize: function(element, update, options) { + this.element = $(element); + this.update = $(update); + this.hasFocus = false; + this.changed = false; + this.active = false; + this.index = 0; + this.entryCount = 0; + + if (this.setOptions) + this.setOptions(options); + else + this.options = options || {}; + + this.options.paramName = this.options.paramName || this.element.name; + this.options.tokens = this.options.tokens || []; + this.options.frequency = this.options.frequency || 0.4; + this.options.minChars = this.options.minChars || 1; + this.options.onShow = this.options.onShow || + function(element, update){ + if(!update.style.position || update.style.position=='absolute') { + update.style.position = 'absolute'; + Position.clone(element, update, {setHeight: false, offsetTop: element.offsetHeight}); + } + new Effect.Appear(update,{duration:0.15}); + }; + this.options.onHide = this.options.onHide || + function(element, update){ new Effect.Fade(update,{duration:0.15}) }; + + if (typeof(this.options.tokens) == 'string') + this.options.tokens = new Array(this.options.tokens); + + this.observer = null; + + this.element.setAttribute('autocomplete','off'); + + Element.hide(this.update); + + Event.observe(this.element, "blur", this.onBlur.bindAsEventListener(this)); + Event.observe(this.element, "keypress", this.onKeyPress.bindAsEventListener(this)); + }, + + show: function() { + if(Element.getStyle(this.update, 'display')=='none') this.options.onShow(this.element, this.update); + if(!this.iefix && (navigator.appVersion.indexOf('MSIE')>0) && (Element.getStyle(this.update, 'position')=='absolute')) { + new Insertion.After(this.update, + ''); + this.iefix = $(this.update.id+'_iefix'); + } + if(this.iefix) { + Position.clone(this.update, this.iefix); + this.iefix.style.zIndex = 1; + this.update.style.zIndex = 2; + Element.show(this.iefix); + } + }, + + hide: function() { + if(Element.getStyle(this.update, 'display')!='none') this.options.onHide(this.element, this.update); + if(this.iefix) Element.hide(this.iefix); + }, + + startIndicator: function() { + if(this.options.indicator) Element.show(this.options.indicator); + }, + + stopIndicator: function() { + if(this.options.indicator) Element.hide(this.options.indicator); + }, + + onKeyPress: function(event) { + if(this.active) + switch(event.keyCode) { + case Event.KEY_TAB: + case Event.KEY_RETURN: + this.selectEntry(); + Event.stop(event); + case Event.KEY_ESC: + this.hide(); + this.active = false; + Event.stop(event); + return; + case Event.KEY_LEFT: + case Event.KEY_RIGHT: + return; + case Event.KEY_UP: + this.markPrevious(); + this.render(); + if(navigator.appVersion.indexOf('AppleWebKit')>0) Event.stop(event); + return; + case Event.KEY_DOWN: + this.markNext(); + this.render(); + if(navigator.appVersion.indexOf('AppleWebKit')>0) Event.stop(event); + return; + } + else + if(event.keyCode==Event.KEY_TAB || event.keyCode==Event.KEY_RETURN) + return; + + this.changed = true; + this.hasFocus = true; + + if(this.observer) clearTimeout(this.observer); + this.observer = + setTimeout(this.onObserverEvent.bind(this), this.options.frequency*1000); + }, + + onHover: function(event) { + var element = Event.findElement(event, 'LI'); + if(this.index != element.autocompleteIndex) + { + this.index = element.autocompleteIndex; + this.render(); + } + Event.stop(event); + }, + + onClick: function(event) { + var element = Event.findElement(event, 'LI'); + this.index = element.autocompleteIndex; + this.selectEntry(); + this.hide(); + }, + + onBlur: function(event) { + // needed to make click events working + setTimeout(this.hide.bind(this), 250); + this.hasFocus = false; + this.active = false; + }, + + render: function() { + if(this.entryCount > 0) { + for (var i = 0; i < this.entryCount; i++) + this.index==i ? + Element.addClassName(this.getEntry(i),"selected") : + Element.removeClassName(this.getEntry(i),"selected"); + + if(this.hasFocus) { + this.show(); + this.active = true; + } + } else this.hide(); + }, + + markPrevious: function() { + if(this.index > 0) this.index-- + else this.index = this.entryCcount-1; + }, + + markNext: function() { + if(this.index < this.entryCount-1) this.index++ + else this.index = 0; + }, + + getEntry: function(index) { + return this.update.firstChild.childNodes[index]; + }, + + getCurrentEntry: function() { + return this.getEntry(this.index); + }, + + selectEntry: function() { + this.active = false; + this.updateElement(this.getCurrentEntry()); + }, + + updateElement: function(selectedElement) { + if (this.options.updateElement) { + this.options.updateElement(selectedElement); + return; + } + + var value = Element.collectTextNodesIgnoreClass(selectedElement, 'informal'); + var lastTokenPos = this.findLastToken(); + if (lastTokenPos != -1) { + var newValue = this.element.value.substr(0, lastTokenPos + 1); + var whitespace = this.element.value.substr(lastTokenPos + 1).match(/^\s+/); + if (whitespace) + newValue += whitespace[0]; + this.element.value = newValue + value; + } else { + this.element.value = value; + } + this.element.focus(); + }, + + updateChoices: function(choices) { + if(!this.changed && this.hasFocus) { + this.update.innerHTML = choices; + Element.cleanWhitespace(this.update); + Element.cleanWhitespace(this.update.firstChild); + + if(this.update.firstChild && this.update.firstChild.childNodes) { + this.entryCount = + this.update.firstChild.childNodes.length; + for (var i = 0; i < this.entryCount; i++) { + var entry = this.getEntry(i); + entry.autocompleteIndex = i; + this.addObservers(entry); + } + } else { + this.entryCount = 0; + } + + this.stopIndicator(); + + this.index = 0; + this.render(); + } + }, + + addObservers: function(element) { + Event.observe(element, "mouseover", this.onHover.bindAsEventListener(this)); + Event.observe(element, "click", this.onClick.bindAsEventListener(this)); + }, + + onObserverEvent: function() { + this.changed = false; + if(this.getToken().length>=this.options.minChars) { + this.startIndicator(); + this.getUpdatedChoices(); + } else { + this.active = false; + this.hide(); + } + }, + + getToken: function() { + var tokenPos = this.findLastToken(); + if (tokenPos != -1) + var ret = this.element.value.substr(tokenPos + 1).replace(/^\s+/,'').replace(/\s+$/,''); + else + var ret = this.element.value; + + return /\n/.test(ret) ? '' : ret; + }, + + findLastToken: function() { + var lastTokenPos = -1; + + for (var i=0; i lastTokenPos) + lastTokenPos = thisTokenPos; + } + return lastTokenPos; + } +} + +Ajax.Autocompleter = Class.create(); +Object.extend(Object.extend(Ajax.Autocompleter.prototype, Autocompleter.Base.prototype), { + initialize: function(element, update, url, options) { + this.baseInitialize(element, update, options); + this.options.asynchronous = true; + this.options.onComplete = this.onComplete.bind(this); + this.options.defaultParams = this.options.parameters || null; + this.url = url; + }, + + getUpdatedChoices: function() { + entry = encodeURIComponent(this.options.paramName) + '=' + + encodeURIComponent(this.getToken()); + + this.options.parameters = this.options.callback ? + this.options.callback(this.element, entry) : entry; + + if(this.options.defaultParams) + this.options.parameters += '&' + this.options.defaultParams; + + new Ajax.Request(this.url, this.options); + }, + + onComplete: function(request) { + this.updateChoices(request.responseText); + } + +}); + +// The local array autocompleter. Used when you'd prefer to +// inject an array of autocompletion options into the page, rather +// than sending out Ajax queries, which can be quite slow sometimes. +// +// The constructor takes four parameters. The first two are, as usual, +// the id of the monitored textbox, and id of the autocompletion menu. +// The third is the array you want to autocomplete from, and the fourth +// is the options block. +// +// Extra local autocompletion options: +// - choices - How many autocompletion choices to offer +// +// - partialSearch - If false, the autocompleter will match entered +// text only at the beginning of strings in the +// autocomplete array. Defaults to true, which will +// match text at the beginning of any *word* in the +// strings in the autocomplete array. If you want to +// search anywhere in the string, additionally set +// the option fullSearch to true (default: off). +// +// - fullSsearch - Search anywhere in autocomplete array strings. +// +// - partialChars - How many characters to enter before triggering +// a partial match (unlike minChars, which defines +// how many characters are required to do any match +// at all). Defaults to 2. +// +// - ignoreCase - Whether to ignore case when autocompleting. +// Defaults to true. +// +// It's possible to pass in a custom function as the 'selector' +// option, if you prefer to write your own autocompletion logic. +// In that case, the other options above will not apply unless +// you support them. + +Autocompleter.Local = Class.create(); +Autocompleter.Local.prototype = Object.extend(new Autocompleter.Base(), { + initialize: function(element, update, array, options) { + this.baseInitialize(element, update, options); + this.options.array = array; + }, + + getUpdatedChoices: function() { + this.updateChoices(this.options.selector(this)); + }, + + setOptions: function(options) { + this.options = Object.extend({ + choices: 10, + partialSearch: true, + partialChars: 2, + ignoreCase: true, + fullSearch: false, + selector: function(instance) { + var ret = []; // Beginning matches + var partial = []; // Inside matches + var entry = instance.getToken(); + var count = 0; + + for (var i = 0; i < instance.options.array.length && + ret.length < instance.options.choices ; i++) { + + var elem = instance.options.array[i]; + var foundPos = instance.options.ignoreCase ? + elem.toLowerCase().indexOf(entry.toLowerCase()) : + elem.indexOf(entry); + + while (foundPos != -1) { + if (foundPos == 0 && elem.length != entry.length) { + ret.push("
  • " + elem.substr(0, entry.length) + "" + + elem.substr(entry.length) + "
  • "); + break; + } else if (entry.length >= instance.options.partialChars && + instance.options.partialSearch && foundPos != -1) { + if (instance.options.fullSearch || /\s/.test(elem.substr(foundPos-1,1))) { + partial.push("
  • " + elem.substr(0, foundPos) + "" + + elem.substr(foundPos, entry.length) + "" + elem.substr( + foundPos + entry.length) + "
  • "); + break; + } + } + + foundPos = instance.options.ignoreCase ? + elem.toLowerCase().indexOf(entry.toLowerCase(), foundPos + 1) : + elem.indexOf(entry, foundPos + 1); + + } + } + if (partial.length) + ret = ret.concat(partial.slice(0, instance.options.choices - ret.length)) + return "
      " + ret.join('') + "
    "; + } + }, options || {}); + } +}); + +// AJAX in-place editor +// +// The constructor takes three parameters. The first is the element +// that should support in-place editing. The second is the url to submit +// the changed value to. The server should respond with the updated +// value (the server might have post-processed it or validation might +// have prevented it from changing). The third is a hash of options. +// +// Supported options are (all are optional and have sensible defaults): +// - okText - The text of the submit button that submits the changed value +// to the server (default: "ok") +// - cancelText - The text of the link that cancels editing (default: "cancel") +// - savingText - The text being displayed as the AJAX engine communicates +// with the server (default: "Saving...") +// - formId - The id given to the
    element +// (default: the id of the element to edit plus '-inplaceeditor') + +Ajax.InPlaceEditor = Class.create(); +Ajax.InPlaceEditor.defaultHighlightColor = "#FFFF99"; +Ajax.InPlaceEditor.prototype = { + initialize: function(element, url, options) { + this.url = url; + this.element = $(element); + + this.options = Object.extend({ + okText: "ok", + cancelText: "cancel", + savingText: "Saving...", + clickToEditText: "Click to edit", + okText: "ok", + rows: 1, + onComplete: function(transport, element) { + new Effect.Highlight(element, {startcolor: this.options.highlightcolor}); + }, + onFailure: function(transport) { + alert("Error communicating with the server: " + transport.responseText.stripTags()); + }, + callback: function(form) { + return Form.serialize(form); + }, + loadingText: 'Loading...', + savingClassName: 'inplaceeditor-saving', + formClassName: 'inplaceeditor-form', + highlightcolor: Ajax.InPlaceEditor.defaultHighlightColor, + highlightendcolor: "#FFFFFF", + externalControl: null, + ajaxOptions: {} + }, options || {}); + + if(!this.options.formId && this.element.id) { + this.options.formId = this.element.id + "-inplaceeditor"; + if ($(this.options.formId)) { + // there's already a form with that name, don't specify an id + this.options.formId = null; + } + } + + if (this.options.externalControl) { + this.options.externalControl = $(this.options.externalControl); + } + + this.originalBackground = Element.getStyle(this.element, 'background-color'); + if (!this.originalBackground) { + this.originalBackground = "transparent"; + } + + this.element.title = this.options.clickToEditText; + + this.onclickListener = this.enterEditMode.bindAsEventListener(this); + this.mouseoverListener = this.enterHover.bindAsEventListener(this); + this.mouseoutListener = this.leaveHover.bindAsEventListener(this); + Event.observe(this.element, 'click', this.onclickListener); + Event.observe(this.element, 'mouseover', this.mouseoverListener); + Event.observe(this.element, 'mouseout', this.mouseoutListener); + if (this.options.externalControl) { + Event.observe(this.options.externalControl, 'click', this.onclickListener); + Event.observe(this.options.externalControl, 'mouseover', this.mouseoverListener); + Event.observe(this.options.externalControl, 'mouseout', this.mouseoutListener); + } + }, + enterEditMode: function() { + if (this.saving) return; + if (this.editing) return; + this.editing = true; + this.onEnterEditMode(); + if (this.options.externalControl) { + Element.hide(this.options.externalControl); + } + Element.hide(this.element); + this.form = this.getForm(); + this.element.parentNode.insertBefore(this.form, this.element); + }, + getForm: function() { + form = document.createElement("form"); + form.id = this.options.formId; + Element.addClassName(form, this.options.formClassName) + form.onsubmit = this.onSubmit.bind(this); + + this.createEditField(form); + + if (this.options.textarea) { + var br = document.createElement("br"); + form.appendChild(br); + } + + okButton = document.createElement("input"); + okButton.type = "submit"; + okButton.value = this.options.okText; + form.appendChild(okButton); + + cancelLink = document.createElement("a"); + cancelLink.href = "#"; + cancelLink.appendChild(document.createTextNode(this.options.cancelText)); + cancelLink.onclick = this.onclickCancel.bind(this); + form.appendChild(cancelLink); + return form; + }, + createEditField: function(form) { + if (this.options.rows == 1) { + this.options.textarea = false; + var textField = document.createElement("input"); + textField.type = "text"; + textField.name = "value"; + textField.value = this.getText(); + textField.style.backgroundColor = this.options.highlightcolor; + var size = this.options.size || this.options.cols || 0; + if (size != 0) + textField.size = size; + form.appendChild(textField); + this.editField = textField; + } else { + this.options.textarea = true; + var textArea = document.createElement("textarea"); + textArea.name = "value"; + textArea.value = this.getText(); + textArea.rows = this.options.rows; + textArea.cols = this.options.cols || 40; + form.appendChild(textArea); + this.editField = textArea; + } + }, + getText: function() { + if (this.options.loadTextURL) { + this.loadExternalText(); + return this.options.loadingText; + } else { + return this.element.innerHTML; + } + }, + loadExternalText: function() { + new Ajax.Request( + this.options.loadTextURL, + { + asynchronous: true, + onComplete: this.onLoadedExternalText.bind(this) + } + ); + }, + onLoadedExternalText: function(transport) { + this.form.value.value = transport.responseText.stripTags(); + }, + onclickCancel: function() { + this.onComplete(); + this.leaveEditMode(); + return false; + }, + onFailure: function(transport) { + this.options.onFailure(transport); + if (this.oldInnerHTML) { + this.element.innerHTML = this.oldInnerHTML; + this.oldInnerHTML = null; + } + return false; + }, + onSubmit: function() { + this.saving = true; + new Ajax.Updater( + { + success: this.element, + // don't update on failure (this could be an option) + failure: null + }, + this.url, + Object.extend({ + parameters: this.options.callback(this.form, this.editField.value), + onComplete: this.onComplete.bind(this), + onFailure: this.onFailure.bind(this) + }, this.options.ajaxOptions) + ); + this.onLoading(); + return false; + }, + onLoading: function() { + this.saving = true; + this.removeForm(); + this.leaveHover(); + this.showSaving(); + }, + showSaving: function() { + this.oldInnerHTML = this.element.innerHTML; + this.element.innerHTML = this.options.savingText; + Element.addClassName(this.element, this.options.savingClassName); + this.element.style.backgroundColor = this.originalBackground; + Element.show(this.element); + }, + removeForm: function() { + if(this.form) { + Element.remove(this.form); + this.form = null; + } + }, + enterHover: function() { + if (this.saving) return; + this.element.style.backgroundColor = this.options.highlightcolor; + if (this.effect) { + this.effect.cancel(); + } + Element.addClassName(this.element, this.options.hoverClassName) + }, + leaveHover: function() { + if (this.options.backgroundColor) { + this.element.style.backgroundColor = this.oldBackground; + } + Element.removeClassName(this.element, this.options.hoverClassName) + if (this.saving) return; + this.effect = new Effect.Highlight(this.element, { + startcolor: this.options.highlightcolor, + endcolor: this.options.highlightendcolor, + restorecolor: this.originalBackground + }); + }, + leaveEditMode: function() { + Element.removeClassName(this.element, this.options.savingClassName); + this.removeForm(); + this.leaveHover(); + this.element.style.backgroundColor = this.originalBackground; + Element.show(this.element); + if (this.options.externalControl) { + Element.show(this.options.externalControl); + } + this.editing = false; + this.saving = false; + this.oldInnerHTML = null; + this.onLeaveEditMode(); + }, + onComplete: function(transport) { + this.leaveEditMode(); + this.options.onComplete.bind(this)(transport, this.element); + }, + onEnterEditMode: function() {}, + onLeaveEditMode: function() {}, + dispose: function() { + if (this.oldInnerHTML) { + this.element.innerHTML = this.oldInnerHTML; + } + this.leaveEditMode(); + Event.stopObserving(this.element, 'click', this.onclickListener); + Event.stopObserving(this.element, 'mouseover', this.mouseoverListener); + Event.stopObserving(this.element, 'mouseout', this.mouseoutListener); + if (this.options.externalControl) { + Event.stopObserving(this.options.externalControl, 'click', this.onclickListener); + Event.stopObserving(this.options.externalControl, 'mouseover', this.mouseoverListener); + Event.stopObserving(this.options.externalControl, 'mouseout', this.mouseoutListener); + } + } +}; \ No newline at end of file diff --git a/webcit/static/copy.gif b/webcit/static/copy.gif new file mode 100644 index 000000000..faebb18c4 Binary files /dev/null and b/webcit/static/copy.gif differ diff --git a/webcit/static/cut.gif b/webcit/static/cut.gif new file mode 100644 index 000000000..ca60a1aa3 Binary files /dev/null and b/webcit/static/cut.gif differ diff --git a/webcit/static/diskette_24x.gif b/webcit/static/diskette_24x.gif new file mode 100644 index 000000000..3cd59ea60 Binary files /dev/null and b/webcit/static/diskette_24x.gif differ diff --git a/webcit/static/down_pointer.gif b/webcit/static/down_pointer.gif new file mode 100644 index 000000000..49a3ef500 Binary files /dev/null and b/webcit/static/down_pointer.gif differ diff --git a/webcit/static/dragdrop.js b/webcit/static/dragdrop.js new file mode 100644 index 000000000..55461c1b9 --- /dev/null +++ b/webcit/static/dragdrop.js @@ -0,0 +1,545 @@ +// Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) +// +// Element.Class part Copyright (c) 2005 by Rick Olson +// +// Permission is hereby granted, free of charge, to any person obtaining +// a copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to +// permit persons to whom the Software is furnished to do so, subject to +// the following conditions: +// +// The above copyright notice and this permission notice shall be +// included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +/*--------------------------------------------------------------------------*/ + +var Droppables = { + drops: false, + + remove: function(element) { + for(var i = 0; i < this.drops.length; i++) + if(this.drops[i].element == element) + this.drops.splice(i,1); + }, + + add: function(element) { + element = $(element); + var options = Object.extend({ + greedy: true, + hoverclass: null + }, arguments[1] || {}); + + // cache containers + if(options.containment) { + options._containers = new Array(); + var containment = options.containment; + if((typeof containment == 'object') && + (containment.constructor == Array)) { + for(var i=0; i0) window.scrollBy(0,0); + + Event.stop(event); + } + } +} + +/*--------------------------------------------------------------------------*/ + +var SortableObserver = Class.create(); +SortableObserver.prototype = { + initialize: function(element, observer) { + this.element = $(element); + this.observer = observer; + this.lastValue = Sortable.serialize(this.element); + }, + onStart: function() { + this.lastValue = Sortable.serialize(this.element); + }, + onEnd: function() { + Sortable.unmark(); + if(this.lastValue != Sortable.serialize(this.element)) + this.observer(this.element) + } +} + +var Sortable = { + sortables: new Array(), + options: function(element){ + element = $(element); + for(var i=0;i0 ? elements.flatten() : null); + }, + + onHover: function(element, dropon, overlap) { + if(overlap>0.5) { + Sortable.mark(dropon, 'before'); + if(dropon.previousSibling != element) { + var oldParentNode = element.parentNode; + element.style.visibility = "hidden"; // fix gecko rendering + dropon.parentNode.insertBefore(element, dropon); + if(dropon.parentNode!=oldParentNode) + Sortable.options(oldParentNode).onChange(element); + Sortable.options(dropon.parentNode).onChange(element); + } + } else { + Sortable.mark(dropon, 'after'); + var nextElement = dropon.nextSibling || null; + if(nextElement != element) { + var oldParentNode = element.parentNode; + element.style.visibility = "hidden"; // fix gecko rendering + dropon.parentNode.insertBefore(element, nextElement); + if(dropon.parentNode!=oldParentNode) + Sortable.options(oldParentNode).onChange(element); + Sortable.options(dropon.parentNode).onChange(element); + } + } + }, + + onEmptyHover: function(element, dropon) { + if(element.parentNode!=dropon) { + dropon.appendChild(element); + } + }, + + unmark: function() { + if(Sortable._marker) Element.hide(Sortable._marker); + }, + + mark: function(dropon, position) { + // mark on ghosting only + var sortable = Sortable.options(dropon.parentNode); + if(sortable && !sortable.ghosting) return; + + if(!Sortable._marker) { + Sortable._marker = $('dropmarker') || document.createElement('DIV'); + Element.hide(Sortable._marker); + Element.Class.add(Sortable._marker, 'dropmarker'); + Sortable._marker.style.position = 'absolute'; + document.getElementsByTagName("body").item(0).appendChild(Sortable._marker); + } + var offsets = Position.cumulativeOffset(dropon); + Sortable._marker.style.top = offsets[1] + 'px'; + if(position=='after') Sortable._marker.style.top = (offsets[1]+dropon.clientHeight) + 'px'; + Sortable._marker.style.left = offsets[0] + 'px'; + Element.show(Sortable._marker); + }, + + serialize: function(element) { + element = $(element); + var sortableOptions = this.options(element); + var options = Object.extend({ + tag: sortableOptions.tag, + only: sortableOptions.only, + name: element.id + }, arguments[1] || {}); + + var items = $(element).childNodes; + var queryComponents = new Array(); + + for(var i=0; itimestamp)) + timestamp = this.effects[i].finishOn; + return timestamp; + }, + add: function(effect) { + var timestamp = new Date().getTime(); + + switch(effect.options.queue) { + case 'front': + // move unstarted effects after this effect + for(var i = 0; i < this.effects.length; i++) + if(this.effects[i].state == 'idle') { + this.effects[i].startOn += effect.finishOn; + this.effects[i].finishOn += effect.finishOn; + } + break; + case 'end': + // start effect after last queued effect has finished + timestamp = this.findLast() || timestamp; + break; + } + + effect.startOn += timestamp; + effect.finishOn += timestamp; + + this.effects.push(effect); + + if(!this.interval) + this.interval = setInterval(this.loop.bind(this), 40); + }, + remove: function(effect) { + for(var i = 0; i < this.effects.length; i++) + if(this.effects[i]==effect) this.effects.splice(i,1); + if(this.effects.length == 0) { + clearInterval(this.interval); + this.interval = null; + } + }, + loop: function() { + var timePos = new Date().getTime(); + for(var i = 0; i < this.effects.length; i++) { + this.effects[i].loop(timePos); + } + } +} + +Effect.Base = function() {}; +Effect.Base.prototype = { + setOptions: function(options) { + this.options = Object.extend({ + transition: Effect.Transitions.sinoidal, + duration: 1.0, // seconds + fps: 25.0, // max. 25fps due to Effect.Queue implementation + sync: false, // true for combining + from: 0.0, + to: 1.0, + delay: 0.0, + queue: 'parallel' + }, options || {}); + }, + start: function(options) { + this.setOptions(options || {}); + this.currentFrame = 0; + this.state = 'idle'; + this.startOn = this.options.delay*1000; + this.finishOn = this.startOn + (this.options.duration*1000); + if(this.options.beforeStart) this.options.beforeStart(this); + if(!this.options.sync) Effect.Queue.add(this); + }, + loop: function(timePos) { + if(timePos >= this.startOn) { + if(timePos >= this.finishOn) { + this.render(1.0); + this.cancel(); + if(this.finish) this.finish(); + if(this.options.afterFinish) this.options.afterFinish(this); + return; + } + var pos = (timePos - this.startOn) / (this.finishOn - this.startOn); + var frame = Math.round(pos * this.options.fps * this.options.duration); + if(frame > this.currentFrame) { + this.render(pos); + this.currentFrame = frame; + } + } + }, + render: function(pos) { + if(this.state == 'idle') { + this.state = 'running'; + if(this.setup) this.setup(); + } + if(this.options.transition) pos = this.options.transition(pos); + pos *= (this.options.to-this.options.from); + pos += this.options.from; + if(this.options.beforeUpdate) this.options.beforeUpdate(this); + if(this.update) this.update(pos); + if(this.options.afterUpdate) this.options.afterUpdate(this); + }, + cancel: function() { + if(!this.options.sync) Effect.Queue.remove(this); + this.state = 'finished'; + } +} + +Effect.Parallel = Class.create(); +Object.extend(Object.extend(Effect.Parallel.prototype, Effect.Base.prototype), { + initialize: function(effects) { + this.effects = effects || []; + this.start(arguments[1]); + }, + update: function(position) { + for (var i = 0; i < this.effects.length; i++) + this.effects[i].render(position); + }, + finish: function(position) { + for (var i = 0; i < this.effects.length; i++) { + this.effects[i].cancel(); + if(this.effects[i].finish) this.effects[i].finish(position); + } + } +}); + +// Internet Explorer caveat: works only on elements that have +// a 'layout', meaning having a given width or height. +// There is no way to safely set this automatically. +Effect.Opacity = Class.create(); +Object.extend(Object.extend(Effect.Opacity.prototype, Effect.Base.prototype), { + initialize: function(element) { + this.element = $(element); + var options = Object.extend({ + from: 0.0, + to: 1.0 + }, arguments[1] || {}); + this.start(options); + }, + update: function(position) { + this.setOpacity(position); + }, + setOpacity: function(opacity) { + if(opacity<0.0001) opacity = 0; // fix errors with things like 6.152242992829571e-8 + if(opacity==1.0) { + this.element.style.opacity = '0.999999'; + this.element.style.filter = null; + } else { + this.element.style.opacity = opacity; + this.element.style.filter = "alpha(opacity:"+opacity*100+")"; + } + } +}); + +Effect.MoveBy = Class.create(); +Object.extend(Object.extend(Effect.MoveBy.prototype, Effect.Base.prototype), { + initialize: function(element, toTop, toLeft) { + this.element = $(element); + this.toTop = toTop; + this.toLeft = toLeft; + this.start(arguments[3]); + }, + setup: function() { + this.originalTop = parseFloat(Element.getStyle(this.element,'top') || '0'); + this.originalLeft = parseFloat(Element.getStyle(this.element,'left') || '0'); + Element.makePositioned(this.element); + }, + update: function(position) { + topd = this.toTop * position + this.originalTop; + leftd = this.toLeft * position + this.originalLeft; + this.setPosition(topd, leftd); + }, + setPosition: function(topd, leftd) { + this.element.style.top = topd + "px"; + this.element.style.left = leftd + "px"; + } +}); + +Effect.Scale = Class.create(); +Object.extend(Object.extend(Effect.Scale.prototype, Effect.Base.prototype), { + initialize: function(element, percent) { + this.element = $(element) + var options = Object.extend({ + scaleX: true, + scaleY: true, + scaleContent: true, + scaleFromCenter: false, + scaleMode: 'box', // 'box' or 'contents' or {} with provided values + scaleFrom: 100.0, + scaleTo: percent + }, arguments[2] || {}); + this.start(options); + }, + setup: function() { + this.originalTop = this.element.offsetTop; + this.originalLeft = this.element.offsetLeft; + if(Element.getStyle(this.element,'font-size')=="") this.sizeEm = 1.0; + if(Element.getStyle(this.element,'font-size') && Element.getStyle(this.element,'font-size').indexOf("em")>0) + this.sizeEm = parseFloat(Element.getStyle(this.element,'font-size')); + this.factor = (this.options.scaleTo/100.0) - (this.options.scaleFrom/100.0); + if(this.options.scaleMode=='box') { + this.originalHeight = this.element.clientHeight; + this.originalWidth = this.element.clientWidth; + } else + if(this.options.scaleMode=='contents') { + this.originalHeight = this.element.scrollHeight; + this.originalWidth = this.element.scrollWidth; + } else { + this.originalHeight = this.options.scaleMode.originalHeight; + this.originalWidth = this.options.scaleMode.originalWidth; + } + }, + update: function(position) { + var currentScale = (this.options.scaleFrom/100.0) + (this.factor * position); + if(this.options.scaleContent && this.sizeEm) + this.element.style.fontSize = this.sizeEm*currentScale + "em"; + this.setDimensions( + this.originalWidth * currentScale, + this.originalHeight * currentScale); + }, + setDimensions: function(width, height) { + if(this.options.scaleX) this.element.style.width = width + 'px'; + if(this.options.scaleY) this.element.style.height = height + 'px'; + if(this.options.scaleFromCenter) { + var topd = (height - this.originalHeight)/2; + var leftd = (width - this.originalWidth)/2; + if(Element.getStyle(this.element,'position')=='absolute') { + if(this.options.scaleY) this.element.style.top = this.originalTop-topd + "px"; + if(this.options.scaleX) this.element.style.left = this.originalLeft-leftd + "px"; + } else { + if(this.options.scaleY) this.element.style.top = -topd + "px"; + if(this.options.scaleX) this.element.style.left = -leftd + "px"; + } + } + } +}); + +Effect.Highlight = Class.create(); +Object.extend(Object.extend(Effect.Highlight.prototype, Effect.Base.prototype), { + initialize: function(element) { + this.element = $(element); + var options = Object.extend({ + startcolor: "#ffff99" + }, arguments[1] || {}); + this.start(options); + }, + setup: function() { + // try to parse current background color as default for endcolor + // browser stores this as: "rgb(255, 255, 255)", convert to "#ffffff" format + if(!this.options.endcolor) { + var endcolor = "#ffffff"; + var current = Element.getStyle(this.element, 'background-color'); + if(current && current.slice(0,4) == "rgb(") { + endcolor = "#"; + var cols = current.slice(4,current.length-1).split(','); + var i=0; do { endcolor += parseInt(cols[i]).toColorPart() } while (++i<3); + } + this.options.endcolor = endcolor; + } + // init color calculations + this.colors_base = [ + parseInt(this.options.startcolor.slice(1,3),16), + parseInt(this.options.startcolor.slice(3,5),16), + parseInt(this.options.startcolor.slice(5),16) ]; + this.colors_delta = [ + parseInt(this.options.endcolor.slice(1,3),16)-this.colors_base[0], + parseInt(this.options.endcolor.slice(3,5),16)-this.colors_base[1], + parseInt(this.options.endcolor.slice(5),16)-this.colors_base[2]]; + }, + update: function(position) { + var colors = [ + Math.round(this.colors_base[0]+(this.colors_delta[0]*position)), + Math.round(this.colors_base[1]+(this.colors_delta[1]*position)), + Math.round(this.colors_base[2]+(this.colors_delta[2]*position)) ]; + this.element.style.backgroundColor = "#" + + colors[0].toColorPart() + colors[1].toColorPart() + colors[2].toColorPart(); + }, + finish: function() { + this.element.style.backgroundColor = this.options.restorecolor; + } +}); + +Effect.ScrollTo = Class.create(); +Object.extend(Object.extend(Effect.ScrollTo.prototype, Effect.Base.prototype), { + initialize: function(element) { + this.element = $(element); + this.start(arguments[1] || {}); + }, + setup: function() { + Position.prepare(); + var offsets = Position.cumulativeOffset(this.element); + var max = window.innerHeight ? + window.height - window.innerHeight : + document.body.scrollHeight - + (document.documentElement.clientHeight ? + document.documentElement.clientHeight : document.body.clientHeight); + this.scrollStart = Position.deltaY; + this.delta = (offsets[1] > max ? max : offsets[1]) - this.scrollStart; + }, + update: function(position) { + Position.prepare(); + window.scrollTo(Position.deltaX, + this.scrollStart + (position*this.delta)); + } +}); + +/* ------------- combination effects ------------- */ + +Effect.Fade = function(element) { + var options = Object.extend({ + from: 1.0, + to: 0.0, + afterFinish: function(effect) + { Element.hide(effect.element); + effect.setOpacity(1); } + }, arguments[1] || {}); + return new Effect.Opacity(element,options); +} + +Effect.Appear = function(element) { + var options = Object.extend({ + from: 0.0, + to: 1.0, + beforeStart: function(effect) + { effect.setOpacity(0); + Element.show(effect.element); }, + afterUpdate: function(effect) + { Element.show(effect.element); } + }, arguments[1] || {}); + return new Effect.Opacity(element,options); +} + +Effect.Puff = function(element) { + return new Effect.Parallel( + [ new Effect.Scale(element, 200, { sync: true, scaleFromCenter: true }), + new Effect.Opacity(element, { sync: true, to: 0.0, from: 1.0 } ) ], + Object.extend({ duration: 1.0, + beforeUpdate: function(effect) + { effect.effects[0].element.style.position = 'absolute'; }, + afterFinish: function(effect) + { Element.hide(effect.effects[0].element); } + }, arguments[1] || {}) + ); +} + +Effect.BlindUp = function(element) { + element = $(element); + Element.makeClipping(element); + return new Effect.Scale(element, 0, + Object.extend({ scaleContent: false, + scaleX: false, + afterFinish: function(effect) + { + Element.hide(effect.element); + Element.undoClipping(effect.element); + } + }, arguments[1] || {}) + ); +} + +Effect.BlindDown = function(element) { + element = $(element); + element.style.height = '0px'; + Element.makeClipping(element); + Element.show(element); + return new Effect.Scale(element, 100, + Object.extend({ scaleContent: false, + scaleX: false, + scaleMode: 'contents', + scaleFrom: 0, + afterFinish: function(effect) { + Element.undoClipping(effect.element); + } + }, arguments[1] || {}) + ); +} + +Effect.SwitchOff = function(element) { + return new Effect.Appear(element, + { duration: 0.4, + transition: Effect.Transitions.flicker, + afterFinish: function(effect) + { effect.element.style.overflow = 'hidden'; + new Effect.Scale(effect.element, 1, + { duration: 0.3, scaleFromCenter: true, + scaleX: false, scaleContent: false, + afterUpdate: function(effect) { + if(effect.element.style.position=="") + effect.element.style.position = 'relative'; }, + afterFinish: function(effect) { Element.hide(effect.element); } + } ) + } + } ); +} + +Effect.DropOut = function(element) { + return new Effect.Parallel( + [ new Effect.MoveBy(element, 100, 0, { sync: true }), + new Effect.Opacity(element, { sync: true, to: 0.0, from: 1.0 } ) ], + Object.extend( + { duration: 0.5, + afterFinish: function(effect) + { Element.hide(effect.effects[0].element); } + }, arguments[1] || {})); +} + +Effect.Shake = function(element) { + return new Effect.MoveBy(element, 0, 20, + { duration: 0.05, afterFinish: function(effect) { + new Effect.MoveBy(effect.element, 0, -40, + { duration: 0.1, afterFinish: function(effect) { + new Effect.MoveBy(effect.element, 0, 40, + { duration: 0.1, afterFinish: function(effect) { + new Effect.MoveBy(effect.element, 0, -40, + { duration: 0.1, afterFinish: function(effect) { + new Effect.MoveBy(effect.element, 0, 40, + { duration: 0.1, afterFinish: function(effect) { + new Effect.MoveBy(effect.element, 0, -20, + { duration: 0.05, afterFinish: function(effect) { + }}) }}) }}) }}) }}) }}); +} + +Effect.SlideDown = function(element) { + element = $(element); + element.style.height = '0px'; + Element.makeClipping(element); + Element.cleanWhitespace(element); + Element.makePositioned(element.firstChild); + Element.show(element); + return new Effect.Scale(element, 100, + Object.extend({ scaleContent: false, + scaleX: false, + scaleMode: 'contents', + scaleFrom: 0, + afterUpdate: function(effect) + { effect.element.firstChild.style.bottom = + (effect.originalHeight - effect.element.clientHeight) + 'px'; }, + afterFinish: function(effect) + { Element.undoClipping(effect.element); } + }, arguments[1] || {}) + ); +} + +Effect.SlideUp = function(element) { + element = $(element); + Element.makeClipping(element); + Element.cleanWhitespace(element); + Element.makePositioned(element.firstChild); + Element.show(element); + return new Effect.Scale(element, 0, + Object.extend({ scaleContent: false, + scaleX: false, + afterUpdate: function(effect) + { effect.element.firstChild.style.bottom = + (effect.originalHeight - effect.element.clientHeight) + 'px'; }, + afterFinish: function(effect) + { + Element.hide(effect.element); + Element.undoClipping(effect.element); + } + }, arguments[1] || {}) + ); +} + +Effect.Squish = function(element) { + return new Effect.Scale(element, 0, + { afterFinish: function(effect) { Element.hide(effect.element); } }); +} + +Effect.Grow = function(element) { + element = $(element); + var options = arguments[1] || {}; + + var originalWidth = element.clientWidth; + var originalHeight = element.clientHeight; + element.style.overflow = 'hidden'; + Element.show(element); + + var direction = options.direction || 'center'; + var moveTransition = options.moveTransition || Effect.Transitions.sinoidal; + var scaleTransition = options.scaleTransition || Effect.Transitions.sinoidal; + var opacityTransition = options.opacityTransition || Effect.Transitions.full; + + var initialMoveX, initialMoveY; + var moveX, moveY; + + switch (direction) { + case 'top-left': + initialMoveX = initialMoveY = moveX = moveY = 0; + break; + case 'top-right': + initialMoveX = originalWidth; + initialMoveY = moveY = 0; + moveX = -originalWidth; + break; + case 'bottom-left': + initialMoveX = moveX = 0; + initialMoveY = originalHeight; + moveY = -originalHeight; + break; + case 'bottom-right': + initialMoveX = originalWidth; + initialMoveY = originalHeight; + moveX = -originalWidth; + moveY = -originalHeight; + break; + case 'center': + initialMoveX = originalWidth / 2; + initialMoveY = originalHeight / 2; + moveX = -originalWidth / 2; + moveY = -originalHeight / 2; + break; + } + + return new Effect.MoveBy(element, initialMoveY, initialMoveX, { + duration: 0.01, + beforeUpdate: function(effect) { $(element).style.height = '0px'; }, + afterFinish: function(effect) { + new Effect.Parallel( + [ new Effect.Opacity(element, { sync: true, to: 1.0, from: 0.0, transition: opacityTransition }), + new Effect.MoveBy(element, moveY, moveX, { sync: true, transition: moveTransition }), + new Effect.Scale(element, 100, { + scaleMode: { originalHeight: originalHeight, originalWidth: originalWidth }, + sync: true, scaleFrom: 0, scaleTo: 100, transition: scaleTransition })], + options); } + }); +} + +Effect.Shrink = function(element) { + element = $(element); + var options = arguments[1] || {}; + + var originalWidth = element.clientWidth; + var originalHeight = element.clientHeight; + element.style.overflow = 'hidden'; + Element.show(element); + + var direction = options.direction || 'center'; + var moveTransition = options.moveTransition || Effect.Transitions.sinoidal; + var scaleTransition = options.scaleTransition || Effect.Transitions.sinoidal; + var opacityTransition = options.opacityTransition || Effect.Transitions.none; + + var moveX, moveY; + + switch (direction) { + case 'top-left': + moveX = moveY = 0; + break; + case 'top-right': + moveX = originalWidth; + moveY = 0; + break; + case 'bottom-left': + moveX = 0; + moveY = originalHeight; + break; + case 'bottom-right': + moveX = originalWidth; + moveY = originalHeight; + break; + case 'center': + moveX = originalWidth / 2; + moveY = originalHeight / 2; + break; + } + + return new Effect.Parallel( + [ new Effect.Opacity(element, { sync: true, to: 0.0, from: 1.0, transition: opacityTransition }), + new Effect.Scale(element, 0, { sync: true, transition: moveTransition }), + new Effect.MoveBy(element, moveY, moveX, { sync: true, transition: scaleTransition }) ], + options); +} + +Effect.Pulsate = function(element) { + element = $(element); + var options = arguments[1] || {}; + var transition = options.transition || Effect.Transitions.sinoidal; + var reverser = function(pos){ return transition(1-Effect.Transitions.pulse(pos)) }; + reverser.bind(transition); + return new Effect.Opacity(element, + Object.extend(Object.extend({ duration: 3.0, + afterFinish: function(effect) { Element.show(effect.element); } + }, options), {transition: reverser})); +} + +Effect.Fold = function(element) { + element = $(element); + element.style.overflow = 'hidden'; + return new Effect.Scale(element, 5, Object.extend({ + scaleContent: false, + scaleTo: 100, + scaleX: false, + afterFinish: function(effect) { + new Effect.Scale(element, 1, { + scaleContent: false, + scaleTo: 0, + scaleY: false, + afterFinish: function(effect) { Element.hide(effect.element) } }); + }}, arguments[1] || {})); +} + +// old: new Effect.ContentZoom(element, percent) +// new: Element.setContentZoom(element, percent) + +Element.setContentZoom = function(element, percent) { + element = $(element); + element.style.fontSize = (percent/100) + "em"; + if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0); +} diff --git a/webcit/static/empty.html b/webcit/static/empty.html new file mode 100644 index 000000000..9249438da --- /dev/null +++ b/webcit/static/empty.html @@ -0,0 +1,8 @@ + + + Empty Page + + + + + diff --git a/webcit/static/endbox.html b/webcit/static/endbox.html new file mode 100644 index 000000000..bbf33b139 --- /dev/null +++ b/webcit/static/endbox.html @@ -0,0 +1,3 @@ +
    +
    +
    diff --git a/webcit/static/enternewnote_24x.gif b/webcit/static/enternewnote_24x.gif new file mode 100644 index 000000000..a8fbda5aa Binary files /dev/null and b/webcit/static/enternewnote_24x.gif differ diff --git a/webcit/static/error.gif b/webcit/static/error.gif new file mode 100644 index 000000000..57d398c3d Binary files /dev/null and b/webcit/static/error.gif differ diff --git a/webcit/static/favicon.ico b/webcit/static/favicon.ico new file mode 100644 index 000000000..856d5a711 Binary files /dev/null and b/webcit/static/favicon.ico differ diff --git a/webcit/static/folder_closed.gif b/webcit/static/folder_closed.gif new file mode 100644 index 000000000..f7726488f Binary files /dev/null and b/webcit/static/folder_closed.gif differ diff --git a/webcit/static/folder_open.gif b/webcit/static/folder_open.gif new file mode 100644 index 000000000..27c8bfc00 Binary files /dev/null and b/webcit/static/folder_open.gif differ diff --git a/webcit/static/head.html b/webcit/static/head.html new file mode 100644 index 000000000..4766dbfae --- /dev/null +++ b/webcit/static/head.html @@ -0,0 +1,14 @@ + + + + +<?SERV_HUMANNODE> + + + + + + + + diff --git a/webcit/static/hr.gif b/webcit/static/hr.gif new file mode 100644 index 000000000..c98da9d00 Binary files /dev/null and b/webcit/static/hr.gif differ diff --git a/webcit/static/hyperlink.gif b/webcit/static/hyperlink.gif new file mode 100644 index 000000000..1fb1a4a5c Binary files /dev/null and b/webcit/static/hyperlink.gif differ diff --git a/webcit/static/image.gif b/webcit/static/image.gif new file mode 100644 index 000000000..8cbba167c Binary files /dev/null and b/webcit/static/image.gif differ diff --git a/webcit/static/inactiveuser_24x.gif b/webcit/static/inactiveuser_24x.gif new file mode 100644 index 000000000..74a3c1e2e Binary files /dev/null and b/webcit/static/inactiveuser_24x.gif differ diff --git a/webcit/static/indent.gif b/webcit/static/indent.gif new file mode 100644 index 000000000..2abb6b281 Binary files /dev/null and b/webcit/static/indent.gif differ diff --git a/webcit/static/italic.gif b/webcit/static/italic.gif new file mode 100644 index 000000000..8b1485b43 Binary files /dev/null and b/webcit/static/italic.gif differ diff --git a/webcit/static/justifyfull.gif b/webcit/static/justifyfull.gif new file mode 100644 index 000000000..b12528b9f Binary files /dev/null and b/webcit/static/justifyfull.gif differ diff --git a/webcit/static/lastnode.gif b/webcit/static/lastnode.gif new file mode 100644 index 000000000..d1fbed732 Binary files /dev/null and b/webcit/static/lastnode.gif differ diff --git a/webcit/static/left_just.gif b/webcit/static/left_just.gif new file mode 100644 index 000000000..505c5d961 Binary files /dev/null and b/webcit/static/left_just.gif differ diff --git a/webcit/static/line.gif b/webcit/static/line.gif new file mode 100644 index 000000000..1bb437a5f Binary files /dev/null and b/webcit/static/line.gif differ diff --git a/webcit/static/list.gif b/webcit/static/list.gif new file mode 100644 index 000000000..b3018d9f2 Binary files /dev/null and b/webcit/static/list.gif differ diff --git a/webcit/static/login.html b/webcit/static/login.html new file mode 100644 index 000000000..cfdd889ca --- /dev/null +++ b/webcit/static/login.html @@ -0,0 +1,35 @@ + +
    + + + + + + + + + +
    + + + + + + + + + + + +
    User name:
    Password:
    + + + +
    + + +

    + +
    +
    + diff --git a/webcit/static/logoff_32x.gif b/webcit/static/logoff_32x.gif new file mode 100644 index 000000000..1c4203719 Binary files /dev/null and b/webcit/static/logoff_32x.gif differ diff --git a/webcit/static/markngo_24x.gif b/webcit/static/markngo_24x.gif new file mode 100644 index 000000000..cc7afebf3 Binary files /dev/null and b/webcit/static/markngo_24x.gif differ diff --git a/webcit/static/menubar.html b/webcit/static/menubar.html new file mode 100644 index 000000000..cd2c8ab76 --- /dev/null +++ b/webcit/static/menubar.html @@ -0,0 +1,90 @@ + + +
    +

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + Goto next room + +
    + + Skip this room + +
    + + Ungoto +
    + + Read new messages + +
    + + Read all messages + +
    + + Enter a message + +
    + + + Who is online? + + +
    + + Page another user + +
    + + Advanced options + +
    + + Log off
    +
    + +

    + + +POWERED BY
    +CITADEL
    + +
    diff --git a/webcit/static/minus.gif b/webcit/static/minus.gif new file mode 100644 index 000000000..50f623b8c Binary files /dev/null and b/webcit/static/minus.gif differ diff --git a/webcit/static/minus_last.gif b/webcit/static/minus_last.gif new file mode 100644 index 000000000..c316c834a Binary files /dev/null and b/webcit/static/minus_last.gif differ diff --git a/webcit/static/minus_last_no_root.gif b/webcit/static/minus_last_no_root.gif new file mode 100644 index 000000000..cd528616f Binary files /dev/null and b/webcit/static/minus_last_no_root.gif differ diff --git a/webcit/static/minus_no_root.gif b/webcit/static/minus_no_root.gif new file mode 100644 index 000000000..0cd1ab627 Binary files /dev/null and b/webcit/static/minus_no_root.gif differ diff --git a/webcit/static/minus_nolines.gif b/webcit/static/minus_nolines.gif new file mode 100644 index 000000000..b54e87048 Binary files /dev/null and b/webcit/static/minus_nolines.gif differ diff --git a/webcit/static/monthview2_24x.gif b/webcit/static/monthview2_24x.gif new file mode 100644 index 000000000..209be9458 Binary files /dev/null and b/webcit/static/monthview2_24x.gif differ diff --git a/webcit/static/nanotree.js b/webcit/static/nanotree.js new file mode 100644 index 000000000..c22b7d50f --- /dev/null +++ b/webcit/static/nanotree.js @@ -0,0 +1,910 @@ +/** +* Original Author of this file: Martin Mouritzen. (martin@nano.dk) +* +* +* (Lack of) Documentation: +* +* +* If a finishedLoading method exists, it will be called when the tree is loaded. +* (good to display a div, etc.). +* +* +* You have to set the variable rootNode (as a TreeNode). +* +* You have to set a container element, this is the element in which the tree will be. +* +* +* TODO: +* Save cookies better (only 1 cookie for each tree). Else the page will totally cookieclutter. +* +*********************************************************************** +* Configuration variables. +************************************************************************/ + +// Should the rootNode be displayed. +var showRootNode = true; + +// Should the dashed lines between nodes be shown. +var showLines = true; + +// Should the nodes be sorted? (You can either specify a number, then it will be sorted by that, else it will +// be sorted alphabetically (by name). +var sortNodes = true; + +// This is IMPORTANT... use an unique id for each document you use the tree in. (else they'll get mixed up). +var documentID = window.location.href; + +// being read from cookie. +var nodesOpen = new Array(); + +// RootNode of the tree. +var rootNode; + +// Container to display the Tree in. +var container; + +// Shows/Hides subnodes on startup +var showAllNodesOnStartup = false; + +// Is the roots dragable? +var dragable = false; + + +/************************************************************************ +* The following is just instancevariables. +************************************************************************/ +var href = ''; + +// rootNodeCallBack name (if null, it's not selectable). +var rootNodeCallBack = null; + +// selectedNode +var selectedNode = null; + +var states = ''; +var statearray = new Array(); + +var treeNodeEdited = null; + +var editaborted = false; + +var floatDragElement = null; +var colouredElement = null; +var draggedNodeID = null; +var lastDraggedOnNodeID = null; + + +/** +* The TreeNode Object +* @param id unique id of this treenode +* @param name The title of this node +* @param icon The icon if this node (Can also be an array with 2 elements, the first one will represent the closed state, and the next one the open state) +* @param param A parameter, this can be pretty much anything. (eg. an array with information). +* @param orderNumber an orderNumber If one is given the nodes will be sorted by this (else they'll be sorted alphabetically (If sorting is on). +*/ +function TreeNode(id,name,icon,param,orderNumber) { + this.id = id; + this.childs = new Array(); + this.name = (name == null ? 'unset name' : name); + this.icon = (icon == null ? '' : icon); + this.parent = null; + this.handler = null; + this.param = (param == null ? '' : param); + this.orderNumber = (orderNumber == null ? -1 : orderNumber); + + this.openeventlisteners = new Array(); + this.editeventlisteners = new Array(); + this.moveeventlisteners = new Array(); + this.haschilds = false; + this.editable = false; + this.linestring = ''; + + this.nextSibling = null; + this.prevSibling = null; + + this.childsHasBeenFetched = false; + + this.getID = function() { + return this.id; + } + this.setName = function(newname) { + this.name = newname; + } + this.getName = function() { + return this.name; + } + this.getParam = function() { + return this.param; + } + this.setIcon = function(icon) { + this.icon = icon; + } + this.getIcon = function() { + if (typeof(this.icon) == 'object') { + return this.icon[0]; + } + return this.icon; + } + this.getOpenIcon = function() { + if (typeof(this.icon) == 'object') { + return this.icon[1]; + } + return this.icon; + } + this.hasIcon = function () { + return this.icon != ''; + } + this.getOrderNumber = function() { + return this.orderNumber; + } + this.addOpenEventListener = function(event) { + this.openeventlisteners[this.openeventlisteners.length] = event; + } + this.gotOpenEventListeners = function() { + return (this.openeventlisteners.length > 0); + } + this.addEditEventListener = function(event) { + this.editeventlisteners[this.editeventlisteners.length] = event; + } + this.gotEditEventListeners = function() { + return (this.editeventlisteners.length > 0); + } + this.addMoveEventListener = function(event) { + this.moveeventlisteners[this.moveeventlisteners.length] = event; + } + this.gotMoveEventListeners = function() { + return (this.moveeventlisteners.length > 0); + } + this.addChild = function(childNode) { + var possiblePrevNode = this.childs[this.childs.length - 1] + if (possiblePrevNode) { + possiblePrevNode.nextSibling = childNode; + childNode.prevSibling = possiblePrevNode; + // alert(childNode.prevSibling); + } + + this.childs[this.childs.length] = childNode; + childNode.setParent(this); + + if (sortNodes) { + function sortByOrder(a,b) { + var order1 = a.getOrderNumber(); + var order2 = b.getOrderNumber(); + if (order1 == -1 || order2 == -1) { + return a.getName().toLowerCase() > b.getName().toLowerCase() ? 1 : -1; + } + else { + if (order1 == order2) { + // If they got the same order number, then we'll sort by their title. + return a.getName().toLowerCase() > b.getName().toLowerCase() ? 1 : -1; + } + else { + return order1 - order2; + } + } + } + this.childs.sort(sortByOrder); + } + } + this.removeChild = function(childNode) { + var found = false; + for (var i=0;i 0); + } + this.getChildCount = function() { + return this.childs.length; + } + this.getFirstChild = function() { + if (this.hasChilds()) { + return this.childs[0]; + } + return null; + } + this.gotHandler = function() { + return this.handler != null; + } + this.setHandler = function(handler) { + this.handler = handler; + } + this.getHandler = function() { + return this.handler; + } + this.setParent = function(parent) { + this.parent = parent; + } + this.getParent = function() { + return this.parent; + } + this.getLineString = function() { + return this.linestring; + } + this.setLineString = function(string) { + this.linestring = string; + } + this.isEditable = function() { + return this.editable; + } + this.setEditable = function(editable) { + this.editable = editable; + } + +} +function getTreeNode(nodeID) { + return findNodeWithID(rootNode,nodeID); +} +function findNodeWithID(node,nodeID) { + if (node.getID() == nodeID) { + return node; + } + else { + if (node.hasChilds()) { + for(var i=0;i'; + str += ''; + if (rootNode.hasIcon()) { + str += ''; + } + str += ' ' + rootNode.getName() + ''; + str += ''; + + if (rootNode.hasChilds()) { + for(i=0;i'; + str += ''; + for(var y=0;y'; + } + else if (linestring.charAt(y) == 'B') { + str += ''; + } + } + if (treeNode.hasChilds()) { + // If this is the first child of the rootNode, and showRootNode is false, we want to display a different icon. + if (!showRootNode && (treeNode.getParent() == rootNode) && (treeNode.getParent().getFirstChild() == treeNode)) { + if (!lastNode) { + str += ''; + } + else { + str += ''; + } + } + else { + if (!lastNode) { + str += ''; + } + else { + str += ''; + } + } + } + else { + // If this is the first child of the rootNode, and showRootNode is false, we want to display a different icon. + if (!showRootNode && (treeNode.getParent() == rootNode) && (treeNode.getParent().getFirstChild() == treeNode)) { + if (!lastNode) { + str += ''; + } + else { + str += ''; + } + } + else { + if (!lastNode) { + str += ''; + } + else { + str += ''; + } + } + } + iconStartImage = treeNode.getIcon(); + if (state != 'closed') { + if (treeNode.hasChilds()) { + iconStartImage = treeNode.getOpenIcon(); + } + } + + str += ''; + str += ' '; + str += treeNode.getName(); + str += ''; + str += ''; + str += ''; + + if (treeNode.hasChilds()) { + if (state == 'open') { + str += '
    '; + fireOpenEvent(treeNode); + // alert('openevent: ' + treeNode.getName()); + } + else { + str += '
    '; + } + var subgroupstr = ''; + var newChar = ''; + + if (!lastNode) { + newChar = 'I'; + } + else { + newChar = 'B'; + } + for(var z=0;z'; + str += '
    '; + } + return str; +} +/* +function mouseMove() { + if (dragging) { + alert('bob'); + } +} +function mouseUp() { + if (dragging) { + alert('dropped on something!'); + } +} +*/ +function startDrag(nodeID) { + if (!dragable) { + return; + } + draggedNodeID = nodeID; + + var srcObj = window.event.srcElement; + while(srcObj.tagName != 'DIV') { + srcObj = srcObj.parentElement; + } + floatDragElement = document.createElement('DIV'); + + floatDragElement.innerHTML = srcObj.innerHTML; + floatDragElement.childNodes[0].removeChild(floatDragElement.childNodes[0].childNodes[0]); + + document.body.appendChild(floatDragElement); + floatDragElement.style.zIndex = 100; + floatDragElement.style.position = 'absolute'; + floatDragElement.style.filter='progid:DXImageTransform.Microsoft.Alpha(1,opacity=60);'; +} +function findSpanChild(element) { + if (element.tagName == 'SPAN') { + return element; + } + else { + if (element.childNodes) { + for(var i=0;i!'); + return; + } + } + findSpanChild(colouredElement).className = 'treetitleselectedfocused'; +} +function dragLeave() { + if (!dragable) { + return; + } +} +function endDrag(nodeID) { + if (!dragable) { + return; + } + if (lastDraggedOnNodeID != null) { + fireMoveEvent(getTreeNode(lastDraggedOnNodeID),draggedNodeID,lastDraggedOnNodeID); + } +} +function dragProceed() { + if (!dragable) { + return; + } + var dragged = getTreeNode(draggedNodeID); + var newparent = getTreeNode(lastDraggedOnNodeID); + + var oldparent = dragged.getParent(); + + oldparent.removeChild(dragged); + newparent.addChild(dragged); + + refreshNode(oldparent); + refreshNode(newparent); + + _dragClean() +} +function dragCancel() { + if (!dragable) { + return; + } + _dragClean() +} +/** +* Don't call this yourself. +*/ +function _dragClean() { + if (!dragable) { + return; + } + if (colouredElement) { + findSpanChild(colouredElement).className = 'treetitle'; + } + + floatDragElement.parentElement.removeChild(floatDragElement); + floatDragElement = null; + colouredElement = null; + draggedNodeID = null; + lastDraggedOnNodeID = null; +} +function dragMove() { + if (!dragable) { + return; + } + floatDragElement.style.top = window.event.clientY; + floatDragElement.style.left = window.event.clientX; +} +function editEnded() { + if (treeNodeEdited != null) { + // treeNodeEdited.getID(); + var editTitle = document.getElementById('title' + treeNodeEdited.getID()); + var input = editTitle.childNodes[0]; + + var newValue = input.value; + + if (newValue == treeNodeEdited.getName()) { + editTitle.innerHTML = newValue; + treeNodeEdited = null; + return; + } + + fireEditEvent(treeNodeEdited,newValue); + + if (!editaborted) { + treeNodeEdited.setName(newValue); + editTitle.innerHTML = newValue; + } + + treeNodeEdited = null; + } +} +function selectNode(nodeID) { + var treeNode = getTreeNode(nodeID); + + if (selectedNode != null) { + if (selectedNode == nodeID) { + if (treeNode.isEditable()) { + if (treeNodeEdited == treeNode) { + return; + } + treeNodeEdited = treeNode; + var editTitle = document.getElementById('title' + treeNode.getID()); + editTitle.className = 'editednode'; + + + editTitle.innerHTML = ''; + var input = editTitle.childNodes[0]; + input.value = treeNode.getName(); + input.focus(); + input.select(); + input.onblur = editEnded; + } + return; + } + if (treeNodeEdited != null) { + editEnded(); + } + var oldNodeTitle = document.getElementById('title' + selectedNode); + oldNodeTitle.className = 'treetitle'; + } + selectedNode = nodeID; + var nodetitle = document.getElementById('title' + selectedNode); + nodetitle.className = 'treetitleselectedfocused'; + + if (treeNode.gotHandler()) { + eval(treeNode.getHandler() + '(getTreeNode(' + nodeID + '));'); + } + else { + standardClick(treeNode); + } +} +function refreshNode(treeNode) { + var submenu = document.getElementById('node' + treeNode.getID() + 'sub'); + var str = ''; + for(var i=0;i'; + } + else { + actionimage.outerHTML = ''; + } + } + } + submenu.innerHTML = str; +} +function handleNode(nodeID) { + var treeNode = getTreeNode(nodeID); + if (!treeNode.hasChilds()) { // No reason to handle a node without childs. + return; + } + + var submenu = document.getElementById('node' + nodeID + 'sub'); + + var iconimageholder = document.getElementById('iconimage' + nodeID); + var actionimage = document.getElementById('handler' + nodeID); + + // This will be used if showRootNode is set to false. + var firstChildOfRoot = false; + if (actionimage.src.indexOf('_no_root') != -1) { + firstChildOfRoot = true; + } + + if (submenu.style.display == 'none') { + writeStates(nodeID,'open'); + fireOpenEvent(treeNode); + submenu.style.display = 'block'; + + iconimageholder.src = treeNode.getOpenIcon(); + + if (actionimage.src.indexOf('last') == -1) { + actionimage.src = href + 'static/' + ((firstChildOfRoot) ? 'minus_no_root' : (showLines ? 'minus' : 'minus_nolines')) + '.gif'; + } + else { + actionimage.src = href + 'static/' + ((firstChildOfRoot) ? 'minus_last_no_root' : (showLines ? 'minus_last' : 'minus_nolines')) + '.gif'; + } + } + else { + writeStates(nodeID,'closed'); + submenu.style.display = 'none'; + + iconimageholder.src = treeNode.getIcon(); + + if (actionimage.src.indexOf('last') == -1) { + actionimage.src = href + 'static/' + ((firstChildOfRoot) ? 'plus_no_root' : (showLines ? 'plus' : 'plus_nolines')) + '.gif'; + } + else { + actionimage.src = href + 'static/' + ((firstChildOfRoot) ? 'plus_last_no_root' : (showLines ? 'plus_last' : 'plus_nolines')) + '.gif'; + } + } +} +function fireOpenEvent(treeNode) { + if (treeNode.gotOpenEventListeners()) { + for(var i=0;i 2) ? argv[2] : null; + var path = (argc > 3) ? argv[3] : null; + var domain = (argc > 4) ? argv[4] : null; + var secure = (argc > 5) ? argv[5] : false; + document.cookie = name + "=" + escape (value) + ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + ((path == null) ? "" : ("; path=" + path)) + ((domain == null) ? "" : ("; domain=" + domain)) + ((secure == true) ? "; secure" : ""); +} +function expandNode() { + var state = getState(selectedNode); + if (state == 'open') { + var currentTreeNode = getTreeNode(selectedNode); + if (currentTreeNode.hasChilds()) { + selectNode(currentTreeNode.childs[0].getID()); + } + } + else { + handleNode(selectedNode); + } +} +function subtractNode() { + var state = getState(selectedNode); + if (state == 'closed') { + var currentTreeNode = getTreeNode(selectedNode); + var parent = currentTreeNode.getParent(); + if (parent != null && parent != rootNode) { + selectNode(parent.getID()); + } + } + else { + handleNode(selectedNode); + } +} +function selectPrevNode() { + var currentTreeNode = getTreeNode(selectedNode); + if (currentTreeNode.prevSibling != null) { + + var state = getState(currentTreeNode.prevSibling.getID()); + + if (state == 'open' && currentTreeNode.prevSibling.hasChilds()) { + // We have to find the last open child of the previoussiblings childs. + var current = currentTreeNode.prevSibling.childs[currentTreeNode.prevSibling.childs.length - 1]; + var currentstate = 'open'; + while (current.hasChilds() && (getState(current.getID()) == 'open')) { + current = current.childs[current.childs.length - 1]; + } + selectNode(current.getID()); + } + else { + selectNode(currentTreeNode.prevSibling.getID()); + } + } + else { + if (currentTreeNode.getParent() != null && currentTreeNode.getParent() != rootNode) { + selectNode(currentTreeNode.getParent().getID()); + } + } +} +function selectNextNode() { + var currentTreeNode = getTreeNode(selectedNode); + + var state = getState(selectedNode); + if (state == 'open' && currentTreeNode.hasChilds()) { + selectNode(currentTreeNode.childs[0].getID()); + } + else { + if (currentTreeNode.nextSibling != null) { + selectNode(currentTreeNode.nextSibling.getID()); + } + else { + // Continue up the tree until we either hit null, or a parent which have a child. + var parent = currentTreeNode; + while ((parent = parent.getParent()) != rootNode) { + if (parent.nextSibling != null) { + selectNode(parent.nextSibling.getID()); + break; + } + } + /* + if (currentTreeNode.getParent().nextSibling != null) { + selectNode(currentTreeNode.getParent().nextSibling.getID()); + } + */ + } + } +} +function keyDown(event) { + if (window.event) { + event = window.event; + } + if (event.keyCode == 38) { // Up + selectPrevNode(); + return false; + } + else if (event.keyCode == 40) { // Down + selectNextNode(); + return false; + } + else if (event.keyCode == 37) { // left + subtractNode(); + return false; + } + else if (event.keyCode == 39) { // right + expandNode(); + return false; + } +} +document.onkeydown = keyDown; diff --git a/webcit/static/newmess2_24x.gif b/webcit/static/newmess2_24x.gif new file mode 100644 index 000000000..fcfeb9948 Binary files /dev/null and b/webcit/static/newmess2_24x.gif differ diff --git a/webcit/static/newmess3_24x.gif b/webcit/static/newmess3_24x.gif new file mode 100644 index 000000000..3c6ac92ab Binary files /dev/null and b/webcit/static/newmess3_24x.gif differ diff --git a/webcit/static/newstartpage.html b/webcit/static/newstartpage.html new file mode 100644 index 000000000..fec7e4d23 --- /dev/null +++ b/webcit/static/newstartpage.html @@ -0,0 +1,20 @@ + + + + +
    + New start page + +
    + +
    +Your start page has been changed. +

    + +(Note: this does not change your browser's home page. +It changes the page you begin on when you log on to ). +

    + +Back... +
    diff --git a/webcit/static/nextdate_32x.gif b/webcit/static/nextdate_32x.gif new file mode 100644 index 000000000..6288cafcd Binary files /dev/null and b/webcit/static/nextdate_32x.gif differ diff --git a/webcit/static/nocookies.html b/webcit/static/nocookies.html new file mode 100644 index 000000000..71cff3b25 --- /dev/null +++ b/webcit/static/nocookies.html @@ -0,0 +1,17 @@ + + + Error + + + + + +
    +

    Sorry!

    +
    +This site requires both Cookies and JavaScript to be enabled in your browser.
    +Please enable these features and log in again. We are sorry for the inconvenience. +
    + + + diff --git a/webcit/static/numbered_list.gif b/webcit/static/numbered_list.gif new file mode 100644 index 000000000..d1a4dbcad Binary files /dev/null and b/webcit/static/numbered_list.gif differ diff --git a/webcit/static/outdent.gif b/webcit/static/outdent.gif new file mode 100644 index 000000000..fa3c1b6aa Binary files /dev/null and b/webcit/static/outdent.gif differ diff --git a/webcit/static/page.gif b/webcit/static/page.gif new file mode 100644 index 000000000..27f96989a Binary files /dev/null and b/webcit/static/page.gif differ diff --git a/webcit/static/page16x16.gif b/webcit/static/page16x16.gif new file mode 100644 index 000000000..1a3b54c89 Binary files /dev/null and b/webcit/static/page16x16.gif differ diff --git a/webcit/static/palette.htm b/webcit/static/palette.htm new file mode 100644 index 000000000..4572f8117 --- /dev/null +++ b/webcit/static/palette.htm @@ -0,0 +1,124 @@ + + + Text Color + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + diff --git a/webcit/static/paste.gif b/webcit/static/paste.gif new file mode 100644 index 000000000..9bcc76ac2 Binary files /dev/null and b/webcit/static/paste.gif differ diff --git a/webcit/static/plus.gif b/webcit/static/plus.gif new file mode 100644 index 000000000..c84dce2e2 Binary files /dev/null and b/webcit/static/plus.gif differ diff --git a/webcit/static/plus_last.gif b/webcit/static/plus_last.gif new file mode 100644 index 000000000..701c16c77 Binary files /dev/null and b/webcit/static/plus_last.gif differ diff --git a/webcit/static/plus_last_no_root.gif b/webcit/static/plus_last_no_root.gif new file mode 100644 index 000000000..84e0662bf Binary files /dev/null and b/webcit/static/plus_last_no_root.gif differ diff --git a/webcit/static/plus_no_root.gif b/webcit/static/plus_no_root.gif new file mode 100644 index 000000000..22a4a9061 Binary files /dev/null and b/webcit/static/plus_no_root.gif differ diff --git a/webcit/static/plus_nolines.gif b/webcit/static/plus_nolines.gif new file mode 100644 index 000000000..a7dc6be3d Binary files /dev/null and b/webcit/static/plus_nolines.gif differ diff --git a/webcit/static/prevdate_32x.gif b/webcit/static/prevdate_32x.gif new file mode 100644 index 000000000..c8c98b5e6 Binary files /dev/null and b/webcit/static/prevdate_32x.gif differ diff --git a/webcit/static/privatemess_16x.gif b/webcit/static/privatemess_16x.gif new file mode 100644 index 000000000..0070b72e9 Binary files /dev/null and b/webcit/static/privatemess_16x.gif differ diff --git a/webcit/static/privatemess_32x.gif b/webcit/static/privatemess_32x.gif new file mode 100644 index 000000000..9b9d6d45f Binary files /dev/null and b/webcit/static/privatemess_32x.gif differ diff --git a/webcit/static/privatemess_48x.gif b/webcit/static/privatemess_48x.gif new file mode 100644 index 000000000..2c54b39f6 Binary files /dev/null and b/webcit/static/privatemess_48x.gif differ diff --git a/webcit/static/prototype.js b/webcit/static/prototype.js new file mode 100644 index 000000000..ed7d920cb --- /dev/null +++ b/webcit/static/prototype.js @@ -0,0 +1,1257 @@ +/* Prototype JavaScript framework, version 1.4.0_pre4 + * (c) 2005 Sam Stephenson + * + * THIS FILE IS AUTOMATICALLY GENERATED. When sending patches, please diff + * against the source tree, available from the Prototype darcs repository. + * + * Prototype is freely distributable under the terms of an MIT-style license. + * + * For details, see the Prototype web site: http://prototype.conio.net/ + * +/*--------------------------------------------------------------------------*/ + +var Prototype = { + Version: '1.4.0_pre4', + + emptyFunction: function() {}, + K: function(x) {return x} +} + +var Class = { + create: function() { + return function() { + this.initialize.apply(this, arguments); + } + } +} + +var Abstract = new Object(); + +Object.extend = function(destination, source) { + for (property in source) { + destination[property] = source[property]; + } + return destination; +} + +Function.prototype.bind = function(object) { + var __method = this; + return function() { + return __method.apply(object, arguments); + } +} + +Function.prototype.bindAsEventListener = function(object) { + var __method = this; + return function(event) { + return __method.call(object, event || window.event); + } +} + +Number.prototype.toColorPart = function() { + var digits = this.toString(16); + if (this < 16) return '0' + digits; + return digits; +} + +var Try = { + these: function() { + var returnValue; + + for (var i = 0; i < arguments.length; i++) { + var lambda = arguments[i]; + try { + returnValue = lambda(); + break; + } catch (e) {} + } + + return returnValue; + } +} + +/*--------------------------------------------------------------------------*/ + +var PeriodicalExecuter = Class.create(); +PeriodicalExecuter.prototype = { + initialize: function(callback, frequency) { + this.callback = callback; + this.frequency = frequency; + this.currentlyExecuting = false; + + this.registerCallback(); + }, + + registerCallback: function() { + setInterval(this.onTimerEvent.bind(this), this.frequency * 1000); + }, + + onTimerEvent: function() { + if (!this.currentlyExecuting) { + try { + this.currentlyExecuting = true; + this.callback(); + } finally { + this.currentlyExecuting = false; + } + } + } +} + +/*--------------------------------------------------------------------------*/ + +function $() { + var elements = new Array(); + + for (var i = 0; i < arguments.length; i++) { + var element = arguments[i]; + if (typeof element == 'string') + element = document.getElementById(element); + + if (arguments.length == 1) + return element; + + elements.push(element); + } + + return elements; +} + +if (!Array.prototype.push) { + Array.prototype.push = function() { + var startLength = this.length; + for (var i = 0; i < arguments.length; i++) + this[startLength + i] = arguments[i]; + return this.length; + } +} + +if (!Function.prototype.apply) { + // Based on code from http://www.youngpup.net/ + Function.prototype.apply = function(object, parameters) { + var parameterStrings = new Array(); + if (!object) object = window; + if (!parameters) parameters = new Array(); + + for (var i = 0; i < parameters.length; i++) + parameterStrings[i] = 'parameters[' + i + ']'; + + object.__apply__ = this; + var result = eval('object.__apply__(' + + parameterStrings.join(', ') + ')'); + object.__apply__ = null; + + return result; + } +} + +Object.extend(String.prototype, { + stripTags: function() { + return this.replace(/<\/?[^>]+>/gi, ''); + }, + + escapeHTML: function() { + var div = document.createElement('div'); + var text = document.createTextNode(this); + div.appendChild(text); + return div.innerHTML; + }, + + unescapeHTML: function() { + var div = document.createElement('div'); + div.innerHTML = this.stripTags(); + return div.childNodes[0].nodeValue; + }, + + parseQuery: function() { + var str = this; + if (str.substring(0,1) == '?') { + str = this.substring(1); + } + var result = {}; + var pairs = str.split('&'); + for (var i = 0; i < pairs.length; i++) { + var pair = pairs[i].split('='); + result[pair[0]] = pair[1]; + } + return result; + } +}); + + +var _break = new Object(); +var _continue = new Object(); + +var Enumerable = { + each: function(iterator) { + var index = 0; + try { + this._each(function(value) { + try { + iterator(value, index++); + } catch (e) { + if (e != _continue) throw e; + } + }); + } catch (e) { + if (e != _break) throw e; + } + }, + + all: function(iterator) { + var result = true; + this.each(function(value, index) { + if (!(result &= (iterator || Prototype.K)(value, index))) + throw _break; + }); + return result; + }, + + any: function(iterator) { + var result = true; + this.each(function(value, index) { + if (result &= (iterator || Prototype.K)(value, index)) + throw _break; + }); + return result; + }, + + collect: function(iterator) { + var results = []; + this.each(function(value, index) { + results.push(iterator(value, index)); + }); + return results; + }, + + detect: function (iterator) { + var result; + this.each(function(value, index) { + if (iterator(value, index)) { + result = value; + throw _break; + } + }); + return result; + }, + + findAll: function(iterator) { + var results = []; + this.each(function(value, index) { + if (iterator(value, index)) + results.push(value); + }); + return results; + }, + + grep: function(pattern, iterator) { + var results = []; + this.each(function(value, index) { + var stringValue = value.toString(); + if (stringValue.match(pattern)) + results.push((iterator || Prototype.K)(value, index)); + }) + return results; + }, + + include: function(object) { + var found = false; + this.each(function(value) { + if (value == object) { + found = true; + throw _break; + } + }); + return found; + }, + + inject: function(memo, iterator) { + this.each(function(value, index) { + memo = iterator(memo, value, index); + }); + return memo; + }, + + invoke: function(method) { + var args = $A(arguments).slice(1); + return this.collect(function(value) { + return value[method].apply(value, args); + }); + }, + + max: function(iterator) { + var result; + this.each(function(value, index) { + value = (iterator || Prototype.K)(value, index); + if (value >= (result || value)) + result = value; + }); + return result; + }, + + min: function(iterator) { + var result; + this.each(function(value, index) { + value = (iterator || Prototype.K)(value, index); + if (value <= (result || value)) + result = value; + }); + return result; + }, + + partition: function(iterator) { + var trues = [], falses = []; + this.each(function(value, index) { + ((iterator || Prototype.K)(value, index) ? + trues : falses).push(value); + }); + return [trues, falses]; + }, + + pluck: function(property) { + var results = []; + this.each(function(value, index) { + results.push(value[property]); + }); + return results; + }, + + reject: function(iterator) { + var results = []; + this.each(function(value, index) { + if (!iterator(value, index)) + results.push(value); + }); + return results; + }, + + sortBy: function(iterator) { + return this.collect(function(value, index) { + return {value: value, criteria: iterator(value, index)}; + }).sort(function(left, right) { + var a = left.criteria, b = right.criteria; + return a < b ? -1 : a > b ? 1 : 0; + }).pluck('value'); + }, + + toArray: function() { + return this.collect(Prototype.K); + }, + + zip: function() { + var iterator = Prototype.K, args = $A(arguments); + if (typeof args.last() == 'function') + iterator = args.pop(); + + var collections = [this].concat(args).map($A); + return this.map(function(value, index) { + iterator(value = collections.pluck(index)); + return value; + }); + } +} + +Object.extend(Enumerable, { + map: Enumerable.collect, + find: Enumerable.detect, + select: Enumerable.findAll, + member: Enumerable.include, + entries: Enumerable.toArray +}); + +$A = Array.from = function(iterable) { + var results = []; + for (var i = 0; i < iterable.length; i++) + results.push(iterable[i]); + return results; +} + +Object.extend(Array.prototype, { + _each: function(iterator) { + for (var i = 0; i < this.length; i++) + iterator(this[i]); + }, + + first: function() { + return this[0]; + }, + + last: function() { + return this[this.length - 1]; + } +}); + +Object.extend(Array.prototype, Enumerable); + + +var Ajax = { + getTransport: function() { + return Try.these( + function() {return new ActiveXObject('Msxml2.XMLHTTP')}, + function() {return new ActiveXObject('Microsoft.XMLHTTP')}, + function() {return new XMLHttpRequest()} + ) || false; + } +} + +Ajax.Base = function() {}; +Ajax.Base.prototype = { + setOptions: function(options) { + this.options = { + method: 'post', + asynchronous: true, + parameters: '' + } + Object.extend(this.options, options || {}); + }, + + responseIsSuccess: function() { + return this.transport.status == undefined + || this.transport.status == 0 + || (this.transport.status >= 200 && this.transport.status < 300); + }, + + responseIsFailure: function() { + return !this.responseIsSuccess(); + } +} + +Ajax.Request = Class.create(); +Ajax.Request.Events = + ['Uninitialized', 'Loading', 'Loaded', 'Interactive', 'Complete']; + +Ajax.Request.prototype = Object.extend(new Ajax.Base(), { + initialize: function(url, options) { + this.transport = Ajax.getTransport(); + this.setOptions(options); + this.request(url); + }, + + request: function(url) { + var parameters = this.options.parameters || ''; + if (parameters.length > 0) parameters += '&_='; + + try { + if (this.options.method == 'get') + url += '?' + parameters; + + this.transport.open(this.options.method, url, + this.options.asynchronous); + + if (this.options.asynchronous) { + this.transport.onreadystatechange = this.onStateChange.bind(this); + setTimeout((function() {this.respondToReadyState(1)}).bind(this), 10); + } + + this.setRequestHeaders(); + + var body = this.options.postBody ? this.options.postBody : parameters; + this.transport.send(this.options.method == 'post' ? body : null); + + } catch (e) { + } + }, + + setRequestHeaders: function() { + var requestHeaders = + ['X-Requested-With', 'XMLHttpRequest', + 'X-Prototype-Version', Prototype.Version]; + + if (this.options.method == 'post') { + requestHeaders.push('Content-type', + 'application/x-www-form-urlencoded'); + + /* Force "Connection: close" for Mozilla browsers to work around + * a bug where XMLHttpReqeuest sends an incorrect Content-length + * header. See Mozilla Bugzilla #246651. + */ + if (this.transport.overrideMimeType) + requestHeaders.push('Connection', 'close'); + } + + if (this.options.requestHeaders) + requestHeaders.push.apply(requestHeaders, this.options.requestHeaders); + + for (var i = 0; i < requestHeaders.length; i += 2) + this.transport.setRequestHeader(requestHeaders[i], requestHeaders[i+1]); + }, + + onStateChange: function() { + var readyState = this.transport.readyState; + if (readyState != 1) + this.respondToReadyState(this.transport.readyState); + }, + + respondToReadyState: function(readyState) { + var event = Ajax.Request.Events[readyState]; + + if (event == 'Complete') + (this.options['on' + this.transport.status] + || this.options['on' + (this.responseIsSuccess() ? 'Success' : 'Failure')] + || Prototype.emptyFunction)(this.transport); + + (this.options['on' + event] || Prototype.emptyFunction)(this.transport); + + /* Avoid memory leak in MSIE: clean up the oncomplete event handler */ + if (event == 'Complete') + this.transport.onreadystatechange = Prototype.emptyFunction; + } +}); + +Ajax.Updater = Class.create(); +Ajax.Updater.ScriptFragment = '(?:)((\n|.)*?)(?:<\/script>)'; + +Object.extend(Object.extend(Ajax.Updater.prototype, Ajax.Request.prototype), { + initialize: function(container, url, options) { + this.containers = { + success: container.success ? $(container.success) : $(container), + failure: container.failure ? $(container.failure) : + (container.success ? null : $(container)) + } + + this.transport = Ajax.getTransport(); + this.setOptions(options); + + var onComplete = this.options.onComplete || Prototype.emptyFunction; + this.options.onComplete = (function() { + this.updateContent(); + onComplete(this.transport); + }).bind(this); + + this.request(url); + }, + + updateContent: function() { + var receiver = this.responseIsSuccess() ? + this.containers.success : this.containers.failure; + + var match = new RegExp(Ajax.Updater.ScriptFragment, 'img'); + var response = this.transport.responseText.replace(match, ''); + var scripts = this.transport.responseText.match(match); + + if (receiver) { + if (this.options.insertion) { + new this.options.insertion(receiver, response); + } else { + receiver.innerHTML = response; + } + } + + if (this.responseIsSuccess()) { + if (this.onComplete) + setTimeout((function() {this.onComplete( + this.transport)}).bind(this), 10); + } + + if (this.options.evalScripts && scripts) { + match = new RegExp(Ajax.Updater.ScriptFragment, 'im'); + setTimeout((function() { + for (var i = 0; i < scripts.length; i++) + eval(scripts[i].match(match)[1]); + }).bind(this), 10); + } + } +}); + +Ajax.PeriodicalUpdater = Class.create(); +Ajax.PeriodicalUpdater.prototype = Object.extend(new Ajax.Base(), { + initialize: function(container, url, options) { + this.setOptions(options); + this.onComplete = this.options.onComplete; + + this.frequency = (this.options.frequency || 2); + this.decay = 1; + + this.updater = {}; + this.container = container; + this.url = url; + + this.start(); + }, + + start: function() { + this.options.onComplete = this.updateComplete.bind(this); + this.onTimerEvent(); + }, + + stop: function() { + this.updater.onComplete = undefined; + clearTimeout(this.timer); + (this.onComplete || Ajax.emptyFunction).apply(this, arguments); + }, + + updateComplete: function(request) { + if (this.options.decay) { + this.decay = (request.responseText == this.lastText ? + this.decay * this.options.decay : 1); + + this.lastText = request.responseText; + } + this.timer = setTimeout(this.onTimerEvent.bind(this), + this.decay * this.frequency * 1000); + }, + + onTimerEvent: function() { + this.updater = new Ajax.Updater(this.container, this.url, this.options); + } +}); + +document.getElementsByClassName = function(className) { + var children = document.getElementsByTagName('*') || document.all; + var elements = new Array(); + + for (var i = 0; i < children.length; i++) { + var child = children[i]; + var classNames = child.className.split(' '); + for (var j = 0; j < classNames.length; j++) { + if (classNames[j] == className) { + elements.push(child); + break; + } + } + } + + return elements; +} + +/*--------------------------------------------------------------------------*/ + +if (!window.Element) { + var Element = new Object(); +} + +Object.extend(Element, { + toggle: function() { + for (var i = 0; i < arguments.length; i++) { + var element = $(arguments[i]); + element.style.display = + (element.style.display == 'none' ? '' : 'none'); + } + }, + + hide: function() { + for (var i = 0; i < arguments.length; i++) { + var element = $(arguments[i]); + element.style.display = 'none'; + } + }, + + show: function() { + for (var i = 0; i < arguments.length; i++) { + var element = $(arguments[i]); + element.style.display = ''; + } + }, + + remove: function(element) { + element = $(element); + element.parentNode.removeChild(element); + }, + + getHeight: function(element) { + element = $(element); + return element.offsetHeight; + }, + + hasClassName: function(element, className) { + element = $(element); + if (!element) + return; + var a = element.className.split(' '); + for (var i = 0; i < a.length; i++) { + if (a[i] == className) + return true; + } + return false; + }, + + addClassName: function(element, className) { + element = $(element); + Element.removeClassName(element, className); + element.className += ' ' + className; + }, + + removeClassName: function(element, className) { + element = $(element); + if (!element) + return; + var newClassName = ''; + var a = element.className.split(' '); + for (var i = 0; i < a.length; i++) { + if (a[i] != className) { + if (i > 0) + newClassName += ' '; + newClassName += a[i]; + } + } + element.className = newClassName; + }, + + // removes whitespace-only text node children + cleanWhitespace: function(element) { + var element = $(element); + for (var i = 0; i < element.childNodes.length; i++) { + var node = element.childNodes[i]; + if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) + Element.remove(node); + } + } +}); + +var Toggle = new Object(); +Toggle.display = Element.toggle; + +/*--------------------------------------------------------------------------*/ + +Abstract.Insertion = function(adjacency) { + this.adjacency = adjacency; +} + +Abstract.Insertion.prototype = { + initialize: function(element, content) { + this.element = $(element); + this.content = content; + + if (this.adjacency && this.element.insertAdjacentHTML) { + this.element.insertAdjacentHTML(this.adjacency, this.content); + } else { + this.range = this.element.ownerDocument.createRange(); + if (this.initializeRange) this.initializeRange(); + this.fragment = this.range.createContextualFragment(this.content); + this.insertContent(); + } + } +} + +var Insertion = new Object(); + +Insertion.Before = Class.create(); +Insertion.Before.prototype = Object.extend(new Abstract.Insertion('beforeBegin'), { + initializeRange: function() { + this.range.setStartBefore(this.element); + }, + + insertContent: function() { + this.element.parentNode.insertBefore(this.fragment, this.element); + } +}); + +Insertion.Top = Class.create(); +Insertion.Top.prototype = Object.extend(new Abstract.Insertion('afterBegin'), { + initializeRange: function() { + this.range.selectNodeContents(this.element); + this.range.collapse(true); + }, + + insertContent: function() { + this.element.insertBefore(this.fragment, this.element.firstChild); + } +}); + +Insertion.Bottom = Class.create(); +Insertion.Bottom.prototype = Object.extend(new Abstract.Insertion('beforeEnd'), { + initializeRange: function() { + this.range.selectNodeContents(this.element); + this.range.collapse(this.element); + }, + + insertContent: function() { + this.element.appendChild(this.fragment); + } +}); + +Insertion.After = Class.create(); +Insertion.After.prototype = Object.extend(new Abstract.Insertion('afterEnd'), { + initializeRange: function() { + this.range.setStartAfter(this.element); + }, + + insertContent: function() { + this.element.parentNode.insertBefore(this.fragment, + this.element.nextSibling); + } +}); + +var Field = { + clear: function() { + for (var i = 0; i < arguments.length; i++) + $(arguments[i]).value = ''; + }, + + focus: function(element) { + $(element).focus(); + }, + + present: function() { + for (var i = 0; i < arguments.length; i++) + if ($(arguments[i]).value == '') return false; + return true; + }, + + select: function(element) { + $(element).select(); + }, + + activate: function(element) { + $(element).focus(); + $(element).select(); + } +} + +/*--------------------------------------------------------------------------*/ + +var Form = { + serialize: function(form) { + var elements = Form.getElements($(form)); + var queryComponents = new Array(); + + for (var i = 0; i < elements.length; i++) { + var queryComponent = Form.Element.serialize(elements[i]); + if (queryComponent) + queryComponents.push(queryComponent); + } + + return queryComponents.join('&'); + }, + + getElements: function(form) { + var form = $(form); + var elements = new Array(); + + for (tagName in Form.Element.Serializers) { + var tagElements = form.getElementsByTagName(tagName); + for (var j = 0; j < tagElements.length; j++) + elements.push(tagElements[j]); + } + return elements; + }, + + getInputs: function(form, typeName, name) { + var form = $(form); + var inputs = form.getElementsByTagName('input'); + + if (!typeName && !name) + return inputs; + + var matchingInputs = new Array(); + for (var i = 0; i < inputs.length; i++) { + var input = inputs[i]; + if ((typeName && input.type != typeName) || + (name && input.name != name)) + continue; + matchingInputs.push(input); + } + + return matchingInputs; + }, + + disable: function(form) { + var elements = Form.getElements(form); + for (var i = 0; i < elements.length; i++) { + var element = elements[i]; + element.blur(); + element.disabled = 'true'; + } + }, + + enable: function(form) { + var elements = Form.getElements(form); + for (var i = 0; i < elements.length; i++) { + var element = elements[i]; + element.disabled = ''; + } + }, + + focusFirstElement: function(form) { + var form = $(form); + var elements = Form.getElements(form); + for (var i = 0; i < elements.length; i++) { + var element = elements[i]; + if (element.type != 'hidden' && !element.disabled) { + Field.activate(element); + break; + } + } + }, + + reset: function(form) { + $(form).reset(); + } +} + +Form.Element = { + serialize: function(element) { + var element = $(element); + var method = element.tagName.toLowerCase(); + var parameter = Form.Element.Serializers[method](element); + + if (parameter) + return encodeURIComponent(parameter[0]) + '=' + + encodeURIComponent(parameter[1]); + }, + + getValue: function(element) { + var element = $(element); + var method = element.tagName.toLowerCase(); + var parameter = Form.Element.Serializers[method](element); + + if (parameter) + return parameter[1]; + } +} + +Form.Element.Serializers = { + input: function(element) { + switch (element.type.toLowerCase()) { + case 'submit': + case 'hidden': + case 'password': + case 'text': + return Form.Element.Serializers.textarea(element); + case 'checkbox': + case 'radio': + return Form.Element.Serializers.inputSelector(element); + } + return false; + }, + + inputSelector: function(element) { + if (element.checked) + return [element.name, element.value]; + }, + + textarea: function(element) { + return [element.name, element.value]; + }, + + select: function(element) { + var value = ''; + if (element.type == 'select-one') { + var index = element.selectedIndex; + if (index >= 0) + value = element.options[index].value || element.options[index].text; + } else { + value = new Array(); + for (var i = 0; i < element.length; i++) { + var opt = element.options[i]; + if (opt.selected) + value.push(opt.value || opt.text); + } + } + return [element.name, value]; + } +} + +/*--------------------------------------------------------------------------*/ + +var $F = Form.Element.getValue; + +/*--------------------------------------------------------------------------*/ + +Abstract.TimedObserver = function() {} +Abstract.TimedObserver.prototype = { + initialize: function(element, frequency, callback) { + this.frequency = frequency; + this.element = $(element); + this.callback = callback; + + this.lastValue = this.getValue(); + this.registerCallback(); + }, + + registerCallback: function() { + setInterval(this.onTimerEvent.bind(this), this.frequency * 1000); + }, + + onTimerEvent: function() { + var value = this.getValue(); + if (this.lastValue != value) { + this.callback(this.element, value); + this.lastValue = value; + } + } +} + +Form.Element.Observer = Class.create(); +Form.Element.Observer.prototype = Object.extend(new Abstract.TimedObserver(), { + getValue: function() { + return Form.Element.getValue(this.element); + } +}); + +Form.Observer = Class.create(); +Form.Observer.prototype = Object.extend(new Abstract.TimedObserver(), { + getValue: function() { + return Form.serialize(this.element); + } +}); + +/*--------------------------------------------------------------------------*/ + +Abstract.EventObserver = function() {} +Abstract.EventObserver.prototype = { + initialize: function(element, callback) { + this.element = $(element); + this.callback = callback; + + this.lastValue = this.getValue(); + if (this.element.tagName.toLowerCase() == 'form') + this.registerFormCallbacks(); + else + this.registerCallback(this.element); + }, + + onElementEvent: function() { + var value = this.getValue(); + if (this.lastValue != value) { + this.callback(this.element, value); + this.lastValue = value; + } + }, + + registerFormCallbacks: function() { + var elements = Form.getElements(this.element); + for (var i = 0; i < elements.length; i++) + this.registerCallback(elements[i]); + }, + + registerCallback: function(element) { + if (element.type) { + switch (element.type.toLowerCase()) { + case 'checkbox': + case 'radio': + element.target = this; + element.prev_onclick = element.onclick || Prototype.emptyFunction; + element.onclick = function() { + this.prev_onclick(); + this.target.onElementEvent(); + } + break; + case 'password': + case 'text': + case 'textarea': + case 'select-one': + case 'select-multiple': + element.target = this; + element.prev_onchange = element.onchange || Prototype.emptyFunction; + element.onchange = function() { + this.prev_onchange(); + this.target.onElementEvent(); + } + break; + } + } + } +} + +Form.Element.EventObserver = Class.create(); +Form.Element.EventObserver.prototype = Object.extend(new Abstract.EventObserver(), { + getValue: function() { + return Form.Element.getValue(this.element); + } +}); + +Form.EventObserver = Class.create(); +Form.EventObserver.prototype = Object.extend(new Abstract.EventObserver(), { + getValue: function() { + return Form.serialize(this.element); + } +}); + + +if (!window.Event) { + var Event = new Object(); +} + +Object.extend(Event, { + KEY_BACKSPACE: 8, + KEY_TAB: 9, + KEY_RETURN: 13, + KEY_ESC: 27, + KEY_LEFT: 37, + KEY_UP: 38, + KEY_RIGHT: 39, + KEY_DOWN: 40, + KEY_DELETE: 46, + + element: function(event) { + return event.target || event.srcElement; + }, + + isLeftClick: function(event) { + return (((event.which) && (event.which == 1)) || + ((event.button) && (event.button == 1))); + }, + + pointerX: function(event) { + return event.pageX || (event.clientX + + (document.documentElement.scrollLeft || document.body.scrollLeft)); + }, + + pointerY: function(event) { + return event.pageY || (event.clientY + + (document.documentElement.scrollTop || document.body.scrollTop)); + }, + + stop: function(event) { + if (event.preventDefault) { + event.preventDefault(); + event.stopPropagation(); + } else { + event.returnValue = false; + } + }, + + // find the first node with the given tagName, starting from the + // node the event was triggered on; traverses the DOM upwards + findElement: function(event, tagName) { + var element = Event.element(event); + while (element.parentNode && (!element.tagName || + (element.tagName.toUpperCase() != tagName.toUpperCase()))) + element = element.parentNode; + return element; + }, + + observers: false, + + _observeAndCache: function(element, name, observer, useCapture) { + if (!this.observers) this.observers = []; + if (element.addEventListener) { + this.observers.push([element, name, observer, useCapture]); + element.addEventListener(name, observer, useCapture); + } else if (element.attachEvent) { + this.observers.push([element, name, observer, useCapture]); + element.attachEvent('on' + name, observer); + } + }, + + unloadCache: function() { + if (!Event.observers) return; + for (var i = 0; i < Event.observers.length; i++) { + Event.stopObserving.apply(this, Event.observers[i]); + Event.observers[i][0] = null; + } + Event.observers = false; + }, + + observe: function(element, name, observer, useCapture) { + var element = $(element); + useCapture = useCapture || false; + + if (name == 'keypress' && + ((/Konqueror|Safari|KHTML/.test(navigator.userAgent)) + || element.attachEvent)) + name = 'keydown'; + + this._observeAndCache(element, name, observer, useCapture); + }, + + stopObserving: function(element, name, observer, useCapture) { + var element = $(element); + useCapture = useCapture || false; + + if (name == 'keypress' && + ((/Konqueror|Safari|KHTML/.test(navigator.userAgent)) + || element.detachEvent)) + name = 'keydown'; + + if (element.removeEventListener) { + element.removeEventListener(name, observer, useCapture); + } else if (element.detachEvent) { + element.detachEvent('on' + name, observer); + } + } +}); + +/* prevent memory leaks in IE */ +Event.observe(window, 'unload', Event.unloadCache, false); + +var Position = { + + // set to true if needed, warning: firefox performance problems + // NOT neeeded for page scrolling, only if draggable contained in + // scrollable elements + includeScrollOffsets: false, + + // must be called before calling withinIncludingScrolloffset, every time the + // page is scrolled + prepare: function() { + this.deltaX = window.pageXOffset + || document.documentElement.scrollLeft + || document.body.scrollLeft + || 0; + this.deltaY = window.pageYOffset + || document.documentElement.scrollTop + || document.body.scrollTop + || 0; + }, + + realOffset: function(element) { + var valueT = 0, valueL = 0; + do { + valueT += element.scrollTop || 0; + valueL += element.scrollLeft || 0; + element = element.parentNode; + } while (element); + return [valueL, valueT]; + }, + + cumulativeOffset: function(element) { + var valueT = 0, valueL = 0; + do { + valueT += element.offsetTop || 0; + valueL += element.offsetLeft || 0; + element = element.offsetParent; + } while (element); + return [valueL, valueT]; + }, + + // caches x/y coordinate pair to use with overlap + within: function(element, x, y) { + if (this.includeScrollOffsets) + return this.withinIncludingScrolloffsets(element, x, y); + this.xcomp = x; + this.ycomp = y; + this.offset = this.cumulativeOffset(element); + + return (y >= this.offset[1] && + y < this.offset[1] + element.offsetHeight && + x >= this.offset[0] && + x < this.offset[0] + element.offsetWidth); + }, + + withinIncludingScrolloffsets: function(element, x, y) { + var offsetcache = this.realOffset(element); + + this.xcomp = x + offsetcache[0] - this.deltaX; + this.ycomp = y + offsetcache[1] - this.deltaY; + this.offset = this.cumulativeOffset(element); + + return (this.ycomp >= this.offset[1] && + this.ycomp < this.offset[1] + element.offsetHeight && + this.xcomp >= this.offset[0] && + this.xcomp < this.offset[0] + element.offsetWidth); + }, + + // within must be called directly before + overlap: function(mode, element) { + if (!mode) return 0; + if (mode == 'vertical') + return ((this.offset[1] + element.offsetHeight) - this.ycomp) / + element.offsetHeight; + if (mode == 'horizontal') + return ((this.offset[0] + element.offsetWidth) - this.xcomp) / + element.offsetWidth; + }, + + clone: function(source, target) { + source = $(source); + target = $(target); + target.style.position = 'absolute'; + var offsets = this.cumulativeOffset(source); + target.style.top = offsets[1] + 'px'; + target.style.left = offsets[0] + 'px'; + target.style.width = source.offsetWidth + 'px'; + target.style.height = source.offsetHeight + 'px'; + } +} diff --git a/webcit/static/readallmess3_24x.gif b/webcit/static/readallmess3_24x.gif new file mode 100644 index 000000000..fb2479ac7 Binary files /dev/null and b/webcit/static/readallmess3_24x.gif differ diff --git a/webcit/static/redo.gif b/webcit/static/redo.gif new file mode 100644 index 000000000..b51d6b842 Binary files /dev/null and b/webcit/static/redo.gif differ diff --git a/webcit/static/right_just.gif b/webcit/static/right_just.gif new file mode 100644 index 000000000..a3204d97e Binary files /dev/null and b/webcit/static/right_just.gif differ diff --git a/webcit/static/robots.txt b/webcit/static/robots.txt new file mode 100644 index 000000000..8fe8379dc --- /dev/null +++ b/webcit/static/robots.txt @@ -0,0 +1,3 @@ +# WebCit deals exclusively in dynamic content and cannot be spidered. Go away. +User-agent: * +Disallow: / diff --git a/webcit/static/roombanner.html b/webcit/static/roombanner.html new file mode 100644 index 000000000..63a209bcb --- /dev/null +++ b/webcit/static/roombanner.html @@ -0,0 +1,24 @@ + + + + + + + + + +
    + + + + + + + + + + + new of messages +
    + +
    diff --git a/webcit/static/rte.css b/webcit/static/rte.css new file mode 100644 index 000000000..b56d74bab --- /dev/null +++ b/webcit/static/rte.css @@ -0,0 +1,36 @@ +.rteImage { + background: #D3D3D3; + border: 1px solid #D3D3D3; + cursor: pointer; + cursor: hand; +} + +.rteImageRaised { + background: #D3D3D3; + border: 1px outset; + cursor: pointer; + cursor: hand; +} + +.rteImageLowered { + background: #D3D3D3; + border: 1px inset; + cursor: pointer; + cursor: hand; +} + +.rteVertSep { + margin: 0 4px 0 4px; +} + +.rteBack { + background: #D3D3D3; + border: 1px outset; + letter-spacing: 0; + padding: 2px; +} + +.rteBack tbody tr td, .rteBack tr td { + background: #D3D3D3; + padding: 0; +} diff --git a/webcit/static/savecontact_16x.gif b/webcit/static/savecontact_16x.gif new file mode 100644 index 000000000..df79ac22e Binary files /dev/null and b/webcit/static/savecontact_16x.gif differ diff --git a/webcit/static/savecontact_32x.gif b/webcit/static/savecontact_32x.gif new file mode 100644 index 000000000..c1513cf46 Binary files /dev/null and b/webcit/static/savecontact_32x.gif differ diff --git a/webcit/static/savecontact_48x.gif b/webcit/static/savecontact_48x.gif new file mode 100644 index 000000000..d8caa0bdc Binary files /dev/null and b/webcit/static/savecontact_48x.gif differ diff --git a/webcit/static/scriptaculous.js b/webcit/static/scriptaculous.js new file mode 100644 index 000000000..ea1ad40ae --- /dev/null +++ b/webcit/static/scriptaculous.js @@ -0,0 +1,26 @@ +var Scriptaculous = { + Version: '1.5_pre4', + require: function(libraryName) { + // inserting via DOM fails in Safari 2.0, so brute force approach + document.write(''); + }, + load: function() { + if((typeof Prototype=='undefined') || + parseFloat(Prototype.Version.split(".")[0] + "." + + Prototype.Version.split(".")[1]) < 1.4) + throw("script.aculo.us requires the Prototype JavaScript framework >= 1.4.0"); + var scriptTags = document.getElementsByTagName("script"); + for(var i=0;i + diff --git a/webcit/static/underline.gif b/webcit/static/underline.gif new file mode 100644 index 000000000..db8fb4ffd Binary files /dev/null and b/webcit/static/underline.gif differ diff --git a/webcit/static/undo.gif b/webcit/static/undo.gif new file mode 100644 index 000000000..555d0db96 Binary files /dev/null and b/webcit/static/undo.gif differ diff --git a/webcit/static/ungoto2_24x.gif b/webcit/static/ungoto2_24x.gif new file mode 100644 index 000000000..dae0abbff Binary files /dev/null and b/webcit/static/ungoto2_24x.gif differ diff --git a/webcit/static/unittest.js b/webcit/static/unittest.js new file mode 100644 index 000000000..b53d65ed7 --- /dev/null +++ b/webcit/static/unittest.js @@ -0,0 +1,381 @@ +// Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) +// (c) 2005 Jon Tirsen (http://www.tirsen.com) +// (c) 2005 Michael Schuerig (http://www.schuerig.de/michael/) +// +// Permission is hereby granted, free of charge, to any person obtaining +// a copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to +// permit persons to whom the Software is furnished to do so, subject to +// the following conditions: +// +// The above copyright notice and this permission notice shall be +// included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +// experimental, Firefox-only +Event.simulateMouse = function(element, eventName) { + var options = Object.extend({ + pointerX: 0, + pointerY: 0, + buttons: 0 + }, arguments[2] || {}); + var oEvent = document.createEvent("MouseEvents"); + oEvent.initMouseEvent(eventName, true, true, document.defaultView, + options.buttons, options.pointerX, options.pointerY, options.pointerX, options.pointerY, + false, false, false, false, 0, $(element)); + + if(this.mark) Element.remove(this.mark); + this.mark = document.createElement('div'); + this.mark.appendChild(document.createTextNode(" ")); + document.body.appendChild(this.mark); + this.mark.style.position = 'absolute'; + this.mark.style.top = options.pointerY + "px"; + this.mark.style.left = options.pointerX + "px"; + this.mark.style.width = "5px"; + this.mark.style.height = "5px;"; + this.mark.style.borderTop = "1px solid red;" + this.mark.style.borderLeft = "1px solid red;" + + if(this.step) + alert('['+new Date().getTime().toString()+'] '+eventName+'/'+Test.Unit.inspect(options)); + + $(element).dispatchEvent(oEvent); +}; + +// Note: Due to a fix in Firefox 1.0.5/6 that probably fixed "too much", this doesn't work in 1.0.6 or DP2. +// You need to downgrade to 1.0.4 for now to get this working +// See https://bugzilla.mozilla.org/show_bug.cgi?id=289940 for the fix that fixed too much +Event.simulateKey = function(element, eventName) { + var options = Object.extend({ + ctrlKey: false, + altKey: false, + shiftKey: false, + metaKey: false, + keyCode: 0, + charCode: 0 + }, arguments[2] || {}); + + var oEvent = document.createEvent("KeyEvents"); + oEvent.initKeyEvent(eventName, true, true, window, + options.ctrlKey, options.altKey, options.shiftKey, options.metaKey, + options.keyCode, options.charCode ); + $(element).dispatchEvent(oEvent); +}; + +Event.simulateKeys = function(element, command) { + for(var i=0; i ' + + (typeof obj[property] == "string" ? + '"' + obj[property] + '"' : + obj[property])); + } + + return ("'" + obj + "' #" + typeof obj + + ": {" + info.join(", ") + "}"); +} + +Test.Unit.Logger = Class.create(); +Test.Unit.Logger.prototype = { + initialize: function(log) { + this.log = $(log); + if (this.log) { + this._createLogTable(); + } + }, + start: function(testName) { + if (!this.log) return; + this.testName = testName; + this.lastLogLine = document.createElement('tr'); + this.statusCell = document.createElement('td'); + this.nameCell = document.createElement('td'); + this.nameCell.appendChild(document.createTextNode(testName)); + this.messageCell = document.createElement('td'); + this.lastLogLine.appendChild(this.statusCell); + this.lastLogLine.appendChild(this.nameCell); + this.lastLogLine.appendChild(this.messageCell); + this.loglines.appendChild(this.lastLogLine); + }, + finish: function(status, summary) { + if (!this.log) return; + this.lastLogLine.className = status; + this.statusCell.innerHTML = status; + this.messageCell.innerHTML = this._toHTML(summary); + }, + message: function(message) { + if (!this.log) return; + this.messageCell.innerHTML = this._toHTML(message); + }, + summary: function(summary) { + if (!this.log) return; + this.logsummary.innerHTML = this._toHTML(summary); + }, + _createLogTable: function() { + this.log.innerHTML = + '
    ' + + '' + + '' + + '' + + '
    StatusTestMessage
    '; + this.logsummary = $('logsummary') + this.loglines = $('loglines'); + }, + _toHTML: function(txt) { + return txt.escapeHTML().replace(/\n/g,"
    "); + } +} + +Test.Unit.Runner = Class.create(); +Test.Unit.Runner.prototype = { + initialize: function(testcases) { + this.options = Object.extend({ + testLog: 'testlog' + }, arguments[1] || {}); + this.options.resultsURL = this.parseResultsURLQueryParameter(); + if (this.options.testLog) { + this.options.testLog = $(this.options.testLog) || null; + } + if(this.options.tests) { + this.tests = []; + for(var i = 0; i < this.options.tests.length; i++) { + if(/^test/.test(this.options.tests[i])) { + this.tests.push(new Test.Unit.Testcase(this.options.tests[i], testcases[this.options.tests[i]], testcases["setup"], testcases["teardown"])); + } + } + } else { + if (this.options.test) { + this.tests = [new Test.Unit.Testcase(this.options.test, testcases[this.options.test], testcases["setup"], testcases["teardown"])]; + } else { + this.tests = []; + for(var testcase in testcases) { + if(/^test/.test(testcase)) { + this.tests.push(new Test.Unit.Testcase(testcase, testcases[testcase], testcases["setup"], testcases["teardown"])); + } + } + } + } + this.currentTest = 0; + this.logger = new Test.Unit.Logger(this.options.testLog); + setTimeout(this.runTests.bind(this), 1000); + }, + parseResultsURLQueryParameter: function() { + return window.location.search.parseQuery()["resultsURL"]; + }, + // Returns: + // "ERROR" if there was an error, + // "FAILURE" if there was a failure, or + // "SUCCESS" if there was neither + getResult: function() { + var hasFailure = false; + for(var i=0;i 0) { + return "ERROR"; + } + if (this.tests[i].failures > 0) { + hasFailure = true; + } + } + if (hasFailure) { + return "FAILURE"; + } else { + return "SUCCESS"; + } + }, + postResults: function() { + if (this.options.resultsURL) { + new Ajax.Request(this.options.resultsURL, + { method: 'get', parameters: 'result=' + this.getResult(), asynchronous: false }); + } + }, + runTests: function() { + var test = this.tests[this.currentTest]; + if (!test) { + // finished! + this.postResults(); + this.logger.summary(this.summary()); + return; + } + if(!test.isWaiting) { + this.logger.start(test.name); + } + test.run(); + if(test.isWaiting) { + this.logger.message("Waiting for " + test.timeToWait + "ms"); + setTimeout(this.runTests.bind(this), test.timeToWait || 1000); + } else { + this.logger.finish(test.status(), test.summary()); + this.currentTest++; + // tail recursive, hopefully the browser will skip the stackframe + this.runTests(); + } + }, + summary: function() { + var assertions = 0; + var failures = 0; + var errors = 0; + var messages = []; + for(var i=0;i 0) return 'failed'; + if (this.errors > 0) return 'error'; + return 'passed'; + }, + assert: function(expression) { + var message = arguments[1] || 'assert: got "' + Test.Unit.inspect(expression) + '"'; + try { expression ? this.pass() : + this.fail(message); } + catch(e) { this.error(e); } + }, + assertEqual: function(expected, actual) { + var message = arguments[2] || "assertEqual"; + try { (expected == actual) ? this.pass() : + this.fail(message + ': expected "' + Test.Unit.inspect(expected) + + '", actual "' + Test.Unit.inspect(actual) + '"'); } + catch(e) { this.error(e); } + }, + assertNotEqual: function(expected, actual) { + var message = arguments[2] || "assertNotEqual"; + try { (expected != actual) ? this.pass() : + this.fail(message + ': got "' + Test.Unit.inspect(actual) + '"'); } + catch(e) { this.error(e); } + }, + assertNull: function(obj) { + var message = arguments[1] || 'assertNull' + try { (obj==null) ? this.pass() : + this.fail(message + ': got "' + Test.Unit.inspect(obj) + '"'); } + catch(e) { this.error(e); } + }, + assertHidden: function(element) { + var message = arguments[1] || 'assertHidden'; + this.assertEqual("none", element.style.display, message); + }, + assertNotNull: function(object) { + var message = arguments[1] || 'assertNotNull'; + this.assert(object != null, message); + }, + assertInstanceOf: function(expected, actual) { + var message = arguments[2] || 'assertInstanceOf'; + try { + (actual instanceof expected) ? this.pass() : + this.fail(message + ": object was not an instance of the expected type"); } + catch(e) { this.error(e); } + }, + assertNotInstanceOf: function(expected, actual) { + var message = arguments[2] || 'assertNotInstanceOf'; + try { + !(actual instanceof expected) ? this.pass() : + this.fail(message + ": object was an instance of the not expected type"); } + catch(e) { this.error(e); } + }, + _isVisible: function(element) { + element = $(element); + if(!element.parentNode) return true; + this.assertNotNull(element); + if(element.style && Element.getStyle(element, 'display') == 'none') + return false; + + return this._isVisible(element.parentNode); + }, + assertNotVisible: function(element) { + this.assert(!this._isVisible(element), Test.Unit.inspect(element) + " was not hidden and didn't have a hidden parent either. " + ("" || arguments[1])); + }, + assertVisible: function(element) { + this.assert(this._isVisible(element), Test.Unit.inspect(element) + " was not visible. " + ("" || arguments[1])); + } +} + +Test.Unit.Testcase = Class.create(); +Object.extend(Object.extend(Test.Unit.Testcase.prototype, Test.Unit.Assertions.prototype), { + initialize: function(name, test, setup, teardown) { + Test.Unit.Assertions.prototype.initialize.bind(this)(); + this.name = name; + this.test = test || function() {}; + this.setup = setup || function() {}; + this.teardown = teardown || function() {}; + this.isWaiting = false; + this.timeToWait = 1000; + }, + wait: function(time, nextPart) { + this.isWaiting = true; + this.test = nextPart; + this.timeToWait = time; + }, + run: function() { + try { + try { + if (!this.isWaiting) this.setup.bind(this)(); + this.isWaiting = false; + this.test.bind(this)(); + } finally { + if(!this.isWaiting) { + this.teardown.bind(this)(); + } + } + } + catch(e) { this.error(e); } + } +}); \ No newline at end of file diff --git a/webcit/static/up_pointer.gif b/webcit/static/up_pointer.gif new file mode 100644 index 000000000..83e5e61ba Binary files /dev/null and b/webcit/static/up_pointer.gif differ diff --git a/webcit/static/usermanag_32x.gif b/webcit/static/usermanag_32x.gif new file mode 100644 index 000000000..9fa9dd459 Binary files /dev/null and b/webcit/static/usermanag_32x.gif differ diff --git a/webcit/static/usermanag_48x.gif b/webcit/static/usermanag_48x.gif new file mode 100644 index 000000000..0876d61ad Binary files /dev/null and b/webcit/static/usermanag_48x.gif differ diff --git a/webcit/static/util.js b/webcit/static/util.js new file mode 100644 index 000000000..9170a95d3 --- /dev/null +++ b/webcit/static/util.js @@ -0,0 +1,429 @@ +// small but works-for-me stuff for testing javascripts +// not ready for "production" use + +Object.inspect = function(obj) { + var info = []; + + if(typeof obj in ["string","number"]) { + return obj; + } else { + for(property in obj) + if(typeof obj[property]!="function") + info.push(property + ' => ' + + (typeof obj[property] == "string" ? + '"' + obj[property] + '"' : + obj[property])); + } + + return ("'" + obj + "' #" + typeof obj + + ": {" + info.join(", ") + "}"); +} + +// borrowed from http://www.schuerig.de/michael/javascript/stdext.js +// Copyright (c) 2005, Michael Schuerig, michael@schuerig.de + +Array.flatten = function(array, excludeUndefined) { + if (excludeUndefined === undefined) { + excludeUndefined = false; + } + var result = []; + var len = array.length; + for (var i = 0; i < len; i++) { + var el = array[i]; + if (el instanceof Array) { + var flat = el.flatten(excludeUndefined); + result = result.concat(flat); + } else if (!excludeUndefined || el != undefined) { + result.push(el); + } + } + return result; +}; + +if (!Array.prototype.flatten) { + Array.prototype.flatten = function(excludeUndefined) { + return Array.flatten(this, excludeUndefined); + } +} + +/*--------------------------------------------------------------------------*/ + +var Builder = { + node: function(elementName) { + var element = document.createElement('div'); + element.innerHTML = + "<" + elementName + ">"; + + // attributes (or text) + if(arguments[1]) + if(this._isStringOrNumber(arguments[1]) || + (arguments[1] instanceof Array)) { + this._children(element.firstChild, arguments[1]); + } else { + var attrs = this._attributes(arguments[1]); + if(attrs.length) + element.innerHTML = "<" +elementName + " " + + attrs + ">"; + } + + // text, or array of children + if(arguments[2]) + this._children(element.firstChild, arguments[2]); + + return element.firstChild; + }, + _text: function(text) { + return document.createTextNode(text); + }, + _attributes: function(attributes) { + var attrs = []; + for(attribute in attributes) + attrs.push((attribute=='className' ? 'class' : attribute) + + '="' + attributes[attribute].toString().escapeHTML() + '"'); + return attrs.join(" "); + }, + _children: function(element, children) { + if(typeof children=='object') { // array can hold nodes and text + children = children.flatten(); + for(var i = 0; i 0 ? ' ' : '') + arguments[i]; + } + }, + + // returns true if all given classes exist in said element + has: function(element) { + element = $(element); + if(!element || !element.className) return false; + var regEx; + for(var i = 1; i < arguments.length; i++) { + if((typeof arguments[i] == 'object') && + (arguments[i].constructor == Array)) { + for(var j = 0; j < arguments[i].length; j++) { + regEx = new RegExp("(^|\\s)" + arguments[i][j] + "(\\s|$)"); + if(!regEx.test(element.className)) return false; + } + } else { + regEx = new RegExp("(^|\\s)" + arguments[i] + "(\\s|$)"); + if(!regEx.test(element.className)) return false; + } + } + return true; + }, + + // expects arrays of strings and/or strings as optional paramters + // Element.Class.has_any(element, ['classA','classB','classC'], 'classD') + has_any: function(element) { + element = $(element); + if(!element || !element.className) return false; + var regEx; + for(var i = 1; i < arguments.length; i++) { + if((typeof arguments[i] == 'object') && + (arguments[i].constructor == Array)) { + for(var j = 0; j < arguments[i].length; j++) { + regEx = new RegExp("(^|\\s)" + arguments[i][j] + "(\\s|$)"); + if(regEx.test(element.className)) return true; + } + } else { + regEx = new RegExp("(^|\\s)" + arguments[i] + "(\\s|$)"); + if(regEx.test(element.className)) return true; + } + } + return false; + }, + + childrenWith: function(element, className) { + var children = $(element).getElementsByTagName('*'); + var elements = new Array(); + + for (var i = 0; i < children.length; i++) { + if (Element.Class.has(children[i], className)) { + elements.push(children[i]); + break; + } + } + + return elements; + } +} + +/*--------------------------------------------------------------------------*/ + +String.prototype.parseQuery = function() { + var str = this; + if(str.substring(0,1) == '?') { + str = this.substring(1); + } + var result = {}; + var pairs = str.split('&'); + for(var i = 0; i < pairs.length; i++) { + var pair = pairs[i].split('='); + result[pair[0]] = pair[1]; + } + return result; +} \ No newline at end of file diff --git a/webcit/static/viewcontacts_16x.gif b/webcit/static/viewcontacts_16x.gif new file mode 100644 index 000000000..880adbb59 Binary files /dev/null and b/webcit/static/viewcontacts_16x.gif differ diff --git a/webcit/static/viewcontacts_24x.gif b/webcit/static/viewcontacts_24x.gif new file mode 100644 index 000000000..d04eff96c Binary files /dev/null and b/webcit/static/viewcontacts_24x.gif differ diff --git a/webcit/static/viewcontacts_32x.gif b/webcit/static/viewcontacts_32x.gif new file mode 100644 index 000000000..c6dee063e Binary files /dev/null and b/webcit/static/viewcontacts_32x.gif differ diff --git a/webcit/static/viewcontacts_48x.gif b/webcit/static/viewcontacts_48x.gif new file mode 100644 index 000000000..b6495a9e3 Binary files /dev/null and b/webcit/static/viewcontacts_48x.gif differ diff --git a/webcit/static/viewnotes_24x.gif b/webcit/static/viewnotes_24x.gif new file mode 100644 index 000000000..cba60b0c0 Binary files /dev/null and b/webcit/static/viewnotes_24x.gif differ diff --git a/webcit/static/wclib.js b/webcit/static/wclib.js new file mode 100644 index 000000000..d0c3ca4a6 --- /dev/null +++ b/webcit/static/wclib.js @@ -0,0 +1,48 @@ +// +// $Id: wclib.js,v 625.2 2005/09/18 04:04:32 ajc Exp $ +// +// JavaScript function library for WebCit +// +// + + +// +// This code handles the popups for instant messages. +// + +var browserType; + +if (document.layers) {browserType = "nn4"} +if (document.all) {browserType = "ie"} +if (window.navigator.userAgent.toLowerCase().match("gecko")) { + browserType= "gecko" +} + +function hide_page_popup() { + if (browserType == "gecko" ) + document.poppedLayer = eval('document.getElementById(\'page_popup\')'); + else if (browserType == "ie") + document.poppedLayer = eval('document.all[\'page_popup\']'); + else + document.poppedLayer = eval('document.layers[\'`page_popup\']'); + + document.poppedLayer.style.visibility = "hidden"; +} + +function hide_imsg_popup() { + if (browserType == "gecko" ) + document.poppedLayer = eval('document.getElementById(\'important_message\')'); + else if (browserType == "ie") + document.poppedLayer = eval('document.all[\'important_message\']'); + else + document.poppedLayer = eval('document.layers[\'`important_message\']'); + + document.poppedLayer.style.visibility = "hidden"; +} + +// This function activates the ajax-powered recipient autocompleters on the message entry screen. +function activate_entmsg_autocompleters() { + new Ajax.Autocompleter('cc_id', 'cc_name_choices', '/cc_autocomplete', {} ); + new Ajax.Autocompleter('bcc_id', 'bcc_name_choices', '/bcc_autocomplete', {} ); + new Ajax.Autocompleter('recp_id', 'recp_name_choices', '/recp_autocomplete', {} ); +} diff --git a/webcit/static/webcit.css b/webcit/static/webcit.css new file mode 100644 index 000000000..6ffed576b --- /dev/null +++ b/webcit/static/webcit.css @@ -0,0 +1,543 @@ + diff --git a/webcit/static/week_view.gif b/webcit/static/week_view.gif new file mode 100644 index 000000000..462130633 Binary files /dev/null and b/webcit/static/week_view.gif differ diff --git a/webcit/static/white.gif b/webcit/static/white.gif new file mode 100644 index 000000000..6a62ac8b2 Binary files /dev/null and b/webcit/static/white.gif differ diff --git a/webcit/static/xml_button.gif b/webcit/static/xml_button.gif new file mode 100644 index 000000000..ecb095754 Binary files /dev/null and b/webcit/static/xml_button.gif differ diff --git a/webcit/static/year_view.gif b/webcit/static/year_view.gif new file mode 100644 index 000000000..17272f9f5 Binary files /dev/null and b/webcit/static/year_view.gif differ diff --git a/webcit/tiny_mce/CVS/Entries b/webcit/tiny_mce/CVS/Entries new file mode 100644 index 000000000..deddd2a59 --- /dev/null +++ b/webcit/tiny_mce/CVS/Entries @@ -0,0 +1,9 @@ +D/langs//// +D/plugins//// +D/themes//// +D/utils//// +/blank.htm/1.1/Tue Aug 30 18:35:56 2005// +/license.txt/1.1/Tue Aug 30 18:35:56 2005// +/tiny_mce.js/1.2/Wed Sep 28 03:47:26 2005// +/tiny_mce_popup.js/1.2/Wed Sep 28 03:47:26 2005// +/tiny_mce_src.js/1.2/Wed Sep 28 03:47:26 2005// diff --git a/webcit/tiny_mce/CVS/Repository b/webcit/tiny_mce/CVS/Repository new file mode 100644 index 000000000..e5d6ca66f --- /dev/null +++ b/webcit/tiny_mce/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce diff --git a/webcit/tiny_mce/CVS/Root b/webcit/tiny_mce/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/blank.htm b/webcit/tiny_mce/blank.htm new file mode 100644 index 000000000..5a4a5a57c --- /dev/null +++ b/webcit/tiny_mce/blank.htm @@ -0,0 +1,9 @@ + + + blank_page + + + + + + diff --git a/webcit/tiny_mce/langs/CVS/Entries b/webcit/tiny_mce/langs/CVS/Entries new file mode 100644 index 000000000..359123450 --- /dev/null +++ b/webcit/tiny_mce/langs/CVS/Entries @@ -0,0 +1,28 @@ +/ar.js/1.1/Tue Aug 30 18:35:56 2005// +/ca.js/1.1/Tue Aug 30 18:35:56 2005// +/el.js/1.1/Sun Sep 11 12:53:00 2005// +/es.js/1.1/Tue Aug 30 18:35:56 2005// +/fa.js/1.1/Tue Aug 30 18:35:56 2005// +/fi.js/1.1/Sun Sep 11 12:53:00 2005// +/fr.js/1.1/Tue Aug 30 18:35:56 2005// +/fr_ca.js/1.1/Tue Aug 30 18:35:56 2005// +/it.js/1.1/Tue Aug 30 18:35:56 2005// +/ja.js/1.1/Tue Aug 30 18:35:56 2005// +/ko.js/1.1/Sun Sep 11 12:53:00 2005// +/nl.js/1.1/Tue Aug 30 18:35:56 2005// +/pl.js/1.1/Tue Aug 30 18:35:56 2005// +/pt.js/1.1/Tue Aug 30 18:35:56 2005// +/pt_br.js/1.1/Tue Aug 30 18:35:56 2005// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// +/ru.js/1.1/Sun Sep 11 12:53:00 2005// +/sv.js/1.1/Sun Sep 11 12:53:00 2005// +/th.js/1.1/Sun Sep 11 12:53:00 2005// +/zh_cn.js/1.1/Sun Sep 11 12:53:00 2005// +/cs.js/1.2/Wed Sep 28 03:47:26 2005// +/da.js/1.2/Wed Sep 28 03:47:26 2005// +/de.js/1.2/Wed Sep 28 03:47:26 2005// +/en.js/1.2/Wed Sep 28 03:47:26 2005// +/he.js/1.2/Wed Sep 28 03:47:26 2005// +/hu.js/1.2/Wed Sep 28 03:47:26 2005// +/no.js/1.2/Wed Sep 28 03:47:26 2005// +D diff --git a/webcit/tiny_mce/langs/CVS/Repository b/webcit/tiny_mce/langs/CVS/Repository new file mode 100644 index 000000000..337322850 --- /dev/null +++ b/webcit/tiny_mce/langs/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/langs diff --git a/webcit/tiny_mce/langs/CVS/Root b/webcit/tiny_mce/langs/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/langs/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/langs/ar.js b/webcit/tiny_mce/langs/ar.js new file mode 100644 index 000000000..e2e36d202 --- /dev/null +++ b/webcit/tiny_mce/langs/ar.js @@ -0,0 +1,43 @@ +// arabic lang variables +// Toolbar Items and Context Menu + +tinyMCE.addToLang('',{ +dir : 'rtl', +bold_desc : 'غامق', +italic_desc : 'مائل', +underline_desc : 'تسطير', +striketrough_desc : 'يتوسطه خط', +justifyleft_desc : 'محاذاة إلى اليسار', +justifycenter_desc : 'توسيط', +justifyright_desc : 'محاذاة إلى اليمين', +justifyfull_desc : 'ضبط', +bullist_desc : 'تعداد نقطي', +numlist_desc : 'تعداد رقمي', +outdent_desc : 'إنقاص المسافة البادئة', +indent_desc : 'زيادة المسافة البادئة', +undo_desc : 'تراجع', +redo_desc : 'إعادة', +link_desc : 'إدراج/تحرير رابط', +unlink_desc : 'إزالة رابط', +image_desc : 'إدراج/تحرير صورة', +cleanup_desc : 'Cleanup messy code', +focus_alert : 'A editor instance must be focused before using this command.', +edit_confirm : 'Do you want to use the WYSIWYG mode for this textarea?', +insert_link_title : 'إدراج/تحرير رابط', +insert : 'إدراج', +update : 'إدراج', +cancel : 'ألغي', +insert_link_url : 'رابط URL', +insert_link_target : 'الهدف', +insert_link_target_same : 'نفس الإطار', +insert_link_target_blank : 'إطار جديد (_blank)', +insert_image_title : 'إدراج/تحرير صورة', +insert_image_src : 'صورة URL', +insert_image_alt : 'الوصف', +help_desc : 'المساعدة', +bold_img : 'bold.gif', +italic_img : 'italic.gif', +underline_img : "underline.gif", +clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/webcit/tiny_mce/langs/ca.js b/webcit/tiny_mce/langs/ca.js new file mode 100644 index 000000000..3f956f64a --- /dev/null +++ b/webcit/tiny_mce/langs/ca.js @@ -0,0 +1,41 @@ +// CA lang variables by Marc Bria + +tinyMCE.addToLang('',{ +bold_desc : 'Negreta', +italic_desc : 'Cursiva', +underline_desc : 'Subratllat', +striketrough_desc : 'Tatxat', +justifyleft_desc : 'Alinear a l´esquerra', +justifycenter_desc : 'Alinear al centre', +justifyright_desc : 'Alinear a la dreta', +justifyfull_desc : 'Alinear justificat', +bullist_desc : 'Llista sense ordenar', +numlist_desc : 'Llista ordenada', +outdent_desc : 'Disminueix sangria', +indent_desc : 'Augmentar sangria', +undo_desc : 'Desfer', +redo_desc : 'Refer', +link_desc : 'Insertar enllaç', +unlink_desc : 'Treure enllaç', +image_desc : 'Insertar imatge', +cleanup_desc : 'Netejar codi', +focus_alert : 'L´àrea de l´editor ha de ser enfocada abans d´executar aquesta comanda.', +edit_confirm : 'Vols utilitzar el modus WYSIWYG per a aquesta àrea de text?', +insert_link_title : 'Insertar/editar enllaç', +insert : 'Insertar', +update : 'Insertar', +cancel : 'Cancel·lar', +insert_link_url : 'Adreça de l´enllaç', +insert_link_target : 'Destí', +insert_link_target_same : 'Obrir enllaç a la mateixa finestra', +insert_link_target_blank : 'Obrir enllaç en una finestra nova', +insert_image_title : 'Insertar/editar imatge', +insert_image_src : 'URL de l´imatge', +insert_image_alt : 'Descripció de la imatge', +help_desc : 'Ajut', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copiar/Tallar/Enganxar no és possible amb Mozilla i Firefox.\nVols més informació sobre aquest problema de seguretat?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/webcit/tiny_mce/langs/cs.js b/webcit/tiny_mce/langs/cs.js new file mode 100644 index 000000000..ce3ce9d8b --- /dev/null +++ b/webcit/tiny_mce/langs/cs.js @@ -0,0 +1,52 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * @author Michi + * @author Pavel Novák + * @author Josef Klimosz + * + * $Id: cs.js,v 1.2 2005/09/26 18:00:52 ajc Exp $ + */ + + +tinyMCE.addToLang('',{ +bold_desc : 'Tučně', +italic_desc : 'Kurzíva', +underline_desc : 'Podtržení', +striketrough_desc : 'PřeÅ¡krtnutí', +justifyleft_desc : 'Zarovnání vlevo', +justifycenter_desc : 'Zarovnání na střed', +justifyright_desc : 'Zarovnání vpravo', +justifyfull_desc : 'Zarovnání do bloku', +bullist_desc : 'Seznam s odrážkami', +numlist_desc : 'Číslovaný seznam', +outdent_desc : 'Snížit odsazení', +indent_desc : 'Zvýšit odsazení', +undo_desc : 'Zpět', +redo_desc : 'Znovu', +link_desc : 'Vložit odkaz', +unlink_desc : 'ZruÅ¡it odkaz', +image_desc : 'Vložit obrázek', +cleanup_desc : 'Vyčistit kód', +focus_alert : 'Před použitím tohoto příkazu musí být kurzor v okně editoru.', +edit_confirm : 'Chcete použít WYSIWYG editaci pro tento text?', +insert_link_title : 'Vložit/upravit odkaz', +insert : 'Vložit', +update : 'Změnit', +cancel : 'ZruÅ¡it', +insert_link_url : 'URL odkazu', +insert_link_target : 'Cíl', +insert_link_target_same : 'Otevřít odkaz ve stejném okně', +insert_link_target_blank : 'Otevřít odkaz v novém okně', +insert_image_title : 'Vložit/upravit obrázek', +insert_image_src : 'URL obrázku', +insert_image_alt : 'Popis obrázku', +help_desc : 'Nápověda', +bold_img : 'bold.gif', +italic_img : 'italic.gif', +underline_img : "underline.gif", +clipboard_msg : 'Funkce Kopírovat/vyjmout/vložit nejsou použitelné v Mozille a Firefoxu.\nChcete více informací o tomto problému?', +popup_blocked : 'Omlouváme se, ale blokovač vyskakovacích oken neumožnil otevřít okno, které zprostředkovává funkčnost aplikace. Musíte vypnout blokování vyskakovacích oken na tomto webu, abyste využili plné funkčnosti.' +}); + diff --git a/webcit/tiny_mce/langs/da.js b/webcit/tiny_mce/langs/da.js new file mode 100644 index 000000000..653bae269 --- /dev/null +++ b/webcit/tiny_mce/langs/da.js @@ -0,0 +1,41 @@ +// DK lang variables contributed by Jan Moelgaard + +tinyMCE.addToLang('',{ +bold_desc : 'Fed', +italic_desc : 'Kursiv', +underline_desc : 'Understreg', +striketrough_desc : 'Gennemstreg', +justifyleft_desc : 'Venstrestil', +justifycenter_desc : 'Centrer', +justifyright_desc : 'Højrestil', +justifyfull_desc : 'Lige margin', +bullist_desc : 'Liste med bullets', +numlist_desc : 'Liste med tal', +outdent_desc : 'Ryk til venstre', +indent_desc : 'Ryk til højre', +undo_desc : 'Fortryd', +redo_desc : 'Gør igen', +link_desc : 'Indsæt link', +unlink_desc : 'Fjern link', +image_desc : 'Indsæt billede', +cleanup_desc : 'Ryd op i koden', +focus_alert : 'Der skal sættes fokus på sessionen, før man kan bruge denne kommando', +edit_confirm : 'Vil du bruge WYSIWYG mode til dette textområde?', +insert_link_title : 'Indsæt eller rediger link', +insert : 'Indsæt', +update : 'Opdater', +cancel : 'Fortryd', +insert_link_url : 'Linkadresse', +insert_link_target : 'Destination', +insert_link_target_same : 'Luk linket op i samme vindue', +insert_link_target_blank : 'Luk linket op i et nyt vindue', +insert_image_title : 'Indsæt / rediger billede', +insert_image_src : 'Billedets adresse', +insert_image_alt : 'Alternativ tekst', +help_desc : 'Hjælp', +bold_img : 'bold_de_se.gif', +italic_img : 'italic_de_se.gif', +underline_img : "underline.gif", +clipboard_msg : 'Kopier/Klip/Indsæt virker ikke i Mozilla og Firefox.\nVil du vide mere om dette?', +popup_blocked : 'Beklager, men din browser blokerer for pop-up-vinduer. Skal du bruge denne editor fuldt ud, skal pop-up-vinduer være tilladt.' +}); diff --git a/webcit/tiny_mce/langs/de.js b/webcit/tiny_mce/langs/de.js new file mode 100644 index 000000000..62e5a9624 --- /dev/null +++ b/webcit/tiny_mce/langs/de.js @@ -0,0 +1,41 @@ +// DE lang variables + +tinyMCE.addToLang('',{ +bold_desc : 'Fett', +italic_desc : 'Kursiv', +underline_desc : 'Unterstrichen', +striketrough_desc : 'Durchgestrichen', +justifyleft_desc : 'Linksbündig', +justifycenter_desc : 'Zentriert', +justifyright_desc : 'Rechtsbündig', +justifyfull_desc : 'Blocksatz', +bullist_desc : 'Aufzählungszeichen', +numlist_desc : 'Nummerierung', +outdent_desc : 'Einzug verkleinern', +indent_desc : 'Einzug vergrößern', +undo_desc : 'Rückgängig', +redo_desc : 'Wiederholen', +link_desc : 'Link einfügen/bearbeiten', +unlink_desc : 'Link entfernen', +image_desc : 'Bild einfügen/bearbeiten', +cleanup_desc : 'Unsauberen Code aufräumen', +focus_alert : 'Klicken Sie bitte vor Benutzung dieses Befehls auf das Editorfenster.', +edit_confirm : 'Wollen Sie den WYSIWYG-Modus für dieses Textfeld benutzen?', +insert_link_title : 'Link einfügen/bearbeiten', +insert : 'Einfügen', +update : 'Aktualisieren', +cancel : 'Abbrechen', +insert_link_url : 'Link-URL', +insert_link_target : 'Ziel', +insert_link_target_same : 'Link in gleichen Fester öffnen', +insert_link_target_blank : 'Link in neuen Fenster öffnen', +insert_image_title : 'Bild einfügen/bearbeiten', +insert_image_src : 'Bild-URL', +insert_image_alt : 'Bild-Beschreibung', +help_desc : 'Hilfe', +bold_img : "bold_de_se.gif", +italic_img : "italic_de_se.gif", +underline_img : "underline.gif", +clipboard_msg : 'Kopieren/Ausschneiden/Einfügen ist in Mozilla und Firefox nicht verfügbar.\nWollen Sie mehr Informationen darüber erhalten?', +popup_blocked : 'Ihr Popup-Blocker hat verhindert, dass das Bearbeitungsfenster des Editors geöffnet werden konnte. Bitte deaktivieren Sie den Popup-Schutz für diese Seite.' +}); diff --git a/webcit/tiny_mce/langs/el.js b/webcit/tiny_mce/langs/el.js new file mode 100644 index 000000000..d41b6199c --- /dev/null +++ b/webcit/tiny_mce/langs/el.js @@ -0,0 +1,41 @@ +// Greek lang variables by Jacaranda Bill + +tinyMCE.addToLang('',{ +bold_desc : '¸íôïíç ãñáöÞ', +italic_desc : 'ÐëÜãéá ãñáöÞ', +underline_desc : 'ÕðïãñÜììéóç', +striketrough_desc : 'ÄéáêñéôÞ äéáãñáöÞ', +justifyleft_desc : 'Óôïß÷éóç áñéóôåñÜ', +justifycenter_desc : 'Óôïß÷éóç óôï êÝíôñï', +justifyright_desc : 'Óôïß÷éóç äåîéÜ', +justifyfull_desc : 'ÐëÞñçò óôïß÷éóç', +bullist_desc : 'Êïõêêßäåò', +numlist_desc : 'Áñßèìçóç', +outdent_desc : 'Ìåßùóç åóï÷Þò', +indent_desc : 'Áýîçóç åóï÷Þò', +undo_desc : 'Áíáßñåóç', +redo_desc : 'Áêýñùóç áíáßñåóçò', +link_desc : 'Äçìéïõñãßá/Äéüñèùóç õðåñ-óýíäåóçò', +unlink_desc : 'ÄéáãñáöÞ õðåñ-óýíäåóçò', +image_desc : 'ÅéóáãùãÞ/Äéüñèùóç åéêüíáò', +cleanup_desc : 'ÊáèÜñéóìá êþäéêá', +focus_alert : 'ÐñÝðåé íá õðÜñ÷åé åíåñãüò êÜðïéïò åðåîåñãáóôÞò êåéìÝíïõ ðñéí íá ÷ñçóéìïðïéÞóåôå áõôÞ ôçí åíôïëÞ.', +edit_confirm : 'ÈÝëåôå íá ÷ñçóéìïðïéÞóåôå ôçí êáôÜóôáóç WYSIWYG ãéá ôï óõãêåêñéìÝíï ðëáßóéï êåéìÝíïõ;', +insert_link_title : 'Äçìéïõñãßá/Äéüñèùóç õðåñ-óýíäåóçò', +insert : 'ÅéóáãùãÞ', +update : 'ÅéóáãùãÞ', +cancel : 'Áêýñùóç', +insert_link_url : 'Äéåýèõíóç', +insert_link_target : 'Óôü÷ïò', +insert_link_target_same : '¢íïéãìá ôçò äéåýèõíóçò óôï ßäéï ðáñÜèõñï', +insert_link_target_blank : '¢íïéãìá ôçò äéåýèõíóçò óå íÝï ðáñÜèõñï', +insert_image_title : 'ÅéóáãùãÞ/Äéüñèùóç åéêüíáò', +insert_image_src : 'Äéåýèõíóç', +insert_image_alt : 'ÐåñéãñáöÞ', +help_desc : 'ÂïÞèåéá', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/webcit/tiny_mce/langs/en.js b/webcit/tiny_mce/langs/en.js new file mode 100644 index 000000000..c8929e361 --- /dev/null +++ b/webcit/tiny_mce/langs/en.js @@ -0,0 +1,41 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +bold_desc : 'Bold (Ctrl+B)', +italic_desc : 'Italic (Ctrl+I)', +underline_desc : 'Underline (Ctrl+U)', +striketrough_desc : 'Striketrough', +justifyleft_desc : 'Align left', +justifycenter_desc : 'Align center', +justifyright_desc : 'Align right', +justifyfull_desc : 'Align full', +bullist_desc : 'Unordered list', +numlist_desc : 'Ordered list', +outdent_desc : 'Outdent', +indent_desc : 'Indent', +undo_desc : 'Undo (Ctrl+Z)', +redo_desc : 'Redo (Ctrl+Y)', +link_desc : 'Insert/edit link', +unlink_desc : 'Unlink', +image_desc : 'Insert/edit image', +cleanup_desc : 'Cleanup messy code', +focus_alert : 'A editor instance must be focused before using this command.', +edit_confirm : 'Do you want to use the WYSIWYG mode for this textarea?', +insert_link_title : 'Insert/edit link', +insert : 'Insert', +update : 'Update', +cancel : 'Cancel', +insert_link_url : 'Link URL', +insert_link_target : 'Target', +insert_link_target_same : 'Open link in the same window', +insert_link_target_blank : 'Open link in a new window', +insert_image_title : 'Insert/edit image', +insert_image_src : 'Image URL', +insert_image_alt : 'Image description', +help_desc : 'Help', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/webcit/tiny_mce/langs/es.js b/webcit/tiny_mce/langs/es.js new file mode 100644 index 000000000..f8572ce50 --- /dev/null +++ b/webcit/tiny_mce/langs/es.js @@ -0,0 +1,41 @@ +// ES lang variables by Alvaro Velasco + +tinyMCE.addToLang('',{ +bold_desc : 'Negrita', +italic_desc : 'Cursiva', +underline_desc : 'Subrayado', +striketrough_desc : 'Tachado', +justifyleft_desc : 'Alinear a la izquierda', +justifycenter_desc : 'Alinear al centro', +justifyright_desc : 'Alinear a la derecha', +justifyfull_desc : 'Alinear justificado', +bullist_desc : 'Lista sin ordenar', +numlist_desc : 'Lista ordenada', +outdent_desc : 'Disminuye sangria', +indent_desc : 'Aumentar sangria', +undo_desc : 'Deshacer', +redo_desc : 'Rehacer', +link_desc : 'Insertar enlace', +unlink_desc : 'Quitar enlace', +image_desc : 'Insertar imagen', +cleanup_desc : 'Limpiar codigo', +focus_alert : 'Una instanacia del editor debe ser enfocada antes de usar este comando.', +edit_confirm : 'Quieres usar el modo WYSIWYG para esta area de texto?', +insert_link_title : 'Insertar/editar enlace', +insert : 'Insertar', +update : 'Insertar', +cancel : 'Cancelar', +insert_link_url : 'Direccion del enlace', +insert_link_target : 'Destino', +insert_link_target_same : 'Abrir enlace en la misma ventana', +insert_link_target_blank : 'Abrir enlace en una ventana nueva', +insert_image_title : 'Insertar/editar imagen', +insert_image_src : 'URL de la imagen', +insert_image_alt : 'Descripcion de la imagen', +help_desc : 'Ayuda', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/webcit/tiny_mce/langs/fa.js b/webcit/tiny_mce/langs/fa.js new file mode 100644 index 000000000..46623ad73 --- /dev/null +++ b/webcit/tiny_mce/langs/fa.js @@ -0,0 +1,46 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +dir : 'rtl', +bold_desc : '????', +italic_desc : '????', +underline_desc : '??? ?? ???', +striketrough_desc : '?? ?????', +justifyleft_desc : '?? ???', +justifycenter_desc : '??? ???', +justifyright_desc : '???? ???', +justifyfull_desc : '????? ???', +bullist_desc : '????', +numlist_desc : '???? ????', +outdent_desc : '???? ?????', +indent_desc : '?????? ?????', +undo_desc : '????????', +redo_desc : '????????', +link_desc : '??? ? ?????? ????', +unlink_desc : '??? ????', +image_desc : '??? ? ?????? ???', +cleanup_desc : '??????? ??', +focus_alert : 'A editor instance must be focused before using this command.', +edit_confirm : 'Do you want to use the WYSIWYG mode for this textarea?', +insert_link_title : '??? ? ?????? ????', +insert : ' ????? ', +update : ' ????? ', +cancel : ' ?????? ', +insert_link_url : 'URL ????', +insert_link_target : '????', +insert_link_target_same : '???? ?? ?? ???? ???? ??? ??', +insert_link_target_blank : '???? ?? ?? ???? ???? ??? ??', +insert_image_title : '??? ? ?????? ???', +insert_image_src : 'URL ???', +insert_image_alt : '?????', +help_desc : '??????', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/webcit/tiny_mce/langs/fi.js b/webcit/tiny_mce/langs/fi.js new file mode 100644 index 000000000..3220ec44e --- /dev/null +++ b/webcit/tiny_mce/langs/fi.js @@ -0,0 +1,41 @@ +// FI lang variables by Urho Konttori from Absolutions + +tinyMCE.addToLang('',{ +bold_desc : 'Lihavoi', +italic_desc : 'Kursivoi', +underline_desc : 'Alleviivaa', +striketrough_desc : 'Yliviivaa', +justifyleft_desc : 'Vasen tasaus', +justifycenter_desc : 'Keskitys', +justifyright_desc : 'Oikea tasaus', +justifyfull_desc : 'Pakotettu tasaus', +bullist_desc : 'Numeroimaton lista', +numlist_desc : 'Numeroitu lista', +outdent_desc : 'Poista sisennyt', +indent_desc : 'Sisennys', +undo_desc : 'Peruuta', +redo_desc : 'Suorita uudelleen', +link_desc : 'Lisää linkki', +unlink_desc : 'Poista linkki', +image_desc : 'Lisää kuva', +cleanup_desc : 'Siisti koodi', +focus_alert : 'Teksinkäsittelyalueella täytyy olla fokus ennen tämän komennon suorittamista.', +edit_confirm : 'Haluatko käyttää WYSIWYG moodia tähän tekstialueeseen?', +insert_link_title : 'Lisää/muokkaa linkkiä', +insert : 'Lisää', +update : 'Lisää', +cancel : 'Peruuta', +insert_link_url : 'Linkin URL', +insert_link_target : 'Kohde', +insert_link_target_same : 'Avaa linkki samassa ikkunassa', +insert_link_target_blank : 'Avaa linkki uudessa ikkunassa', +insert_image_title : 'Lisää/muokkaa kuvaa', +insert_image_src : 'Kuvan URL', +insert_image_alt : 'Kuvan selite', +help_desc : 'Apua', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/webcit/tiny_mce/langs/fr.js b/webcit/tiny_mce/langs/fr.js new file mode 100644 index 000000000..d68ebff2c --- /dev/null +++ b/webcit/tiny_mce/langs/fr.js @@ -0,0 +1,42 @@ +// FR lang variables by Pat Boens +// Modify by Laurent Dran + +tinyMCE.addToLang('',{ +bold_desc : 'Gras', +italic_desc : 'Italique', +underline_desc : 'Souligné', +striketrough_desc : 'Barré', +justifyleft_desc : 'Aligner à gauche', +justifycenter_desc : 'Aligner au centre', +justifyright_desc : 'Aligner à droite', +justifyfull_desc : 'Justifier', +bullist_desc : 'Liste désordonnée (puces)', +numlist_desc : 'Liste ordonnée (numéros)', +outdent_desc : 'Diminuer le retrait', +indent_desc : 'Augmenter le retrait', +undo_desc : 'Défaire', +redo_desc : 'Refaire', +link_desc : 'Insérer/éditer le lien', +unlink_desc : 'Enlever le lien', +image_desc : 'Insérer/éditer une image', +cleanup_desc : 'Nettoyer le code', +focus_alert : 'Une instance de l\éditeur doit avoir le focus avant d\'utiliser cette commande.', +edit_confirm : 'Voulez-vous utiliser le mode WYSIWYG pour cette zone de texte (textarea) ?', +insert_link_title : 'Insertion/édition lien', +insert : 'Insertion', +update : 'Insertion', +cancel : 'Annuler', +insert_link_url : 'Lien URL', +insert_link_target : 'Cible', +insert_link_target_same : 'Ouvrir le lien dans la même fenêtre', +insert_link_target_blank : 'Ouvrir le lien dans une nouvelle fenêtre', +insert_image_title : 'Insertion/édition d\'une image', +insert_image_src : 'URL de l\'image', +insert_image_alt : 'Description de l\'image', +help_desc : 'Aide', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copier/Couper/Coller ne sont pas disponibles pour Mozilla et Firefox.\nVoulez vous plus d\'informatios à ce sujet?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/webcit/tiny_mce/langs/fr_ca.js b/webcit/tiny_mce/langs/fr_ca.js new file mode 100644 index 000000000..4fd6e908f --- /dev/null +++ b/webcit/tiny_mce/langs/fr_ca.js @@ -0,0 +1,40 @@ +// Canadian French lang variables by Virtuelcom + +tinyMCE.addToLang('',{ +bold_desc : 'Gras', +italic_desc : 'Italique', +underline_desc : 'Souligner', +striketrough_desc : 'Barrer', +justifyleft_desc : 'Aligner à gauche', +justifycenter_desc : 'Aligner au centre', +justifyright_desc : 'Aligner à droite', +justifyfull_desc : 'Justifier', +bullist_desc : 'Puces', +numlist_desc : 'Numérotation', +outdent_desc : 'Réduire le retrait', +indent_desc : 'Augmenter le retrait', +undo_desc : 'Annuler la dernière action', +redo_desc : 'Refaire la dernière action annulée', +link_desc : 'Insérer un hyperlien', +unlink_desc : 'Supprimer un hyperlien', +image_desc : 'Insérer une image', +cleanup_desc : 'Nettoyer le code', +focus_alert : 'Un éditeur doit être sélectionné pour utiliser cette fonction.', +edit_confirm : 'Désirez-vous utiliser l\'éditeur pour modifier cette zone?', +insert_link_title : 'Insérer / Modifier un hyperlien', +insert : 'Insérer', +update : 'Insérer', +cancel : 'Annuler', +insert_link_url : 'Adresse URL', +insert_link_target : 'Destination', +insert_link_target_same : 'Ouvrir dans la même fenêtre', +insert_link_target_blank : 'Ouvrir dans une nouvelle fenêtre', +insert_image_title : 'Insérer / Modifier une image', +insert_image_src : 'Adresse de l\'image', +insert_image_alt : 'Description de l\'image', +help_desc : 'Aide', +bold_img : "bold_fr.gif", +italic_img : "italic.gif", +underline_img : "underline_fr.gif", +clipboard_msg : 'Copier/Couper/Coller ne sont pas disponibles dans Mozilla et FireFox.\nDésirez-vous consulter de plus amples informations à ce sujet?' +}); diff --git a/webcit/tiny_mce/langs/he.js b/webcit/tiny_mce/langs/he.js new file mode 100644 index 000000000..7d04ea885 --- /dev/null +++ b/webcit/tiny_mce/langs/he.js @@ -0,0 +1,41 @@ +// HE lang variables by Liron Newman, http://eesh.net + +tinyMCE.addToLang('',{ +bold_desc : 'îåãâù', +italic_desc : 'ðèåé', +underline_desc : '÷å úçúé', +striketrough_desc : '÷å çåöä', +justifyleft_desc : 'éùø ìùîàì', +justifycenter_desc : 'éùø ìîøëæ', +justifyright_desc : 'éùø ìéîéï', +justifyfull_desc : 'éùø ìùðé äöããéí', +bullist_desc : 'øùéîä çñøú ñãø', +numlist_desc : 'øùéîä îñåãøú', +outdent_desc : 'ä÷èï ëðéñä', +indent_desc : 'äâãì ëðéñä', +undo_desc : 'áèì', +redo_desc : 'áöò ùåá', +link_desc : 'äëðñ/òøåê ÷éùåø', +unlink_desc : 'áèì ÷éùåø', +image_desc : 'äëðñ/òøåê úîåðä', +cleanup_desc : 'ð÷ä ÷åã îáåìâï', +focus_alert : 'éù ìáçåø áùãä òøéëä ìôðé ùðéúï ìäùúîù áô÷åãä æå.', +edit_confirm : 'äàí áøöåðê ìäùúîù áîöá òøéëä òùéøä (WYSIWYG) òáåø ùãä è÷ñè æä?', +insert_link_title : 'äëðñ/òøåê ÷éùåø', +insert : 'äëðñ', +update : 'òãëï', +cancel : 'áèì', +insert_link_url : 'ëúåáú (URL) ä÷éùåø', +insert_link_target : 'éòã', +insert_link_target_same : 'ôúç àú ä÷éùåø áàåúå çìåï', +insert_link_target_blank : 'ôúç àú ä÷éùåø áçìåï çãù', +insert_image_title : 'äëðñ/òøåê úîåðä', +insert_image_src : 'ëúåáú (URL) äúîåðä', +insert_image_alt : 'úéàåø äúîåðä', +help_desc : 'òæøä', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'ôòåìåú äòú÷ä/âæéøä/äãá÷ä àéðï ðúîëåú úçú Mozilla å-Firefox.\näàí áøöåðê ì÷áì îéãò ðåñó àåãåú ðåùà æä?', +popup_blocked : 'ñìéçä, àê ùîðå ìá ëé çåñí äçìåðåú ä÷åôöéí ùìê çñí çìåï ùîäååä çì÷ îäééùåí. úöèøê ìáèì àú çñéîú äçìåðåú ä÷åôöéí áàúø æä ëãé ìðöì ëìé æä áîìåàå.' +}); diff --git a/webcit/tiny_mce/langs/hu.js b/webcit/tiny_mce/langs/hu.js new file mode 100644 index 000000000..aebcc3695 --- /dev/null +++ b/webcit/tiny_mce/langs/hu.js @@ -0,0 +1,41 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +bold_desc : 'Félkövér', +italic_desc : 'Dölt', +underline_desc : 'Aláhúzott', +striketrough_desc : 'Áthúzott', +justifyleft_desc : 'Balra igazított', +justifycenter_desc : 'Középre igazított', +justifyright_desc : 'Jobbra igazított', +justifyfull_desc : 'Telejesen igazított', +bullist_desc : 'Rendezetlen lista', +numlist_desc : 'Rendezett lista', +outdent_desc : 'Kihúzás', +indent_desc : 'Behúzás', +undo_desc : 'visszavonás', +redo_desc : 'Ismét', +link_desc : 'Link hozzáadása/szerkesztése', +unlink_desc : 'Link megszüntetése', +image_desc : 'Kép beillesztése/szerkesztése', +cleanup_desc : 'Rendetlen kód tisztítása', +focus_alert : 'Egy szerkesztõablakra muszáj fókuszálni ennek a parancsnak a használata elõtt.', +edit_confirm : 'Szeretnéd használni ezt a WYSIWYG módot ehhez a szövegmezõhöz?', +insert_link_title : 'Link beillesztése/szerkesztése', +insert : 'Beillesztés', +update : 'Frissítés', +cancel : 'Mégse', +insert_link_url : 'Link URL', +insert_link_target : 'Cél', +insert_link_target_same : 'Link megnyitása ugyanabban az ablakban', +insert_link_target_blank : 'Link megnyitása új ablakban', +insert_image_title : 'Kép beillesztése/szerkesztése', +insert_image_src : 'Kép URL', +insert_image_alt : 'Kép leírása', +help_desc : 'Súgó', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'A Másolás/Kivágás/Beillesztés nem elérhetõ Mozillában and Firefox-ban.\nSzeretnél több információt errõl a problémáról?', +popup_blocked : 'Sajnálom, de észrevettem, hogy a popup-blokkolód letiltotta az ablakot, ami biztosítja ennek az alkalmazásnak a mûködését. Meg kell szüntetned a popup-blokkolást ennek a segédeszköznek a teljes használatához.' +}); diff --git a/webcit/tiny_mce/langs/it.js b/webcit/tiny_mce/langs/it.js new file mode 100644 index 000000000..07659d0ad --- /dev/null +++ b/webcit/tiny_mce/langs/it.js @@ -0,0 +1,41 @@ +// Variabili lingua IT - fabrix.xm@lombardiacom.it + +tinyMCE.addToLang('',{ +bold_desc : 'Grassetto', +italic_desc : 'Corsivo', +underline_desc : 'Sottolineato', +striketrough_desc : 'Barrato', +justifyleft_desc : 'Allinea a sinistra', +justifycenter_desc : 'Allinea centrato', +justifyright_desc : 'Allinea a destra', +justifyfull_desc : 'Giustifica', +bullist_desc : 'Lista non ordinata', +numlist_desc : 'Lista ordinata', +outdent_desc : 'Rientra', +indent_desc : 'Indenta', +undo_desc : 'Annulla', +redo_desc : 'Ripeti', +link_desc : 'Inserisci link', +unlink_desc : 'Elimina link', +image_desc : 'Inserisci immagine', +cleanup_desc : 'Pulisci il codice', +focus_alert : 'Una istanza dell\' editor deve essere selezionata prima di usare questo comando.', +edit_confirm : 'Vuoi usare la modalit\u00E0 WYSIWYG per questa textarea?', +insert_link_title : 'Inserisci/modifica link', +insert : 'Inserisci', +update : 'Inserisci', +cancel : 'Cancella', +insert_link_url : 'Link URL', +insert_link_target : 'Target', +insert_link_target_same : 'Apri il link nella stessa finestra', +insert_link_target_blank : 'Apri il link in una nuova finestra', +insert_image_title : 'Inserisci/modifica immagine', +insert_image_src : 'URL immagine', +insert_image_alt : 'Descrizione dell\'immagine', +help_desc : 'Guida', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/webcit/tiny_mce/langs/ja.js b/webcit/tiny_mce/langs/ja.js new file mode 100644 index 000000000..1300ee4fc --- /dev/null +++ b/webcit/tiny_mce/langs/ja.js @@ -0,0 +1,41 @@ +// JP lang variables + +tinyMCE.addToLang('',{ +bold_desc : '$BB@;z(B', +italic_desc : '$BC@~(B', +justifyleft_desc : '$B:85M$a(B', +justifycenter_desc : '$BCf1{9g$o$;(B', +justifyright_desc : '$B1&5M$a(B', +justifyfull_desc : '$B9TB7$((B', +bullist_desc : '$B2U>r=q(B', +numlist_desc : '$BHV9fIU$-2U>r=q(B', +outdent_desc : '$B;z>e$2(B', +indent_desc : '$B;z2<$2(B', +undo_desc : '$B$d$j$J$*$7(B', +redo_desc : '$B:Fe$N$I$3$+$rA*Br$9$kI,MW$,$"$j$^$9!#(B', +edit_confirm : 'WYSIWYG$B%b!<%I$G$3$N%F%-%9%H%(%j%"$rJT=8$7$^$9$+!)(B', +insert_link_title : '$B%j%s%/$NA^F~(B/$BJT=8(B', +insert : '$BA^F~(B', +update : '$BA^F~(B', +cancel : '$BC$7(B', +insert_link_url : '$B%j%s%/@h(BURL', +insert_link_target : '$B%?!<%2%C%H(B', +insert_link_target_same : '$BF1$8Ak$G%j%s%/$r3+$/(B', +insert_link_target_blank : '$B?7$7$$Ak$G%j%s%/$r3+$/(B', +insert_image_title : '$B2hA|$NA^F~(B/$BJT=8(B', +insert_image_src : '$B2hA|$N(BURL', +insert_image_alt : '$B2hA|$N@bL@(B', +help_desc : '$B%X%k%W(B', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/webcit/tiny_mce/langs/ko.js b/webcit/tiny_mce/langs/ko.js new file mode 100644 index 000000000..3ac5b4d4b --- /dev/null +++ b/webcit/tiny_mce/langs/ko.js @@ -0,0 +1,40 @@ +// KO lang variables by Setzer Gabbiani + +tinyMCE.addToLang('',{ +bold_desc : 'ÁøÇÏ°Ô', +italic_desc : '±â¿ïÀÓ', +underline_desc : '¹ØÁÙ', +striketrough_desc : '°¡·ÎÁÙ', +justifyleft_desc : '¿ÞÂÊ Á¤·Ä', +justifycenter_desc : '°¡¿îµ¥ Á¤·Ä', +justifyright_desc : '¿À¸¥ÂÊ Á¤·Ä', +justifyfull_desc : '¾çÂÊ Á¤·Ä', +bullist_desc : '¸ñÂ÷ ¸Å±â±â', +numlist_desc : '¹øÈ£ ¸Å±â±â', +outdent_desc : '³»¾î¾²±â', +indent_desc : 'µé¿©¾²±â', +undo_desc : '½ÇÇàÃë¼Ò', +redo_desc : 'Àç½ÇÇà', +link_desc : '¸µÅ© ³Ö±â/°íÄ¡±â', +unlink_desc : '¸µÅ© ÇØÁ¦', +image_desc : '±×¸² ³Ö±â/°íÄ¡±â', +cleanup_desc : 'Äڵ带 ±ò²ûÇÏ°Ô', +focus_alert : 'ÀÌ ¸í·ÉÀ» ½ÇÇàÇϱâ Àü¿¡ ¹Ýµå½Ã ¿¡µðÅÍ ³»ÀÇ ¾îµò°¡¿¡ Ä¿¼­°¡ ÀÖ¾î¾ß ÇÕ´Ï´Ù.', +edit_confirm : 'ÀÌ ÅؽºÆ® ¹Ú½º¿¡¼­ HTML ¿¡µðÅ͸¦ »ç¿ëÇÏ±æ ¿øÇϽʴϱî?', +insert_link_title : '¸µÅ© ³Ö±â/°íÄ¡±â', +insert : '»ðÀÔ', +update : '»ðÀÔ', +cancel : 'Ãë¼Ò', +insert_link_url : 'URL ¸µÅ©', +insert_link_target : 'Ÿ°Ù', +insert_link_target_same : '°°Àº â¿¡¼­ ¸µÅ© ¿­±â', +insert_link_target_blank : '»õ â¿¡¼­ ¸µÅ© ¿­±â', +insert_image_title : '±×¸² ³Ö±â/°íÄ¡±â', +insert_image_src : '±×¸² URL', +insert_image_alt : '±×¸² ¼³¸í', +help_desc : 'µµ¿ò¸»', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/webcit/tiny_mce/langs/nl.js b/webcit/tiny_mce/langs/nl.js new file mode 100644 index 000000000..4e74875bb --- /dev/null +++ b/webcit/tiny_mce/langs/nl.js @@ -0,0 +1,41 @@ +// NL lang variables thanks to "Meint Post" + +tinyMCE.addToLang('',{ +bold_desc : 'Vet', +italic_desc : 'Schuin', +underline_desc : 'Onderstrepen', +striketrough_desc : 'Doorhalen', +justifyleft_desc : 'Links uitlijnen', +justifycenter_desc : 'Centreren', +justifyright_desc : 'Rechts uitlijnen', +justifyfull_desc : 'Volledig uitlijnen', +bullist_desc : 'Ongeordende lijst', +numlist_desc : 'Geordende lijst', +outdent_desc : 'Uitspringen', +indent_desc : 'Inspringen', +undo_desc : 'Ongedaan maken', +redo_desc : 'Opnieuw uitvoeren', +link_desc : 'Link invoegen', +unlink_desc : 'Link verwijderen', +image_desc : 'Afbeelding invoegen', +cleanup_desc : 'Slordige code verbeteren', +focus_alert : 'Verplaats de focus naar de editor voor het uitvoeren van dit commado.', +edit_confirm : 'Wilt u de WYSIWYG mode voor deze textarea gebruiken?', +insert_link_title : 'Link invoegen/bewerken', +insert : 'Invoegen', +update : 'Bewerken', +cancel : 'Afbreken', +insert_link_url : 'URL link', +insert_link_target : 'Bestemming', +insert_link_target_same : 'Open link in hetzelfde venster', +insert_link_target_blank : 'Open link in een nieuw venster', +insert_image_title : 'Afbeelding invoegen/bewerken', +insert_image_src : 'Afbeelding', +insert_image_alt : 'Beschrijving', +help_desc : 'Help', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/webcit/tiny_mce/langs/no.js b/webcit/tiny_mce/langs/no.js new file mode 100644 index 000000000..6bd4698a4 --- /dev/null +++ b/webcit/tiny_mce/langs/no.js @@ -0,0 +1,41 @@ +// NO lang variables made by Sten Aksel Heien, corr. by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +bold_desc : 'Fet', +italic_desc : 'Kursiv', +underline_desc : 'Understreking', +striketrough_desc : 'Gjennomstreking', +justifyleft_desc : 'Venstrestill', +justifycenter_desc : 'Sentrer', +justifyright_desc : 'Høyrestill', +justifyfull_desc : 'Blokkjustering', +bullist_desc : 'Punktliste', +numlist_desc : 'Nummerliste', +outdent_desc : 'Reduser innrykk', +indent_desc : 'Øk innrykk', +undo_desc : 'Angre', +redo_desc : 'Gjør om', +link_desc : 'Opprett/endre lenke', +unlink_desc : 'Fjern lenke', +image_desc : 'Sett inn/endre bilde', +cleanup_desc : 'Rens grisete kode', +focus_alert : 'Editoren må være i fokus før du benytter denne kommando.', +edit_confirm : 'Vil du benytte WYSIWYG editoren for dette tekstfelt?', +insert_link_title : 'Opprett/endre lenke', +insert : 'Sett inn', +update : 'Oppdater', +cancel : 'Avbryt', +insert_link_url : 'Lenkens URL', +insert_link_target : 'Vindu', +insert_link_target_same : 'Åpne i samme vindu', +insert_link_target_blank : 'Åpne i nytt vindu', +insert_image_title : 'Opprett/endre bilde', +insert_image_src : 'Bildets URL', +insert_image_alt : 'Bildets beskrivelse', +help_desc : 'Hjelp', +bold_img : 'bold_de_se.gif', +italic_img : 'italic_de_se.gif', +underline_img : 'underline.gif', +clipboard_msg : 'Klipp ut/Kopier/Lim inn fungerer ikke Mozilla og Firefox. Vil du vite mer om detta?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/webcit/tiny_mce/langs/pl.js b/webcit/tiny_mce/langs/pl.js new file mode 100644 index 000000000..6af396e91 --- /dev/null +++ b/webcit/tiny_mce/langs/pl.js @@ -0,0 +1,41 @@ +// PL lang variables + +tinyMCE.addToLang('',{ +bold_desc : 'Pogrubienie', +italic_desc : 'Kursywa', +underline_desc : 'Podkreslenie', +striketrough_desc : 'Przekreslenie', +justifyleft_desc : 'Otaczanie z lewej', +justifycenter_desc : 'Wysrodkowanie', +justifyright_desc : 'Otaczanie z prawej', +justifyfull_desc : 'Justowanie', +bullist_desc : 'Lista nie numerowana', +numlist_desc : 'Lista numerowana', +outdent_desc : 'Zmniejsz wciecie', +indent_desc : 'Zwieksz wciecie', +undo_desc : 'Cofnij', +redo_desc : 'Ponów', +link_desc : 'Wstaw/Edytuj link', +unlink_desc : 'Skasuj link', +image_desc : 'Wstaw/Edytuj obrazek', +cleanup_desc : 'Wyczysc niepotrzebny kod', +focus_alert : 'Musisz zaznaczyc cokolwiek przed uzyciem tej komendy.', +edit_confirm : 'Czy chcesz uzyc edytora WYSIWIG dla tego pola ?', +insert_link_title : 'Wstaw/Edytuj Link', +insert : 'Wstaw', +update : 'Zmien', +cancel : 'Wyjdz', +insert_link_url : 'Adres URL', +insert_link_target : 'Cel', +insert_link_target_same : 'Otwórz w tym samym oknie', +insert_link_target_blank : 'Otwórz w nowym oknie', +insert_image_title : 'Wstaw/Edytuj obrazek', +insert_image_src : 'Adres URL obrazka', +insert_image_alt : 'Opis obrazka', +help_desc : 'Pomoc', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Kopiowanie/Wycinanie/Wklejanie nie jest obslugiwane w przegladarkach Mozilla and Firefox.\nPotrzebujesz wiecej informacji na ten temat?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/webcit/tiny_mce/langs/pt.js b/webcit/tiny_mce/langs/pt.js new file mode 100644 index 000000000..72dd319bf --- /dev/null +++ b/webcit/tiny_mce/langs/pt.js @@ -0,0 +1,42 @@ +// PT lang variables + +tinyMCE.addToLang('',{ +bold_desc : 'Negrito', +italic_desc : 'Itálico', +underline_desc : 'Sublinhar', +striketrough_desc : 'Riscado', +justifyleft_desc : 'Alinhar á esquerda', +justifycenter_desc : 'Alinhar ao centro', +justifyright_desc : 'Alinhar á direita', +justifyfull_desc : 'Justificado', +bullist_desc : 'Lista não ordenada', +numlist_desc : 'Lista ordenada', +outdent_desc : 'Retirar indentação', +indent_desc : 'Indentar', +undo_desc : 'Desfazer', +redo_desc : 'Refazer', +link_desc : 'Inserir Hiperligação', +unlink_desc : 'Remover hiperligação', +image_desc : 'Inserir Referência a imagem externa', +object_desc : 'Inserir Objecto Multimédia da Galeria', +cleanup_desc : 'Limpeza de código', +focus_alert : 'Uma instância do editor deverá estar seleccionada antes de utilizar este comando.', +edit_confirm : 'Deseja utilizar o modo visual de edição para ezta área de texto?', +insert_link_title : 'Inserir/editar hiperligação', +insert : 'Inserir', +update : 'Actualizar', +cancel : 'Cancelar', +insert_link_url : 'URL de hiperligação', +insert_link_target : 'Destino', +insert_link_target_same : 'Abrir endereço na mesma janela', +insert_link_target_blank : 'Abrir endereço numa nova janela', +insert_image_title : 'Inserir/editar imagem', +insert_image_src : 'Endereço da imagem', +insert_image_alt : 'Descrição alt.', +help_desc : 'Ajuda', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copiar/Cortar/Colar não está disponível em Mozilla and Firefox.\nPretende obter mais informação acerca desta questão?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/webcit/tiny_mce/langs/pt_br.js b/webcit/tiny_mce/langs/pt_br.js new file mode 100644 index 000000000..75e68d412 --- /dev/null +++ b/webcit/tiny_mce/langs/pt_br.js @@ -0,0 +1,42 @@ +// PT lang variables + +tinyMCE.addToLang('',{ +bold_desc : 'Negrito', +italic_desc : 'Itálico', +underline_desc : 'Sublinhar', +striketrough_desc : 'Riscado', +justifyleft_desc : 'Alinhar à esquerda', +justifycenter_desc : 'Alinhar ao centro', +justifyright_desc : 'Alinhar à direita', +justifyfull_desc : 'Justificado', +bullist_desc : 'Lista não ordenada', +numlist_desc : 'Lista ordenada', +outdent_desc : 'Retirar indentação', +indent_desc : 'Indentar', +undo_desc : 'Desfazer', +redo_desc : 'Refazer', +link_desc : 'Inserir Hiperligação', +unlink_desc : 'Remover hiperligação', +image_desc : 'Inserir Referência a imagem externa', +object_desc : 'Inserir Objeto Multimídia da Galeria', +cleanup_desc : 'Limpeza de código', +focus_alert : 'Uma instância do editor deverá estar selecionada antes de utilizar este comando.', +edit_confirm : 'Deseja utilizar o modo visual de edição para ezta área de texto?', +insert_link_title : 'Inserir/editar hiperligação', +insert : 'Inserir', +update : 'Atualizar', +cancel : 'Cancelar', +insert_link_url : 'URL de hiperligação', +insert_link_target : 'Destino', +insert_link_target_same : 'Abrir endereço na mesma janela', +insert_link_target_blank : 'Abrir endereço numa nova janela', +insert_image_title : 'Inserir/editar imagem', +insert_image_src : 'Endereço da imagem', +insert_image_alt : 'Descrição alt.', +help_desc : 'Ajuda', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copiar/Cortar/Colar não está disponível no Mozilla e Firefox.\nPretende obter mais informação acerca desta questão?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/webcit/tiny_mce/langs/readme.txt b/webcit/tiny_mce/langs/readme.txt new file mode 100644 index 000000000..e23001b44 --- /dev/null +++ b/webcit/tiny_mce/langs/readme.txt @@ -0,0 +1,2 @@ +The language pack codes are based on ISO-639-2 +http://www.loc.gov/standards/iso639-2/englangn.html diff --git a/webcit/tiny_mce/langs/ru.js b/webcit/tiny_mce/langs/ru.js new file mode 100644 index 000000000..f517d387a --- /dev/null +++ b/webcit/tiny_mce/langs/ru.js @@ -0,0 +1,43 @@ +// Russian translation by Roman Filippov +// romanf@terrahost.ca +// www.hunox.ca + +tinyMCE.addToLang('',{ +bold_desc : 'Ïîëóæèðíûé', +italic_desc : 'Êóðñèâ', +underline_desc : 'Ïîä÷åðêèâàíèå', +striketrough_desc : 'Ïåðå÷åðêèâàíèå', +justifyleft_desc : 'Âûðâíèâàíèå âëåâî', +justifycenter_desc : 'Âûðâíèâàíèå ïî öåíòðó', +justifyright_desc : 'Âûðâíèâàíèå âïðàâî', +justifyfull_desc : 'Âûðâíèâàíèå ðàâíîìåðíî', +bullist_desc : 'Ìàðêèðîâàííûé ñïèñîê', +numlist_desc : 'Íóìåðîâàííûé ñïèñîê', +outdent_desc : 'Óìåíüøèòü îòñòóï', +indent_desc : 'Óâåëè÷èòü îòñïóò', +undo_desc : 'Îòìåíèòü', +redo_desc : 'Âåðíóòü', +link_desc : 'Âñòàâèòü/èçìåíèòü ññûëêó', +unlink_desc : 'Óáðàòü ññûëêó', +image_desc : 'Âñòàâèòü/èçìåíèòü èçîáðàæåíèå', +cleanup_desc : 'Âû÷èñòèòü ãðÿçíûé êîä', +focus_alert : 'Âû äîëæíû íàõîäèòñÿ â ïîëå ðåäàêòîðà ïåðåä èñïîëüçîâàíèåì äàííîé êîìàíäû.', +edit_confirm : 'Õîòèòå ëè Âû âîñïîëüçîâàòüñÿ WYSIWYG ðåäàêòîðîì äëÿ ýòîãî ïîëÿ ââîäà?', +insert_link_title : 'Âñòàâèòü/èçìåíèòü ññûëêó', +insert : 'Âñòàâèòü', +update : 'Âñòàâèòü', +cancel : 'Îòìåíèòü', +insert_link_url : 'Àäðåñ', +insert_link_target : 'Îòêðûòü â...:', +insert_link_target_same : 'òîì æå îêíå', +insert_link_target_blank : 'íîâîì îêíå', +insert_image_title : 'Âñòàâèòü/èçìåíèòü èçîáðàæåíèå', +insert_image_src : 'Àäðåñ', +insert_image_alt : 'Îïèñàíèå', +help_desc : 'Ïîìîùü', +bold_img : "bold_ru.gif", +italic_img : "italic_ru.gif", +underline_img : "underline_ru.gif", +clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/webcit/tiny_mce/langs/sv.js b/webcit/tiny_mce/langs/sv.js new file mode 100644 index 000000000..f07ffa858 --- /dev/null +++ b/webcit/tiny_mce/langs/sv.js @@ -0,0 +1,43 @@ +// SE lang variables + +tinyMCE.addToLang('',{ +bold_desc : 'Fet', +italic_desc : 'Kursiv', +underline_desc : 'Understruken', +striketrough_desc : 'Genomstruken', +justifyleft_desc : 'Vänsterjustera', +justifycenter_desc : 'Centrera', +justifyright_desc : 'Högerjustera', +justifyfull_desc : 'Kantjustera', +bullist_desc : 'Punktlista', +numlist_desc : 'Nummerlista', +outdent_desc : 'Utdrag', +indent_desc : 'Indrag', +undo_desc : 'Ångra', +redo_desc : 'Gör om', +link_desc : 'Skapa länk', +unlink_desc : 'Ta bort länk', +image_desc : 'Skapa/redigera bild', +cleanup_desc : 'Rensa skräpkod', +focus_alert : 'Flytta markören till en textyta innan du använder detta kommando.', +edit_confirm : 'Vill du använda WYSIWYG-editorn för detta textfält?', +insert_link_title : 'Skapa/redigera länk', +insert : 'Skapa', +update : 'Uppdatera', +cancel : 'Avbryt', +insert_link_url : 'Länkens URL', +insert_link_target : 'Fönster', +insert_link_target_same : 'Öppna länken i samma fönster', +insert_link_target_blank : 'Öppna länken i ett nytt fönster', +insert_link_delta_width : 20, +insert_link_delta_height : 10, +insert_image_title : 'Skapa/redigera bild', +insert_image_src : 'Bildens URL', +insert_image_alt : 'Bildens beskrivning', +bold_img : 'bold_de_se.gif', +italic_img : 'italic_de_se.gif', +underline_img : "underline.gif", +clipboard_msg : 'Klipput/Kopiera/Klistra fungerar inte Mozilla och Firefox. Vill du veta mer om detta?', +help_desc : "Hjälp", +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/webcit/tiny_mce/langs/th.js b/webcit/tiny_mce/langs/th.js new file mode 100644 index 000000000..7e1d15005 --- /dev/null +++ b/webcit/tiny_mce/langs/th.js @@ -0,0 +1,40 @@ +// TH lang variables Thai contributed by Innozent + +tinyMCE.addToLang('',{ +bold_desc : 'µÑÇ˹Ò', +italic_desc : 'µÑÇéàÍÕ§', +underline_desc : '¢Õ´àÊé¹ãµé', +striketrough_desc : '¢Õ´¤ÅèÍÁ', +justifyleft_desc : 'ªÔ´¢Íº«éÒÂ', +justifycenter_desc : '¡Ö觡ÅÒ§', +justifyright_desc : 'ªÔ´¢Íº¢ÇÒ', +justifyfull_desc : '¨Ñ´ªÔ´¢Íº', +bullist_desc : 'ÊÑ­ÅѡɳìáÊ´§ËÑÇ¢éÍÂèÍÂ', +numlist_desc : 'ÅӴѺàÅ¢', +outdent_desc : 'Å´¡ÒÃàÂ×éͧ', +indent_desc : 'à¾ÔèÁ¡ÒÃàÂ×éͧ', +undo_desc : 'àÅÔ¡·Ó', +redo_desc : '·ÓãËÁè', +link_desc : 'à¾ÔèÁÅÔ§¤ì', +unlink_desc : 'źÅÔ§¤ì', +image_desc : 'ãÊèÃÙ»', +cleanup_desc : '·Ó¤ÇÒÁÊÐÍÒ´¢éͤÇÒÁ', +focus_alert : 'µéͧàÅ×Í¡¡Åèͧ¢éͤÇÒÁ¡è͹·Õè¨Ðãªé¤ÓÊÑ觹Õé', +edit_confirm : '¤Ø³µéͧ¡Ò÷Õè¨Ðãªé WYSIWYG mode ÊÓËÃѺ¡Åèͧ¢éͤÇÒÁ¹ÕéËÃ×ÍäÁè?', +insert_link_title : 'à¾ÔèÁ/á¡éä¢ ÅÔ§¤ì', +insert : 'à¾ÔèÁ', +cancel : '¡àÅÔ¡', +insert_link_url : 'Link URL', +insert_link_target : 'à»Ô´ÅÔ§¤ìã¹', +insert_link_target_same : '˹éÒµèÒ§à´ÕÂǡѹ', +insert_link_target_blank : '˹éÒµèÒ§ãËÁè', +insert_image_title : 'à¾ÔèÁ/á¡éä¢ ÃÙ»', +insert_image_src : 'URL ¢Í§ÃÙ»', +insert_image_alt : '¤Ó͸ԺÒÂÃÙ»', +help_desc : 'ªèÇÂàËÅ×Í', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/webcit/tiny_mce/langs/zh_cn.js b/webcit/tiny_mce/langs/zh_cn.js new file mode 100644 index 000000000..640e74617 --- /dev/null +++ b/webcit/tiny_mce/langs/zh_cn.js @@ -0,0 +1,42 @@ +// Simplified Chinese lang variables contributed by cube316 (cube316@gmail.com) +//Çë·ÃÎÊ http://www.cube316.net/ ÒÔ»ñÈ¡TinyMCEµÄÖÐÎÄÖ§³Ö + +tinyMCE.addToLang('',{ +bold_desc : '´ÖÌå', +italic_desc : 'бÌå', +underline_desc : 'Ï»®Ïß', +striketrough_desc : 'ɾ³ýÏß', +justifyleft_desc : '×ó¶ÔÆë', +justifycenter_desc : '¾ÓÖжÔÆë', +justifyright_desc : 'ÓÒ¶ÔÆë', +justifyfull_desc : 'Á½¶Ë¶ÔÆë', +bullist_desc : 'ÎÞÐòÁбí', +numlist_desc : 'ÓÐÐòÁбí', +outdent_desc : '¼õÉÙËõ½ø', +indent_desc : 'Ôö¼ÓËõ½ø', +undo_desc : '³·Ïû', +redo_desc : 'ÖØ×ö', +link_desc : '²åÈë/±à¼­ Á´½Ó', +unlink_desc : 'ɾ³ýÁ´½Ó', +image_desc : '²åÈë/±à¼­ ͼÏñ', +cleanup_desc : 'Çå³ýÈßÓà´úÂë', +focus_alert : 'ÔÚʹÓôËÃüÁîǰij¸ö±à¼­Æ÷±ØÐëÏÈ»ñµÃ½¹µã£¡', +edit_confirm : 'ÄãÏëÔÚ´ËTextAreaÉÏʹÓÃËù¼û¼´ËùµÃ±à¼­Æ÷ô£¿', +insert_link_title : '²åÈë/±à¼­ Á´½Ó', +insert : '²åÈë', +update : '¸üÐÂ', +cancel : 'È¡Ïû', +insert_link_url : 'Á´½ÓµØÖ·', +insert_link_target : 'Ä¿±ê', +insert_link_target_same : 'ÔÚͬһ´°¿ÚÖдò¿ªÁ´½Ó', +insert_link_target_blank : 'ÔÚд°¿ÚÖдò¿ªÁ´½Ó', +insert_image_title : '²åÈë/±à¼­ ͼÏñ', +insert_image_src : 'ͼÏñµØÖ·', +insert_image_alt : 'ͼÏñÃèÊö', +help_desc : '°ïÖú', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : '¼ôÇÐ/¸´ÖÆ/Õ³Ìù¹¦ÄÜÔÚMozillaºÍFirefoxÉÏÉв»¿ÉÓá£\nÄãÏëÁ˽â¹ØÓÚÕâ¸öÎÊÌâµÄ¸ü¶àÐÅÏ¢Âð£¿', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/webcit/tiny_mce/license.txt b/webcit/tiny_mce/license.txt new file mode 100644 index 000000000..3b0396a2b --- /dev/null +++ b/webcit/tiny_mce/license.txt @@ -0,0 +1,437 @@ + GNU LIBRARY GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the library GPL. It is + numbered 2 because it goes with version 2 of the ordinary GPL.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Library General Public License, applies to some +specially designated Free Software Foundation software, and to any +other libraries whose authors decide to use it. You can use it for +your libraries, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if +you distribute copies of the library, or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link a program with the library, you must provide +complete object files to the recipients so that they can relink them +with the library, after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + Our method of protecting your rights has two steps: (1) copyright +the library, and (2) offer you this license which gives you legal +permission to copy, distribute and/or modify the library. + + Also, for each distributor's protection, we want to make certain +that everyone understands that there is no warranty for this free +library. If the library is modified by someone else and passed on, we +want its recipients to know that what they have is not the original +version, so that any problems introduced by others will not reflect on +the original authors' reputations. +. + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that companies distributing free +software will individually obtain patent licenses, thus in effect +transforming the program into proprietary software. To prevent this, +we have made it clear that any patent must be licensed for everyone's +free use or not licensed at all. + + Most GNU software, including some libraries, is covered by the ordinary +GNU General Public License, which was designed for utility programs. This +license, the GNU Library General Public License, applies to certain +designated libraries. This license is quite different from the ordinary +one; be sure to read it in full, and don't assume that anything in it is +the same as in the ordinary license. + + The reason we have a separate public license for some libraries is that +they blur the distinction we usually make between modifying or adding to a +program and simply using it. Linking a program with a library, without +changing the library, is in some sense simply using the library, and is +analogous to running a utility program or application program. However, in +a textual and legal sense, the linked executable is a combined work, a +derivative of the original library, and the ordinary General Public License +treats it as such. + + Because of this blurred distinction, using the ordinary General +Public License for libraries did not effectively promote software +sharing, because most developers did not use the libraries. We +concluded that weaker conditions might promote sharing better. + + However, unrestricted linking of non-free programs would deprive the +users of those programs of all benefit from the free status of the +libraries themselves. This Library General Public License is intended to +permit developers of non-free programs to use free libraries, while +preserving your freedom as a user of such programs to change the free +libraries that are incorporated in them. (We have not seen how to achieve +this as regards changes in header files, but we have achieved it as regards +changes in the actual functions of the Library.) The hope is that this +will lead to faster development of free libraries. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, while the latter only +works together with the library. + + Note that it is possible for a library to be covered by the ordinary +General Public License rather than by this special one. +. + GNU LIBRARY GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library which +contains a notice placed by the copyright holder or other authorized +party saying it may be distributed under the terms of this Library +General Public License (also called "this License"). Each licensee is +addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. +. + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. +. + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. +. + 6. As an exception to the Sections above, you may also compile or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + c) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + d) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the source code distributed need not include anything that is normally +distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. +. + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. +. + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Library General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. +. + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS diff --git a/webcit/tiny_mce/plugins/CVS/Entries b/webcit/tiny_mce/plugins/CVS/Entries new file mode 100644 index 000000000..eef6fbfd2 --- /dev/null +++ b/webcit/tiny_mce/plugins/CVS/Entries @@ -0,0 +1,22 @@ +D/advhr//// +D/advimage//// +D/advlink//// +D/autosave//// +D/contextmenu//// +D/directionality//// +D/emotions//// +D/flash//// +D/fullscreen//// +D/iespell//// +D/inlinepopups//// +D/insertdatetime//// +D/noneditable//// +D/paste//// +D/preview//// +D/print//// +D/save//// +D/searchreplace//// +D/table//// +D/zoom//// +D/_template//// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// diff --git a/webcit/tiny_mce/plugins/CVS/Repository b/webcit/tiny_mce/plugins/CVS/Repository new file mode 100644 index 000000000..6d9dd7c8b --- /dev/null +++ b/webcit/tiny_mce/plugins/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins diff --git a/webcit/tiny_mce/plugins/CVS/Root b/webcit/tiny_mce/plugins/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/_template/CVS/Entries b/webcit/tiny_mce/plugins/_template/CVS/Entries new file mode 100644 index 000000000..537e56f78 --- /dev/null +++ b/webcit/tiny_mce/plugins/_template/CVS/Entries @@ -0,0 +1,6 @@ +D/images//// +D/langs//// +/editor_plugin.js/1.1/Tue Aug 30 18:35:56 2005// +/popup.htm/1.1/Tue Aug 30 18:35:56 2005// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// +/editor_plugin_src.js/1.2/Wed Sep 28 03:47:27 2005// diff --git a/webcit/tiny_mce/plugins/_template/CVS/Repository b/webcit/tiny_mce/plugins/_template/CVS/Repository new file mode 100644 index 000000000..61496a13e --- /dev/null +++ b/webcit/tiny_mce/plugins/_template/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/_template diff --git a/webcit/tiny_mce/plugins/_template/CVS/Root b/webcit/tiny_mce/plugins/_template/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/_template/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/_template/editor_plugin.js b/webcit/tiny_mce/plugins/_template/editor_plugin.js new file mode 100644 index 000000000..53472c824 --- /dev/null +++ b/webcit/tiny_mce/plugins/_template/editor_plugin.js @@ -0,0 +1,118 @@ +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('template', 'en'); // <- Add a comma separated list of all supported languages + +/**** + * Steps for creating a plugin from this template: + * + * 1. Change all "template" to the name of your plugin. + * 2. Remove all the callbacks in this file that you don't need. + * 3. Remove the popup.htm file if you don't need any popups. + * 4. Add your custom logic to the callbacks you needed. + * 5. Write documentation in a readme.txt file on how to use the plugin. + * 6. Upload it under the "Plugins" section at sourceforge. + * + ****/ + +/** + * Gets executed when a editor instance is initialized + */ +function TinyMCE_template_initInstance(inst) { + // You can take out plugin specific parameters + alert("Initialization parameter:" + tinyMCE.getParam("template_someparam", false)); +} + +/** + * Gets executed when a editor needs to generate a button. + */ +function TinyMCE_template_getControlHTML(control_name) { + switch (control_name) { + case "template": + return ''; + } + + return ""; +} + +/** + * Gets executed when a command is called. + */ +function TinyMCE_template_execCommand(editor_id, element, command, user_interface, value) { + // Handle commands + switch (command) { + // Remember to have the "mce" prefix for commands so they don't intersect with built in ones in the browser. + case "mceTemplate": + // Show UI/Popup + if (user_interface) { + // Open a popup window and send in some custom data in a window argument + var template = new Array(); + + template['file'] = '../../plugins/template/popup.htm'; // Relative to theme + template['width'] = 300; + template['height'] = 200; + + tinyMCE.openWindow(template, {editor_id : editor_id, some_custom_arg : "somecustomdata"}); + + // Let TinyMCE know that something was modified + tinyMCE.triggerNodeChange(false); + } else { + // Do a command this gets called from the template popup + alert("execCommand: mceTemplate gets called from popup."); + } + + return true; + } + + // Pass to next handler in chain + return false; +} + +/** + * Gets executed when the selection/cursor position was changed. + */ +function TinyMCE_template_handleNodeChange(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) { + // Deselect template button + tinyMCE.switchClassSticky(editor_id + '_template', 'mceButtonNormal'); + + // Select template button if parent node is a strong or b + if (node.parentNode.nodeName == "STRONG" || node.parentNode.nodeName == "B") + tinyMCE.switchClassSticky(editor_id + '_template', 'mceButtonSelected'); + + return true; +} + +/** + * Gets executed when contents is inserted / retrived. + */ +function TinyMCE_template_cleanup(type, content) { + switch (type) { + case "get_from_editor": + alert("[FROM] Value HTML string: " + content); + + // Do custom cleanup code here + + break; + + case "insert_to_editor": + alert("[TO] Value HTML string: " + content); + + // Do custom cleanup code here + + break; + + case "get_from_editor_dom": + alert("[FROM] Value DOM Element " + content.innerHTML); + + // Do custom cleanup code here + + break; + + case "insert_to_editor_dom": + alert("[TO] Value DOM Element: " + content.innerHTML); + + // Do custom cleanup code here + + break; + } + + return content; +} diff --git a/webcit/tiny_mce/plugins/_template/editor_plugin_src.js b/webcit/tiny_mce/plugins/_template/editor_plugin_src.js new file mode 100644 index 000000000..9378b4914 --- /dev/null +++ b/webcit/tiny_mce/plugins/_template/editor_plugin_src.js @@ -0,0 +1,131 @@ +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('template', 'en,he,no'); // <- Add a comma separated list of all supported languages + +/**** + * Steps for creating a plugin from this template: + * + * 1. Change all "template" to the name of your plugin. + * 2. Remove all the callbacks in this file that you don't need. + * 3. Remove the popup.htm file if you don't need any popups. + * 4. Add your custom logic to the callbacks you needed. + * 5. Write documentation in a readme.txt file on how to use the plugin. + * 6. Upload it under the "Plugins" section at sourceforge. + * + ****/ + +/** + * Information about the plugin. + */ +function TinyMCE_template_getInfo() { + return { + longname : 'Template plugin', + author : 'Your name', + authorurl : 'http://www.yoursite.com', + infourl : 'http://www.yoursite.com/docs/template.html', + version : "1.0" + }; +}; + +/** + * Gets executed when a editor instance is initialized + */ +function TinyMCE_template_initInstance(inst) { + // You can take out plugin specific parameters + alert("Initialization parameter:" + tinyMCE.getParam("template_someparam", false)); +} + +/** + * Gets executed when a editor needs to generate a button. + */ +function TinyMCE_template_getControlHTML(control_name) { + switch (control_name) { + case "template": + return ''; + } + + return ""; +} + +/** + * Gets executed when a command is called. + */ +function TinyMCE_template_execCommand(editor_id, element, command, user_interface, value) { + // Handle commands + switch (command) { + // Remember to have the "mce" prefix for commands so they don't intersect with built in ones in the browser. + case "mceTemplate": + // Show UI/Popup + if (user_interface) { + // Open a popup window and send in some custom data in a window argument + var template = new Array(); + + template['file'] = '../../plugins/template/popup.htm'; // Relative to theme + template['width'] = 300; + template['height'] = 200; + + tinyMCE.openWindow(template, {editor_id : editor_id, some_custom_arg : "somecustomdata"}); + + // Let TinyMCE know that something was modified + tinyMCE.triggerNodeChange(false); + } else { + // Do a command this gets called from the template popup + alert("execCommand: mceTemplate gets called from popup."); + } + + return true; + } + + // Pass to next handler in chain + return false; +} + +/** + * Gets executed when the selection/cursor position was changed. + */ +function TinyMCE_template_handleNodeChange(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) { + // Deselect template button + tinyMCE.switchClassSticky(editor_id + '_template', 'mceButtonNormal'); + + // Select template button if parent node is a strong or b + if (node.parentNode.nodeName == "STRONG" || node.parentNode.nodeName == "B") + tinyMCE.switchClassSticky(editor_id + '_template', 'mceButtonSelected'); + + return true; +} + +/** + * Gets executed when contents is inserted / retrived. + */ +function TinyMCE_template_cleanup(type, content) { + switch (type) { + case "get_from_editor": + alert("[FROM] Value HTML string: " + content); + + // Do custom cleanup code here + + break; + + case "insert_to_editor": + alert("[TO] Value HTML string: " + content); + + // Do custom cleanup code here + + break; + + case "get_from_editor_dom": + alert("[FROM] Value DOM Element " + content.innerHTML); + + // Do custom cleanup code here + + break; + + case "insert_to_editor_dom": + alert("[TO] Value DOM Element: " + content.innerHTML); + + // Do custom cleanup code here + + break; + } + + return content; +} diff --git a/webcit/tiny_mce/plugins/_template/images/CVS/Entries b/webcit/tiny_mce/plugins/_template/images/CVS/Entries new file mode 100644 index 000000000..1c4e34379 --- /dev/null +++ b/webcit/tiny_mce/plugins/_template/images/CVS/Entries @@ -0,0 +1,2 @@ +/template.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/plugins/_template/images/CVS/Repository b/webcit/tiny_mce/plugins/_template/images/CVS/Repository new file mode 100644 index 000000000..825ff5c52 --- /dev/null +++ b/webcit/tiny_mce/plugins/_template/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/_template/images diff --git a/webcit/tiny_mce/plugins/_template/images/CVS/Root b/webcit/tiny_mce/plugins/_template/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/_template/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/_template/images/template.gif b/webcit/tiny_mce/plugins/_template/images/template.gif new file mode 100644 index 000000000..1ab5da446 Binary files /dev/null and b/webcit/tiny_mce/plugins/_template/images/template.gif differ diff --git a/webcit/tiny_mce/plugins/_template/langs/CVS/Entries b/webcit/tiny_mce/plugins/_template/langs/CVS/Entries new file mode 100644 index 000000000..3bcaa1dec --- /dev/null +++ b/webcit/tiny_mce/plugins/_template/langs/CVS/Entries @@ -0,0 +1,8 @@ +/en.js/1.1/Tue Aug 30 18:35:56 2005// +/fr_ca.js/1.1/Tue Aug 30 18:35:56 2005// +/zh_cn.js/1.1/Sun Sep 11 12:53:00 2005// +/da.js/1.1/Mon Sep 26 18:44:31 2005// +/de.js/1.1/Mon Sep 26 18:44:31 2005// +/he.js/1.1/Mon Sep 26 18:44:31 2005// +/hu.js/1.1/Mon Sep 26 18:44:31 2005// +D diff --git a/webcit/tiny_mce/plugins/_template/langs/CVS/Repository b/webcit/tiny_mce/plugins/_template/langs/CVS/Repository new file mode 100644 index 000000000..b37b3bbb7 --- /dev/null +++ b/webcit/tiny_mce/plugins/_template/langs/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/_template/langs diff --git a/webcit/tiny_mce/plugins/_template/langs/CVS/Root b/webcit/tiny_mce/plugins/_template/langs/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/_template/langs/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/_template/langs/da.js b/webcit/tiny_mce/plugins/_template/langs/da.js new file mode 100644 index 000000000..d0ac33523 --- /dev/null +++ b/webcit/tiny_mce/plugins/_template/langs/da.js @@ -0,0 +1,8 @@ +// DK lang variables contributed by Jan Moelgaard + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'Dette er bare en pop-up-skabelon', +template_desc : 'Dette er bare en testknap' +}); diff --git a/webcit/tiny_mce/plugins/_template/langs/de.js b/webcit/tiny_mce/plugins/_template/langs/de.js new file mode 100644 index 000000000..3aa213069 --- /dev/null +++ b/webcit/tiny_mce/plugins/_template/langs/de.js @@ -0,0 +1,9 @@ +// DE lang variables + +/* Remember to namespace the language parameters lang__ */ +/* Sprachparameter müssen als lang__ definiert werden */ + +tinyMCE.addToLang('',{ +template_title : 'Dies ist nur ein Beispiel-Popup', +template_desc : 'Dies ist nur ein Beispiel-Button' +}); diff --git a/webcit/tiny_mce/plugins/_template/langs/en.js b/webcit/tiny_mce/plugins/_template/langs/en.js new file mode 100644 index 000000000..2c3407690 --- /dev/null +++ b/webcit/tiny_mce/plugins/_template/langs/en.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'This is just a template popup', +template_desc : 'This is just a template button' +}); diff --git a/webcit/tiny_mce/plugins/_template/langs/fr_ca.js b/webcit/tiny_mce/plugins/_template/langs/fr_ca.js new file mode 100644 index 000000000..1c0fc957e --- /dev/null +++ b/webcit/tiny_mce/plugins/_template/langs/fr_ca.js @@ -0,0 +1,8 @@ +// Canadian French lang variables by Virtuelcom last modification: 2005-06-15 + +/* Remember to namespace the language parameters _ */ + +tinyMCE.addToLang('',{ +template_title : 'Ceci est un exmple pour le gabarit de popup', +template_desc : 'Ceci est un exmple pour le gabarit d\'un bouton' +}); diff --git a/webcit/tiny_mce/plugins/_template/langs/he.js b/webcit/tiny_mce/plugins/_template/langs/he.js new file mode 100644 index 000000000..71dbc4407 --- /dev/null +++ b/webcit/tiny_mce/plugins/_template/langs/he.js @@ -0,0 +1,8 @@ +// HE lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'æä ñúí çìåï ÷åôõ ùì äúáðéú', +template_desc : 'æä ñúí ëôúåø ùì äúáðéú' +}); diff --git a/webcit/tiny_mce/plugins/_template/langs/hu.js b/webcit/tiny_mce/plugins/_template/langs/hu.js new file mode 100644 index 000000000..7a26f66ea --- /dev/null +++ b/webcit/tiny_mce/plugins/_template/langs/hu.js @@ -0,0 +1,8 @@ +// HU lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'Ez csak egy példa popup', +template_desc : 'Ez csak egy példa gomb' +}); diff --git a/webcit/tiny_mce/plugins/_template/langs/zh_cn.js b/webcit/tiny_mce/plugins/_template/langs/zh_cn.js new file mode 100644 index 000000000..ba49c280c --- /dev/null +++ b/webcit/tiny_mce/plugins/_template/langs/zh_cn.js @@ -0,0 +1,9 @@ +// Simplified Chinese lang variables contributed by cube316 (cube316@gmail.com) +//Çë·ÃÎÊ http://www.cube316.net/ ÒÔ»ñÈ¡TinyMCEµÄÖÐÎÄÖ§³Ö + +/* Remember to namespace the language parameters _ */ + +tinyMCE.addToLang('',{ +template_title : 'Õâ½öÊÇÄ£°åµÄµ¯³ö´°¿Ú', +template_desc : 'Õâ½öÊÇÄ£°åµÄ°´Å¥' +}); diff --git a/webcit/tiny_mce/plugins/_template/popup.htm b/webcit/tiny_mce/plugins/_template/popup.htm new file mode 100644 index 000000000..201ce199a --- /dev/null +++ b/webcit/tiny_mce/plugins/_template/popup.htm @@ -0,0 +1,47 @@ + + + {$lang_template_title} + + + + +
    +

    {$lang_template_title}

    + + +
    + The selected element name: +
    + +
    +
    + +
    + +
    + +
    +
    +
    + + diff --git a/webcit/tiny_mce/plugins/_template/readme.txt b/webcit/tiny_mce/plugins/_template/readme.txt new file mode 100644 index 000000000..2ee1505cd --- /dev/null +++ b/webcit/tiny_mce/plugins/_template/readme.txt @@ -0,0 +1 @@ +This is a template/tutorial plugin that where created to help you in the development of own plugins for TinyMCE. \ No newline at end of file diff --git a/webcit/tiny_mce/plugins/advhr/CVS/Entries b/webcit/tiny_mce/plugins/advhr/CVS/Entries new file mode 100644 index 000000000..21bfa3678 --- /dev/null +++ b/webcit/tiny_mce/plugins/advhr/CVS/Entries @@ -0,0 +1,7 @@ +D/images//// +D/jscripts//// +D/langs//// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// +/rule.htm/1.1/Tue Aug 30 18:35:56 2005// +/editor_plugin.js/1.2/Wed Sep 28 03:47:27 2005// +/editor_plugin_src.js/1.2/Wed Sep 28 03:47:27 2005// diff --git a/webcit/tiny_mce/plugins/advhr/CVS/Repository b/webcit/tiny_mce/plugins/advhr/CVS/Repository new file mode 100644 index 000000000..46be1c9a4 --- /dev/null +++ b/webcit/tiny_mce/plugins/advhr/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/advhr diff --git a/webcit/tiny_mce/plugins/advhr/CVS/Root b/webcit/tiny_mce/plugins/advhr/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/advhr/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/advhr/editor_plugin.js b/webcit/tiny_mce/plugins/advhr/editor_plugin.js new file mode 100644 index 000000000..8d13652ce --- /dev/null +++ b/webcit/tiny_mce/plugins/advhr/editor_plugin.js @@ -0,0 +1,2 @@ +/* Import plugin specific language pack */ + tinyMCE.importPluginLanguagePack('advhr','en,de,sv,zh_cn,cs,fa,fr_ca,fr,pl,pt_br,nl,da,he,no,hu');function TinyMCE_advhr_getInfo(){return{longname:'Advanced HR',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_advhr.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};};function TinyMCE_advhr_getControlHTML(control_name){switch(control_name){case "advhr":return '';}return "";}function TinyMCE_advhr_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mceAdvancedHr":var template=new Array();template['file']='../../plugins/advhr/rule.htm';template['width']=270;template['height']=180;template['width']+=tinyMCE.getLang('lang_advhr_delta_width',0);template['height']+=tinyMCE.getLang('lang_advhr_delta_height',0);var size="",width="",noshade="";if(tinyMCE.selectedElement!=null&&tinyMCE.selectedElement.nodeName.toLowerCase()=="hr"){tinyMCE.hrElement=tinyMCE.selectedElement;if(tinyMCE.hrElement){size=tinyMCE.hrElement.getAttribute('size')?tinyMCE.hrElement.getAttribute('size'):"";width=tinyMCE.hrElement.getAttribute('width')?tinyMCE.hrElement.getAttribute('width'):"";noshade=tinyMCE.hrElement.getAttribute('noshade')?tinyMCE.hrElement.getAttribute('noshade'):"";}tinyMCE.openWindow(template,{editor_id:editor_id,size:size,width:width,noshade:noshade,mceDo:'update'});}else{if(tinyMCE.isMSIE){tinyMCE.execInstanceCommand(editor_id,'mceInsertContent',false,'
    ');}else{tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes",size:size,width:width,noshade:noshade,mceDo:'insert'});}}return true;}return false;}function TinyMCE_advhr_handleNodeChange(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){tinyMCE.switchClassSticky(editor_id+'_advhr','mceButtonNormal');if(node==null)return;do{if(node.nodeName.toLowerCase()=="hr")tinyMCE.switchClassSticky(editor_id+'_advhr','mceButtonSelected');}while((node=node.parentNode));return true;} \ No newline at end of file diff --git a/webcit/tiny_mce/plugins/advhr/editor_plugin_src.js b/webcit/tiny_mce/plugins/advhr/editor_plugin_src.js new file mode 100644 index 000000000..a4e1e8fb4 --- /dev/null +++ b/webcit/tiny_mce/plugins/advhr/editor_plugin_src.js @@ -0,0 +1,74 @@ +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('advhr', 'en,de,sv,zh_cn,cs,fa,fr_ca,fr,pl,pt_br,nl,da,he,no,hu'); + +function TinyMCE_advhr_getInfo() { + return { + longname : 'Advanced HR', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_advhr.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; +}; + +function TinyMCE_advhr_getControlHTML(control_name) { + switch (control_name) { + case "advhr": + return ''; + } + + return ""; +} + +/** + * Executes the mceAdvanceHr command. + */ +function TinyMCE_advhr_execCommand(editor_id, element, command, user_interface, value) { + // Handle commands + switch (command) { + case "mceAdvancedHr": + var template = new Array(); + + template['file'] = '../../plugins/advhr/rule.htm'; // Relative to theme + template['width'] = 270; + template['height'] = 180; + + template['width'] += tinyMCE.getLang('lang_advhr_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_advhr_delta_height', 0); + + var size = "", width = "", noshade = ""; + if (tinyMCE.selectedElement != null && tinyMCE.selectedElement.nodeName.toLowerCase() == "hr"){ + tinyMCE.hrElement = tinyMCE.selectedElement; + if (tinyMCE.hrElement) { + size = tinyMCE.hrElement.getAttribute('size') ? tinyMCE.hrElement.getAttribute('size') : ""; + width = tinyMCE.hrElement.getAttribute('width') ? tinyMCE.hrElement.getAttribute('width') : ""; + noshade = tinyMCE.hrElement.getAttribute('noshade') ? tinyMCE.hrElement.getAttribute('noshade') : ""; + } + tinyMCE.openWindow(template, {editor_id : editor_id, size : size, width : width, noshade : noshade, mceDo : 'update'}); + } else { + if (tinyMCE.isMSIE) { + tinyMCE.execInstanceCommand(editor_id, 'mceInsertContent', false,'
    '); + } else { + tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes", size : size, width : width, noshade : noshade, mceDo : 'insert'}); + } + } + + return true; + } + // Pass to next handler in chain + return false; +} + +function TinyMCE_advhr_handleNodeChange(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) { + tinyMCE.switchClassSticky(editor_id + '_advhr', 'mceButtonNormal'); + + if (node == null) + return; + + do { + if (node.nodeName.toLowerCase() == "hr") + tinyMCE.switchClassSticky(editor_id + '_advhr', 'mceButtonSelected'); + } while ((node = node.parentNode)); + + return true; +} \ No newline at end of file diff --git a/webcit/tiny_mce/plugins/advhr/images/CVS/Entries b/webcit/tiny_mce/plugins/advhr/images/CVS/Entries new file mode 100644 index 000000000..5ac94bf8d --- /dev/null +++ b/webcit/tiny_mce/plugins/advhr/images/CVS/Entries @@ -0,0 +1,2 @@ +/advhr.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/plugins/advhr/images/CVS/Repository b/webcit/tiny_mce/plugins/advhr/images/CVS/Repository new file mode 100644 index 000000000..32d58b92e --- /dev/null +++ b/webcit/tiny_mce/plugins/advhr/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/advhr/images diff --git a/webcit/tiny_mce/plugins/advhr/images/CVS/Root b/webcit/tiny_mce/plugins/advhr/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/advhr/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/advhr/images/advhr.gif b/webcit/tiny_mce/plugins/advhr/images/advhr.gif new file mode 100644 index 000000000..e2f8658f4 Binary files /dev/null and b/webcit/tiny_mce/plugins/advhr/images/advhr.gif differ diff --git a/webcit/tiny_mce/plugins/advhr/jscripts/CVS/Entries b/webcit/tiny_mce/plugins/advhr/jscripts/CVS/Entries new file mode 100644 index 000000000..8ee159fd5 --- /dev/null +++ b/webcit/tiny_mce/plugins/advhr/jscripts/CVS/Entries @@ -0,0 +1,2 @@ +/rule.js/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/plugins/advhr/jscripts/CVS/Repository b/webcit/tiny_mce/plugins/advhr/jscripts/CVS/Repository new file mode 100644 index 000000000..2b8163b95 --- /dev/null +++ b/webcit/tiny_mce/plugins/advhr/jscripts/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/advhr/jscripts diff --git a/webcit/tiny_mce/plugins/advhr/jscripts/CVS/Root b/webcit/tiny_mce/plugins/advhr/jscripts/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/advhr/jscripts/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/advhr/jscripts/rule.js b/webcit/tiny_mce/plugins/advhr/jscripts/rule.js new file mode 100644 index 000000000..6cec6683d --- /dev/null +++ b/webcit/tiny_mce/plugins/advhr/jscripts/rule.js @@ -0,0 +1,41 @@ +function init() { + var formObj = document.forms[0]; + formObj.width.value = tinyMCE.getWindowArg('width'); + formObj.size.value = tinyMCE.getWindowArg('size'); + formObj.insert.value = tinyMCE.getLang('lang_' + tinyMCE.getWindowArg('mceDo')); + if (tinyMCE.getWindowArg('noshade')) { + formObj.noshade.checked = true; + } + if (tinyMCE.getWindowArg('width').lastIndexOf('%')!=-1) { + formObj.width2.value = "%"; + formObj.width.value = formObj.width.value.substring(0,formObj.width.value.length-1); + } +} + +function insertHR() { + var formObj = document.forms[0]; + var width = formObj.width.value; + var size = formObj.size.value; + var html = ' + {$lang_insert_link_title} + + + + + +
    + + + + +
    + + + + + + + + + + + + + + + + + + +
    {$lang_insert_advhr_desc}
    {$lang_insert_advhr_width}: + + +
    {$lang_insert_advhr_size}:
    +
    + + diff --git a/webcit/tiny_mce/plugins/advimage/CVS/Entries b/webcit/tiny_mce/plugins/advimage/CVS/Entries new file mode 100644 index 000000000..fa0b23475 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/CVS/Entries @@ -0,0 +1,8 @@ +D/css//// +D/images//// +D/jscripts//// +D/langs//// +/image.htm/1.1/Sun Sep 11 12:53:00 2005// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// +/editor_plugin.js/1.2/Wed Sep 28 03:47:27 2005// +/editor_plugin_src.js/1.2/Wed Sep 28 03:47:27 2005// diff --git a/webcit/tiny_mce/plugins/advimage/CVS/Repository b/webcit/tiny_mce/plugins/advimage/CVS/Repository new file mode 100644 index 000000000..6915953e5 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/advimage diff --git a/webcit/tiny_mce/plugins/advimage/CVS/Root b/webcit/tiny_mce/plugins/advimage/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/advimage/css/CVS/Entries b/webcit/tiny_mce/plugins/advimage/css/CVS/Entries new file mode 100644 index 000000000..54d2fd430 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/css/CVS/Entries @@ -0,0 +1,2 @@ +/advimage.css/1.1/Sun Sep 11 15:54:44 2005// +D diff --git a/webcit/tiny_mce/plugins/advimage/css/CVS/Repository b/webcit/tiny_mce/plugins/advimage/css/CVS/Repository new file mode 100644 index 000000000..2cda87b7f --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/css/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/advimage/css diff --git a/webcit/tiny_mce/plugins/advimage/css/CVS/Root b/webcit/tiny_mce/plugins/advimage/css/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/css/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/advimage/css/advimage.css b/webcit/tiny_mce/plugins/advimage/css/advimage.css new file mode 100644 index 000000000..831715e48 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/css/advimage.css @@ -0,0 +1,62 @@ +/* CSS file for advimage plugin popup */ + +.mceImageList { + width: 280px; +} + +.mceActionPanel { + margin-top: 7px; +} + +.alignPreview { + border: 1px solid black; + width: 140px; + height: 140px; + overflow: hidden; + padding: 5px; +} + +.checkbox { + border: 0px; +} + +.panel_wrapper div.current { + height: 305px; +} + +#prev { + margin:0px; + border: 1px + solid black; + width: 99%; + height:150px; + overflow: auto; +} + +#align, #classlist { + width: 150px; +} + +#width, #height { + vertical-align: middle; + width: 50px; + text-align: center; +} + +#vspace, #hspace, #border { + vertical-align: middle; + width: 30px; + text-align: center; +} + +input { + width: 280px; +} + +#constrain, #onmousemovecheck { + width: auto; +} + +#id, #dir, #lang, #usemap, #longdesc { + width: 200px; +} diff --git a/webcit/tiny_mce/plugins/advimage/editor_plugin.js b/webcit/tiny_mce/plugins/advimage/editor_plugin.js new file mode 100644 index 000000000..fe1488472 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/editor_plugin.js @@ -0,0 +1,2 @@ +/* Import plugin specific language pack */ + tinyMCE.importPluginLanguagePack('advimage','en,de,sv,zh_cn,cs,fa,fr_ca,fr,pl,pt_br,nl,he,no');function TinyMCE_advimage_getInfo(){return{longname:'Advanced image',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_advimage.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};};function TinyMCE_advimage_getControlHTML(control_name){switch(control_name){case "image":return '';}return "";}function TinyMCE_advimage_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mceAdvImage":var template=new Array();template['file']='../../plugins/advimage/image.htm';template['width']=480;template['height']=380;template['width']+=tinyMCE.getLang('lang_advimage_delta_width',0);template['height']+=tinyMCE.getLang('lang_advimage_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});return true;}return false;}function TinyMCE_advimage_cleanup(type,content){switch(type){case "insert_to_editor_dom":var imgs=content.getElementsByTagName("img");for(var i=0;i'; + } + + return ""; +} + +function TinyMCE_advimage_execCommand(editor_id, element, command, user_interface, value) { + switch (command) { + case "mceAdvImage": + var template = new Array(); + + template['file'] = '../../plugins/advimage/image.htm'; + template['width'] = 480; + template['height'] = 380; + + // Language specific width and height addons + template['width'] += tinyMCE.getLang('lang_advimage_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_advimage_delta_height', 0); + + tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"}); + + return true; + } + + return false; +} + +function TinyMCE_advimage_cleanup(type, content) { + switch (type) { + case "insert_to_editor_dom": + var imgs = content.getElementsByTagName("img"); + for (var i=0; i + + {$lang_insert_image_title} + + + + + + + +
    + + +
    +
    +
    + {$lang_advimage_general} + + + + + + + + + + + + + + + +
    + + + + +
    +
    + +
    + {$lang_advimage_preview} + +
    +
    + +
    +
    + {$lang_advimage_tab_appearance} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + {$lang_advimage_example_img} + Lorem ipsum, Dolor sit amet, consectetuer adipiscing loreum ipsum edipiscing elit, sed diam + nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.Loreum ipsum + edipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam + erat volutpat. +
    +
    + +
    + x + px +
      + + + + +
    +
    +
    +
    + +
    +
    + {$lang_advimage_swap_image} + + + + + + + + + + + + + + + +
    + + + + +
    + + + + +
    +
    + +
    + {$lang_advimage_misc} + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    + +
    + + + + +
    +
    +
    +
    + +
    +
    + +
    + +
    + +
    +
    +
    + + diff --git a/webcit/tiny_mce/plugins/advimage/images/CVS/Entries b/webcit/tiny_mce/plugins/advimage/images/CVS/Entries new file mode 100644 index 000000000..cfcf003f2 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/images/CVS/Entries @@ -0,0 +1,2 @@ +/sample.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/plugins/advimage/images/CVS/Repository b/webcit/tiny_mce/plugins/advimage/images/CVS/Repository new file mode 100644 index 000000000..0ff37eca8 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/advimage/images diff --git a/webcit/tiny_mce/plugins/advimage/images/CVS/Root b/webcit/tiny_mce/plugins/advimage/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/advimage/images/sample.gif b/webcit/tiny_mce/plugins/advimage/images/sample.gif new file mode 100644 index 000000000..53bf6890b Binary files /dev/null and b/webcit/tiny_mce/plugins/advimage/images/sample.gif differ diff --git a/webcit/tiny_mce/plugins/advimage/jscripts/CVS/Entries b/webcit/tiny_mce/plugins/advimage/jscripts/CVS/Entries new file mode 100644 index 000000000..1c75ec3bf --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/jscripts/CVS/Entries @@ -0,0 +1,2 @@ +/functions.js/1.2/Wed Sep 28 03:47:27 2005// +D diff --git a/webcit/tiny_mce/plugins/advimage/jscripts/CVS/Repository b/webcit/tiny_mce/plugins/advimage/jscripts/CVS/Repository new file mode 100644 index 000000000..5d790ecc9 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/jscripts/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/advimage/jscripts diff --git a/webcit/tiny_mce/plugins/advimage/jscripts/CVS/Root b/webcit/tiny_mce/plugins/advimage/jscripts/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/jscripts/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/advimage/jscripts/functions.js b/webcit/tiny_mce/plugins/advimage/jscripts/functions.js new file mode 100644 index 000000000..106e56db6 --- /dev/null +++ b/webcit/tiny_mce/plugins/advimage/jscripts/functions.js @@ -0,0 +1,480 @@ +/* Functions for the advimage plugin popup */ + +var preloadImg = null; + +function preinit() { + // Initialize + tinyMCE.setWindowArg('mce_windowresize', false); + + // Import external list url javascript + var url = tinyMCE.getParam("external_image_list_url"); + if (url != null) { + // Fix relative + if (url.charAt(0) != '/') + url = tinyMCE.documentBasePath + "/" + url; + + document.write(''); + } +} + +function convertURL(url, node, on_save) { + return eval("tinyMCEPopup.windowOpener." + tinyMCE.settings['urlconverter_callback'] + "(url, node, on_save);"); +} + +function getImageSrc(str) { + var pos = -1; + + if (!str) + return ""; + + if ((pos = str.indexOf('this.src=')) != -1) { + var src = str.substring(pos + 10); + + src = src.substring(0, src.indexOf('\'')); + + return src; + } + + return ""; +} + +function init() { + tinyMCEPopup.resizeToInnerSize(); + + var formObj = document.forms[0]; + var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id')); + var elm = inst.getFocusElement(); + var action = "insert"; + + // Resize some elements + if (isVisible('srcbrowser')) + document.getElementById('src').style.width = '260px'; + + if (isVisible('overbrowser')) + document.getElementById('onmouseoversrc').style.width = '260px'; + + if (isVisible('outbrowser')) + document.getElementById('onmouseoutsrc').style.width = '260px'; + + if (isVisible('longdescbrowser')) + document.getElementById('longdesc').style.width = '180px'; + + // Check action + if (elm != null && elm.nodeName == "IMG") + action = "update"; + + formObj.insert.value = tinyMCE.getLang('lang_' + action, 'Insert', true); + + if (action == "update") { + var src = tinyMCE.getAttrib(elm, 'src'); + var onmouseoversrc = getImageSrc(tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onmouseover'))); + var onmouseoutsrc = getImageSrc(tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onmouseout'))); + + // Fix for drag-drop/copy paste bug in Mozilla + mceRealSrc = tinyMCE.getAttrib(elm, 'mce_real_src'); + if (mceRealSrc != "") + src = mceRealSrc; + + src = convertURL(src, elm, true); + + if (onmouseoversrc != "") + onmouseoversrc = convertURL(onmouseoversrc, elm, true); + + if (onmouseoutsrc != "") + onmouseoutsrc = convertURL(onmouseoutsrc, elm, true); + + // Setup form data + var style = tinyMCE.parseStyle(elm.style.cssText); + formObj.src.value = src; + formObj.alt.value = tinyMCE.getAttrib(elm, 'alt'); + formObj.title.value = tinyMCE.getAttrib(elm, 'title'); + formObj.border.value = trimSize(getStyle(elm, 'border', 'borderWidth')); + formObj.vspace.value = tinyMCE.getAttrib(elm, 'vspace'); + formObj.hspace.value = tinyMCE.getAttrib(elm, 'hspace'); + formObj.width.value = trimSize(getStyle(elm, 'width')); + formObj.height.value = trimSize(getStyle(elm, 'height')); + formObj.onmouseoversrc.value = onmouseoversrc; + formObj.onmouseoutsrc.value = onmouseoutsrc; + formObj.id.value = tinyMCE.getAttrib(elm, 'id'); + formObj.dir.value = tinyMCE.getAttrib(elm, 'dir'); + formObj.lang.value = tinyMCE.getAttrib(elm, 'lang'); + formObj.longdesc.value = tinyMCE.getAttrib(elm, 'longdesc'); + formObj.usemap.value = tinyMCE.getAttrib(elm, 'usemap'); + formObj.style.value = tinyMCE.serializeStyle(style); + + // Select by the values + if (tinyMCE.isMSIE) + selectByValue(formObj, 'align', getStyle(elm, 'align', 'styleFloat')); + else + selectByValue(formObj, 'align', getStyle(elm, 'align', 'cssFloat')); + + selectByValue(formObj, 'classlist', tinyMCE.getAttrib(elm, 'class')); + selectByValue(formObj, 'imagelistsrc', src); + selectByValue(formObj, 'imagelistover', onmouseoversrc); + selectByValue(formObj, 'imagelistout', onmouseoutsrc); + + updateStyle(); + showPreviewImage(src); + changeAppearance(); + + window.focus(); + } + + addClassesToList('classlist', 'advimage_styles'); + + // If option enabled default contrain proportions to checked + if (tinyMCE.getParam("advimage_constrain_proportions", true)) + formObj.constrain.checked = true; + + // Check swap image if valid data + if (formObj.onmouseoversrc.value != "" || formObj.onmouseoutsrc.value != "") + setSwapImageDisabled(false); + else + setSwapImageDisabled(true); +} + +function setSwapImageDisabled(state) { + var formObj = document.forms[0]; + + formObj.onmousemovecheck.checked = !state; + + setBrowserDisabled('overbrowser', state); + setBrowserDisabled('outbrowser', state); + + if (formObj.imagelistover) + formObj.imagelistover.disabled = state; + + if (formObj.imagelistout) + formObj.imagelistout.disabled = state; + + formObj.onmouseoversrc.disabled = state; + formObj.onmouseoutsrc.disabled = state; +} + +function setAttrib(elm, attrib, value) { + var formObj = document.forms[0]; + var valueElm = formObj.elements[attrib]; + + if (typeof(value) == "undefined" || value == null) { + value = ""; + + if (valueElm) + value = valueElm.value; + } + + if (value != "") { + elm.setAttribute(attrib, value); + + if (attrib == "style") + attrib = "style.cssText"; + + if (attrib == "longdesc") + attrib = "longDesc"; + + if (attrib == "width") { + attrib = "style.width"; + value = value + "px"; + } + + if (attrib == "height") { + attrib = "style.height"; + value = value + "px"; + } + + if (attrib == "class") + attrib = "className"; + + eval('elm.' + attrib + "=value;"); + } else + elm.removeAttribute(attrib); +} + +function makeAttrib(attrib, value) { + var formObj = document.forms[0]; + var valueElm = formObj.elements[attrib]; + + if (typeof(value) == "undefined" || value == null) { + value = ""; + + if (valueElm) + value = valueElm.value; + } + + if (value == "") + return ""; + + // XML encode it + value = value.replace(/&/g, '&'); + value = value.replace(/\"/g, '"'); + value = value.replace(//g, '&gr;'); + + return ' ' + attrib + '="' + value + '"'; +} + +function insertAction() { + var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id')); + var elm = inst.getFocusElement(); + var formObj = document.forms[0]; + var src = formObj.src.value; + var onmouseoversrc = formObj.onmouseoversrc.value; + var onmouseoutsrc = formObj.onmouseoutsrc.value; + + if (tinyMCE.getParam("accessibility_warnings")) { + if (formObj.alt.value == "") { + var answer = confirm(tinyMCE.getLang('lang_advimage_missing_alt', '', true)); + if (answer == true) { + formObj.alt.value = " "; + } + } else { + var answer = true; + } + + if (!answer) + return; + } + + // Fix output URLs + src = convertURL(src, tinyMCE.imgElement); + + if (onmouseoversrc && onmouseoversrc != "") + onmouseoversrc = "this.src='" + convertURL(onmouseoversrc, tinyMCE.imgElement) + "';"; + + if (onmouseoutsrc && onmouseoutsrc != "") + onmouseoutsrc = "this.src='" + convertURL(onmouseoutsrc, tinyMCE.imgElement) + "';"; + + if (elm != null && elm.nodeName == "IMG") { + setAttrib(elm, 'src', src); + setAttrib(elm, 'mce_real_src', src); + setAttrib(elm, 'alt'); + setAttrib(elm, 'title'); + setAttrib(elm, 'border'); + setAttrib(elm, 'vspace'); + setAttrib(elm, 'hspace'); + setAttrib(elm, 'width'); + setAttrib(elm, 'height'); + setAttrib(elm, 'onmouseover', onmouseoversrc); + setAttrib(elm, 'onmouseout', onmouseoutsrc); + setAttrib(elm, 'id'); + setAttrib(elm, 'dir'); + setAttrib(elm, 'lang'); + setAttrib(elm, 'longdesc'); + setAttrib(elm, 'usemap'); + setAttrib(elm, 'style'); + setAttrib(elm, 'class', getSelectValue(formObj, 'classlist')); + setAttrib(elm, 'align', getSelectValue(formObj, 'align')); + + //tinyMCEPopup.execCommand("mceRepaint"); + + // Refresh in old MSIE + if (tinyMCE.isMSIE5) + elm.outerHTML = elm.outerHTML; + } else { + var html = "' + + getImageData(src); +} + +function getImageData(src) { + preloadImg = new Image(); + + tinyMCE.addEvent(preloadImg, "load", updateImageData); + tinyMCE.addEvent(preloadImg, "error", resetImageData); + + preloadImg.src = src; +} + +function updateImageData() { + var formObj = document.forms[0]; + + if (formObj.width.value == "") + formObj.width.value = preloadImg.width; + + if (formObj.height.value == "") + formObj.height.value = preloadImg.height; + + updateStyle(); +} + +function resetImageData() { + var formObj = document.forms[0]; + formObj.width.value = formObj.height.value = ""; +} + +function getSelectValue(form_obj, field_name) { + var elm = form_obj.elements[field_name]; + + if (elm == null || elm.options == null) + return ""; + + return elm.options[elm.selectedIndex].value; +} + +function renderImageList(elm_id, target_form_element, onchange_func) { + if (typeof(tinyMCEImageList) == "undefined" || tinyMCEImageList.length == 0) + return; + + var html = ""; + + html += '
    '; + html += ''; + + document.write(html); +} + +function insertAction() { + var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id')); + var elm = inst.getFocusElement(); + + elm = tinyMCE.getParentElement(elm, "a"); + + tinyMCEPopup.execCommand("mceBeginUndoLevel"); + + // Create new anchor elements + if (elm == null) { + if (tinyMCE.isSafari) + tinyMCEPopup.execCommand("mceInsertContent", false, '' + inst.getSelectedHTML() + ''); + else + tinyMCEPopup.execCommand("createlink", false, "#mce_temp_url#"); + + var elementArray = tinyMCE.getElementsByAttributeValue(inst.getBody(), "a", "href", "#mce_temp_url#"); + for (var i=0; i{$lang_link_list}
    + + + + + + + + + + + + + + + + + + +
    + + + + +
    + +
    + + + + + +
    +
    + {$lang_advlink_advanced_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    +
    +
    +
    + +
    +
    + {$lang_advlink_event_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + + +
    +
    + +
    + +
    + +
    +
    + + + diff --git a/webcit/tiny_mce/plugins/advlink/readme.txt b/webcit/tiny_mce/plugins/advlink/readme.txt new file mode 100644 index 000000000..4fdb78aec --- /dev/null +++ b/webcit/tiny_mce/plugins/advlink/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/webcit/tiny_mce/plugins/autosave/CVS/Entries b/webcit/tiny_mce/plugins/autosave/CVS/Entries new file mode 100644 index 000000000..c9ad3c563 --- /dev/null +++ b/webcit/tiny_mce/plugins/autosave/CVS/Entries @@ -0,0 +1,4 @@ +D/langs//// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// +/editor_plugin.js/1.2/Wed Sep 28 03:47:27 2005// +/editor_plugin_src.js/1.2/Wed Sep 28 03:47:27 2005// diff --git a/webcit/tiny_mce/plugins/autosave/CVS/Repository b/webcit/tiny_mce/plugins/autosave/CVS/Repository new file mode 100644 index 000000000..4c4dd9652 --- /dev/null +++ b/webcit/tiny_mce/plugins/autosave/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/autosave diff --git a/webcit/tiny_mce/plugins/autosave/CVS/Root b/webcit/tiny_mce/plugins/autosave/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/autosave/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/autosave/editor_plugin.js b/webcit/tiny_mce/plugins/autosave/editor_plugin.js new file mode 100644 index 000000000..4be6e7aa7 --- /dev/null +++ b/webcit/tiny_mce/plugins/autosave/editor_plugin.js @@ -0,0 +1,2 @@ +/* Import plugin specific language pack */ + tinyMCE.importPluginLanguagePack('autosave','en,sv,cs,he,no,hu,de,da');function TinyMCE_autosave_getInfo(){return{longname:'Auto save',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_autosave.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};};function TinyMCE_autosave_beforeUnloadHandler(){var msg=tinyMCE.getLang("lang_autosave_unload_msg");var anyDirty=false;for(var n in tinyMCE.instances){var inst=tinyMCE.instances[n];if(inst.isDirty())return msg;}return;}window.onbeforeunload=TinyMCE_autosave_beforeUnloadHandler; \ No newline at end of file diff --git a/webcit/tiny_mce/plugins/autosave/editor_plugin_src.js b/webcit/tiny_mce/plugins/autosave/editor_plugin_src.js new file mode 100644 index 000000000..3704af436 --- /dev/null +++ b/webcit/tiny_mce/plugins/autosave/editor_plugin_src.js @@ -0,0 +1,28 @@ +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('autosave', 'en,sv,cs,he,no,hu,de,da'); + +function TinyMCE_autosave_getInfo() { + return { + longname : 'Auto save', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_autosave.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; +}; + +function TinyMCE_autosave_beforeUnloadHandler() { + var msg = tinyMCE.getLang("lang_autosave_unload_msg"); + + var anyDirty = false; + for (var n in tinyMCE.instances) { + var inst = tinyMCE.instances[n]; + + if (inst.isDirty()) + return msg; + } + + return; +} + +window.onbeforeunload = TinyMCE_autosave_beforeUnloadHandler; diff --git a/webcit/tiny_mce/plugins/autosave/langs/CVS/Entries b/webcit/tiny_mce/plugins/autosave/langs/CVS/Entries new file mode 100644 index 000000000..aad7084a6 --- /dev/null +++ b/webcit/tiny_mce/plugins/autosave/langs/CVS/Entries @@ -0,0 +1,9 @@ +/en.js/1.1/Tue Aug 30 18:35:56 2005// +/sv.js/1.1/Tue Aug 30 18:35:56 2005// +/cs.js/1.2/Wed Sep 28 03:47:27 2005// +/da.js/1.1/Mon Sep 26 18:44:31 2005// +/de.js/1.1/Mon Sep 26 18:44:31 2005// +/he.js/1.1/Mon Sep 26 18:44:31 2005// +/hu.js/1.1/Mon Sep 26 18:44:31 2005// +/no.js/1.1/Mon Sep 26 18:44:31 2005// +D diff --git a/webcit/tiny_mce/plugins/autosave/langs/CVS/Repository b/webcit/tiny_mce/plugins/autosave/langs/CVS/Repository new file mode 100644 index 000000000..db9509c23 --- /dev/null +++ b/webcit/tiny_mce/plugins/autosave/langs/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/autosave/langs diff --git a/webcit/tiny_mce/plugins/autosave/langs/CVS/Root b/webcit/tiny_mce/plugins/autosave/langs/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/autosave/langs/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/autosave/langs/cs.js b/webcit/tiny_mce/plugins/autosave/langs/cs.js new file mode 100644 index 000000000..a449b606d --- /dev/null +++ b/webcit/tiny_mce/plugins/autosave/langs/cs.js @@ -0,0 +1,11 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.2 2005/09/26 18:00:52 ajc Exp $ + */ + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'Změny, které jste udělal(a) budou ztraceny, jestliže opustíte tuto stránku.' +}); + diff --git a/webcit/tiny_mce/plugins/autosave/langs/da.js b/webcit/tiny_mce/plugins/autosave/langs/da.js new file mode 100644 index 000000000..f66dfe3af --- /dev/null +++ b/webcit/tiny_mce/plugins/autosave/langs/da.js @@ -0,0 +1,5 @@ +// DK lang variables contributed by Jan Moelgaard + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'De ændringer, du har lavet, vil gå tabt, hvis du lukker denne side.' +}); diff --git a/webcit/tiny_mce/plugins/autosave/langs/de.js b/webcit/tiny_mce/plugins/autosave/langs/de.js new file mode 100644 index 000000000..90060a91a --- /dev/null +++ b/webcit/tiny_mce/plugins/autosave/langs/de.js @@ -0,0 +1,5 @@ +// DE lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'Alle Veränderungen an dieser Seite werden verlorengehen, wenn Sie diese Seite jetzt verlassen.' +}); diff --git a/webcit/tiny_mce/plugins/autosave/langs/en.js b/webcit/tiny_mce/plugins/autosave/langs/en.js new file mode 100644 index 000000000..01951332d --- /dev/null +++ b/webcit/tiny_mce/plugins/autosave/langs/en.js @@ -0,0 +1,5 @@ +// EN lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'The changes you made will be lost if you navigate away from this page.' +}); diff --git a/webcit/tiny_mce/plugins/autosave/langs/he.js b/webcit/tiny_mce/plugins/autosave/langs/he.js new file mode 100644 index 000000000..cf3fa3c26 --- /dev/null +++ b/webcit/tiny_mce/plugins/autosave/langs/he.js @@ -0,0 +1,5 @@ +// HE lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'äùéðåééí ùáéöòú éàáãå àí úòæåá àú ãó æä.' +}); diff --git a/webcit/tiny_mce/plugins/autosave/langs/hu.js b/webcit/tiny_mce/plugins/autosave/langs/hu.js new file mode 100644 index 000000000..53ba609cd --- /dev/null +++ b/webcit/tiny_mce/plugins/autosave/langs/hu.js @@ -0,0 +1,5 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'A módosítások el fognak veszni, ha elnavigálsz az oldalról.' +}); diff --git a/webcit/tiny_mce/plugins/autosave/langs/no.js b/webcit/tiny_mce/plugins/autosave/langs/no.js new file mode 100644 index 000000000..7307cb8cf --- /dev/null +++ b/webcit/tiny_mce/plugins/autosave/langs/no.js @@ -0,0 +1,6 @@ +// NO lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'Forandringene du gjorde forsvinner om du velger å forlate denne siden.' +}); + diff --git a/webcit/tiny_mce/plugins/autosave/langs/sv.js b/webcit/tiny_mce/plugins/autosave/langs/sv.js new file mode 100644 index 000000000..7c1b66ee4 --- /dev/null +++ b/webcit/tiny_mce/plugins/autosave/langs/sv.js @@ -0,0 +1,6 @@ +// SE lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'Förändringarna du gjorde kommer att gå förlorade om du väljer att lämna denna sida.' +}); + diff --git a/webcit/tiny_mce/plugins/autosave/readme.txt b/webcit/tiny_mce/plugins/autosave/readme.txt new file mode 100644 index 000000000..4fdb78aec --- /dev/null +++ b/webcit/tiny_mce/plugins/autosave/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/webcit/tiny_mce/plugins/contextmenu/CVS/Entries b/webcit/tiny_mce/plugins/contextmenu/CVS/Entries new file mode 100644 index 000000000..b23ef7305 --- /dev/null +++ b/webcit/tiny_mce/plugins/contextmenu/CVS/Entries @@ -0,0 +1,5 @@ +D/css//// +D/images//// +/editor_plugin.js/1.1/Mon Sep 12 09:23:32 2005// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// +/editor_plugin_src.js/1.2/Wed Sep 28 03:47:27 2005// diff --git a/webcit/tiny_mce/plugins/contextmenu/CVS/Repository b/webcit/tiny_mce/plugins/contextmenu/CVS/Repository new file mode 100644 index 000000000..3c24b3da4 --- /dev/null +++ b/webcit/tiny_mce/plugins/contextmenu/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/contextmenu diff --git a/webcit/tiny_mce/plugins/contextmenu/CVS/Root b/webcit/tiny_mce/plugins/contextmenu/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/contextmenu/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/contextmenu/css/CVS/Entries b/webcit/tiny_mce/plugins/contextmenu/css/CVS/Entries new file mode 100644 index 000000000..1c4540505 --- /dev/null +++ b/webcit/tiny_mce/plugins/contextmenu/css/CVS/Entries @@ -0,0 +1,2 @@ +/contextmenu.css/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/plugins/contextmenu/css/CVS/Repository b/webcit/tiny_mce/plugins/contextmenu/css/CVS/Repository new file mode 100644 index 000000000..30b8152ba --- /dev/null +++ b/webcit/tiny_mce/plugins/contextmenu/css/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/contextmenu/css diff --git a/webcit/tiny_mce/plugins/contextmenu/css/CVS/Root b/webcit/tiny_mce/plugins/contextmenu/css/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/contextmenu/css/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/contextmenu/css/contextmenu.css b/webcit/tiny_mce/plugins/contextmenu/css/contextmenu.css new file mode 100644 index 000000000..58bb33757 --- /dev/null +++ b/webcit/tiny_mce/plugins/contextmenu/css/contextmenu.css @@ -0,0 +1,60 @@ +.contextMenuIEPopup { + padding: 0px; + margin: 0px; + border: 0px; + overflow: hidden; +} + +.contextMenu { + position: absolute; + cursor: default; + z-index: 1000; + border: 1px solid #D4D0C8; + background-color: #FFFFFF; +} + +.contextMenuItem, .contextMenuItemOver { +} + +.contextMenuItemOver { + background-color: #B6BDD2; +} + +.contextMenuSeparator { + width: 100%; + background-color: #D4D0C8; + border: 0px; +} + +.contextMenuImage, .contextMenuItemDisabled { + border: 0px; +} + +.contextMenuIcon { + background-color: #F0F0EE; +} + +.contextMenuItemOver .contextMenuIcon { + background-color: #B6BDD2; +} + +.contextMenuIcon { + background-color: #F0F0EE; +} + +.contextMenuItemDisabled img { + filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30); + -moz-opacity:0.3; + opacity: 0.3; +} + +.contextMenuText { + font-family: Tahoma, Verdana, Arial, Helvetica; + font-size: 11px; + margin-left: 5px; + margin-right: 10px; +} + +.contextMenuItemDisabled { + color: #AAAAAA; +} diff --git a/webcit/tiny_mce/plugins/contextmenu/editor_plugin.js b/webcit/tiny_mce/plugins/contextmenu/editor_plugin.js new file mode 100644 index 000000000..8cfb6a19f --- /dev/null +++ b/webcit/tiny_mce/plugins/contextmenu/editor_plugin.js @@ -0,0 +1,2 @@ +/* Import plugin specific language pack */ + if(!tinyMCE.settings['contextmenu_skip_plugin_css'])tinyMCE.loadCSS(tinyMCE.baseURL+"/plugins/contextmenu/css/contextmenu.css");var TinyMCE_contextmenu_contextMenu=null;function TinyMCE_contextmenu_getInfo(){return{longname:'Context menus',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_contextmenu.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};};function TinyMCE_contextmenu_initInstance(inst){if(tinyMCE.isMSIE5_0)return;tinyMCE.addEvent(inst.getDoc(),"click",TinyMCE_contextmenu_hideContextMenu);tinyMCE.addEvent(inst.getDoc(),"keypress",TinyMCE_contextmenu_hideContextMenu);tinyMCE.addEvent(inst.getDoc(),"keydown",TinyMCE_contextmenu_hideContextMenu);tinyMCE.addEvent(document,"click",TinyMCE_contextmenu_hideContextMenu);tinyMCE.addEvent(document,"keypress",TinyMCE_contextmenu_hideContextMenu);tinyMCE.addEvent(document,"keydown",TinyMCE_contextmenu_hideContextMenu);var contextMenu=new ContextMenu({commandhandler:"TinyMCE_contextmenu_commandHandler",spacer_image:tinyMCE.baseURL+"/plugins/contextmenu/images/spacer.gif"});TinyMCE_contextmenu_contextMenu=contextMenu;if(tinyMCE.isGecko){tinyMCE.addEvent(inst.getDoc(),"contextmenu",function(e){TinyMCE_contextmenu_showContextMenu(tinyMCE.isMSIE?inst.contentWindow.event:e,inst);});}else tinyMCE.addEvent(inst.getDoc(),"contextmenu",TinyMCE_contextmenu_onContextMenu);}function TinyMCE_contextmenu_onContextMenu(e){var elm=tinyMCE.isMSIE?e.srcElement:e.target;var targetInst,body;if((body=tinyMCE.getParentElement(elm,"body"))!=null){for(var n in tinyMCE.instances){var inst=tinyMCE.instances[n];if(body==inst.getBody()){targetInst=inst;break;}}return TinyMCE_contextmenu_showContextMenu(tinyMCE.isMSIE?targetInst.contentWindow.event:e,targetInst);}}function TinyMCE_contextmenu_showContextMenu(e,inst){function getAttrib(elm,name){return elm.getAttribute(name)?elm.getAttribute(name):"";}var x,y,elm,contextMenu;var pos=tinyMCE.getAbsPosition(inst.iframeElement);x=tinyMCE.isMSIE?e.screenX:pos.absLeft+(e.pageX-inst.getBody().scrollLeft);y=tinyMCE.isMSIE?e.screenY:pos.absTop+(e.pageY-inst.getBody().scrollTop);elm=tinyMCE.isMSIE?e.srcElement:e.target;contextMenu=TinyMCE_contextmenu_contextMenu;contextMenu.inst=inst;window.setTimeout(function(){var theme=tinyMCE.getParam("theme");contextMenu.clearAll();var sel=inst.getSelectedText().length!=0||elm.nodeName=="IMG";contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/cut.gif","$lang_cut_desc","Cut","",!sel);contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/copy.gif","$lang_copy_desc","Copy","",!sel);contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/paste.gif","$lang_paste_desc","Paste","",false);elm=tinyMCE.getParentElement(elm,"img,table,td");if(elm){switch(elm.nodeName){case "IMG":contextMenu.addSeparator();if(tinyMCE.getAttrib(elm,'class').indexOf('mceItemFlash')==0)contextMenu.addItem(tinyMCE.baseURL+"/plugins/flash/images/flash.gif","$lang_flash_props","mceFlash");else contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/image.gif","$lang_image_props_desc",typeof(TinyMCE_advimage_getControlHTML)!="undefined"?"mceAdvImage":"mceImage");break;case "TABLE":case "TD":if(typeof(TinyMCE_table_getControlHTML)!="undefined"){var colspan=(elm.nodeName=="TABLE")?"":getAttrib(elm,"colspan");var rowspan=(elm.nodeName=="TABLE")?"":getAttrib(elm,"rowspan");colspan=colspan==""?"1":colspan;rowspan=rowspan==""?"1":rowspan;contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/cut.gif","$lang_table_cut_row_desc","mceTableCutRow");contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/copy.gif","$lang_table_copy_row_desc","mceTableCopyRow");contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/paste.gif","$lang_table_paste_row_before_desc","mceTablePasteRowBefore","",inst.tableRowClipboard==null);contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/paste.gif","$lang_table_paste_row_after_desc","mceTablePasteRowAfter","",inst.tableRowClipboard==null);contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table.gif","$lang_table_desc","mceInsertTable","insert");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table.gif","$lang_table_props_desc","mceInsertTable");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_cell_props.gif","$lang_table_cell_desc","mceTableCellProps");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_delete.gif","$lang_table_del","mceTableDelete");contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_row_props.gif","$lang_table_row_desc","mceTableRowProps");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_insert_row_before.gif","$lang_table_row_before_desc","mceTableInsertRowBefore");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_insert_row_after.gif","$lang_table_row_after_desc","mceTableInsertRowAfter");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_delete_row.gif","$lang_table_delete_row_desc","mceTableDeleteRow");contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_insert_col_before.gif","$lang_table_col_before_desc","mceTableInsertColBefore");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_insert_col_after.gif","$lang_table_col_after_desc","mceTableInsertColAfter");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_delete_col.gif","$lang_table_delete_col_desc","mceTableDeleteCol");contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_split_cells.gif","$lang_table_split_cells_desc","mceTableSplitCells","",(colspan=="1"&&rowspan=="1"));contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_merge_cells.gif","$lang_table_merge_cells_desc","mceTableMergeCells","",false);}break;}}else{if(typeof(TinyMCE_table_getControlHTML)!="undefined"){contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table.gif","$lang_table_desc","mceInsertTable","insert");}}contextMenu.show(x,y);},10);tinyMCE.cancelEvent(e);return false;}function TinyMCE_contextmenu_hideContextMenu(){TinyMCE_contextmenu_contextMenu.hide();return true;}function TinyMCE_contextmenu_commandHandler(command,value){TinyMCE_contextmenu_contextMenu.hide();var ui=false;if(command=="mceInsertTable"||command=="mceTableCellProps"||command=="mceTableRowProps"||command=="mceTableMergeCells")ui=true;if(command=="Paste")value=null;TinyMCE_contextmenu_contextMenu.inst.execCommand(command,ui,value);}function ContextMenu(settings){function defParam(key,def_val){settings[key]=typeof(settings[key])!="undefined"?settings[key]:def_val;}var self=this;this.isMSIE=(navigator.appName=="Microsoft Internet Explorer");this.contextMenuDiv=document.createElement("div");this.contextMenuDiv.className="contextMenu";this.contextMenuDiv.setAttribute("class","contextMenu");this.contextMenuDiv.style.display="none";this.contextMenuDiv.style.position='absolute';this.contextMenuDiv.style.zindex=1000;this.contextMenuDiv.style.left='0px';this.contextMenuDiv.style.top='0px';this.contextMenuDiv.unselectable="on";document.body.appendChild(this.contextMenuDiv);defParam("commandhandler","");defParam("spacer_image","images/spacer.gif");this.items=new Array();this.settings=settings;this.html="";if(tinyMCE.isMSIE&&!tinyMCE.isMSIE5_0){this.pop=window.createPopup();doc=this.pop.document;doc.open();doc.write('');doc.close();}};ContextMenu.prototype.clearAll=function(){this.html="";this.contextMenuDiv.innerHTML="";};ContextMenu.prototype.addSeparator=function(){this.html+='
    ';html+=title;html+='
    ';html+=this.html;html+='
    ';this.contextMenuDiv.innerHTML=html;if(tinyMCE.isMSIE&&!tinyMCE.isMSIE5_0){var width,height;this.contextMenuDiv.style.display="block";width=this.contextMenuDiv.offsetWidth;height=this.contextMenuDiv.offsetHeight;this.contextMenuDiv.style.display="none";this.pop.document.body.innerHTML='
    '+html+"
    ";this.pop.document.tinyMCE=tinyMCE;this.pop.document.contextMenu=this;this.pop.show(x,y,width,height);}else{this.contextMenuDiv.style.left=x+'px';this.contextMenuDiv.style.top=y+'px';this.contextMenuDiv.style.display="block";}};ContextMenu.prototype.hide=function(){if(tinyMCE.isMSIE&&!tinyMCE.isMSIE5_0)this.pop.hide();else this.contextMenuDiv.style.display="none";};ContextMenu.prototype.execCommand=function(command,value){eval(this.settings['commandhandler']+"(command, value);");}; \ No newline at end of file diff --git a/webcit/tiny_mce/plugins/contextmenu/editor_plugin_src.js b/webcit/tiny_mce/plugins/contextmenu/editor_plugin_src.js new file mode 100644 index 000000000..9c33a70fd --- /dev/null +++ b/webcit/tiny_mce/plugins/contextmenu/editor_plugin_src.js @@ -0,0 +1,309 @@ +/* Import plugin specific language pack */ +//tinyMCE.importPluginLanguagePack('contextmenu', 'en,zh_cn,cs,fa,fr_ca,fr,de,no'); +if (!tinyMCE.settings['contextmenu_skip_plugin_css']) + tinyMCE.loadCSS(tinyMCE.baseURL + "/plugins/contextmenu/css/contextmenu.css"); + +// Global contextmenu class instance +var TinyMCE_contextmenu_contextMenu = null; + +function TinyMCE_contextmenu_getInfo() { + return { + longname : 'Context menus', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_contextmenu.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; +}; + +function TinyMCE_contextmenu_initInstance(inst) { + // Is not working on MSIE 5.0 + if (tinyMCE.isMSIE5_0) + return; + + // Add hide event handles + tinyMCE.addEvent(inst.getDoc(), "click", TinyMCE_contextmenu_hideContextMenu); + tinyMCE.addEvent(inst.getDoc(), "keypress", TinyMCE_contextmenu_hideContextMenu); + tinyMCE.addEvent(inst.getDoc(), "keydown", TinyMCE_contextmenu_hideContextMenu); + tinyMCE.addEvent(document, "click", TinyMCE_contextmenu_hideContextMenu); + tinyMCE.addEvent(document, "keypress", TinyMCE_contextmenu_hideContextMenu); + tinyMCE.addEvent(document, "keydown", TinyMCE_contextmenu_hideContextMenu); + + var contextMenu = new ContextMenu({ + commandhandler : "TinyMCE_contextmenu_commandHandler", + spacer_image : tinyMCE.baseURL + "/plugins/contextmenu/images/spacer.gif" + }); + + // Register global reference + TinyMCE_contextmenu_contextMenu = contextMenu; + + // Attach contextmenu event + if (tinyMCE.isGecko) { + tinyMCE.addEvent(inst.getDoc(), "contextmenu", function(e) {TinyMCE_contextmenu_showContextMenu(tinyMCE.isMSIE ? inst.contentWindow.event : e, inst);}); + } else + tinyMCE.addEvent(inst.getDoc(), "contextmenu", TinyMCE_contextmenu_onContextMenu); +} + +function TinyMCE_contextmenu_onContextMenu(e) { + var elm = tinyMCE.isMSIE ? e.srcElement : e.target; + var targetInst, body; + + // Find instance + if ((body = tinyMCE.getParentElement(elm, "body")) != null) { + for (var n in tinyMCE.instances) { + var inst = tinyMCE.instances[n]; + + if (body == inst.getBody()) { + targetInst = inst; + break; + } + } + + return TinyMCE_contextmenu_showContextMenu(tinyMCE.isMSIE ? targetInst.contentWindow.event : e, targetInst); + } +} + +function TinyMCE_contextmenu_showContextMenu(e, inst) { + function getAttrib(elm, name) { + return elm.getAttribute(name) ? elm.getAttribute(name) : ""; + } + + var x, y, elm, contextMenu; + var pos = tinyMCE.getAbsPosition(inst.iframeElement); + + x = tinyMCE.isMSIE ? e.screenX : pos.absLeft + (e.pageX - inst.getBody().scrollLeft); + y = tinyMCE.isMSIE ? e.screenY : pos.absTop + (e.pageY - inst.getBody().scrollTop); + elm = tinyMCE.isMSIE ? e.srcElement : e.target; + contextMenu = TinyMCE_contextmenu_contextMenu; + contextMenu.inst = inst; + + // Mozilla needs some time + window.setTimeout(function () { + var theme = tinyMCE.getParam("theme"); + + contextMenu.clearAll(); + var sel = inst.getSelectedText().length != 0 || elm.nodeName == "IMG"; + + // Default items + contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/cut.gif", "$lang_cut_desc", "Cut", "", !sel); + contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/copy.gif", "$lang_copy_desc", "Copy", "", !sel); + contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/paste.gif", "$lang_paste_desc", "Paste", "", false); + + // Get element + elm = tinyMCE.getParentElement(elm, "img,table,td"); + if (elm) { + switch (elm.nodeName) { + case "IMG": + contextMenu.addSeparator(); + + // If flash + if (tinyMCE.getAttrib(elm, 'class').indexOf('mceItemFlash') == 0) + contextMenu.addItem(tinyMCE.baseURL + "/plugins/flash/images/flash.gif", "$lang_flash_props", "mceFlash"); + else + contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/image.gif", "$lang_image_props_desc", typeof(TinyMCE_advimage_getControlHTML) != "undefined" ? "mceAdvImage" : "mceImage"); + break; + + case "TABLE": + case "TD": + // Is table plugin loaded + if (typeof(TinyMCE_table_getControlHTML) != "undefined") { + var colspan = (elm.nodeName == "TABLE") ? "" : getAttrib(elm, "colspan"); + var rowspan = (elm.nodeName == "TABLE") ? "" : getAttrib(elm, "rowspan"); + + colspan = colspan == "" ? "1" : colspan; + rowspan = rowspan == "" ? "1" : rowspan; + + contextMenu.addSeparator(); + contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/cut.gif", "$lang_table_cut_row_desc", "mceTableCutRow"); + contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/copy.gif", "$lang_table_copy_row_desc", "mceTableCopyRow"); + contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/paste.gif", "$lang_table_paste_row_before_desc", "mceTablePasteRowBefore", "", inst.tableRowClipboard == null); + contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/paste.gif", "$lang_table_paste_row_after_desc", "mceTablePasteRowAfter", "", inst.tableRowClipboard == null); + +/* contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/left.gif", "$lang_justifyleft_desc", "JustifyLeft", "", false); + contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/center.gif", "$lang_justifycenter_desc", "JustifyCenter", "", false); + contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/right.gif", "$lang_justifyright_desc", "JustifyRight", "", false); + contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/full.gif", "$lang_justifyfull_desc", "JustifyFull", "", false);*/ + contextMenu.addSeparator(); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table.gif", "$lang_table_desc", "mceInsertTable", "insert"); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table.gif", "$lang_table_props_desc", "mceInsertTable"); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_cell_props.gif", "$lang_table_cell_desc", "mceTableCellProps"); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_delete.gif", "$lang_table_del", "mceTableDelete"); + contextMenu.addSeparator(); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_row_props.gif", "$lang_table_row_desc", "mceTableRowProps"); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_insert_row_before.gif", "$lang_table_row_before_desc", "mceTableInsertRowBefore"); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_insert_row_after.gif", "$lang_table_row_after_desc", "mceTableInsertRowAfter"); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_delete_row.gif", "$lang_table_delete_row_desc", "mceTableDeleteRow"); + contextMenu.addSeparator(); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_insert_col_before.gif", "$lang_table_col_before_desc", "mceTableInsertColBefore"); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_insert_col_after.gif", "$lang_table_col_after_desc", "mceTableInsertColAfter"); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_delete_col.gif", "$lang_table_delete_col_desc", "mceTableDeleteCol"); + contextMenu.addSeparator(); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_split_cells.gif", "$lang_table_split_cells_desc", "mceTableSplitCells", "", (colspan == "1" && rowspan == "1")); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_merge_cells.gif", "$lang_table_merge_cells_desc", "mceTableMergeCells", "", false); + } + break; + } + } else { + // Add table specific + if (typeof(TinyMCE_table_getControlHTML) != "undefined") { + contextMenu.addSeparator(); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table.gif", "$lang_table_desc", "mceInsertTable", "insert"); + } + } + + contextMenu.show(x, y); + }, 10); + + // Cancel default handeling + tinyMCE.cancelEvent(e); + return false; +} + +function TinyMCE_contextmenu_hideContextMenu() { + TinyMCE_contextmenu_contextMenu.hide(); + + return true; +} + +function TinyMCE_contextmenu_commandHandler(command, value) { + TinyMCE_contextmenu_contextMenu.hide(); + + // UI must be true on these + var ui = false; + if (command == "mceInsertTable" || command == "mceTableCellProps" || command == "mceTableRowProps" || command == "mceTableMergeCells") + ui = true; + + if (command == "Paste") + value = null; + + TinyMCE_contextmenu_contextMenu.inst.execCommand(command, ui, value); +} + +// Context menu class + +function ContextMenu(settings) { + // Default value function + function defParam(key, def_val) { + settings[key] = typeof(settings[key]) != "undefined" ? settings[key] : def_val; + } + + var self = this; + + this.isMSIE = (navigator.appName == "Microsoft Internet Explorer"); + + // Setup contextmenu div + this.contextMenuDiv = document.createElement("div"); + this.contextMenuDiv.className = "contextMenu"; + this.contextMenuDiv.setAttribute("class", "contextMenu"); + this.contextMenuDiv.style.display = "none"; + this.contextMenuDiv.style.position = 'absolute'; + this.contextMenuDiv.style.zindex = 1000; + this.contextMenuDiv.style.left = '0px'; + this.contextMenuDiv.style.top = '0px'; + this.contextMenuDiv.unselectable = "on"; + + document.body.appendChild(this.contextMenuDiv); + + // Setup default values + defParam("commandhandler", ""); + defParam("spacer_image", "images/spacer.gif"); + + this.items = new Array(); + this.settings = settings; + this.html = ""; + + // IE Popup + if (tinyMCE.isMSIE && !tinyMCE.isMSIE5_0) { + this.pop = window.createPopup(); + doc = this.pop.document; + doc.open(); + doc.write(''); + doc.close(); + } +}; + +ContextMenu.prototype.clearAll = function() { + this.html = ""; + this.contextMenuDiv.innerHTML = ""; +}; + +ContextMenu.prototype.addSeparator = function() { + this.html += ''; +}; + +ContextMenu.prototype.addItem = function(icon, title, command, value, disabled) { + if (title.charAt(0) == '$') + title = tinyMCE.getLang(title.substring(1)); + + var onMouseDown = ''; + var html = ''; + + if (tinyMCE.isMSIE && !tinyMCE.isMSIE5_0) + onMouseDown = 'contextMenu.execCommand(\'' + command + '\', \'' + value + '\');return false;'; + else + onMouseDown = this.settings['commandhandler'] + '(\'' + command + '\', \'' + value + '\');return false;'; + + if (icon == "") + icon = this.settings['spacer_image']; + + if (!disabled) + html += ''; + else + html += ''; + + html += ''; + html += '
    '; + + // Add text + html += title; + + html += '
    '; + html += ''; + + // Add to main + this.html += html; +}; + +ContextMenu.prototype.show = function(x, y) { + if (this.html == "") + return; + + var html = ''; + + html += ''; + html += this.html; + html += '
    '; + + this.contextMenuDiv.innerHTML = html; + + if (tinyMCE.isMSIE && !tinyMCE.isMSIE5_0) { + var width, height; + + // Get dimensions + this.contextMenuDiv.style.display = "block"; + width = this.contextMenuDiv.offsetWidth; + height = this.contextMenuDiv.offsetHeight; + this.contextMenuDiv.style.display = "none"; + + // Setup popup and show + this.pop.document.body.innerHTML = '
    ' + html + "
    "; + this.pop.document.tinyMCE = tinyMCE; + this.pop.document.contextMenu = this; + this.pop.show(x, y, width, height); + } else { + this.contextMenuDiv.style.left = x + 'px'; + this.contextMenuDiv.style.top = y + 'px'; + this.contextMenuDiv.style.display = "block"; + } +}; + +ContextMenu.prototype.hide = function() { + if (tinyMCE.isMSIE && !tinyMCE.isMSIE5_0) + this.pop.hide(); + else + this.contextMenuDiv.style.display = "none"; +}; + +ContextMenu.prototype.execCommand = function(command, value) { + eval(this.settings['commandhandler'] + "(command, value);"); +}; diff --git a/webcit/tiny_mce/plugins/contextmenu/images/CVS/Entries b/webcit/tiny_mce/plugins/contextmenu/images/CVS/Entries new file mode 100644 index 000000000..020ec739c --- /dev/null +++ b/webcit/tiny_mce/plugins/contextmenu/images/CVS/Entries @@ -0,0 +1,2 @@ +/spacer.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/plugins/contextmenu/images/CVS/Repository b/webcit/tiny_mce/plugins/contextmenu/images/CVS/Repository new file mode 100644 index 000000000..db987c8cb --- /dev/null +++ b/webcit/tiny_mce/plugins/contextmenu/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/contextmenu/images diff --git a/webcit/tiny_mce/plugins/contextmenu/images/CVS/Root b/webcit/tiny_mce/plugins/contextmenu/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/contextmenu/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/contextmenu/images/spacer.gif b/webcit/tiny_mce/plugins/contextmenu/images/spacer.gif new file mode 100644 index 000000000..388486517 Binary files /dev/null and b/webcit/tiny_mce/plugins/contextmenu/images/spacer.gif differ diff --git a/webcit/tiny_mce/plugins/contextmenu/readme.txt b/webcit/tiny_mce/plugins/contextmenu/readme.txt new file mode 100644 index 000000000..4fdb78aec --- /dev/null +++ b/webcit/tiny_mce/plugins/contextmenu/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/webcit/tiny_mce/plugins/directionality/CVS/Entries b/webcit/tiny_mce/plugins/directionality/CVS/Entries new file mode 100644 index 000000000..9a9931ba4 --- /dev/null +++ b/webcit/tiny_mce/plugins/directionality/CVS/Entries @@ -0,0 +1,5 @@ +D/images//// +D/langs//// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// +/editor_plugin.js/1.2/Wed Sep 28 03:47:27 2005// +/editor_plugin_src.js/1.2/Wed Sep 28 03:47:27 2005// diff --git a/webcit/tiny_mce/plugins/directionality/CVS/Repository b/webcit/tiny_mce/plugins/directionality/CVS/Repository new file mode 100644 index 000000000..c5d075327 --- /dev/null +++ b/webcit/tiny_mce/plugins/directionality/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/directionality diff --git a/webcit/tiny_mce/plugins/directionality/CVS/Root b/webcit/tiny_mce/plugins/directionality/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/directionality/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/directionality/editor_plugin.js b/webcit/tiny_mce/plugins/directionality/editor_plugin.js new file mode 100644 index 000000000..f1062187b --- /dev/null +++ b/webcit/tiny_mce/plugins/directionality/editor_plugin.js @@ -0,0 +1,2 @@ +/* Import plugin specific language pack */ + tinyMCE.importPluginLanguagePack('directionality','en,sv,fr_ca,zh_cn,cs,da,he,no,de,hu');function TinyMCE_directionality_getInfo(){return{longname:'Directionality',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_directionality.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};};function TinyMCE_directionality_getControlHTML(control_name){switch(control_name){case "ltr":return '';case "rtl":return '';}return "";}function TinyMCE_directionality_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mceDirectionLTR":var inst=tinyMCE.getInstanceById(editor_id);var elm=tinyMCE.getParentElement(inst.getFocusElement(),"p,div,td,h1,h2,h3,h4,h5,h6,pre,address");if(elm)elm.setAttribute("dir","ltr");tinyMCE.triggerNodeChange(false);return true;case "mceDirectionRTL":var inst=tinyMCE.getInstanceById(editor_id);var elm=tinyMCE.getParentElement(inst.getFocusElement(),"p,div,td,h1,h2,h3,h4,h5,h6,pre,address");if(elm)elm.setAttribute("dir","rtl");tinyMCE.triggerNodeChange(false);return true;}return false;}function TinyMCE_directionality_handleNodeChange(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){function getAttrib(elm,name){return elm.getAttribute(name)?elm.getAttribute(name):"";}tinyMCE.switchClassSticky(editor_id+'_ltr','mceButtonNormal',false);tinyMCE.switchClassSticky(editor_id+'_rtl','mceButtonNormal',false);if(node==null)return;var elm=tinyMCE.getParentElement(node,"p,div,td,h1,h2,h3,h4,h5,h6,pre,address");if(!elm){tinyMCE.switchClassSticky(editor_id+'_ltr','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_rtl','mceButtonDisabled',true);return;}var dir=getAttrib(elm,"dir");if(dir=="ltr"||dir=="")tinyMCE.switchClassSticky(editor_id+'_ltr','mceButtonSelected',false);else tinyMCE.switchClassSticky(editor_id+'_rtl','mceButtonSelected',false);return true;} \ No newline at end of file diff --git a/webcit/tiny_mce/plugins/directionality/editor_plugin_src.js b/webcit/tiny_mce/plugins/directionality/editor_plugin_src.js new file mode 100644 index 000000000..eac08b4c3 --- /dev/null +++ b/webcit/tiny_mce/plugins/directionality/editor_plugin_src.js @@ -0,0 +1,79 @@ +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('directionality', 'en,sv,fr_ca,zh_cn,cs,da,he,no,de,hu'); + +function TinyMCE_directionality_getInfo() { + return { + longname : 'Directionality', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_directionality.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; +}; + +function TinyMCE_directionality_getControlHTML(control_name) { + switch (control_name) { + case "ltr": + return ''; + + case "rtl": + return ''; + } + + return ""; +} + +function TinyMCE_directionality_execCommand(editor_id, element, command, user_interface, value) { + // Handle commands + switch (command) { + case "mceDirectionLTR": + var inst = tinyMCE.getInstanceById(editor_id); + var elm = tinyMCE.getParentElement(inst.getFocusElement(), "p,div,td,h1,h2,h3,h4,h5,h6,pre,address"); + + if (elm) + elm.setAttribute("dir", "ltr"); + + tinyMCE.triggerNodeChange(false); + return true; + + case "mceDirectionRTL": + var inst = tinyMCE.getInstanceById(editor_id); + var elm = tinyMCE.getParentElement(inst.getFocusElement(), "p,div,td,h1,h2,h3,h4,h5,h6,pre,address"); + + if (elm) + elm.setAttribute("dir", "rtl"); + + tinyMCE.triggerNodeChange(false); + return true; + } + + // Pass to next handler in chain + return false; +} + +function TinyMCE_directionality_handleNodeChange(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) { + function getAttrib(elm, name) { + return elm.getAttribute(name) ? elm.getAttribute(name) : ""; + } + + tinyMCE.switchClassSticky(editor_id + '_ltr', 'mceButtonNormal', false); + tinyMCE.switchClassSticky(editor_id + '_rtl', 'mceButtonNormal', false); + + if (node == null) + return; + + var elm = tinyMCE.getParentElement(node, "p,div,td,h1,h2,h3,h4,h5,h6,pre,address"); + if (!elm) { + tinyMCE.switchClassSticky(editor_id + '_ltr', 'mceButtonDisabled', true); + tinyMCE.switchClassSticky(editor_id + '_rtl', 'mceButtonDisabled', true); + return; + } + + var dir = getAttrib(elm, "dir"); + if (dir == "ltr" || dir == "") + tinyMCE.switchClassSticky(editor_id + '_ltr', 'mceButtonSelected', false); + else + tinyMCE.switchClassSticky(editor_id + '_rtl', 'mceButtonSelected', false); + + return true; +} diff --git a/webcit/tiny_mce/plugins/directionality/images/CVS/Entries b/webcit/tiny_mce/plugins/directionality/images/CVS/Entries new file mode 100644 index 000000000..6dc62e1d2 --- /dev/null +++ b/webcit/tiny_mce/plugins/directionality/images/CVS/Entries @@ -0,0 +1,3 @@ +/ltr.gif/1.1/Tue Aug 30 18:35:56 2005// +/rtl.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/plugins/directionality/images/CVS/Repository b/webcit/tiny_mce/plugins/directionality/images/CVS/Repository new file mode 100644 index 000000000..db09b178c --- /dev/null +++ b/webcit/tiny_mce/plugins/directionality/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/directionality/images diff --git a/webcit/tiny_mce/plugins/directionality/images/CVS/Root b/webcit/tiny_mce/plugins/directionality/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/directionality/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/directionality/images/ltr.gif b/webcit/tiny_mce/plugins/directionality/images/ltr.gif new file mode 100644 index 000000000..ac8f30c12 Binary files /dev/null and b/webcit/tiny_mce/plugins/directionality/images/ltr.gif differ diff --git a/webcit/tiny_mce/plugins/directionality/images/rtl.gif b/webcit/tiny_mce/plugins/directionality/images/rtl.gif new file mode 100644 index 000000000..0348f9965 Binary files /dev/null and b/webcit/tiny_mce/plugins/directionality/images/rtl.gif differ diff --git a/webcit/tiny_mce/plugins/directionality/langs/CVS/Entries b/webcit/tiny_mce/plugins/directionality/langs/CVS/Entries new file mode 100644 index 000000000..e51b191a7 --- /dev/null +++ b/webcit/tiny_mce/plugins/directionality/langs/CVS/Entries @@ -0,0 +1,11 @@ +/en.js/1.1/Tue Aug 30 18:35:56 2005// +/fr_ca.js/1.1/Tue Aug 30 18:35:56 2005// +/sv.js/1.1/Tue Aug 30 18:35:56 2005// +/zh_cn.js/1.1/Sun Sep 11 12:53:00 2005// +/cs.js/1.2/Wed Sep 28 03:47:27 2005// +/da.js/1.1/Mon Sep 26 18:44:31 2005// +/de.js/1.1/Mon Sep 26 18:44:31 2005// +/he.js/1.2/Wed Sep 28 03:47:27 2005// +/hu.js/1.1/Mon Sep 26 18:44:31 2005// +/no.js/1.1/Mon Sep 26 18:44:31 2005// +D diff --git a/webcit/tiny_mce/plugins/directionality/langs/CVS/Repository b/webcit/tiny_mce/plugins/directionality/langs/CVS/Repository new file mode 100644 index 000000000..0b8e02ff5 --- /dev/null +++ b/webcit/tiny_mce/plugins/directionality/langs/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/directionality/langs diff --git a/webcit/tiny_mce/plugins/directionality/langs/CVS/Root b/webcit/tiny_mce/plugins/directionality/langs/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/directionality/langs/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/directionality/langs/cs.js b/webcit/tiny_mce/plugins/directionality/langs/cs.js new file mode 100644 index 000000000..3c5194568 --- /dev/null +++ b/webcit/tiny_mce/plugins/directionality/langs/cs.js @@ -0,0 +1,12 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.2 2005/09/26 18:00:52 ajc Exp $ + */ + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Směr z leva doprava', +directionality_rtl_desc : 'Směr z prava doleva' +}); + diff --git a/webcit/tiny_mce/plugins/directionality/langs/da.js b/webcit/tiny_mce/plugins/directionality/langs/da.js new file mode 100644 index 000000000..5eab4ea02 --- /dev/null +++ b/webcit/tiny_mce/plugins/directionality/langs/da.js @@ -0,0 +1,6 @@ +// DK lang variables contributed by Jan Moelgaard + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Retning - venstre mod højre', +directionality_rtl_desc : 'Retning - højre mod venstre' +}); diff --git a/webcit/tiny_mce/plugins/directionality/langs/de.js b/webcit/tiny_mce/plugins/directionality/langs/de.js new file mode 100644 index 000000000..5551a486a --- /dev/null +++ b/webcit/tiny_mce/plugins/directionality/langs/de.js @@ -0,0 +1,6 @@ +// DE lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Von links nach rechts', +directionality_rtl_desc : 'Von rechts nach links' +}); diff --git a/webcit/tiny_mce/plugins/directionality/langs/en.js b/webcit/tiny_mce/plugins/directionality/langs/en.js new file mode 100644 index 000000000..a1db29785 --- /dev/null +++ b/webcit/tiny_mce/plugins/directionality/langs/en.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Direction left to right', +directionality_rtl_desc : 'Direction right to left' +}); diff --git a/webcit/tiny_mce/plugins/directionality/langs/fr_ca.js b/webcit/tiny_mce/plugins/directionality/langs/fr_ca.js new file mode 100644 index 000000000..1ed3b89ea --- /dev/null +++ b/webcit/tiny_mce/plugins/directionality/langs/fr_ca.js @@ -0,0 +1,6 @@ +// fr_ca lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Direction de la gauche vers la droite', +directionality_rtl_desc : 'Direction de la droite vers la gauche' +}); diff --git a/webcit/tiny_mce/plugins/directionality/langs/he.js b/webcit/tiny_mce/plugins/directionality/langs/he.js new file mode 100644 index 000000000..063b94313 --- /dev/null +++ b/webcit/tiny_mce/plugins/directionality/langs/he.js @@ -0,0 +1,6 @@ +// HE lang variables by Liron Newman, http://eesh.net + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'ëéååï ùîàì ìéîéï', +directionality_rtl_desc : 'ëéååï éîéï ìùîàì' +}); diff --git a/webcit/tiny_mce/plugins/directionality/langs/hu.js b/webcit/tiny_mce/plugins/directionality/langs/hu.js new file mode 100644 index 000000000..d61608a9b --- /dev/null +++ b/webcit/tiny_mce/plugins/directionality/langs/hu.js @@ -0,0 +1,6 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Elhelyezkedés balról jobbra', +directionality_rtl_desc : 'Elhelyezkedés jobbról balra' +}); diff --git a/webcit/tiny_mce/plugins/directionality/langs/no.js b/webcit/tiny_mce/plugins/directionality/langs/no.js new file mode 100644 index 000000000..c788fd2c8 --- /dev/null +++ b/webcit/tiny_mce/plugins/directionality/langs/no.js @@ -0,0 +1,6 @@ +// NO lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Retning fra venstre mot høre', +directionality_rtl_desc : 'Retning fra høre mot venstre' +}); diff --git a/webcit/tiny_mce/plugins/directionality/langs/sv.js b/webcit/tiny_mce/plugins/directionality/langs/sv.js new file mode 100644 index 000000000..7abfc8dba --- /dev/null +++ b/webcit/tiny_mce/plugins/directionality/langs/sv.js @@ -0,0 +1,6 @@ +// SV lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Riktning från vänster till höger', +directionality_rtl_desc : 'Riktning från höger till vänster' +}); diff --git a/webcit/tiny_mce/plugins/directionality/langs/zh_cn.js b/webcit/tiny_mce/plugins/directionality/langs/zh_cn.js new file mode 100644 index 000000000..eba0d7a92 --- /dev/null +++ b/webcit/tiny_mce/plugins/directionality/langs/zh_cn.js @@ -0,0 +1,7 @@ +// Simplified Chinese lang variables contributed by cube316 (cube316@gmail.com) +//Çë·ÃÎÊ http://www.cube316.net/ ÒÔ»ñÈ¡TinyMCEµÄÖÐÎÄÖ§³Ö + +tinyMCE.addToLang('',{ +directionality_ltr_desc : '´Ó×óÍùÓҵķ½Ïò', +directionality_rtl_desc : '´ÓÓÒÍù×óµÄ·½Ïò' +}); diff --git a/webcit/tiny_mce/plugins/directionality/readme.txt b/webcit/tiny_mce/plugins/directionality/readme.txt new file mode 100644 index 000000000..4fdb78aec --- /dev/null +++ b/webcit/tiny_mce/plugins/directionality/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/webcit/tiny_mce/plugins/emotions/CVS/Entries b/webcit/tiny_mce/plugins/emotions/CVS/Entries new file mode 100644 index 000000000..8c6a041c5 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/CVS/Entries @@ -0,0 +1,7 @@ +D/images//// +D/jscripts//// +D/langs//// +/emotions.htm/1.1/Sun Sep 11 12:53:00 2005// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// +/editor_plugin.js/1.2/Wed Sep 28 03:47:27 2005// +/editor_plugin_src.js/1.2/Wed Sep 28 03:47:27 2005// diff --git a/webcit/tiny_mce/plugins/emotions/CVS/Repository b/webcit/tiny_mce/plugins/emotions/CVS/Repository new file mode 100644 index 000000000..388f81eb9 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/emotions diff --git a/webcit/tiny_mce/plugins/emotions/CVS/Root b/webcit/tiny_mce/plugins/emotions/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/emotions/editor_plugin.js b/webcit/tiny_mce/plugins/emotions/editor_plugin.js new file mode 100644 index 000000000..4142dbf91 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/editor_plugin.js @@ -0,0 +1,2 @@ +/* Import plugin specific language pack */ + tinyMCE.importPluginLanguagePack('emotions','en,sv,zh_cn,cs,fa,fr_ca,fr,de,pl,pt_br,nl,da,he,no,hu');function TinyMCE_emotions_getInfo(){return{longname:'Emotions',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_emotions.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};};function TinyMCE_emotions_getControlHTML(control_name){switch(control_name){case "emotions":return '';}return "";}function TinyMCE_emotions_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mceEmotion":var template=new Array();template['file']='../../plugins/emotions/emotions.htm';template['width']=160;template['height']=160;template['width']+=tinyMCE.getLang('lang_emotions_delta_width',0);template['height']+=tinyMCE.getLang('lang_emotions_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});return true;}return false;} \ No newline at end of file diff --git a/webcit/tiny_mce/plugins/emotions/editor_plugin_src.js b/webcit/tiny_mce/plugins/emotions/editor_plugin_src.js new file mode 100644 index 000000000..73768e97c --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/editor_plugin_src.js @@ -0,0 +1,50 @@ +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('emotions', 'en,sv,zh_cn,cs,fa,fr_ca,fr,de,pl,pt_br,nl,da,he,no,hu'); + +function TinyMCE_emotions_getInfo() { + return { + longname : 'Emotions', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_emotions.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; +}; + +/** + * Returns the HTML contents of the emotions control. + */ +function TinyMCE_emotions_getControlHTML(control_name) { + switch (control_name) { + case "emotions": + return ''; + } + + return ""; +} + +/** + * Executes the mceEmotion command. + */ +function TinyMCE_emotions_execCommand(editor_id, element, command, user_interface, value) { + // Handle commands + switch (command) { + case "mceEmotion": + var template = new Array(); + + template['file'] = '../../plugins/emotions/emotions.htm'; // Relative to theme + template['width'] = 160; + template['height'] = 160; + + // Language specific width and height addons + template['width'] += tinyMCE.getLang('lang_emotions_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_emotions_delta_height', 0); + + tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"}); + + return true; + } + + // Pass to next handler in chain + return false; +} diff --git a/webcit/tiny_mce/plugins/emotions/emotions.htm b/webcit/tiny_mce/plugins/emotions/emotions.htm new file mode 100644 index 000000000..f32d689b6 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/emotions.htm @@ -0,0 +1,39 @@ + + + {$lang_emotions_title} + + + + +
    +
    {$lang_emotions_title}:

    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$lang_emotions_cool}{$lang_emotions_cry}{$lang_emotions_embarassed}{$lang_emotions_foot_in_mouth}
    {$lang_emotions_frown}{$lang_emotions_innocent}{$lang_emotions_kiss}{$lang_emotions_laughing}
    {$lang_emotions_money-mouth}{$lang_emotions_sealed}{$lang_emotions_smile}{$lang_emotions_surprised}
    {$lang_emotions_tongue-out}{$lang_emotions_undecided}{$lang_emotions_wink}{$lang_emotions_yell}
    +
    + + diff --git a/webcit/tiny_mce/plugins/emotions/images/CVS/Entries b/webcit/tiny_mce/plugins/emotions/images/CVS/Entries new file mode 100644 index 000000000..70a4aeaed --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/images/CVS/Entries @@ -0,0 +1,19 @@ +/emotions.gif/1.1/Tue Aug 30 18:35:56 2005// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// +/smiley-cool.gif/1.1/Tue Aug 30 18:35:56 2005// +/smiley-cry.gif/1.1/Tue Aug 30 18:35:56 2005// +/smiley-embarassed.gif/1.1/Tue Aug 30 18:35:56 2005// +/smiley-foot-in-mouth.gif/1.1/Tue Aug 30 18:35:56 2005// +/smiley-frown.gif/1.1/Tue Aug 30 18:35:56 2005// +/smiley-innocent.gif/1.1/Tue Aug 30 18:35:56 2005// +/smiley-kiss.gif/1.1/Tue Aug 30 18:35:56 2005// +/smiley-laughing.gif/1.1/Tue Aug 30 18:35:56 2005// +/smiley-money-mouth.gif/1.1/Tue Aug 30 18:35:56 2005// +/smiley-sealed.gif/1.1/Tue Aug 30 18:35:56 2005// +/smiley-smile.gif/1.1/Tue Aug 30 18:35:56 2005// +/smiley-surprised.gif/1.1/Tue Aug 30 18:35:56 2005// +/smiley-tongue-out.gif/1.1/Tue Aug 30 18:35:56 2005// +/smiley-undecided.gif/1.1/Tue Aug 30 18:35:56 2005// +/smiley-wink.gif/1.1/Tue Aug 30 18:35:56 2005// +/smiley-yell.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/plugins/emotions/images/CVS/Repository b/webcit/tiny_mce/plugins/emotions/images/CVS/Repository new file mode 100644 index 000000000..1800c442b --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/emotions/images diff --git a/webcit/tiny_mce/plugins/emotions/images/CVS/Root b/webcit/tiny_mce/plugins/emotions/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/emotions/images/emotions.gif b/webcit/tiny_mce/plugins/emotions/images/emotions.gif new file mode 100644 index 000000000..26adbe68a Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/images/emotions.gif differ diff --git a/webcit/tiny_mce/plugins/emotions/images/readme.txt b/webcit/tiny_mce/plugins/emotions/images/readme.txt new file mode 100644 index 000000000..a3cea1b68 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/images/readme.txt @@ -0,0 +1,2 @@ +These emotions where taken from Mozilla Thunderbird. +I hope they don't get angry if I use them here after all this is a open source project aswell. diff --git a/webcit/tiny_mce/plugins/emotions/images/smiley-cool.gif b/webcit/tiny_mce/plugins/emotions/images/smiley-cool.gif new file mode 100644 index 000000000..ba90cc36f Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/images/smiley-cool.gif differ diff --git a/webcit/tiny_mce/plugins/emotions/images/smiley-cry.gif b/webcit/tiny_mce/plugins/emotions/images/smiley-cry.gif new file mode 100644 index 000000000..74d897a4f Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/images/smiley-cry.gif differ diff --git a/webcit/tiny_mce/plugins/emotions/images/smiley-embarassed.gif b/webcit/tiny_mce/plugins/emotions/images/smiley-embarassed.gif new file mode 100644 index 000000000..963a96b8a Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/images/smiley-embarassed.gif differ diff --git a/webcit/tiny_mce/plugins/emotions/images/smiley-foot-in-mouth.gif b/webcit/tiny_mce/plugins/emotions/images/smiley-foot-in-mouth.gif new file mode 100644 index 000000000..16f68cc1e Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/images/smiley-foot-in-mouth.gif differ diff --git a/webcit/tiny_mce/plugins/emotions/images/smiley-frown.gif b/webcit/tiny_mce/plugins/emotions/images/smiley-frown.gif new file mode 100644 index 000000000..716f55e16 Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/images/smiley-frown.gif differ diff --git a/webcit/tiny_mce/plugins/emotions/images/smiley-innocent.gif b/webcit/tiny_mce/plugins/emotions/images/smiley-innocent.gif new file mode 100644 index 000000000..334d49e0e Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/images/smiley-innocent.gif differ diff --git a/webcit/tiny_mce/plugins/emotions/images/smiley-kiss.gif b/webcit/tiny_mce/plugins/emotions/images/smiley-kiss.gif new file mode 100644 index 000000000..4efd549ed Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/images/smiley-kiss.gif differ diff --git a/webcit/tiny_mce/plugins/emotions/images/smiley-laughing.gif b/webcit/tiny_mce/plugins/emotions/images/smiley-laughing.gif new file mode 100644 index 000000000..1606c119e Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/images/smiley-laughing.gif differ diff --git a/webcit/tiny_mce/plugins/emotions/images/smiley-money-mouth.gif b/webcit/tiny_mce/plugins/emotions/images/smiley-money-mouth.gif new file mode 100644 index 000000000..ca2451e10 Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/images/smiley-money-mouth.gif differ diff --git a/webcit/tiny_mce/plugins/emotions/images/smiley-sealed.gif b/webcit/tiny_mce/plugins/emotions/images/smiley-sealed.gif new file mode 100644 index 000000000..b33d3cca1 Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/images/smiley-sealed.gif differ diff --git a/webcit/tiny_mce/plugins/emotions/images/smiley-smile.gif b/webcit/tiny_mce/plugins/emotions/images/smiley-smile.gif new file mode 100644 index 000000000..e6a9e60d5 Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/images/smiley-smile.gif differ diff --git a/webcit/tiny_mce/plugins/emotions/images/smiley-surprised.gif b/webcit/tiny_mce/plugins/emotions/images/smiley-surprised.gif new file mode 100644 index 000000000..cb99cdd91 Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/images/smiley-surprised.gif differ diff --git a/webcit/tiny_mce/plugins/emotions/images/smiley-tongue-out.gif b/webcit/tiny_mce/plugins/emotions/images/smiley-tongue-out.gif new file mode 100644 index 000000000..2075dc160 Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/images/smiley-tongue-out.gif differ diff --git a/webcit/tiny_mce/plugins/emotions/images/smiley-undecided.gif b/webcit/tiny_mce/plugins/emotions/images/smiley-undecided.gif new file mode 100644 index 000000000..bef7e2573 Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/images/smiley-undecided.gif differ diff --git a/webcit/tiny_mce/plugins/emotions/images/smiley-wink.gif b/webcit/tiny_mce/plugins/emotions/images/smiley-wink.gif new file mode 100644 index 000000000..9faf1aff8 Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/images/smiley-wink.gif differ diff --git a/webcit/tiny_mce/plugins/emotions/images/smiley-yell.gif b/webcit/tiny_mce/plugins/emotions/images/smiley-yell.gif new file mode 100644 index 000000000..648e6e879 Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/images/smiley-yell.gif differ diff --git a/webcit/tiny_mce/plugins/emotions/jscripts/CVS/Entries b/webcit/tiny_mce/plugins/emotions/jscripts/CVS/Entries new file mode 100644 index 000000000..7342cdb34 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/jscripts/CVS/Entries @@ -0,0 +1,2 @@ +/functions.js/1.1/Sun Sep 11 12:53:00 2005// +D diff --git a/webcit/tiny_mce/plugins/emotions/jscripts/CVS/Repository b/webcit/tiny_mce/plugins/emotions/jscripts/CVS/Repository new file mode 100644 index 000000000..440bfa3c1 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/jscripts/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/emotions/jscripts diff --git a/webcit/tiny_mce/plugins/emotions/jscripts/CVS/Root b/webcit/tiny_mce/plugins/emotions/jscripts/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/jscripts/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/emotions/jscripts/functions.js b/webcit/tiny_mce/plugins/emotions/jscripts/functions.js new file mode 100644 index 000000000..93c8c698a --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/jscripts/functions.js @@ -0,0 +1,8 @@ +function init() { + tinyMCEPopup.resizeToInnerSize(); +} + +function insertEmotion(file_name, title) { + tinyMCE.insertImage(tinyMCE.baseURL + "/plugins/emotions/images/" + file_name, tinyMCE.getLang(title)); + tinyMCEPopup.close(); +} diff --git a/webcit/tiny_mce/plugins/emotions/langs/CVS/Entries b/webcit/tiny_mce/plugins/emotions/langs/CVS/Entries new file mode 100644 index 000000000..45afacf71 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/langs/CVS/Entries @@ -0,0 +1,19 @@ +/el.js/1.1/Sun Sep 11 12:53:00 2005// +/en.js/1.1/Thu Sep 1 17:06:14 2005// +/fa.js/1.1/Tue Aug 30 18:35:56 2005// +/fr.js/1.1/Tue Aug 30 18:35:56 2005// +/fr_ca.js/1.1/Tue Aug 30 18:35:56 2005// +/it.js/1.1/Tue Aug 30 18:35:56 2005// +/ko.js/1.1/Sun Sep 11 12:53:00 2005// +/nl.js/1.1/Tue Aug 30 18:35:56 2005// +/pl.js/1.1/Tue Aug 30 18:35:56 2005// +/pt_br.js/1.1/Tue Aug 30 18:35:56 2005// +/sv.js/1.1/Sun Sep 11 12:53:00 2005// +/zh_cn.js/1.1/Sun Sep 11 12:53:00 2005// +/cs.js/1.2/Wed Sep 28 03:47:27 2005// +/da.js/1.1/Mon Sep 26 18:44:31 2005// +/de.js/1.2/Wed Sep 28 03:47:27 2005// +/he.js/1.2/Wed Sep 28 03:47:27 2005// +/hu.js/1.1/Mon Sep 26 18:44:31 2005// +/no.js/1.1/Mon Sep 26 18:44:31 2005// +D diff --git a/webcit/tiny_mce/plugins/emotions/langs/CVS/Repository b/webcit/tiny_mce/plugins/emotions/langs/CVS/Repository new file mode 100644 index 000000000..0ccab4eb8 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/langs/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/emotions/langs diff --git a/webcit/tiny_mce/plugins/emotions/langs/CVS/Root b/webcit/tiny_mce/plugins/emotions/langs/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/langs/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/emotions/langs/cs.js b/webcit/tiny_mce/plugins/emotions/langs/cs.js new file mode 100644 index 000000000..5d0aeafc8 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/langs/cs.js @@ -0,0 +1,12 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.2 2005/09/26 18:00:52 ajc Exp $ + */ + +tinyMCE.addToLang('',{ +insert_emotions_title : 'Vložit emotikonu', +emotions_desc : 'Emotikony' +}); + diff --git a/webcit/tiny_mce/plugins/emotions/langs/da.js b/webcit/tiny_mce/plugins/emotions/langs/da.js new file mode 100644 index 000000000..a671571d3 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/langs/da.js @@ -0,0 +1,22 @@ +// DK lang variables contributed by Jan Moelgaard + +tinyMCE.addToLang('emotions',{ +title : 'Indsæt smiley', +desc : 'Smileys', +cool : 'Cool', +cry : 'Gråd', +embarassed : 'Forlegen', +foot_in_mouth : 'Foden i munden', +frown : 'Rynket pande', +innocent : 'Uskyldig', +kiss : 'Kys', +laughing : 'Latter', +money_mouth : 'Lækker mund', +sealed : 'Lukket af', +smile : 'Smil', +surprised : 'Overrasket', +tongue_out : 'Ræk tunge', +undecided : 'Usikker', +wink : 'Blink', +yell : 'Råb' +}); diff --git a/webcit/tiny_mce/plugins/emotions/langs/de.js b/webcit/tiny_mce/plugins/emotions/langs/de.js new file mode 100644 index 000000000..5ca550827 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/langs/de.js @@ -0,0 +1,22 @@ +// DE lang variables + +tinyMCE.addToLang('emotions',{ +title : 'Insert emotion', +desc : 'Emotions', +cool : 'Cool', +cry : 'Cry', +embarassed : 'Embarassed', +foot_in_mouth : 'Foot in mouth', +frown : 'Frown', +innocent : 'Innocent', +kiss : 'Kiss', +laughing : 'Laughing', +money_mouth : 'Money mouth', +sealed : 'Sealed', +smile : 'Smile', +surprised : 'Surprised', +tongue_out : 'Tongue out', +undecided : 'Undecided', +wink : 'Wink', +yell : 'Yell' +}); diff --git a/webcit/tiny_mce/plugins/emotions/langs/el.js b/webcit/tiny_mce/plugins/emotions/langs/el.js new file mode 100644 index 000000000..f1fa85893 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/langs/el.js @@ -0,0 +1,6 @@ +// Greek lang variables by Jacaranda Bill + +tinyMCE.addToLang('',{ +insert_emotions_title : 'ÅéóáãùãÞ åíüò åéêïíéäßïõ emoticon', +emotions_desc : 'Åéêïíßäéá emoticons' +}); diff --git a/webcit/tiny_mce/plugins/emotions/langs/en.js b/webcit/tiny_mce/plugins/emotions/langs/en.js new file mode 100644 index 000000000..3cdd67517 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/langs/en.js @@ -0,0 +1,22 @@ +// UK lang variables + +tinyMCE.addToLang('emotions',{ +title : 'Insert emotion', +desc : 'Emotions', +cool : 'Cool', +cry : 'Cry', +embarassed : 'Embarassed', +foot_in_mouth : 'Foot in mouth', +frown : 'Frown', +innocent : 'Innocent', +kiss : 'Kiss', +laughing : 'Laughing', +money_mouth : 'Money mouth', +sealed : 'Sealed', +smile : 'Smile', +surprised : 'Surprised', +tongue_out : 'Tongue out', +undecided : 'Undecided', +wink : 'Wink', +yell : 'Yell' +}); diff --git a/webcit/tiny_mce/plugins/emotions/langs/fa.js b/webcit/tiny_mce/plugins/emotions/langs/fa.js new file mode 100644 index 000000000..f357f1ab2 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/langs/fa.js @@ -0,0 +1,11 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +dir : 'rtl', +insert_emotions_title : '?????? ????', +emotions_desc : '??????' +}); diff --git a/webcit/tiny_mce/plugins/emotions/langs/fr.js b/webcit/tiny_mce/plugins/emotions/langs/fr.js new file mode 100644 index 000000000..5b6246b3e --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/langs/fr.js @@ -0,0 +1,6 @@ +// French lang variables by Laurent Dran + +tinyMCE.addToLang('',{ +insert_emotions_title : 'Insèrer un émoticon', +emotions_desc : 'Émoticons' +}); diff --git a/webcit/tiny_mce/plugins/emotions/langs/fr_ca.js b/webcit/tiny_mce/plugins/emotions/langs/fr_ca.js new file mode 100644 index 000000000..41b771a1d --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/langs/fr_ca.js @@ -0,0 +1,6 @@ +// Canadian French lang variables by Virtuelcom last modification: 2005-06-15 + +tinyMCE.addToLang('',{ +insert_emotions_title : 'Insérer un émoticon', +emotions_desc : 'Émoticons' +}); diff --git a/webcit/tiny_mce/plugins/emotions/langs/he.js b/webcit/tiny_mce/plugins/emotions/langs/he.js new file mode 100644 index 000000000..47d983a54 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/langs/he.js @@ -0,0 +1,22 @@ +// HE lang variables + +tinyMCE.addToLang('emotions',{ +title : 'äëðñ øâùåï', +desc : 'øâùåðéí', +cool : 'øâåò', +cry : 'áåëä', +embarassed : 'ðáåê', +foot_in_mouth : 'òí äøâì áôä', +frown : 'æåòó', +innocent : 'úîéí', +kiss : 'ðùé÷ä', +laughing : 'öåç÷', +money_mouth : 'ôä ùì ëñó', +sealed : 'àèåí', +smile : 'çéåê', +surprised : 'îåôúò', +tongue_out : 'ìùåï áçåõ', +undecided : 'áìúé äçìèé', +wink : '÷øéöä', +yell : 'öò÷ä' +}); diff --git a/webcit/tiny_mce/plugins/emotions/langs/hu.js b/webcit/tiny_mce/plugins/emotions/langs/hu.js new file mode 100644 index 000000000..35c4c9574 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/langs/hu.js @@ -0,0 +1,22 @@ +// HU lang variables + +tinyMCE.addToLang('emotions',{ +title : 'Hangulatjel beszúrása', +desc : 'Hangulatjelek', +cool : 'Király', +cry : 'Sírás', +embarassed : 'Zavart', +foot_in_mouth : 'Foot in mouth', +frown : 'Homlokráncolás', +innocent : 'Ártatlan', +kiss : 'Csók', +laughing : 'Nevetés', +money_mouth : 'Pénzéhes', +sealed : 'Elnémult', +smile : 'Mosolygás', +surprised : 'Meglepett', +tongue_out : 'Tongue out', +undecided : 'Határozatlan', +wink : 'Kacsintás', +yell : 'Sikoltás' +}); diff --git a/webcit/tiny_mce/plugins/emotions/langs/it.js b/webcit/tiny_mce/plugins/emotions/langs/it.js new file mode 100644 index 000000000..3e84bf9d3 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/langs/it.js @@ -0,0 +1,6 @@ +//IT lang variables + +tinyMCE.addToLang('',{ +insert_emotions_title : 'Inserisci una emoticon', +emotions_desc : 'Emoticon' +}); diff --git a/webcit/tiny_mce/plugins/emotions/langs/ko.js b/webcit/tiny_mce/plugins/emotions/langs/ko.js new file mode 100644 index 000000000..49f813474 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/langs/ko.js @@ -0,0 +1,6 @@ +// KO lang variables + +tinyMCE.addToLang('',{ +insert_emotions_title : 'À̸ðƼÄÜ ³Ö±â', +emotions_desc : 'À̸ðƼÄÜ' +}); diff --git a/webcit/tiny_mce/plugins/emotions/langs/nl.js b/webcit/tiny_mce/plugins/emotions/langs/nl.js new file mode 100644 index 000000000..c056ede9b --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/langs/nl.js @@ -0,0 +1,6 @@ +// NL lang variables + +tinyMCE.addToLang('',{ +insert_emotions_title : 'Emotion invoegen', +emotions_desc : 'Smilie' +}); diff --git a/webcit/tiny_mce/plugins/emotions/langs/no.js b/webcit/tiny_mce/plugins/emotions/langs/no.js new file mode 100644 index 000000000..788a52d97 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/langs/no.js @@ -0,0 +1,22 @@ +// NO lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('emotions',{ +title : 'Lim inn følelse', +desc : 'Følelser', +cool : 'Cool', +cry : 'Gråter', +embarassed : 'Sjenert', +foot_in_mouth : 'Fot i munnen', +frown : 'Lei seg', +innocent : 'Uskyldig', +kiss : 'Kyss', +laughing : 'Ler', +money_mouth : 'Penger i munnen', +sealed : 'Hemmelig', +smile : 'Glad', +surprised : 'Overrasket', +tongue_out : 'Rekke ut tungen', +undecided : 'Betenkt', +wink : 'Flørt', +yell : 'Skrikende' +}); diff --git a/webcit/tiny_mce/plugins/emotions/langs/pl.js b/webcit/tiny_mce/plugins/emotions/langs/pl.js new file mode 100644 index 000000000..ab27b4503 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/langs/pl.js @@ -0,0 +1,6 @@ +// PL lang variables + +tinyMCE.addToLang('',{ +insert_emotions_title : 'Wstaw emtoicone', +emotions_desc : 'Emtoicony' +}); diff --git a/webcit/tiny_mce/plugins/emotions/langs/pt_br.js b/webcit/tiny_mce/plugins/emotions/langs/pt_br.js new file mode 100644 index 000000000..3e39bf8a6 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/langs/pt_br.js @@ -0,0 +1,6 @@ +// pt_BR lang variables + +tinyMCE.addToLang('',{ +insert_emotions_title : 'Inserir Emoticon', +emotions_desc : 'Emoticons' +}); diff --git a/webcit/tiny_mce/plugins/emotions/langs/sv.js b/webcit/tiny_mce/plugins/emotions/langs/sv.js new file mode 100644 index 000000000..18d0740e6 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/langs/sv.js @@ -0,0 +1,22 @@ +// SE lang variables + +tinyMCE.addToLang('emotions',{ +title : 'Klistra in känsla', +desc : 'Känslor', +cool : 'Cool', +cry : 'Gråter', +embarassed : 'Generad', +foot_in_mouth : 'Fot i munnnen', +frown : 'Ledsen', +innocent : 'Oskyldig', +kiss : 'Kyss', +laughing : 'Skrattande', +money_mouth : 'Penga mun', +sealed : 'Hemlis', +smile : 'Glad', +surprised : 'Förvånad', +tongue_out : 'Räcka ut tungan', +undecided : 'Fundersam', +wink : 'Flört', +yell : 'Skrikandes' +}); diff --git a/webcit/tiny_mce/plugins/emotions/langs/zh_cn.js b/webcit/tiny_mce/plugins/emotions/langs/zh_cn.js new file mode 100644 index 000000000..939488b48 --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/langs/zh_cn.js @@ -0,0 +1,7 @@ +// Simplified Chinese lang variables contributed by cube316 (cube316@gmail.com) +//Çë·ÃÎÊ http://www.cube316.net/ ÒÔ»ñÈ¡TinyMCEµÄÖÐÎÄÖ§³Ö + +tinyMCE.addToLang('',{ +insert_emotions_title : '²åÈë±íÇé', +emotions_desc : '±íÇé' +}); diff --git a/webcit/tiny_mce/plugins/emotions/readme.txt b/webcit/tiny_mce/plugins/emotions/readme.txt new file mode 100644 index 000000000..4fdb78aec --- /dev/null +++ b/webcit/tiny_mce/plugins/emotions/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/webcit/tiny_mce/plugins/flash/CVS/Entries b/webcit/tiny_mce/plugins/flash/CVS/Entries new file mode 100644 index 000000000..c548810dc --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/CVS/Entries @@ -0,0 +1,8 @@ +D/css//// +D/images//// +D/jscripts//// +D/langs//// +/flash.htm/1.1/Sun Sep 11 12:53:00 2005// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// +/editor_plugin.js/1.2/Wed Sep 28 03:47:27 2005// +/editor_plugin_src.js/1.2/Wed Sep 28 03:47:27 2005// diff --git a/webcit/tiny_mce/plugins/flash/CVS/Repository b/webcit/tiny_mce/plugins/flash/CVS/Repository new file mode 100644 index 000000000..3a5d7bdca --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/flash diff --git a/webcit/tiny_mce/plugins/flash/CVS/Root b/webcit/tiny_mce/plugins/flash/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/flash/css/CVS/Entries b/webcit/tiny_mce/plugins/flash/css/CVS/Entries new file mode 100644 index 000000000..bc535bc98 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/css/CVS/Entries @@ -0,0 +1,3 @@ +/content.css/1.1/Tue Sep 6 17:38:18 2005// +/flash.css/1.1/Sun Sep 11 15:54:44 2005// +D diff --git a/webcit/tiny_mce/plugins/flash/css/CVS/Repository b/webcit/tiny_mce/plugins/flash/css/CVS/Repository new file mode 100644 index 000000000..24e36c98c --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/css/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/flash/css diff --git a/webcit/tiny_mce/plugins/flash/css/CVS/Root b/webcit/tiny_mce/plugins/flash/css/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/css/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/flash/css/content.css b/webcit/tiny_mce/plugins/flash/css/content.css new file mode 100644 index 000000000..843258b79 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/css/content.css @@ -0,0 +1,7 @@ +.mceItemFlash { + border: 1px dotted #cc0000; + background-image: url('../images/flash.gif'); + background-position: center; + background-repeat: no-repeat; + background-color: #ffffcc; +} diff --git a/webcit/tiny_mce/plugins/flash/css/flash.css b/webcit/tiny_mce/plugins/flash/css/flash.css new file mode 100644 index 000000000..d3e88e1a2 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/css/flash.css @@ -0,0 +1,11 @@ +.panel_wrapper div.current { + height: 100px; +} + +#width, #height { + width: 50px; +} + +#file { + width: 250px; +} diff --git a/webcit/tiny_mce/plugins/flash/editor_plugin.js b/webcit/tiny_mce/plugins/flash/editor_plugin.js new file mode 100644 index 000000000..608c28e66 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/editor_plugin.js @@ -0,0 +1,2 @@ +/* Import plugin specific language pack */ + tinyMCE.importPluginLanguagePack('flash','en,de,sv,zh_cn,cs,fa,fr_ca,fr,pl,pt_br,nl,da,he,no,hu');function TinyMCE_flash_getInfo(){return{longname:'Flash',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_flash.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};};function TinyMCE_flash_initInstance(inst){if(!tinyMCE.settings['flash_skip_plugin_css'])tinyMCE.importCSS(inst.getDoc(),tinyMCE.baseURL+"/plugins/flash/css/content.css");}function TinyMCE_flash_getControlHTML(control_name){switch(control_name){case "flash":return '';}return "";}function TinyMCE_flash_parseAttributes(attribute_string){var attributeName="";var attributeValue="";var withInName;var withInValue;var attributes=new Array();var whiteSpaceRegExp=new RegExp('^[ \n\r\t]+','g');if(attribute_string==null||attribute_string.length<2)return null;withInName=withInValue=false;for(var i=0;i','gi'),'');content=content.replace(new RegExp('<[ ]*object','gi'),'','gi'),'');while((startPos=content.indexOf('',startPos);var attribs=TinyMCE_flash_parseAttributes(content.substring(startPos+6,endPos));embedList[embedList.length]=attribs;}var index=0;while((startPos=content.indexOf('=embedList.length)break;var attribs=embedList[index];endPos=content.indexOf('',startPos);endPos+=9;var contentAfter=content.substring(endPos);content=content.substring(0,startPos);content+=''+content.substring(endPos);content+=contentAfter;index++;startPos++;}break;case "get_from_editor":var startPos=-1;while((startPos=content.indexOf('',startPos);var attribs=TinyMCE_flash_parseAttributes(content.substring(startPos+4,endPos));if(attribs['class']!="mceItemFlash")continue;endPos+=2;var embedHTML='';var wmode=tinyMCE.getParam("flash_wmode","");var quality=tinyMCE.getParam("flash_quality","high");var menu=tinyMCE.getParam("flash_menu","false");embedHTML+='';embedHTML+='';embedHTML+='';embedHTML+='';embedHTML+='';embedHTML+='';chunkBefore=content.substring(0,startPos);chunkAfter=content.substring(endPos);content=chunkBefore+embedHTML+chunkAfter;}break;}return content;}function TinyMCE_flash_handleNodeChange(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){tinyMCE.switchClassSticky(editor_id+'_flash','mceButtonNormal');if(node==null)return;do{if(node.nodeName.toLowerCase()=="img"&&tinyMCE.getAttrib(node,'class').indexOf('mceItemFlash')==0)tinyMCE.switchClassSticky(editor_id+'_flash','mceButtonSelected');}while((node=node.parentNode));return true;} \ No newline at end of file diff --git a/webcit/tiny_mce/plugins/flash/editor_plugin_src.js b/webcit/tiny_mce/plugins/flash/editor_plugin_src.js new file mode 100644 index 000000000..c57bcab95 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/editor_plugin_src.js @@ -0,0 +1,234 @@ +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('flash', 'en,de,sv,zh_cn,cs,fa,fr_ca,fr,pl,pt_br,nl,da,he,no,hu'); + +function TinyMCE_flash_getInfo() { + return { + longname : 'Flash', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_flash.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; +}; + +function TinyMCE_flash_initInstance(inst) { + if (!tinyMCE.settings['flash_skip_plugin_css']) + tinyMCE.importCSS(inst.getDoc(), tinyMCE.baseURL + "/plugins/flash/css/content.css"); +} + +function TinyMCE_flash_getControlHTML(control_name) { + switch (control_name) { + case "flash": + return ''; + } + + return ""; +} + +function TinyMCE_flash_parseAttributes(attribute_string) { + var attributeName = ""; + var attributeValue = ""; + var withInName; + var withInValue; + var attributes = new Array(); + var whiteSpaceRegExp = new RegExp('^[ \n\r\t]+', 'g'); + + if (attribute_string == null || attribute_string.length < 2) + return null; + + withInName = withInValue = false; + + for (var i=0; i','gi'),''); + content = content.replace(new RegExp('<[ ]*object','gi'),'','gi'),''); + + // Parse all embed tags + while ((startPos = content.indexOf('', startPos); + var attribs = TinyMCE_flash_parseAttributes(content.substring(startPos + 6, endPos)); + embedList[embedList.length] = attribs; + } + + // Parse all object tags and replace them with images from the embed data + var index = 0; + while ((startPos = content.indexOf('= embedList.length) + break; + + var attribs = embedList[index]; + + // Find end of object + endPos = content.indexOf('', startPos); + endPos += 9; + + // Insert image + var contentAfter = content.substring(endPos); + content = content.substring(0, startPos); + content += '' + content.substring(endPos); + content += contentAfter; + index++; + + startPos++; + } + break; + + case "get_from_editor": + // Parse all img tags and replace them with object+embed + var startPos = -1; + while ((startPos = content.indexOf('', startPos); + var attribs = TinyMCE_flash_parseAttributes(content.substring(startPos + 4, endPos)); + + // Is not flash, skip it + if (attribs['class'] != "mceItemFlash") + continue; + + endPos += 2; + + var embedHTML = ''; + var wmode = tinyMCE.getParam("flash_wmode", ""); + var quality = tinyMCE.getParam("flash_quality", "high"); + var menu = tinyMCE.getParam("flash_menu", "false"); + + // Insert object + embed + embedHTML += ''; + embedHTML += ''; + embedHTML += ''; + embedHTML += ''; + embedHTML += ''; + embedHTML += ''; + + // Insert embed/object chunk + chunkBefore = content.substring(0, startPos); + chunkAfter = content.substring(endPos); + content = chunkBefore + embedHTML + chunkAfter; + } + break; + } + + // Pass through to next handler in chain + return content; +} + +function TinyMCE_flash_handleNodeChange(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) { + tinyMCE.switchClassSticky(editor_id + '_flash', 'mceButtonNormal'); + + if (node == null) + return; + + do { + if (node.nodeName.toLowerCase() == "img" && tinyMCE.getAttrib(node, 'class').indexOf('mceItemFlash') == 0) + tinyMCE.switchClassSticky(editor_id + '_flash', 'mceButtonSelected'); + } while ((node = node.parentNode)); + + return true; +} diff --git a/webcit/tiny_mce/plugins/flash/flash.htm b/webcit/tiny_mce/plugins/flash/flash.htm new file mode 100644 index 000000000..d3e960ab8 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/flash.htm @@ -0,0 +1,66 @@ + + + {$lang_flash_title} + + + + + + + +
    + + +
    +
    +
    + {$lang_flash_general} + + + + + + + + + + + +
    + + + + + +
    +
    + +  x  + +
    +
    +
    +
    + +
    +
    + +
    + +
    + +
    +
    +
    + + diff --git a/webcit/tiny_mce/plugins/flash/images/CVS/Entries b/webcit/tiny_mce/plugins/flash/images/CVS/Entries new file mode 100644 index 000000000..a48e73f48 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/images/CVS/Entries @@ -0,0 +1,2 @@ +/flash.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/plugins/flash/images/CVS/Repository b/webcit/tiny_mce/plugins/flash/images/CVS/Repository new file mode 100644 index 000000000..58b9a3cf2 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/flash/images diff --git a/webcit/tiny_mce/plugins/flash/images/CVS/Root b/webcit/tiny_mce/plugins/flash/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/flash/images/flash.gif b/webcit/tiny_mce/plugins/flash/images/flash.gif new file mode 100644 index 000000000..cb192e6ce Binary files /dev/null and b/webcit/tiny_mce/plugins/flash/images/flash.gif differ diff --git a/webcit/tiny_mce/plugins/flash/jscripts/CVS/Entries b/webcit/tiny_mce/plugins/flash/jscripts/CVS/Entries new file mode 100644 index 000000000..1c93ea798 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/jscripts/CVS/Entries @@ -0,0 +1,2 @@ +/flash.js/1.1/Sun Sep 11 15:54:44 2005// +D diff --git a/webcit/tiny_mce/plugins/flash/jscripts/CVS/Repository b/webcit/tiny_mce/plugins/flash/jscripts/CVS/Repository new file mode 100644 index 000000000..ad3e19042 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/jscripts/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/flash/jscripts diff --git a/webcit/tiny_mce/plugins/flash/jscripts/CVS/Root b/webcit/tiny_mce/plugins/flash/jscripts/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/jscripts/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/flash/jscripts/flash.js b/webcit/tiny_mce/plugins/flash/jscripts/flash.js new file mode 100644 index 000000000..8f7dfa308 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/jscripts/flash.js @@ -0,0 +1,97 @@ +var url = tinyMCE.getParam("flash_external_list_url"); +if (url != null) { + // Fix relative + if (url.charAt(0) != '/') + url = tinyMCE.documentBasePath + "/" + url; + + document.write(''); +} + +function init() { + tinyMCEPopup.resizeToInnerSize(); + + var formObj = document.forms[0]; + var swffile = tinyMCE.getWindowArg('swffile'); + var swfwidth = '' + tinyMCE.getWindowArg('swfwidth'); + var swfheight = '' + tinyMCE.getWindowArg('swfheight'); + + if (swfwidth.indexOf('%')!=-1) { + formObj.width2.value = "%"; + formObj.width.value = swfwidth.substring(0,swfwidth.length-1); + } else { + formObj.width2.value = "px"; + formObj.width.value = swfwidth; + } + + if (swfheight.indexOf('%')!=-1) { + formObj.height2.value = "%"; + formObj.height.value = swfheight.substring(0,swfheight.length-1); + } else { + formObj.height2.value = "px"; + formObj.height.value = swfheight; + } + + formObj.file.value = swffile; + formObj.insert.value = tinyMCE.getLang('lang_' + tinyMCE.getWindowArg('action'), 'Insert', true); + + selectByValue(formObj, 'link_list', swffile); + + // Handle file browser + if (isVisible('filebrowser')) + document.getElementById('file').style.width = '230px'; + + // Auto select flash in list + if (typeof(tinyMCEFlashList) != "undefined" && tinyMCEFlashList.length > 0) { + for (var i=0; i 0) { + var html = ""; + + html += ''; + html += ''; + + document.write(html); + } +} + +function insertFlash() { + var formObj = document.forms[0]; + var html = ''; + var file = formObj.file.value; + var width = formObj.width.value; + var height = formObj.height.value; + if (formObj.width2.value=='%') { + width = width + '%'; + } + if (formObj.height2.value=='%') { + height = height + '%'; + } + + if (width == "") + width = 100; + + if (height == "") + height = 100; + + html += '' + + '' + file + ''; + + tinyMCEPopup.execCommand("mceInsertContent", true, html); + tinyMCE.selectedInstance.repaint(); + + tinyMCEPopup.close(); +} diff --git a/webcit/tiny_mce/plugins/flash/langs/CVS/Entries b/webcit/tiny_mce/plugins/flash/langs/CVS/Entries new file mode 100644 index 000000000..7a0168945 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/langs/CVS/Entries @@ -0,0 +1,16 @@ +/en.js/1.1/Tue Sep 6 17:38:18 2005// +/fa.js/1.1/Tue Aug 30 18:35:56 2005// +/fr.js/1.1/Tue Aug 30 18:35:56 2005// +/fr_ca.js/1.1/Tue Aug 30 18:35:56 2005// +/nl.js/1.1/Tue Aug 30 18:35:56 2005// +/pl.js/1.1/Tue Aug 30 18:35:56 2005// +/pt_br.js/1.1/Tue Aug 30 18:35:56 2005// +/sv.js/1.1/Sun Sep 11 12:53:00 2005// +/zh_cn.js/1.1/Sun Sep 11 12:53:00 2005// +/cs.js/1.2/Wed Sep 28 03:47:28 2005// +/da.js/1.1/Mon Sep 26 18:44:31 2005// +/de.js/1.2/Wed Sep 28 03:47:28 2005// +/he.js/1.2/Wed Sep 28 03:47:28 2005// +/hu.js/1.1/Mon Sep 26 18:44:31 2005// +/no.js/1.1/Mon Sep 26 18:44:31 2005// +D diff --git a/webcit/tiny_mce/plugins/flash/langs/CVS/Repository b/webcit/tiny_mce/plugins/flash/langs/CVS/Repository new file mode 100644 index 000000000..96eeac596 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/langs/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/flash/langs diff --git a/webcit/tiny_mce/plugins/flash/langs/CVS/Root b/webcit/tiny_mce/plugins/flash/langs/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/langs/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/flash/langs/cs.js b/webcit/tiny_mce/plugins/flash/langs/cs.js new file mode 100644 index 000000000..5e802ff70 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/langs/cs.js @@ -0,0 +1,14 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.2 2005/09/26 18:00:52 ajc Exp $ + */ + +tinyMCE.addToLang('',{ +insert_flash : 'Vložit/editovat Flash Movie', +insert_flash_file : 'Flash soubor (.swf)', +insert_flash_size : 'Velikost', +insert_flash_list : 'Seznam', +flash_props : 'Vlastnosti Flash' +}); diff --git a/webcit/tiny_mce/plugins/flash/langs/da.js b/webcit/tiny_mce/plugins/flash/langs/da.js new file mode 100644 index 000000000..cd2134af0 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/langs/da.js @@ -0,0 +1,11 @@ +// DK lang variables contributed by Jan Moelgaard + +tinyMCE.addToLang('flash',{ +title : 'Indsæt / rediger Flash-film', +desc : 'Indsæt / rediger Flash-film', +file : 'Flash-Fil (.swf)', +size : 'Størrelse', +list : 'Flash filer', +props : 'Flash egenskaber', +general : 'Genererelt' +}); diff --git a/webcit/tiny_mce/plugins/flash/langs/de.js b/webcit/tiny_mce/plugins/flash/langs/de.js new file mode 100644 index 000000000..4072c14f4 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/langs/de.js @@ -0,0 +1,11 @@ +// DE lang variables + +tinyMCE.addToLang('flash',{ +title : 'Flash-Datei einfügen/bearbeiten', +desc : 'Flash-Datei einfügen/bearbeiten', +file : 'Flash-Datei (.swf)', +size : 'Größe', +list : 'Flash-Dateien', +props : 'Flash-Eigenschaften', +general : 'Allgemein' +}); diff --git a/webcit/tiny_mce/plugins/flash/langs/en.js b/webcit/tiny_mce/plugins/flash/langs/en.js new file mode 100644 index 000000000..67272bc97 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/langs/en.js @@ -0,0 +1,11 @@ +// UK lang variables + +tinyMCE.addToLang('flash',{ +title : 'Insert / edit Flash Movie', +desc : 'Insert / edit Flash Movie', +file : 'Flash-File (.swf)', +size : 'Size', +list : 'Flash files', +props : 'Flash properties', +general : 'General' +}); diff --git a/webcit/tiny_mce/plugins/flash/langs/fa.js b/webcit/tiny_mce/plugins/flash/langs/fa.js new file mode 100644 index 000000000..66a8b4e65 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/langs/fa.js @@ -0,0 +1,13 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +dir : 'rtl', +insert_flash : '?????? ? ?????? ???? ???', +insert_flash_file : '???? ??? (.swf)', +insert_flash_size : '?????', +flash_props : 'Flash properties' +}); diff --git a/webcit/tiny_mce/plugins/flash/langs/fr.js b/webcit/tiny_mce/plugins/flash/langs/fr.js new file mode 100644 index 000000000..6c2bf0ebc --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/langs/fr.js @@ -0,0 +1,9 @@ +// French lang variables by Laurent Dran + +tinyMCE.addToLang('',{ +insert_flash : 'Insérer / éditer une animation Flash', +insert_flash_file : 'Fichier-Flash (.swf)', +insert_flash_size : 'Taille', +insert_flash_list : 'Fichiers Flash', +flash_props : 'Flash properties' +}); diff --git a/webcit/tiny_mce/plugins/flash/langs/fr_ca.js b/webcit/tiny_mce/plugins/flash/langs/fr_ca.js new file mode 100644 index 000000000..f80d9205d --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/langs/fr_ca.js @@ -0,0 +1,9 @@ +// Canadian French lang variables by Virtuelcom last modification: 2005-06-15 + +tinyMCE.addToLang('',{ +insert_flash : 'Insérer / Modifier une animation Flash', +insert_flash_file : 'Fichier Flash (.swf)', +insert_flash_size : 'Dimension', +insert_flash_list : 'Fichiers Flash', +flash_props : 'Propriétés Flash' +}); diff --git a/webcit/tiny_mce/plugins/flash/langs/he.js b/webcit/tiny_mce/plugins/flash/langs/he.js new file mode 100644 index 000000000..09448fed2 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/langs/he.js @@ -0,0 +1,11 @@ +// HE lang variables + +tinyMCE.addToLang('flash',{ +title : 'äëðñ/òøåê ñøèåï Flash', +desc : 'äëðñ/òøåê ñøèåï Flash', +file : '÷åáõ Flash (.swf)', +size : 'âåãì', +list : '÷áöé Flash', +props : 'îàôééðé Flash', +general : 'ëììé' +}); diff --git a/webcit/tiny_mce/plugins/flash/langs/hu.js b/webcit/tiny_mce/plugins/flash/langs/hu.js new file mode 100644 index 000000000..0760f10a6 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/langs/hu.js @@ -0,0 +1,11 @@ +// HU lang variables + +tinyMCE.addToLang('flash',{ +title : 'Flash animáció beszúrása / szerkesztése', +desc : 'Flash animáció beszúrása / szerkesztése', +file : 'Flash-Fájl (.swf)', +size : 'Méret', +list : 'Flash fájlok', +props : 'Flash tulajdonságok', +general : 'Általános' +}); diff --git a/webcit/tiny_mce/plugins/flash/langs/nl.js b/webcit/tiny_mce/plugins/flash/langs/nl.js new file mode 100644 index 000000000..9b9231999 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/langs/nl.js @@ -0,0 +1,7 @@ +// NL lang variables + +tinyMCE.addToLang('',{ +insert_flash : 'Invoegen / wijzigen Flash Movie', +insert_flash_file : 'Flash-Bestand (.swf)', +insert_flash_size : 'Grootte' +}); diff --git a/webcit/tiny_mce/plugins/flash/langs/no.js b/webcit/tiny_mce/plugins/flash/langs/no.js new file mode 100644 index 000000000..11b1b55ca --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/langs/no.js @@ -0,0 +1,11 @@ +// NO lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('flash',{ +title : 'Lag/oppdater flash-film', +desc : 'Lag/oppdater flash-film', +file : 'Flash-film (.swf)', +size : 'Størrelse', +list : 'Flash-filer', +props : 'Flash egenskaper', +general : 'Generelle innstillinger' +}); diff --git a/webcit/tiny_mce/plugins/flash/langs/pl.js b/webcit/tiny_mce/plugins/flash/langs/pl.js new file mode 100644 index 000000000..d24b42967 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/langs/pl.js @@ -0,0 +1,9 @@ +// PL lang variables + +tinyMCE.addToLang('',{ +insert_flash : 'Wstaw/Edytuj animacje Flash', +insert_flash_file : 'Plik Flash (.swf)', +insert_flash_size : 'Rozmiar', +insert_flash_list : 'Pliki Flash', +flash_props : 'Wlasciwosci animacji Flash' +}); diff --git a/webcit/tiny_mce/plugins/flash/langs/pt_br.js b/webcit/tiny_mce/plugins/flash/langs/pt_br.js new file mode 100644 index 000000000..463b1a94b --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/langs/pt_br.js @@ -0,0 +1,9 @@ +// pt_BR lang variables + +tinyMCE.addToLang('',{ +insert_flash : 'Inserir / editar Arquivo Flash', +insert_flash_file : 'Arquivo Flash (.swf)', +insert_flash_size : 'Tamanho', +insert_flash_list : 'Lista de arquivos Flash', +flash_props : 'Propriedades Flash' +}); diff --git a/webcit/tiny_mce/plugins/flash/langs/sv.js b/webcit/tiny_mce/plugins/flash/langs/sv.js new file mode 100644 index 000000000..211ba98c9 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/langs/sv.js @@ -0,0 +1,11 @@ +// SE lang variables + +tinyMCE.addToLang('flash',{ +title : 'Skapa/uppdatera flash-film', +desc : 'Skapa/uppdatera flash-film', +file : 'Flash-film (.swf)', +size : 'Storlek', +list : 'Flash-filer', +props : 'Flash egenskaper', +general : 'Generella inställningar' +}); diff --git a/webcit/tiny_mce/plugins/flash/langs/zh_cn.js b/webcit/tiny_mce/plugins/flash/langs/zh_cn.js new file mode 100644 index 000000000..435e14de7 --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/langs/zh_cn.js @@ -0,0 +1,10 @@ +// Simplified Chinese lang variables contributed by cube316 (cube316@gmail.com) +//Çë·ÃÎÊ http://www.cube316.net/ ÒÔ»ñÈ¡TinyMCEµÄÖÐÎÄÖ§³Ö + +tinyMCE.addToLang('',{ +insert_flash : '²åÈë/±à¼­ FlashµçÓ°', +insert_flash_file : 'FlashÎļþ(.swf)', +insert_flash_size : '³ß´ç', +insert_flash_list : 'FlashÎļþÁбí', +flash_props : 'FlashÊôÐÔ' +}); diff --git a/webcit/tiny_mce/plugins/flash/readme.txt b/webcit/tiny_mce/plugins/flash/readme.txt new file mode 100644 index 000000000..4fdb78aec --- /dev/null +++ b/webcit/tiny_mce/plugins/flash/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/webcit/tiny_mce/plugins/fullscreen/CVS/Entries b/webcit/tiny_mce/plugins/fullscreen/CVS/Entries new file mode 100644 index 000000000..68cc61b7c --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/CVS/Entries @@ -0,0 +1,6 @@ +D/images//// +D/langs//// +/fullscreen.htm/1.1/Tue Sep 6 17:38:18 2005// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// +/editor_plugin.js/1.2/Wed Sep 28 03:47:28 2005// +/editor_plugin_src.js/1.2/Wed Sep 28 03:47:28 2005// diff --git a/webcit/tiny_mce/plugins/fullscreen/CVS/Repository b/webcit/tiny_mce/plugins/fullscreen/CVS/Repository new file mode 100644 index 000000000..c25687717 --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/fullscreen diff --git a/webcit/tiny_mce/plugins/fullscreen/CVS/Root b/webcit/tiny_mce/plugins/fullscreen/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/fullscreen/editor_plugin.js b/webcit/tiny_mce/plugins/fullscreen/editor_plugin.js new file mode 100644 index 000000000..18a1808f0 --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/editor_plugin.js @@ -0,0 +1,2 @@ +/* Import plugin specific language pack */ + tinyMCE.importPluginLanguagePack('fullscreen','en,sv,cs,fr_ca,zh_cn,da,he,no,de,hu');function TinyMCE_fullscreen_getInfo(){return{longname:'Fullscreen',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_fullscreen.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};};function TinyMCE_fullscreen_getControlHTML(control_name){switch(control_name){case "fullscreen":return '';}return "";}function TinyMCE_fullscreen_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mceFullScreen":if(tinyMCE.getParam('fullscreen_is_enabled')){window.opener.tinyMCE.execInstanceCommand(tinyMCE.getParam('fullscreen_editor_id'),'mceSetContent',false,tinyMCE.getContent(editor_id));top.close();}else{tinyMCE.setWindowArg('editor_id',editor_id);var win=window.open(tinyMCE.baseURL+"/plugins/fullscreen/fullscreen.htm","mceFullScreenPopup","fullscreen=yes,menubar=no,toolbar=no,scrollbars=no,resizable=yes,left=0,top=0,width="+screen.availWidth+",height="+screen.availHeight);}return true;}return false;} \ No newline at end of file diff --git a/webcit/tiny_mce/plugins/fullscreen/editor_plugin_src.js b/webcit/tiny_mce/plugins/fullscreen/editor_plugin_src.js new file mode 100644 index 000000000..de6796e17 --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/editor_plugin_src.js @@ -0,0 +1,44 @@ +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('fullscreen', 'en,sv,cs,fr_ca,zh_cn,da,he,no,de,hu'); + +function TinyMCE_fullscreen_getInfo() { + return { + longname : 'Fullscreen', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_fullscreen.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; +}; + +function TinyMCE_fullscreen_getControlHTML(control_name) { + switch (control_name) { + case "fullscreen": + return ''; + } + + return ""; +} + +function TinyMCE_fullscreen_execCommand(editor_id, element, command, user_interface, value) { + // Handle commands + switch (command) { + case "mceFullScreen": + if (tinyMCE.getParam('fullscreen_is_enabled')) { + // In fullscreen mode + window.opener.tinyMCE.execInstanceCommand(tinyMCE.getParam('fullscreen_editor_id'), 'mceSetContent', false, tinyMCE.getContent(editor_id)); + top.close(); + } else { + tinyMCE.setWindowArg('editor_id', editor_id); + + var win = window.open(tinyMCE.baseURL + "/plugins/fullscreen/fullscreen.htm", "mceFullScreenPopup", "fullscreen=yes,menubar=no,toolbar=no,scrollbars=no,resizable=yes,left=0,top=0,width=" + screen.availWidth + ",height=" + screen.availHeight); + } + + return true; + } + + // Pass to next handler in chain + return false; +} + + diff --git a/webcit/tiny_mce/plugins/fullscreen/fullscreen.htm b/webcit/tiny_mce/plugins/fullscreen/fullscreen.htm new file mode 100644 index 000000000..3e0d2e832 --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/fullscreen.htm @@ -0,0 +1,72 @@ + + + + + + + + + + + + diff --git a/webcit/tiny_mce/plugins/fullscreen/images/CVS/Entries b/webcit/tiny_mce/plugins/fullscreen/images/CVS/Entries new file mode 100644 index 000000000..d844bf9f7 --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/images/CVS/Entries @@ -0,0 +1,2 @@ +/fullscreen.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/plugins/fullscreen/images/CVS/Repository b/webcit/tiny_mce/plugins/fullscreen/images/CVS/Repository new file mode 100644 index 000000000..255561d86 --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/fullscreen/images diff --git a/webcit/tiny_mce/plugins/fullscreen/images/CVS/Root b/webcit/tiny_mce/plugins/fullscreen/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/fullscreen/images/fullscreen.gif b/webcit/tiny_mce/plugins/fullscreen/images/fullscreen.gif new file mode 100644 index 000000000..66fa6d921 Binary files /dev/null and b/webcit/tiny_mce/plugins/fullscreen/images/fullscreen.gif differ diff --git a/webcit/tiny_mce/plugins/fullscreen/langs/CVS/Entries b/webcit/tiny_mce/plugins/fullscreen/langs/CVS/Entries new file mode 100644 index 000000000..15db6220a --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/langs/CVS/Entries @@ -0,0 +1,11 @@ +/en.js/1.1/Tue Aug 30 18:35:56 2005// +/fr_ca.js/1.1/Tue Aug 30 18:35:56 2005// +/sv.js/1.1/Tue Aug 30 18:35:56 2005// +/zh_cn.js/1.1/Sun Sep 11 12:53:00 2005// +/cs.js/1.2/Wed Sep 28 03:47:28 2005// +/da.js/1.1/Mon Sep 26 18:44:31 2005// +/de.js/1.1/Mon Sep 26 18:44:31 2005// +/he.js/1.2/Wed Sep 28 03:47:28 2005// +/hu.js/1.1/Mon Sep 26 18:44:31 2005// +/no.js/1.1/Mon Sep 26 18:44:31 2005// +D diff --git a/webcit/tiny_mce/plugins/fullscreen/langs/CVS/Repository b/webcit/tiny_mce/plugins/fullscreen/langs/CVS/Repository new file mode 100644 index 000000000..a8ecfd60d --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/langs/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/fullscreen/langs diff --git a/webcit/tiny_mce/plugins/fullscreen/langs/CVS/Root b/webcit/tiny_mce/plugins/fullscreen/langs/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/langs/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/fullscreen/langs/cs.js b/webcit/tiny_mce/plugins/fullscreen/langs/cs.js new file mode 100644 index 000000000..020509b19 --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/langs/cs.js @@ -0,0 +1,12 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.2 2005/09/26 18:00:52 ajc Exp $ + */ + +tinyMCE.addToLang('',{ +fullscreen_title : 'Na celou obrazovku', +fullscreen_desc : 'Přepnout na celou obrazovku' +}); + diff --git a/webcit/tiny_mce/plugins/fullscreen/langs/da.js b/webcit/tiny_mce/plugins/fullscreen/langs/da.js new file mode 100644 index 000000000..4d86b01c5 --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/langs/da.js @@ -0,0 +1,6 @@ +// DK lang variables contributed by Jan Moelgaard + +tinyMCE.addToLang('',{ +fullscreen_title : 'Fuldskærmstilstand', +fullscreen_desc : 'Tænd / sluk for fuldskærm' +}); diff --git a/webcit/tiny_mce/plugins/fullscreen/langs/de.js b/webcit/tiny_mce/plugins/fullscreen/langs/de.js new file mode 100644 index 000000000..e1d0fa7fa --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/langs/de.js @@ -0,0 +1,6 @@ +// DE lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Vollbild-Modus', +fullscreen_desc : 'Vollbild-Modus umschalten' +}); diff --git a/webcit/tiny_mce/plugins/fullscreen/langs/en.js b/webcit/tiny_mce/plugins/fullscreen/langs/en.js new file mode 100644 index 000000000..9a2ea6eca --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/langs/en.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Fullscreen mode', +fullscreen_desc : 'Toggle fullscreen mode' +}); diff --git a/webcit/tiny_mce/plugins/fullscreen/langs/fr_ca.js b/webcit/tiny_mce/plugins/fullscreen/langs/fr_ca.js new file mode 100644 index 000000000..a810964a0 --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/langs/fr_ca.js @@ -0,0 +1,6 @@ +// Canadian French lang variables by Virtuelcom last modification: 2005-06-15 + +tinyMCE.addToLang('',{ +fullscreen_title : 'Mode plein écran', +fullscreen_desc : 'Basculer le mode plein écrans' +}); diff --git a/webcit/tiny_mce/plugins/fullscreen/langs/he.js b/webcit/tiny_mce/plugins/fullscreen/langs/he.js new file mode 100644 index 000000000..13663dab6 --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/langs/he.js @@ -0,0 +1,6 @@ +// HE lang variables by Liron Newman, http://eesh.net + +tinyMCE.addToLang('',{ +fullscreen_title : 'îöá îñê îìà', +fullscreen_desc : 'äçìó îöá îñê îìà' +}); diff --git a/webcit/tiny_mce/plugins/fullscreen/langs/hu.js b/webcit/tiny_mce/plugins/fullscreen/langs/hu.js new file mode 100644 index 000000000..520124543 --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/langs/hu.js @@ -0,0 +1,6 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Teljesképernyõs mód', +fullscreen_desc : 'Váltás teljesképernyõs módra' +}); diff --git a/webcit/tiny_mce/plugins/fullscreen/langs/no.js b/webcit/tiny_mce/plugins/fullscreen/langs/no.js new file mode 100644 index 000000000..25e333959 --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/langs/no.js @@ -0,0 +1,6 @@ +// NO lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +fullscreen_title : 'Fullskjermstilstand', +fullscreen_desc : 'Hopp fra/til fullskjermstilstand' +}); diff --git a/webcit/tiny_mce/plugins/fullscreen/langs/sv.js b/webcit/tiny_mce/plugins/fullscreen/langs/sv.js new file mode 100644 index 000000000..5f671f087 --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/langs/sv.js @@ -0,0 +1,6 @@ +// SV lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Fullskärmsläge', +fullscreen_desc : 'Hoppa från/till fullskärmsläge' +}); diff --git a/webcit/tiny_mce/plugins/fullscreen/langs/zh_cn.js b/webcit/tiny_mce/plugins/fullscreen/langs/zh_cn.js new file mode 100644 index 000000000..4d65285b1 --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/langs/zh_cn.js @@ -0,0 +1,7 @@ +// Simplified Chinese lang variables contributed by cube316 (cube316@gmail.com) +//Çë·ÃÎÊ http://www.cube316.net/ ÒÔ»ñÈ¡TinyMCEµÄÖÐÎÄÖ§³Ö + +tinyMCE.addToLang('',{ +fullscreen_title : 'È«ÆÁģʽ', +fullscreen_desc : 'Çл»È«ÆÁģʽ' +}); diff --git a/webcit/tiny_mce/plugins/fullscreen/readme.txt b/webcit/tiny_mce/plugins/fullscreen/readme.txt new file mode 100644 index 000000000..4fdb78aec --- /dev/null +++ b/webcit/tiny_mce/plugins/fullscreen/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/webcit/tiny_mce/plugins/iespell/CVS/Entries b/webcit/tiny_mce/plugins/iespell/CVS/Entries new file mode 100644 index 000000000..69abc9820 --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/CVS/Entries @@ -0,0 +1,5 @@ +D/images//// +D/langs//// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// +/editor_plugin.js/1.2/Wed Sep 28 03:47:28 2005// +/editor_plugin_src.js/1.2/Wed Sep 28 03:47:28 2005// diff --git a/webcit/tiny_mce/plugins/iespell/CVS/Repository b/webcit/tiny_mce/plugins/iespell/CVS/Repository new file mode 100644 index 000000000..17e222160 --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/iespell diff --git a/webcit/tiny_mce/plugins/iespell/CVS/Root b/webcit/tiny_mce/plugins/iespell/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/iespell/editor_plugin.js b/webcit/tiny_mce/plugins/iespell/editor_plugin.js new file mode 100644 index 000000000..29d45fbb7 --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/editor_plugin.js @@ -0,0 +1,2 @@ +/* Import plugin specific language pack */ + tinyMCE.importPluginLanguagePack('iespell','cs,el,en,fr_ca,it,ko,sv,zh_cn,fr,de,pl,pt_br,nl,da,he,no');function TinyMCE_iespell_getInfo(){return{longname:'IESpell',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_iespell.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};};function TinyMCE_iespell_getControlHTML(control_name){if(control_name=="iespell"&&tinyMCE.isMSIE)return '';return "";}function TinyMCE_iespell_execCommand(editor_id,element,command,user_interface,value){if(command=="mceIESpell"){try{var ieSpell=new ActiveXObject("ieSpell.ieSpellExtension");ieSpell.CheckDocumentNode(tinyMCE.getInstanceById(editor_id).contentDocument.documentElement);}catch(e){if(e.number==-2146827859){if(confirm(tinyMCE.getLang("lang_iespell_download","",true)))window.open('http://www.iespell.com/download.php','ieSpellDownload','');}else alert("Error Loading ieSpell: Exception "+e.number);}return true;}return false;} \ No newline at end of file diff --git a/webcit/tiny_mce/plugins/iespell/editor_plugin_src.js b/webcit/tiny_mce/plugins/iespell/editor_plugin_src.js new file mode 100644 index 000000000..c9ff1d004 --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/editor_plugin_src.js @@ -0,0 +1,47 @@ +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('iespell', 'cs,el,en,fr_ca,it,ko,sv,zh_cn,fr,de,pl,pt_br,nl,da,he,no'); + +function TinyMCE_iespell_getInfo() { + return { + longname : 'IESpell', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_iespell.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; +}; + +/** + * Returns the HTML contents of the iespell control. + */ +function TinyMCE_iespell_getControlHTML(control_name) { + // Is it the iespell control and is the brower MSIE. + if (control_name == "iespell" && tinyMCE.isMSIE) + return ''; + + return ""; +} + +/** + * Executes the mceIESpell command. + */ +function TinyMCE_iespell_execCommand(editor_id, element, command, user_interface, value) { + // Handle ieSpellCommand + if (command == "mceIESpell") { + try { + var ieSpell = new ActiveXObject("ieSpell.ieSpellExtension"); + ieSpell.CheckDocumentNode(tinyMCE.getInstanceById(editor_id).contentDocument.documentElement); + } catch (e) { + if (e.number == -2146827859) { + if (confirm(tinyMCE.getLang("lang_iespell_download", "", true))) + window.open('http://www.iespell.com/download.php', 'ieSpellDownload', ''); + } else + alert("Error Loading ieSpell: Exception " + e.number); + } + + return true; + } + + // Pass to next handler in chain + return false; +} \ No newline at end of file diff --git a/webcit/tiny_mce/plugins/iespell/images/CVS/Entries b/webcit/tiny_mce/plugins/iespell/images/CVS/Entries new file mode 100644 index 000000000..7dbfcf1e8 --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/images/CVS/Entries @@ -0,0 +1,2 @@ +/iespell.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/plugins/iespell/images/CVS/Repository b/webcit/tiny_mce/plugins/iespell/images/CVS/Repository new file mode 100644 index 000000000..6cbb17b6f --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/iespell/images diff --git a/webcit/tiny_mce/plugins/iespell/images/CVS/Root b/webcit/tiny_mce/plugins/iespell/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/iespell/images/iespell.gif b/webcit/tiny_mce/plugins/iespell/images/iespell.gif new file mode 100644 index 000000000..a9a289189 Binary files /dev/null and b/webcit/tiny_mce/plugins/iespell/images/iespell.gif differ diff --git a/webcit/tiny_mce/plugins/iespell/langs/CVS/Entries b/webcit/tiny_mce/plugins/iespell/langs/CVS/Entries new file mode 100644 index 000000000..d59f7da3c --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/langs/CVS/Entries @@ -0,0 +1,18 @@ +/el.js/1.1/Sun Sep 11 12:53:00 2005// +/en.js/1.1/Tue Aug 30 18:35:56 2005// +/fr.js/1.1/Tue Aug 30 18:35:56 2005// +/fr_ca.js/1.1/Tue Aug 30 18:35:56 2005// +/it.js/1.1/Tue Aug 30 18:35:56 2005// +/ko.js/1.1/Sun Sep 11 12:53:00 2005// +/nl.js/1.1/Tue Aug 30 18:35:56 2005// +/pl.js/1.1/Tue Aug 30 18:35:56 2005// +/pt_br.js/1.1/Tue Aug 30 18:35:56 2005// +/sv.js/1.1/Sun Sep 11 12:53:00 2005// +/zh_cn.js/1.1/Sun Sep 11 12:53:00 2005// +/cs.js/1.2/Wed Sep 28 03:47:28 2005// +/da.js/1.1/Mon Sep 26 18:44:31 2005// +/de.js/1.2/Wed Sep 28 03:47:28 2005// +/he.js/1.2/Wed Sep 28 03:47:28 2005// +/hu.js/1.1/Mon Sep 26 18:44:31 2005// +/no.js/1.1/Mon Sep 26 18:44:31 2005// +D diff --git a/webcit/tiny_mce/plugins/iespell/langs/CVS/Repository b/webcit/tiny_mce/plugins/iespell/langs/CVS/Repository new file mode 100644 index 000000000..1af806317 --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/langs/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/iespell/langs diff --git a/webcit/tiny_mce/plugins/iespell/langs/CVS/Root b/webcit/tiny_mce/plugins/iespell/langs/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/langs/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/iespell/langs/cs.js b/webcit/tiny_mce/plugins/iespell/langs/cs.js new file mode 100644 index 000000000..069277658 --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/langs/cs.js @@ -0,0 +1,12 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.2 2005/09/26 18:00:52 ajc Exp $ + */ + +tinyMCE.addToLang('',{ +iespell_desc : 'Spustit kontrolu pravopisu', +iespell_download : "ieSpell nedetekován. Klikněte na OK a otevřete stahovací stránku." +}); + diff --git a/webcit/tiny_mce/plugins/iespell/langs/da.js b/webcit/tiny_mce/plugins/iespell/langs/da.js new file mode 100644 index 000000000..4612e1864 --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/langs/da.js @@ -0,0 +1,7 @@ +// DK lang variables contributed by Jan Moelgaard + +tinyMCE.addToLang('',{ +iespell_desc : 'Lav stavekontrol', +iespell_download : "ieSpell kan ikke findes. Klik på OK for at fortsætte til downloadsiden." +}); + diff --git a/webcit/tiny_mce/plugins/iespell/langs/de.js b/webcit/tiny_mce/plugins/iespell/langs/de.js new file mode 100644 index 000000000..bc10a5005 --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/langs/de.js @@ -0,0 +1,7 @@ +// DE lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Rechtschreibprüfung', +iespell_download : "ieSpell nicht gefunden. Klicken Sie OK, um die Download-Seite aufzurufen." +}); + diff --git a/webcit/tiny_mce/plugins/iespell/langs/el.js b/webcit/tiny_mce/plugins/iespell/langs/el.js new file mode 100644 index 000000000..9b48b86c0 --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/langs/el.js @@ -0,0 +1,7 @@ +// Greek lang variables by Jacaranda Bill + +tinyMCE.addToLang('',{ +iespell_desc : 'Ïñèïãñáöéêüò Ýëåã÷ïò', +iespell_download : "Ôï ðñüãñáììá ieSpell äåí âñÝèçêå. ÐáôÞóôå OK ãéá íá ìåôáâåßôå óôçí éóôïóåëßäá ëÞøçò ôïõ ðñïãñÜììáôïò." +}); + diff --git a/webcit/tiny_mce/plugins/iespell/langs/en.js b/webcit/tiny_mce/plugins/iespell/langs/en.js new file mode 100644 index 000000000..c3688e946 --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/langs/en.js @@ -0,0 +1,7 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Run spell checking', +iespell_download : "ieSpell not detected. Click OK to go to download page." +}); + diff --git a/webcit/tiny_mce/plugins/iespell/langs/fr.js b/webcit/tiny_mce/plugins/iespell/langs/fr.js new file mode 100644 index 000000000..cb3fce5da --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/langs/fr.js @@ -0,0 +1,6 @@ +// French lang variables by Laurent Dran + +tinyMCE.addToLang('',{ +iespell_desc : 'Executer le vérificateur d\'orthographe', +iespell_download : "ieSpell n\'a pas été trouvé. Cliquez sur OK pour aller au site de téléchargement." +}); diff --git a/webcit/tiny_mce/plugins/iespell/langs/fr_ca.js b/webcit/tiny_mce/plugins/iespell/langs/fr_ca.js new file mode 100644 index 000000000..8904bebe4 --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/langs/fr_ca.js @@ -0,0 +1,6 @@ +// Canadian French lang variables by Virtuelcom last modification: 2005-06-15 + +tinyMCE.addToLang('',{ +iespell_desc : 'Executer le vérificateur d\'orthographe', +iespell_download : "ieSpell n\'a pas été trouvé. Cliquez sur OK pour aller au site de téléchargement." +}); diff --git a/webcit/tiny_mce/plugins/iespell/langs/he.js b/webcit/tiny_mce/plugins/iespell/langs/he.js new file mode 100644 index 000000000..1c1fde67f --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/langs/he.js @@ -0,0 +1,6 @@ +// HE lang variables by Liron Newman, http://eesh.net + +tinyMCE.addToLang('',{ +iespell_desc : 'äôòì áãé÷ú àéåú', +iespell_download : "ìà ðîöà ieSpell. ìçõ òì àéùåø ëãé ìäâéò ìãó ääåøãä." +}); diff --git a/webcit/tiny_mce/plugins/iespell/langs/hu.js b/webcit/tiny_mce/plugins/iespell/langs/hu.js new file mode 100644 index 000000000..d24a8039c --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/langs/hu.js @@ -0,0 +1,7 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Helyesírásellenõrzés indítása', +iespell_download : "ieSpell nem található. Kattints az OK-ra a letöltési oldalhoz." +}); + diff --git a/webcit/tiny_mce/plugins/iespell/langs/it.js b/webcit/tiny_mce/plugins/iespell/langs/it.js new file mode 100644 index 000000000..6f4d529c1 --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/langs/it.js @@ -0,0 +1,7 @@ +// IT lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Avvia il controllo ortografico', +iespell_download : "ieSpell non trovato. Clicca OK per andare alla pagina di download." +}); + diff --git a/webcit/tiny_mce/plugins/iespell/langs/ko.js b/webcit/tiny_mce/plugins/iespell/langs/ko.js new file mode 100644 index 000000000..eb0309260 --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/langs/ko.js @@ -0,0 +1,7 @@ +// KO lang variables + +tinyMCE.addToLang('',{ +iespell_desc : '¸ÂÃã¹ý °Ë»ç ½ÇÇà', +iespell_download : "ieSpellÀ» ãÀ» ¼ö ¾ø½À´Ï´Ù. OK¸¦ ´©¸£¸é ´Ù¿î·Îµå ÆäÀÌÁö·Î À̵¿ÇÕ´Ï´Ù." +}); + diff --git a/webcit/tiny_mce/plugins/iespell/langs/nl.js b/webcit/tiny_mce/plugins/iespell/langs/nl.js new file mode 100644 index 000000000..286ae70b1 --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/langs/nl.js @@ -0,0 +1,6 @@ +// NL lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Spelling checker', +iespell_download : "ieSpell niet gedetecteerd. Klik OK om naar de download pagina te gaan." +}); diff --git a/webcit/tiny_mce/plugins/iespell/langs/no.js b/webcit/tiny_mce/plugins/iespell/langs/no.js new file mode 100644 index 000000000..2efd7043c --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/langs/no.js @@ -0,0 +1,6 @@ +// NO lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +iespell_desc : 'Kjør rettstavingskontroll', +iespell_download : "ieSpell virker ikke å være installert. Klikk OK for å laste hjem." +}); diff --git a/webcit/tiny_mce/plugins/iespell/langs/pl.js b/webcit/tiny_mce/plugins/iespell/langs/pl.js new file mode 100644 index 000000000..089f0d3d8 --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/langs/pl.js @@ -0,0 +1,6 @@ +// PL lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Uruchom sprawdzanie pisowni', +iespell_download : "Nie wykryto pluginu, kliknij aby przejsc do strony z pluginami." +}); diff --git a/webcit/tiny_mce/plugins/iespell/langs/pt_br.js b/webcit/tiny_mce/plugins/iespell/langs/pt_br.js new file mode 100644 index 000000000..07ec71606 --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/langs/pt_br.js @@ -0,0 +1,6 @@ +// pt_BR lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Executar verificação ortográfica', +iespell_download : "Verificador ieSpell não detectado. Click OK para ir à página de download." +}); diff --git a/webcit/tiny_mce/plugins/iespell/langs/sv.js b/webcit/tiny_mce/plugins/iespell/langs/sv.js new file mode 100644 index 000000000..7006885b2 --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/langs/sv.js @@ -0,0 +1,6 @@ +// SE lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Kör rättstavningskontroll', +iespell_download : "ieSpell verkar inte vara installerad. Klicka OK för att ladda hem." +}); diff --git a/webcit/tiny_mce/plugins/iespell/langs/zh_cn.js b/webcit/tiny_mce/plugins/iespell/langs/zh_cn.js new file mode 100644 index 000000000..a20789e91 --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/langs/zh_cn.js @@ -0,0 +1,7 @@ +// Simplified Chinese lang variables contributed by cube316 (cube316@gmail.com) +//Çë·ÃÎÊ http://www.cube316.net/ ÒÔ»ñÈ¡TinyMCEµÄÖÐÎÄÖ§³Ö + +tinyMCE.addToLang('',{ +iespell_desc : 'ÔËÐÐƴд¼ì²é', +iespell_download : "δ¼ì²âµ½ieSpellƴд¼ì²é£¬µã»÷ OK Ç°ÍùÏÂÔØÒ³Ãæ¡£" +}); diff --git a/webcit/tiny_mce/plugins/iespell/readme.txt b/webcit/tiny_mce/plugins/iespell/readme.txt new file mode 100644 index 000000000..4fdb78aec --- /dev/null +++ b/webcit/tiny_mce/plugins/iespell/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/webcit/tiny_mce/plugins/inlinepopups/CVS/Entries b/webcit/tiny_mce/plugins/inlinepopups/CVS/Entries new file mode 100644 index 000000000..a762a801c --- /dev/null +++ b/webcit/tiny_mce/plugins/inlinepopups/CVS/Entries @@ -0,0 +1,6 @@ +D/css//// +D/images//// +D/jscripts//// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// +/editor_plugin.js/1.2/Wed Sep 28 03:47:28 2005// +/editor_plugin_src.js/1.2/Wed Sep 28 03:47:28 2005// diff --git a/webcit/tiny_mce/plugins/inlinepopups/CVS/Repository b/webcit/tiny_mce/plugins/inlinepopups/CVS/Repository new file mode 100644 index 000000000..f810d69cb --- /dev/null +++ b/webcit/tiny_mce/plugins/inlinepopups/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/inlinepopups diff --git a/webcit/tiny_mce/plugins/inlinepopups/CVS/Root b/webcit/tiny_mce/plugins/inlinepopups/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/inlinepopups/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/inlinepopups/css/CVS/Entries b/webcit/tiny_mce/plugins/inlinepopups/css/CVS/Entries new file mode 100644 index 000000000..36cc6c3bb --- /dev/null +++ b/webcit/tiny_mce/plugins/inlinepopups/css/CVS/Entries @@ -0,0 +1,2 @@ +/inlinepopup.css/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/plugins/inlinepopups/css/CVS/Repository b/webcit/tiny_mce/plugins/inlinepopups/css/CVS/Repository new file mode 100644 index 000000000..e98827a2d --- /dev/null +++ b/webcit/tiny_mce/plugins/inlinepopups/css/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/inlinepopups/css diff --git a/webcit/tiny_mce/plugins/inlinepopups/css/CVS/Root b/webcit/tiny_mce/plugins/inlinepopups/css/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/inlinepopups/css/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/inlinepopups/css/inlinepopup.css b/webcit/tiny_mce/plugins/inlinepopups/css/inlinepopup.css new file mode 100644 index 000000000..2b62077eb --- /dev/null +++ b/webcit/tiny_mce/plugins/inlinepopups/css/inlinepopup.css @@ -0,0 +1,69 @@ +/* Window classes */ + +.mceWindow { + position: absolute; + left: 0px; + top: 0px; + border: 1px solid black; + background-color: #D4D0C8; +} + +.mceWindowHead { + background-color: #334F8D; + width: 100%; + height: 18px; + cursor: move; + overflow: hidden; +} + +.mceWindowBody { + clear: both; + background-color: white; +} + +.mceWindowStatusbar { + background-color: #D4D0C8; + height: 12px; + border-top: 1px solid black; +} + +.mceWindowTitle { + float: left; + font-family: "MS Sans Serif"; + font-size: 9pt; + font-weight: bold; + line-height: 18px; + color: white; + margin-left: 2px; + overflow: hidden; +} + +.mceWindowHeadTools { + margin-right: 2px; +} + +.mceWindowClose, .mceWindowMinimize, .mceWindowMaximize { + display: block; + float: right; + overflow: hidden; + margin-top: 2px; +} + +.mceWindowClose { + margin-left: 2px; +} + +.mceWindowMinimize { +} + +.mceWindowMaximize { +} + +.mceWindowResize { + display: block; + float: right; + overflow: hidden; + cursor: se-resize; + width: 12px; + height: 12px; +} diff --git a/webcit/tiny_mce/plugins/inlinepopups/editor_plugin.js b/webcit/tiny_mce/plugins/inlinepopups/editor_plugin.js new file mode 100644 index 000000000..c6f4f36c0 --- /dev/null +++ b/webcit/tiny_mce/plugins/inlinepopups/editor_plugin.js @@ -0,0 +1,11 @@ +/** + * $RCSfile: editor_plugin.js,v $ + * $Revision: 1.2 $ + * $Date: 2005/09/26 18:00:52 $ + * + * Moxiecode DHTML Windows script. + * + * @author Moxiecode + * @copyright Copyright © 2004, Moxiecode Systems AB, All rights reserved. + */ + function TinyMCE_inlinepopups_getInfo(){return{longname:'Inline Popups',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_inlinepopups.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};};TinyMCE.prototype.orgOpenWindow=TinyMCE.prototype.openWindow;TinyMCE.prototype.openWindow=function(template,args){if(args['inline']!="yes"){mcWindows.selectedWindow=null;args['mce_inside_iframe']=false;this.orgOpenWindow(template,args);return;}var url,resizable,scrollbars;args['mce_inside_iframe']=true;tinyMCE.windowArgs=args;if(template['file'].charAt(0)!='/'&&template['file'].indexOf('://')==-1)url=tinyMCE.baseURL+"/themes/"+tinyMCE.getParam("theme")+"/"+template['file'];else url=template['file'];if(!(width=parseInt(template['width'])))width=320;if(!(height=parseInt(template['height'])))height=200;resizable=(args&&args['resizable'])?args['resizable']:"no";scrollbars=(args&&args['scrollbars'])?args['scrollbars']:"no";height+=18;for(var name in args){if(typeof(args[name])=='function')continue;url=tinyMCE.replaceVar(url,name,escape(args[name]));}var elm=document.getElementById(this.selectedInstance.editorId+'_parent');var pos=tinyMCE.getAbsPosition(elm);pos.absLeft+=Math.round((elm.firstChild.clientWidth/2)-(width/2));pos.absTop+=Math.round((elm.firstChild.clientHeight/2)-(height/2));mcWindows.open(url,mcWindows.idCounter++,"modal=yes,width="+width+",height="+height+",resizable="+resizable+",scrollbars="+scrollbars+",statusbar="+resizable+",left="+pos.absLeft+",top="+pos.absTop);};TinyMCE.prototype.orgCloseWindow=TinyMCE.prototype.closeWindow;TinyMCE.prototype.closeWindow=function(win){if(mcWindows.selectedWindow!=null)mcWindows.selectedWindow.close();else this.orgCloseWindow(win);};TinyMCE.prototype.setWindowTitle=function(win_ref,title){for(var n in mcWindows.windows){var win=mcWindows.windows[n];if(typeof(win)=='function')continue;if(win_ref.name==win.id+"_iframe")window.frames[win.id+"_iframe"].document.getElementById(win.id+'_title').innerHTML=title;}};function MCWindows(){this.settings=new Array();this.windows=new Array();this.isMSIE=(navigator.appName=="Microsoft Internet Explorer");this.isGecko=navigator.userAgent.indexOf('Gecko')!=-1;this.isSafari=navigator.userAgent.indexOf('Safari')!=-1;this.isMac=navigator.userAgent.indexOf('Mac')!=-1;this.isMSIE5_0=this.isMSIE&&(navigator.userAgent.indexOf('MSIE 5.0')!=-1);this.action="none";this.selectedWindow=null;this.lastSelectedWindow=null;this.zindex=100;this.mouseDownScreenX=0;this.mouseDownScreenY=0;this.mouseDownLayerX=0;this.mouseDownLayerY=0;this.mouseDownWidth=0;this.mouseDownHeight=0;this.idCounter=0;};MCWindows.prototype.init=function(settings){this.settings=settings;if(this.isMSIE)this.addEvent(document,"mousemove",mcWindows.eventDispatcher);else this.addEvent(window,"mousemove",mcWindows.eventDispatcher);this.addEvent(document,"mouseup",mcWindows.eventDispatcher);this.doc=document;};MCWindows.prototype.getParam=function(name,default_value){var value=null;value=(typeof(this.settings[name])=="undefined")?default_value:this.settings[name];if(value=="true"||value=="false")return(value=="true");return value;};MCWindows.prototype.eventDispatcher=function(e){e=typeof(e)=="undefined"?window.event:e;if(mcWindows.selectedWindow==null)return;if(mcWindows.isGecko&&e.type=="mousedown"){var elm=e.currentTarget;for(var n in mcWindows.windows){var win=mcWindows.windows[n];if(win.headElement==elm||win.resizeElement==elm){win.focus();break;}}}switch(e.type){case "mousemove":mcWindows.selectedWindow.onMouseMove(e);break;case "mouseup":mcWindows.selectedWindow.onMouseUp(e);break;case "mousedown":mcWindows.selectedWindow.onMouseDown(e);break;case "focus":mcWindows.selectedWindow.onFocus(e);break;}};MCWindows.prototype.addEvent=function(obj,name,handler){if(this.isMSIE)obj.attachEvent("on"+name,handler);else obj.addEventListener(name,handler,true);};MCWindows.prototype.cancelEvent=function(e){if(this.isMSIE){e.returnValue=false;e.cancelBubble=true;}else e.preventDefault();};MCWindows.prototype.parseFeatures=function(opts){opts=opts.toLowerCase();opts=opts.replace(/;/g,",");opts=opts.replace(/[^0-9a-z=,]/g,"");var optionChunks=opts.split(',');var options=new Array();options['left']="10";options['top']="10";options['width']="300";options['height']="300";options['resizable']="yes";options['minimizable']="yes";options['maximizable']="yes";options['close']="yes";options['movable']="yes";options['statusbar']="yes";options['scrollbars']="auto";options['modal']="no";if(opts=="")return options;for(var i=0;i';html+='';html+='';html+='Wrapper iframe';html+='';html+='';html+='';html+='';html+='
    ';html+='
    ';html+='
    ';html+='
    ';html+='
    ';html+='
    ';if(features['statusbar']=="yes"){html+='
    ';if(features['resizable']=="yes"){if(this.isGecko)html+='
    ';else html+='
    ';}html+='
    ';}html+='
    ';html+='';html+='';this.createFloatingIFrame(id,features['left'],features['top'],features['width'],features['height'],html);};MCWindows.prototype.setDocumentLock=function(state){if(state){var elm=document.getElementById('mcWindowEventBlocker');if(elm==null){elm=document.createElement("div");elm.id="mcWindowEventBlocker";elm.style.position="absolute";elm.style.left="0px";elm.style.top="0px";document.body.appendChild(elm);}elm.style.display="none";var imgPath=this.getParam("images_path");var width=document.body.clientWidth;var height=document.body.clientHeight;elm.style.width=width;elm.style.height=height;elm.innerHTML='';elm.style.zIndex=mcWindows.zindex-1;elm.style.display="block";}else{var elm=document.getElementById('mcWindowEventBlocker');if(mcWindows.windows.length==0)elm.parentNode.removeChild(elm);else elm.style.zIndex=mcWindows.zindex-1;}};MCWindows.prototype.onLoad=function(name){var win=mcWindows.windows[name];var id="mcWindow_"+name;var wrapperIframe=window.frames[id+"_iframe"].frames[0];var wrapperDoc=window.frames[id+"_iframe"].document;var doc=window.frames[id+"_iframe"].document;var winDiv=document.getElementById("mcWindow_"+name+"_div");var realIframe=window.frames[id+"_iframe"].frames[0];win.id="mcWindow_"+name;win.winElement=winDiv;win.bodyElement=doc.getElementById(id+'_body');win.iframeElement=doc.getElementById(id+'_iframe');win.headElement=doc.getElementById(id+'_head');win.titleElement=doc.getElementById(id+'_title');win.resizeElement=doc.getElementById(id+'_resize');win.containerElement=doc.getElementById(id+'_container');win.left=win.features['left'];win.top=win.features['top'];win.frame=window.frames[id+'_iframe'].frames[0];win.wrapperFrame=window.frames[id+'_iframe'];win.wrapperIFrameElement=document.getElementById(id+"_iframe");mcWindows.addEvent(win.headElement,"mousedown",mcWindows.eventDispatcher);if(win.resizeElement!=null)mcWindows.addEvent(win.resizeElement,"mousedown",mcWindows.eventDispatcher);if(mcWindows.isMSIE){mcWindows.addEvent(realIframe.document,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(realIframe.document,"mouseup",mcWindows.eventDispatcher);}else{mcWindows.addEvent(realIframe,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(realIframe,"mouseup",mcWindows.eventDispatcher);mcWindows.addEvent(realIframe,"focus",mcWindows.eventDispatcher);}for(var i=0;i'; + html += ''; + html += ''; + + html += '
    '; + html += '
    '; + html += '
    '; +// html += ' '; +// html += ' '; + html += '
    '; + html += '
    '; + html += '
    '; + + if (features['statusbar'] == "yes") { + html += '
    '; + + if (features['resizable'] == "yes") { + if (this.isGecko) + html += '
    '; + else + html += '
    '; + } + + html += '
    '; + } + + html += '
    '; + + html += ''; + html += ''; + + // Create iframe + this.createFloatingIFrame(id, features['left'], features['top'], features['width'], features['height'], html); +}; + +// Blocks the document events by placing a image over the whole document +MCWindows.prototype.setDocumentLock = function(state) { + if (state) { + var elm = document.getElementById('mcWindowEventBlocker'); + if (elm == null) { + elm = document.createElement("div"); + + elm.id = "mcWindowEventBlocker"; + elm.style.position = "absolute"; + elm.style.left = "0px"; + elm.style.top = "0px"; + + document.body.appendChild(elm); + } + + elm.style.display = "none"; + + var imgPath = this.getParam("images_path"); + var width = document.body.clientWidth; + var height = document.body.clientHeight; + + elm.style.width = width; + elm.style.height = height; + elm.innerHTML = ''; + + elm.style.zIndex = mcWindows.zindex-1; + elm.style.display = "block"; + } else { + var elm = document.getElementById('mcWindowEventBlocker'); + + if (mcWindows.windows.length == 0) + elm.parentNode.removeChild(elm); + else + elm.style.zIndex = mcWindows.zindex-1; + } +}; + +// Gets called when wrapper iframe is initialized +MCWindows.prototype.onLoad = function(name) { + var win = mcWindows.windows[name]; + var id = "mcWindow_" + name; + var wrapperIframe = window.frames[id + "_iframe"].frames[0]; + var wrapperDoc = window.frames[id + "_iframe"].document; + var doc = window.frames[id + "_iframe"].document; + var winDiv = document.getElementById("mcWindow_" + name + "_div"); + var realIframe = window.frames[id + "_iframe"].frames[0]; + + // Set window data + win.id = "mcWindow_" + name; + win.winElement = winDiv; + win.bodyElement = doc.getElementById(id + '_body'); + win.iframeElement = doc.getElementById(id + '_iframe'); + win.headElement = doc.getElementById(id + '_head'); + win.titleElement = doc.getElementById(id + '_title'); + win.resizeElement = doc.getElementById(id + '_resize'); + win.containerElement = doc.getElementById(id + '_container'); + win.left = win.features['left']; + win.top = win.features['top']; + win.frame = window.frames[id + '_iframe'].frames[0]; + win.wrapperFrame = window.frames[id + '_iframe']; + win.wrapperIFrameElement = document.getElementById(id + "_iframe"); + + // Add event handlers + mcWindows.addEvent(win.headElement, "mousedown", mcWindows.eventDispatcher); + + if (win.resizeElement != null) + mcWindows.addEvent(win.resizeElement, "mousedown", mcWindows.eventDispatcher); + + if (mcWindows.isMSIE) { + mcWindows.addEvent(realIframe.document, "mousemove", mcWindows.eventDispatcher); + mcWindows.addEvent(realIframe.document, "mouseup", mcWindows.eventDispatcher); + } else { + mcWindows.addEvent(realIframe, "mousemove", mcWindows.eventDispatcher); + mcWindows.addEvent(realIframe, "mouseup", mcWindows.eventDispatcher); + mcWindows.addEvent(realIframe, "focus", mcWindows.eventDispatcher); + } + + for (var i=0; i'; + + html += '
    '; + html += '
    '; + html += '
    '; +// html += ' '; +// html += ' '; + html += '
    '; + html += '
    '; + html += '
    '; + html += '
    '; + html += '
    '; + html += '
    '; + html += '
    '; + + html += ''; + html += ''; + + // Create iframe + this.createFloatingIFrame(id, features['left'], features['top'], features['width'], features['height'], html); +}; + +// Gets called when wrapper iframe is initialized +MCWindows.prototype.onLoad = function(name) { + var win = mcWindows.windows[name]; + var id = "mcWindow_" + name; + var wrapperIframe = window.frames[id + "_iframe"].frames[0]; + var wrapperDoc = window.frames[id + "_iframe"].document; + var doc = window.frames[id + "_iframe"].document; + var winDiv = document.getElementById("mcWindow_" + name + "_div"); + var realIframe = window.frames[id + "_iframe"].frames[0]; + + // Set window data + win.id = "mcWindow_" + name + "_iframe"; + win.winElement = winDiv; + win.bodyElement = doc.getElementById(id + '_body'); + win.iframeElement = doc.getElementById(id + '_iframe'); + win.headElement = doc.getElementById(id + '_head'); + win.titleElement = doc.getElementById(id + '_title'); + win.resizeElement = doc.getElementById(id + '_resize'); + win.containerElement = doc.getElementById(id + '_container'); + win.left = win.features['left']; + win.top = win.features['top']; + win.frame = window.frames[id + '_iframe'].frames[0]; + win.wrapperFrame = window.frames[id + '_iframe']; + win.wrapperIFrameElement = document.getElementById(id + "_iframe"); + + // Add event handlers + mcWindows.addEvent(win.headElement, "mousedown", mcWindows.eventDispatcher); + mcWindows.addEvent(win.resizeElement, "mousedown", mcWindows.eventDispatcher); + + if (mcWindows.isMSIE) { + mcWindows.addEvent(realIframe.document, "mousemove", mcWindows.eventDispatcher); + mcWindows.addEvent(realIframe.document, "mouseup", mcWindows.eventDispatcher); + } else { + mcWindows.addEvent(realIframe, "mousemove", mcWindows.eventDispatcher); + mcWindows.addEvent(realIframe, "mouseup", mcWindows.eventDispatcher); + mcWindows.addEvent(realIframe, "focus", mcWindows.eventDispatcher); + } + + for (var i=0; i';case "inserttime":return '';}return "";}function TinyMCE_insertdatetime_execCommand(editor_id,element,command,user_interface,value){function addZeros(value,len){value=""+value;if(value.length'; + + case "inserttime": + return ''; + } + + return ""; +} + +/** + * Executes the mceInsertDate command. + */ +function TinyMCE_insertdatetime_execCommand(editor_id, element, command, user_interface, value) { + /* Adds zeros infront of value */ + function addZeros(value, len) { + value = "" + value; + + if (value.length < len) { + for (var i=0; i<(len-value.length); i++) + value = "0" + value; + } + + return value; + } + + /* Returns the date object in the specified format */ + function getDateTime(date, format) { + format = tinyMCE.regexpReplace(format, "%D", "%m/%d/%y"); + format = tinyMCE.regexpReplace(format, "%r", "%I:%M:%S %p"); + format = tinyMCE.regexpReplace(format, "%Y", "" + date.getFullYear()); + format = tinyMCE.regexpReplace(format, "%y", "" + date.getYear()); + format = tinyMCE.regexpReplace(format, "%m", addZeros(date.getMonth()+1, 2)); + format = tinyMCE.regexpReplace(format, "%d", addZeros(date.getDate(), 2)); + format = tinyMCE.regexpReplace(format, "%H", "" + addZeros(date.getHours(), 2)); + format = tinyMCE.regexpReplace(format, "%M", "" + addZeros(date.getMinutes(), 2)); + format = tinyMCE.regexpReplace(format, "%S", "" + addZeros(date.getSeconds(), 2)); + format = tinyMCE.regexpReplace(format, "%I", "" + ((date.getHours() + 11) % 12 + 1)); + format = tinyMCE.regexpReplace(format, "%p", "" + (date.getHours() < 12 ? "AM" : "PM")); + format = tinyMCE.regexpReplace(format, "%B", "" + tinyMCE.getLang("lang_inserttime_months_long")[date.getMonth()]); + format = tinyMCE.regexpReplace(format, "%b", "" + tinyMCE.getLang("lang_inserttime_months_short")[date.getMonth()]); + format = tinyMCE.regexpReplace(format, "%A", "" + tinyMCE.getLang("lang_inserttime_day_long")[date.getDay()]); + format = tinyMCE.regexpReplace(format, "%a", "" + tinyMCE.getLang("lang_inserttime_day_short")[date.getDay()]); + format = tinyMCE.regexpReplace(format, "%%", "%"); + + return format; + } + + // Handle commands + switch (command) { + case "mceInsertDate": + tinyMCE.execInstanceCommand(editor_id, 'mceInsertContent', false, getDateTime(new Date(), tinyMCE.getParam("plugin_insertdate_dateFormat", tinyMCE.getLang('lang_insertdate_def_fmt')))); + return true; + + case "mceInsertTime": + tinyMCE.execInstanceCommand(editor_id, 'mceInsertContent', false, getDateTime(new Date(), tinyMCE.getParam("plugin_insertdate_timeFormat", tinyMCE.getLang('lang_inserttime_def_fmt')))); + return true; + } + + // Pass to next handler in chain + return false; +} diff --git a/webcit/tiny_mce/plugins/insertdatetime/images/CVS/Entries b/webcit/tiny_mce/plugins/insertdatetime/images/CVS/Entries new file mode 100644 index 000000000..d602a332b --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/images/CVS/Entries @@ -0,0 +1,3 @@ +/insertdate.gif/1.1/Tue Aug 30 18:35:56 2005// +/inserttime.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/plugins/insertdatetime/images/CVS/Repository b/webcit/tiny_mce/plugins/insertdatetime/images/CVS/Repository new file mode 100644 index 000000000..7e3cd768f --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/insertdatetime/images diff --git a/webcit/tiny_mce/plugins/insertdatetime/images/CVS/Root b/webcit/tiny_mce/plugins/insertdatetime/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/insertdatetime/images/insertdate.gif b/webcit/tiny_mce/plugins/insertdatetime/images/insertdate.gif new file mode 100644 index 000000000..8ad424d3d Binary files /dev/null and b/webcit/tiny_mce/plugins/insertdatetime/images/insertdate.gif differ diff --git a/webcit/tiny_mce/plugins/insertdatetime/images/inserttime.gif b/webcit/tiny_mce/plugins/insertdatetime/images/inserttime.gif new file mode 100644 index 000000000..6dad3b36d Binary files /dev/null and b/webcit/tiny_mce/plugins/insertdatetime/images/inserttime.gif differ diff --git a/webcit/tiny_mce/plugins/insertdatetime/langs/CVS/Entries b/webcit/tiny_mce/plugins/insertdatetime/langs/CVS/Entries new file mode 100644 index 000000000..7f67e2ae4 --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/langs/CVS/Entries @@ -0,0 +1,19 @@ +/el.js/1.1/Sun Sep 11 12:53:00 2005// +/en.js/1.1/Tue Aug 30 18:35:56 2005// +/fa.js/1.1/Tue Aug 30 18:35:56 2005// +/fr.js/1.1/Tue Aug 30 18:35:56 2005// +/fr_ca.js/1.1/Tue Aug 30 18:35:56 2005// +/it.js/1.1/Tue Aug 30 18:35:56 2005// +/ko.js/1.1/Sun Sep 11 12:53:00 2005// +/nl.js/1.1/Tue Aug 30 18:35:56 2005// +/pl.js/1.1/Tue Aug 30 18:35:56 2005// +/pt_br.js/1.1/Tue Aug 30 18:35:56 2005// +/sv.js/1.1/Sun Sep 11 12:53:00 2005// +/zh_cn.js/1.1/Sun Sep 11 12:53:00 2005// +/cs.js/1.2/Wed Sep 28 03:47:28 2005// +/da.js/1.1/Mon Sep 26 18:44:31 2005// +/de.js/1.2/Wed Sep 28 03:47:28 2005// +/he.js/1.2/Wed Sep 28 03:47:28 2005// +/hu.js/1.1/Mon Sep 26 18:44:31 2005// +/no.js/1.1/Mon Sep 26 18:44:31 2005// +D diff --git a/webcit/tiny_mce/plugins/insertdatetime/langs/CVS/Repository b/webcit/tiny_mce/plugins/insertdatetime/langs/CVS/Repository new file mode 100644 index 000000000..0017a9e0d --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/langs/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/insertdatetime/langs diff --git a/webcit/tiny_mce/plugins/insertdatetime/langs/CVS/Root b/webcit/tiny_mce/plugins/insertdatetime/langs/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/langs/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/insertdatetime/langs/cs.js b/webcit/tiny_mce/plugins/insertdatetime/langs/cs.js new file mode 100644 index 000000000..73daf6cb6 --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/langs/cs.js @@ -0,0 +1,18 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.2 2005/09/26 18:00:52 ajc Exp $ + */ + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Vložit datum', +inserttime_desc : 'Vložit čas', +inserttime_months_long : new Array('Leden','Únor','Březen','Duben','Květen','Červen','Červenec','Srpen','Září','Říjen','Listopad','Prosinec'), +inserttime_months_short : new Array('Led','Úno','Bře','Dub','Kvě','Črv','Čvc','Srp','Zář','Říj','Lis','Pro'), +inserttime_day_long : new Array('Neděle','Pondělí','Úterý','Středa','Čtvrtek','Pátek','Sobota','Neděle'), +inserttime_day_short : new Array('Ne','Po','Út','St','Čt','Pá','So','Ne') +}); + diff --git a/webcit/tiny_mce/plugins/insertdatetime/langs/da.js b/webcit/tiny_mce/plugins/insertdatetime/langs/da.js new file mode 100644 index 000000000..a88a91318 --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/langs/da.js @@ -0,0 +1,12 @@ +// DK lang variables contributed by Jan Moelgaard + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%d-%m-%Y', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Indsæt dato', +inserttime_desc : 'Indsæt tid', +inserttime_months_long : new Array("Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"), +inserttime_months_short : new Array("Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"), +inserttime_day_long : new Array("Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"), +inserttime_day_short : new Array("Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn") +}); diff --git a/webcit/tiny_mce/plugins/insertdatetime/langs/de.js b/webcit/tiny_mce/plugins/insertdatetime/langs/de.js new file mode 100644 index 000000000..e90881532 --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/langs/de.js @@ -0,0 +1,12 @@ +// DE lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Datum einfügen', +inserttime_desc : 'Zeit einfügen', +inserttime_months_long : new Array("Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"), +inserttime_months_short : new Array("Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"), +inserttime_day_long : new Array("Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag"), +inserttime_day_short : new Array("So", "Mo", "Di", "Mi", "Do", "Fr", "Sa", "So") +}); diff --git a/webcit/tiny_mce/plugins/insertdatetime/langs/el.js b/webcit/tiny_mce/plugins/insertdatetime/langs/el.js new file mode 100644 index 000000000..213793b0f --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/langs/el.js @@ -0,0 +1,12 @@ +// Greek lang variables by Jacaranda Bill + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'ÅéóáãùãÞ çìåñïìçíßáò', +inserttime_desc : 'ÅéóáãùãÞ þñáò', +inserttime_months_long : new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"), +inserttime_months_short : new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"), +inserttime_day_long : new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"), +inserttime_day_short : new Array("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun") +}); diff --git a/webcit/tiny_mce/plugins/insertdatetime/langs/en.js b/webcit/tiny_mce/plugins/insertdatetime/langs/en.js new file mode 100644 index 000000000..c3ec02bf8 --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/langs/en.js @@ -0,0 +1,12 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Insert date', +inserttime_desc : 'Insert time', +inserttime_months_long : new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"), +inserttime_months_short : new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"), +inserttime_day_long : new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"), +inserttime_day_short : new Array("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun") +}); diff --git a/webcit/tiny_mce/plugins/insertdatetime/langs/fa.js b/webcit/tiny_mce/plugins/insertdatetime/langs/fa.js new file mode 100644 index 000000000..5d89b7331 --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/langs/fa.js @@ -0,0 +1,13 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +dir : 'rtl', +insertdate_desc : '?????? ?????', +inserttime_desc : '?????? ????' +}); diff --git a/webcit/tiny_mce/plugins/insertdatetime/langs/fr.js b/webcit/tiny_mce/plugins/insertdatetime/langs/fr.js new file mode 100644 index 000000000..5b21b96d7 --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/langs/fr.js @@ -0,0 +1,12 @@ +// French lang variables by Laurent Dran + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Insèrer la date', +inserttime_desc : 'Insèrer l\'heure', +inserttime_months_long : new Array("Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"), +inserttime_months_short : new Array("Jan", "Fev", "Mar", "Avr", "Mai", "Juin", "Juil", "Aout", "Sep", "Oct", "Nov", "Dec"), +inserttime_day_long : new Array("Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche"), +inserttime_day_short : new Array("Lun", "Mar", "Mer", "Jeu", "Thu", "Ven", "Sam", "Dim") +}); diff --git a/webcit/tiny_mce/plugins/insertdatetime/langs/fr_ca.js b/webcit/tiny_mce/plugins/insertdatetime/langs/fr_ca.js new file mode 100644 index 000000000..72a076c34 --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/langs/fr_ca.js @@ -0,0 +1,10 @@ +// Canadian French lang variables by Virtuelcom + +tinyMCE.addToLang('',{ +insertdate_desc : 'Insérer la date', +inserttime_desc : 'Insérer l\'heure', +inserttime_months_long : new Array("Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"), +inserttime_months_short : new Array("Jan", "Fev", "Mar", "Avr", "Mai", "Juin", "Juil", "Aout", "Sep", "Oct", "Nov", "Dec"), +inserttime_day_long : new Array("Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche"), +inserttime_day_short : new Array("Lun", "Mar", "Mer", "Jeu", "Thu", "Ven", "Sam", "Dim") +}); diff --git a/webcit/tiny_mce/plugins/insertdatetime/langs/he.js b/webcit/tiny_mce/plugins/insertdatetime/langs/he.js new file mode 100644 index 000000000..95663e604 --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/langs/he.js @@ -0,0 +1,12 @@ +// HE lang variables by Liron Newman, http://eesh.net + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'äëðñ úàøéê', +inserttime_desc : 'äëðñ ùòä', +inserttime_months_long : new Array("éðåàø", "ôáøåàø", "îøõ", "àôøéì", "îàé", "éåðé", "éåìé", "àåëåñè", "ñôèîáø", "àå÷èåáø", "ðåáîáø", "ãöîáø"), +inserttime_months_short : new Array("éðå", "ôáø", "îøõ", "àôø", "îàé", "éåð", "éåì", "àåâ", "ñôè", "àå÷", "ðåá", "ãöî"), +inserttime_day_long : new Array("éåí øàùåï", "éåí ùðé", "éåí ùìéùé", "éåí øáéòé", "éåí çîéùé", "éåí ùéùé", "éåí ùáú", "éåí øàùåï"), +inserttime_day_short : new Array("à'", "á'", "â'", "ã'", "ä'", "å'", "ù'", "à'") +}); diff --git a/webcit/tiny_mce/plugins/insertdatetime/langs/hu.js b/webcit/tiny_mce/plugins/insertdatetime/langs/hu.js new file mode 100644 index 000000000..52c909fd9 --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/langs/hu.js @@ -0,0 +1,12 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Dátum beszúrása', +inserttime_desc : 'Idõ beszúrása', +inserttime_months_long : new Array("Január", "Február", "Március", "Április", "Május", "Június", "Július", "Augusztus", "Szeptember", "Október", "November", "December"), +inserttime_months_short : new Array("Jan", "Feb", "Már", "Ápr", "Máj", "Jún", "Júl", "Aug", "Sze", "Okt", "Nov", "Dec"), +inserttime_day_long : new Array("Vasárnap", "Hétfõ", "Kedd", "Szerda", "Csütörtök", "Péntek", "Szombat", "Vasárnap"), +inserttime_day_short : new Array("Vas", "Hé", "Ke", "Sze", "Csü", "Pén", "Szo", "Vas") +}); diff --git a/webcit/tiny_mce/plugins/insertdatetime/langs/it.js b/webcit/tiny_mce/plugins/insertdatetime/langs/it.js new file mode 100644 index 000000000..365fc28d8 --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/langs/it.js @@ -0,0 +1,12 @@ +// IT lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Inserisci data', +inserttime_desc : 'Inserisci ora', +inserttime_months_long : new Array("Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"), +inserttime_months_short : new Array("Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"), +inserttime_day_long : new Array("Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato", "Domenica"), +inserttime_day_short : new Array("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun") +}); diff --git a/webcit/tiny_mce/plugins/insertdatetime/langs/ko.js b/webcit/tiny_mce/plugins/insertdatetime/langs/ko.js new file mode 100644 index 000000000..007f08cc6 --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/langs/ko.js @@ -0,0 +1,12 @@ +// KO lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : '³¯Â¥ ³Ö±â', +inserttime_desc : '½Ã°£ ³Ö±â', +inserttime_months_long : new Array("1¿ù", "2¿ù", "3¿ù", "4¿ù", "5¿ù", "6¿ù", "7¿ù", "8¿ù", "9¿ù", "10¿ù", "11¿ù", "12¿ù"), +inserttime_months_short : new Array("1¿ù", "2¿ù", "3¿ù", "4¿ù", "5¿ù", "6¿ù", "7¿ù", "8¿ù", "9¿ù", "10¿ù", "11¿ù", "12¿ù"), +inserttime_day_long : new Array("ÀÏ¿äÀÏ", "¿ù¿äÀÏ", "È­¿äÀÏ", "¼ö¿äÀÏ", "¸ñ¿äÀÏ", "±Ý¿äÀÏ", "Åä¿äÀÏ", "ÀÏ¿äÀÏ"), +inserttime_day_short : new Array("ÀÏ", "¿ù", "È­", "¼ö", "¸ñ", "±Ý", "Åä", "ÀÏ") +}); diff --git a/webcit/tiny_mce/plugins/insertdatetime/langs/nl.js b/webcit/tiny_mce/plugins/insertdatetime/langs/nl.js new file mode 100644 index 000000000..98769af5a --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/langs/nl.js @@ -0,0 +1,8 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Datum invoegen', +inserttime_desc : 'Tijd invoegen' +}); diff --git a/webcit/tiny_mce/plugins/insertdatetime/langs/no.js b/webcit/tiny_mce/plugins/insertdatetime/langs/no.js new file mode 100644 index 000000000..d8606b00f --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/langs/no.js @@ -0,0 +1,12 @@ +// NO lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Lim inn dato', +inserttime_desc : 'Lim inn tid', +inserttime_months_long : new Array("Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"), +inserttime_months_short : new Array("Jan","Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"), +inserttime_day_long : new Array("Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"), +inserttime_day_short : new Array("Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn") +}); diff --git a/webcit/tiny_mce/plugins/insertdatetime/langs/pl.js b/webcit/tiny_mce/plugins/insertdatetime/langs/pl.js new file mode 100644 index 000000000..5842b576e --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/langs/pl.js @@ -0,0 +1,12 @@ +// PL lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Wstaw aktualna date', +inserttime_desc : 'Wstaw aktualny czas', +inserttime_months_long : new Array("Styczen", "Luty", "Marzec", "Kwiecien", "Maj", "Czerwiec", "Lipiec", "Sierpien", "Wrzesien", "Pazdziernik", "Listopad", "Grudzien"), +inserttime_months_short : new Array("Stcz", "Lut", "Mar", "Kwi", "Maj", "Czer", "Lip", "Sier", "Wrze", "Paz", "List", "Grudz"), +inserttime_day_long : new Array("Niedziela", "Poniedzialek", "Wtorek", "Sroda", "Czwartek", "Piatek", "Sobota", "Niedziela"), +inserttime_day_short : new Array("Nie", "Pon", "Wto", "Sro", "Czw", "Pia", "Sob", "Nie") +}); diff --git a/webcit/tiny_mce/plugins/insertdatetime/langs/pt_br.js b/webcit/tiny_mce/plugins/insertdatetime/langs/pt_br.js new file mode 100644 index 000000000..5842b7e13 --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/langs/pt_br.js @@ -0,0 +1,10 @@ +// pt_BR lang variables + +tinyMCE.addToLang('',{ +insertdate_desc : 'Inserir data', +inserttime_desc : 'Inserir hora', +inserttime_months_long : new Array("Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"), +inserttime_months_short : new Array("Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"), +inserttime_day_long : new Array("Domindo", "Segunda-Feira", "Terça-Feira", "Quarta-Feira", "Quinta-Feira", "Sexta-Feira", "Sábado", "Domingo"), +inserttime_day_short : new Array("Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sab", "Dom") +}); diff --git a/webcit/tiny_mce/plugins/insertdatetime/langs/sv.js b/webcit/tiny_mce/plugins/insertdatetime/langs/sv.js new file mode 100644 index 000000000..39f0e8fa7 --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/langs/sv.js @@ -0,0 +1,12 @@ +// SE lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Klistra in datum', +inserttime_desc : 'Klistra in tid', +inserttime_months_long : new Array("Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"), +inserttime_months_short : new Array("Jan","Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"), +inserttime_day_long : new Array("Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag", "Söndag"), +inserttime_day_short : new Array("Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör", "Sön") +}); diff --git a/webcit/tiny_mce/plugins/insertdatetime/langs/zh_cn.js b/webcit/tiny_mce/plugins/insertdatetime/langs/zh_cn.js new file mode 100644 index 000000000..3b84bf722 --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/langs/zh_cn.js @@ -0,0 +1,11 @@ +// Simplified Chinese lang variables contributed by cube316 (cube316@gmail.com) +//Çë·ÃÎÊ http://www.cube316.net/ ÒÔ»ñÈ¡TinyMCEµÄÖÐÎÄÖ§³Ö + +tinyMCE.addToLang('',{ +insertdate_desc : '²åÈ뵱ǰÈÕÆÚ', +inserttime_desc : '²åÈ뵱ǰʱ¼ä', +inserttime_months_long : new Array("Ò»Ô·Ý", "¶þÔ·Ý", "ÈýÔ·Ý", "ËÄÔ·Ý", "ÎåÔ·Ý", "ÁùÔ·Ý", "ÆßÔ·Ý", "°ËÔ·Ý", "¾ÅÔ·Ý", "ʮԷÝ", "ʮһÔ·Ý", "Ê®¶þÔ·Ý"), +inserttime_months_short : new Array("Ò»ÔÂ", "¶þÔÂ", "ÈýÔÂ", "ËÄÔÂ", "ÎåÔÂ", "ÁùÔÂ", "ÆßÔÂ", "°ËÔÂ", "¾ÅÔÂ", "Ê®ÔÂ", "ʮһÔÂ", "Ê®¶þÔÂ"), +inserttime_day_long : new Array("ÐÇÆÚÈÕ", "ÐÇÆÚÒ»", "ÐÇÆÚ¶þ", "ÐÇÆÚÈý", "ÐÇÆÚËÄ", "ÐÇÆÚÎå", "ÐÇÆÚÁù", "ÐÇÆÚÈÕ"), +inserttime_day_short : new Array("ÖÜÈÕ", "ÖÜÒ»", "Öܶþ", "ÖÜÈý", "ÖÜËÄ", "ÖÜÎå", "ÖÜÁù", "ÖÜÈÕ") +}); diff --git a/webcit/tiny_mce/plugins/insertdatetime/readme.txt b/webcit/tiny_mce/plugins/insertdatetime/readme.txt new file mode 100644 index 000000000..4fdb78aec --- /dev/null +++ b/webcit/tiny_mce/plugins/insertdatetime/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/webcit/tiny_mce/plugins/noneditable/CVS/Entries b/webcit/tiny_mce/plugins/noneditable/CVS/Entries new file mode 100644 index 000000000..dfecd280e --- /dev/null +++ b/webcit/tiny_mce/plugins/noneditable/CVS/Entries @@ -0,0 +1,4 @@ +D/css//// +/editor_plugin.js/1.1/Mon Sep 12 09:23:32 2005// +/editor_plugin_src.js/1.1/Mon Sep 12 09:23:32 2005// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// diff --git a/webcit/tiny_mce/plugins/noneditable/CVS/Repository b/webcit/tiny_mce/plugins/noneditable/CVS/Repository new file mode 100644 index 000000000..52faf3b71 --- /dev/null +++ b/webcit/tiny_mce/plugins/noneditable/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/noneditable diff --git a/webcit/tiny_mce/plugins/noneditable/CVS/Root b/webcit/tiny_mce/plugins/noneditable/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/noneditable/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/noneditable/css/CVS/Entries b/webcit/tiny_mce/plugins/noneditable/css/CVS/Entries new file mode 100644 index 000000000..14b988cf6 --- /dev/null +++ b/webcit/tiny_mce/plugins/noneditable/css/CVS/Entries @@ -0,0 +1,2 @@ +/noneditable.css/1.1/Thu Sep 1 16:03:16 2005// +D diff --git a/webcit/tiny_mce/plugins/noneditable/css/CVS/Repository b/webcit/tiny_mce/plugins/noneditable/css/CVS/Repository new file mode 100644 index 000000000..f1480dedf --- /dev/null +++ b/webcit/tiny_mce/plugins/noneditable/css/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/noneditable/css diff --git a/webcit/tiny_mce/plugins/noneditable/css/CVS/Root b/webcit/tiny_mce/plugins/noneditable/css/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/noneditable/css/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/noneditable/css/noneditable.css b/webcit/tiny_mce/plugins/noneditable/css/noneditable.css new file mode 100644 index 000000000..c4dc455ea --- /dev/null +++ b/webcit/tiny_mce/plugins/noneditable/css/noneditable.css @@ -0,0 +1,17 @@ +/* This is the CSS file for the noneditable elements plugin */ + +.mceItemEditable { + /*border: 1px dotted #0000cc;*/ + -moz-user-focus: none; + -moz-user-input: auto; + -moz-user-modify: auto; + -moz-user-select: text; +} + +.mceItemNonEditable { + /*border: 1px dotted #cc0000;*/ + -moz-user-focus: ignore; + /*-moz-user-input: disabled;*/ + -moz-user-modify: read-only; + -moz-user-select: all; +} diff --git a/webcit/tiny_mce/plugins/noneditable/editor_plugin.js b/webcit/tiny_mce/plugins/noneditable/editor_plugin.js new file mode 100644 index 000000000..37beb47c1 --- /dev/null +++ b/webcit/tiny_mce/plugins/noneditable/editor_plugin.js @@ -0,0 +1 @@ +function TinyMCE_noneditable_getInfo(){return{longname:'Non editable elements',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_noneditable.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};};function TinyMCE_noneditable_initInstance(inst){tinyMCE.importCSS(inst.getDoc(),tinyMCE.baseURL+"/plugins/noneditable/css/noneditable.css");if(tinyMCE.isMSIE5_0)tinyMCE.settings['plugins']=tinyMCE.settings['plugins'].replace(/noneditable/gi,'Noneditable');if(tinyMCE.isGecko){tinyMCE.addEvent(inst.getDoc(),"keyup",TinyMCE_noneditable_fixKeyUp);}}function TinyMCE_noneditable_fixKeyUp(e){var inst=tinyMCE.selectedInstance;var sel=inst.getSel();var rng=inst.getRng();var an=sel.anchorNode;if((e.keyCode==38||e.keyCode==37||e.keyCode==40||e.keyCode==39)&&(elm=TinyMCE_noneditable_isNonEditable(an))!=null){rng=inst.getDoc().createRange();rng.selectNode(elm);rng.collapse(true);sel.removeAllRanges();sel.addRange(rng);tinyMCE.cancelEvent(e);}}function TinyMCE_noneditable_selectAll(e){var inst=tinyMCE.selectedInstance;var sel=inst.getSel();var doc=inst.getDoc();if((elm=TinyMCE_noneditable_isNonEditable(sel.focusNode))!=null){inst.selectNode(elm,false);tinyMCE.cancelEvent(e);return;}if((elm=TinyMCE_noneditable_isNonEditable(sel.anchorNode))!=null){inst.selectNode(elm,false);tinyMCE.cancelEvent(e);return;}}function TinyMCE_noneditable_isNonEditable(elm){var editClass=tinyMCE.getParam("noneditable_editable_class","mceItemEditable");var nonEditClass=tinyMCE.getParam("noneditable_noneditable_class","mceItemNonEditable");if(!elm)return;do{var className=elm.className?elm.className:"";if(className.indexOf(editClass)!=-1)return null;if(className.indexOf(nonEditClass)!=-1)return elm;}while(elm=elm.parentNode);return null;}function TinyMCE_noneditable_cleanup(type,content,inst){switch(type){case "insert_to_editor_dom":var nodes=tinyMCE.getNodeTree(content,new Array(),1);var editClass=tinyMCE.getParam("noneditable_editable_class","mceItemEditable");var nonEditClass=tinyMCE.getParam("noneditable_noneditable_class","mceItemNonEditable");for(var i=0;i","gi"),'<$1class="$2$3$4" contenteditable="true"$5>');content=content.replace(new RegExp("<(.*?)class=\"(.*?)("+nonEditClass+")(.*?)\"(.*?)>","gi"),'<$1class="$2$3$4" contenteditable="false"$5>');}break;case "get_from_editor_dom":if(tinyMCE.getParam("noneditable_leave_contenteditable",false)){var nodes=tinyMCE.getNodeTree(content,new Array(),1);for(var i=0;i", "gi"), '<$1class="$2$3$4" contenteditable="true"$5>'); + content = content.replace(new RegExp("<(.*?)class=\"(.*?)(" + nonEditClass + ")(.*?)\"(.*?)>", "gi"), '<$1class="$2$3$4" contenteditable="false"$5>'); + } + + break; + + case "get_from_editor_dom": + if (tinyMCE.getParam("noneditable_leave_contenteditable", false)) { + var nodes = tinyMCE.getNodeTree(content, new Array(), 1); + + for (var i=0; i + + blank_page + + + + + + + + diff --git a/webcit/tiny_mce/plugins/paste/css/CVS/Entries b/webcit/tiny_mce/plugins/paste/css/CVS/Entries new file mode 100644 index 000000000..6168f8f4d --- /dev/null +++ b/webcit/tiny_mce/plugins/paste/css/CVS/Entries @@ -0,0 +1,3 @@ +/blank.css/1.1/Tue Aug 30 18:35:56 2005// +/pasteword.css/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/plugins/paste/css/CVS/Repository b/webcit/tiny_mce/plugins/paste/css/CVS/Repository new file mode 100644 index 000000000..826df7b7d --- /dev/null +++ b/webcit/tiny_mce/plugins/paste/css/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/paste/css diff --git a/webcit/tiny_mce/plugins/paste/css/CVS/Root b/webcit/tiny_mce/plugins/paste/css/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/paste/css/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/paste/css/blank.css b/webcit/tiny_mce/plugins/paste/css/blank.css new file mode 100644 index 000000000..eca411a42 --- /dev/null +++ b/webcit/tiny_mce/plugins/paste/css/blank.css @@ -0,0 +1,13 @@ +body { + background-color: #FFFFFF; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 10px; + scrollbar-3dlight-color: #F0F0EE; + scrollbar-arrow-color: #676662; + scrollbar-base-color: #F0F0EE; + scrollbar-darkshadow-color: #DDDDDD; + scrollbar-face-color: #E0E0DD; + scrollbar-highlight-color: #F0F0EE; + scrollbar-shadow-color: #F0F0EE; + scrollbar-track-color: #F5F5F5; +} diff --git a/webcit/tiny_mce/plugins/paste/css/pasteword.css b/webcit/tiny_mce/plugins/paste/css/pasteword.css new file mode 100644 index 000000000..b3be6270b --- /dev/null +++ b/webcit/tiny_mce/plugins/paste/css/pasteword.css @@ -0,0 +1,3 @@ +.sourceIframe { + border: 1px solid #808080; +} diff --git a/webcit/tiny_mce/plugins/paste/editor_plugin.js b/webcit/tiny_mce/plugins/paste/editor_plugin.js new file mode 100644 index 000000000..548dca264 --- /dev/null +++ b/webcit/tiny_mce/plugins/paste/editor_plugin.js @@ -0,0 +1,2 @@ +/* Import plugin specific language pack */ + tinyMCE.importPluginLanguagePack('paste','en,sv,cs,zh_cn,fr_ca,da,he,no,de,hu');function TinyMCE_paste_getInfo(){return{longname:'Paste text/word',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_paste.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};};function TinyMCE_paste_initInstance(inst){if(tinyMCE.isMSIE&&tinyMCE.getParam("paste_auto_cleanup_on_paste",false))tinyMCE.addEvent(inst.getBody(),"paste",TinyMCE_paste_handleEvent);}function TinyMCE_paste_handleEvent(e){switch(e.type){case "paste":var html=TinyMCE_paste__clipboardHTML();tinyMCE.execCommand('delete');if(html&&html.length>0)tinyMCE.execCommand('mcePasteWord',false,html);tinyMCE.cancelEvent(e);return false;}return true;}function TinyMCE_paste_getControlHTML(control_name){switch(control_name){case "pastetext":return '';case "pasteword":return '';case "selectall":return '';}return '';}function TinyMCE_paste_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mcePasteText":if(user_interface){if(tinyMCE.isMSIE&&!tinyMCE.getParam('paste_use_dialog',false))TinyMCE_paste__insertText(clipboardData.getData("Text"),true);else{var template=new Array();template['file']='../../plugins/paste/pastetext.htm';template['width']=450;template['height']=400;var plain_text="";tinyMCE.openWindow(template,{editor_id:editor_id,plain_text:plain_text,resizable:"yes",scrollbars:"no",inline:"yes",mceDo:'insert'});}}else TinyMCE_paste__insertText(value['html'],value['linebreaks']);return true;case "mcePasteWord":if(user_interface){if(tinyMCE.isMSIE&&!tinyMCE.getParam('paste_use_dialog',false)){var html=TinyMCE_paste__clipboardHTML();if(html&&html.length>0)TinyMCE_paste__insertWordContent(html);}else{var template=new Array();template['file']='../../plugins/paste/pasteword.htm';template['width']=450;template['height']=400;var plain_text="";tinyMCE.openWindow(template,{editor_id:editor_id,plain_text:plain_text,resizable:"yes",scrollbars:"no",inline:"yes",mceDo:'insert'});}}else TinyMCE_paste__insertWordContent(value);return true;case "mceSelectAll":tinyMCE.execInstanceCommand(editor_id,'selectall');return true;}return false;}function TinyMCE_paste__insertText(content,bLinebreaks){if(content&&content.length>0){if(bLinebreaks){if(tinyMCE.getParam("plaintext_create_paragraphs",true)){content=tinyMCE.regexpReplace(content,"\r\n\r\n","

    ","gi");content=tinyMCE.regexpReplace(content,"\r\r","

    ","gi");content=tinyMCE.regexpReplace(content,"\n\n","

    ","gi");if((pos=content.indexOf('

    '))!=-1){tinyMCE.execCommand("Delete");var node=tinyMCE.selectedInstance.getFocusElement();var breakElms=new Array();do{if(node.nodeType==1){if(node.nodeName=="TD"||node.nodeName=="BODY")break;breakElms[breakElms.length]=node;}}while(node=node.parentNode);var before="",after="

    ";before+=content.substring(0,pos);for(var i=0;i";after+="<"+breakElms[(breakElms.length-1)-i].nodeName+">";}before+="

    ";content=before+content.substring(pos+7)+after;}}content=tinyMCE.regexpReplace(content,"\r\n","
    ","gi");content=tinyMCE.regexpReplace(content,"\r","
    ","gi");content=tinyMCE.regexpReplace(content,"\n","
    ","gi");}tinyMCE.execCommand("mceInsertRawHTML",false,content);}}function TinyMCE_paste__insertWordContent(content){if(content&&content.length>0){var bull=String.fromCharCode(8226);var middot=String.fromCharCode(183);if(tinyMCE.getParam("paste_convert_headers_to_strong",false)){content=content.replace(new RegExp('

    (.*?)<\/p>','gi'),'

    $1

    ');}content=content.replace(new RegExp('tab-stops: list [0-9]+.0pt">','gi'),'">'+"--list--");content=content.replace(new RegExp(bull+"(.*?)
    ","gi"),"

    "+middot+"$1

    ");content=content.replace(new RegExp('','gi'),""+bull);content=content.replace(/<\/o:p>/gi,"");content=content.replace(new RegExp('
    ]*>/gi,"");content=content.replace(new RegExp('<(\w[^>]*) style="([^"]*)"([^>]*)','gi'),"<$1$3");content=content.replace(/<\/?font[^>]*>/gi,"");content=content.replace(/<(\w[^>]*)class=([^|>]*)([^>]*)/gi,"<$1$3");content=content.replace(/<(\w[^>]*)lang=([^|>]*)([^>]*)/gi,"<$1$3");content=content.replace(/<\\?\?xml[^>]*>/gi,"");content=content.replace(/<\/?\w+:[^>]*>/gi,"");content=content.replace(/--page break--\s*

     <\/p>/gi,"");content=content.replace(/--page break--/gi,"");if(!tinyMCE.settings['force_p_newlines']){content=content.replace('','','gi');content=content.replace('

    ','

    ','gi');}if(!tinyMCE.isMSIE&&!tinyMCE.settings['force_p_newlines']){content=content.replace(/<\/?p[^>]*>/gi,"");}content=content.replace(/<\/?div[^>]*>/gi,"");if(tinyMCE.getParam("paste_convert_middot_lists",true)){var div=document.createElement("div");div.innerHTML=content;var className=tinyMCE.getParam("paste_unindented_list_class","unIndentedList");while(TinyMCE_paste_convertMiddots(div,"--list--"));while(TinyMCE_paste_convertMiddots(div,middot,className));while(TinyMCE_paste_convertMiddots(div,bull));content=div.innerHTML;}if(tinyMCE.getParam("paste_convert_headers_to_strong",false)){content=content.replace(/ <\/h[1-6]>/gi,'

      

    ');content=content.replace(//gi,'

    ');content=content.replace(/<\/h[1-6]>/gi,'

    ');content=content.replace(/ <\/b>/gi,'  ');content=content.replace(/^( )*/gi,'');}content=content.replace(/--list--/gi,"");tinyMCE.execCommand("mceInsertContent",false,content);tinyMCE.execCommand("mceCleanup");}}function TinyMCE_paste_convertMiddots(div,search,class_name){var mdot=String.fromCharCode(183);var bull=String.fromCharCode(8226);var nodes=div.getElementsByTagName("p");for(var i=0;i 0) + tinyMCE.execCommand('mcePasteWord', false, html); + + tinyMCE.cancelEvent(e); + return false; + } + + return true; +} + +function TinyMCE_paste_getControlHTML(control_name) { + switch (control_name) { + case "pastetext": + return ''; + + case "pasteword": + return ''; + + case "selectall": + return ''; + } + + return ''; +} + +function TinyMCE_paste_execCommand(editor_id, element, command, user_interface, value) { + switch (command) { + case "mcePasteText": + if (user_interface) { + if (tinyMCE.isMSIE && !tinyMCE.getParam('paste_use_dialog', false)) + TinyMCE_paste__insertText(clipboardData.getData("Text"), true); + else { + var template = new Array(); + template['file'] = '../../plugins/paste/pastetext.htm'; // Relative to theme + template['width'] = 450; + template['height'] = 400; + var plain_text = ""; + tinyMCE.openWindow(template, {editor_id : editor_id, plain_text: plain_text, resizable : "yes", scrollbars : "no", inline : "yes", mceDo : 'insert'}); + } + } else + TinyMCE_paste__insertText(value['html'], value['linebreaks']); + + return true; + + case "mcePasteWord": + if (user_interface) { + if (tinyMCE.isMSIE && !tinyMCE.getParam('paste_use_dialog', false)) { + var html = TinyMCE_paste__clipboardHTML(); + + if (html && html.length > 0) + TinyMCE_paste__insertWordContent(html); + } else { + var template = new Array(); + template['file'] = '../../plugins/paste/pasteword.htm'; // Relative to theme + template['width'] = 450; + template['height'] = 400; + var plain_text = ""; + tinyMCE.openWindow(template, {editor_id : editor_id, plain_text: plain_text, resizable : "yes", scrollbars : "no", inline : "yes", mceDo : 'insert'}); + } + } else + TinyMCE_paste__insertWordContent(value); + + return true; + + case "mceSelectAll": + tinyMCE.execInstanceCommand(editor_id, 'selectall'); + return true; + + } + + // Pass to next handler in chain + return false; +} + +function TinyMCE_paste__insertText(content, bLinebreaks) { + if (content && content.length > 0) { + if (bLinebreaks) { + // Special paragraph treatment + if (tinyMCE.getParam("plaintext_create_paragraphs", true)) { + content = tinyMCE.regexpReplace(content, "\r\n\r\n", "

    ", "gi"); + content = tinyMCE.regexpReplace(content, "\r\r", "

    ", "gi"); + content = tinyMCE.regexpReplace(content, "\n\n", "

    ", "gi"); + + // Has paragraphs + if ((pos = content.indexOf('

    ')) != -1) { + tinyMCE.execCommand("Delete"); + + var node = tinyMCE.selectedInstance.getFocusElement(); + + // Get list of elements to break + var breakElms = new Array(); + + do { + if (node.nodeType == 1) { + // Don't break tables and break at body + if (node.nodeName == "TD" || node.nodeName == "BODY") + break; + + breakElms[breakElms.length] = node; + } + } while(node = node.parentNode); + + var before = "", after = "

    "; + before += content.substring(0, pos); + + for (var i=0; i"; + after += "<" + breakElms[(breakElms.length-1)-i].nodeName + ">"; + } + + before += "

    "; + content = before + content.substring(pos+7) + after; + } + } + + content = tinyMCE.regexpReplace(content, "\r\n", "
    ", "gi"); + content = tinyMCE.regexpReplace(content, "\r", "
    ", "gi"); + content = tinyMCE.regexpReplace(content, "\n", "
    ", "gi"); + } + + tinyMCE.execCommand("mceInsertRawHTML", false, content); + } +} + +function TinyMCE_paste__insertWordContent(content) { + if (content && content.length > 0) { + // Cleanup Word content + var bull = String.fromCharCode(8226); + var middot = String.fromCharCode(183); + + if (tinyMCE.getParam("paste_convert_headers_to_strong", false)) { + content = content.replace(new RegExp('

    (.*?)<\/p>', 'gi'), '

    $1

    '); + } + + content = content.replace(new RegExp('tab-stops: list [0-9]+.0pt">', 'gi'), '">' + "--list--"); + content = content.replace(new RegExp(bull + "(.*?)
    ", "gi"), "

    " + middot + "$1

    "); + content = content.replace(new RegExp('', 'gi'), "" + bull); // Covert to bull list + content = content.replace(/<\/o:p>/gi, ""); + content = content.replace(new RegExp('
    ]*>/gi, ""); + content = content.replace(new RegExp('<(\w[^>]*) style="([^"]*)"([^>]*)', 'gi'), "<$1$3"); + content = content.replace(/<\/?font[^>]*>/gi, ""); + content = content.replace(/<(\w[^>]*) class=([^ |>]*)([^>]*)/gi, "<$1$3"); + content = content.replace(/<(\w[^>]*) lang=([^ |>]*)([^>]*)/gi, "<$1$3"); + content = content.replace(/<\\?\?xml[^>]*>/gi, ""); + content = content.replace(/<\/?\w+:[^>]*>/gi, ""); + content = content.replace(/-- page break --\s*

     <\/p>/gi, ""); // Remove pagebreaks + content = content.replace(/-- page break --/gi, ""); // Remove pagebreaks + +// content = content.replace(/\/? */gi, "");   +// content = content.replace(/

     <\/p>/gi, ''); + + if (!tinyMCE.settings['force_p_newlines']) { + content = content.replace('', '' ,'gi'); + content = content.replace('

    ', '

    ' ,'gi'); + } + + if (!tinyMCE.isMSIE && !tinyMCE.settings['force_p_newlines']) { + content = content.replace(/<\/?p[^>]*>/gi, ""); + } + + content = content.replace(/<\/?div[^>]*>/gi, ""); + + // Convert all middlot lists to UL lists + if (tinyMCE.getParam("paste_convert_middot_lists", true)) { + var div = document.createElement("div"); + div.innerHTML = content; + + // Convert all middot paragraphs to li elements + var className = tinyMCE.getParam("paste_unindented_list_class", "unIndentedList"); + + while (TinyMCE_paste_convertMiddots(div, "--list--")) ; // bull + while (TinyMCE_paste_convertMiddots(div, middot, className)) ; // Middot + while (TinyMCE_paste_convertMiddots(div, bull)) ; // bull + + content = div.innerHTML; + } + + // Replace all headers with strong and fix some other issues + if (tinyMCE.getParam("paste_convert_headers_to_strong", false)) { + content = content.replace(/ <\/h[1-6]>/gi, '

      

    '); + content = content.replace(//gi, '

    '); + content = content.replace(/<\/h[1-6]>/gi, '

    '); + content = content.replace(/ <\/b>/gi, '  '); + content = content.replace(/^( )*/gi, ''); + } + + content = content.replace(/--list--/gi, ""); // Remove --list-- + + // Insert cleaned content + tinyMCE.execCommand("mceInsertContent", false, content); + tinyMCE.execCommand("mceCleanup"); // Do normal cleanup + } +} + +function TinyMCE_paste_convertMiddots(div, search, class_name) { + var mdot = String.fromCharCode(183); + var bull = String.fromCharCode(8226); + + var nodes = div.getElementsByTagName("p"); + for (var i=0; i + + {$lang_paste_text_desc} + + + + + +
    +
    {$lang_paste_text_desc}
    + +
    + +
    + +
    + +
    {$lang_paste_text_title}
    + + + +
    +
    + +
    + +
    + +
    +
    +
    + + \ No newline at end of file diff --git a/webcit/tiny_mce/plugins/paste/pasteword.htm b/webcit/tiny_mce/plugins/paste/pasteword.htm new file mode 100644 index 000000000..429d2b2de --- /dev/null +++ b/webcit/tiny_mce/plugins/paste/pasteword.htm @@ -0,0 +1,28 @@ + + + + {$lang_paste_word_desc} + + + + + +
    +
    {$lang_paste_word_desc}
    + +
    {$lang_paste_word_title}
    + +
    + +
    +
    + +
    + +
    + +
    +
    +
    + + diff --git a/webcit/tiny_mce/plugins/paste/readme.txt b/webcit/tiny_mce/plugins/paste/readme.txt new file mode 100644 index 000000000..4fdb78aec --- /dev/null +++ b/webcit/tiny_mce/plugins/paste/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/webcit/tiny_mce/plugins/preview/CVS/Entries b/webcit/tiny_mce/plugins/preview/CVS/Entries new file mode 100644 index 000000000..1febc0cf3 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/CVS/Entries @@ -0,0 +1,6 @@ +D/images//// +D/langs//// +/example.html/1.1/Tue Aug 30 18:35:56 2005// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// +/editor_plugin.js/1.2/Wed Sep 28 03:47:28 2005// +/editor_plugin_src.js/1.2/Wed Sep 28 03:47:28 2005// diff --git a/webcit/tiny_mce/plugins/preview/CVS/Repository b/webcit/tiny_mce/plugins/preview/CVS/Repository new file mode 100644 index 000000000..1efb2fa34 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/preview diff --git a/webcit/tiny_mce/plugins/preview/CVS/Root b/webcit/tiny_mce/plugins/preview/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/preview/editor_plugin.js b/webcit/tiny_mce/plugins/preview/editor_plugin.js new file mode 100644 index 000000000..5dc6f0820 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/editor_plugin.js @@ -0,0 +1,2 @@ +/* Import plugin specific language pack */ + tinyMCE.importPluginLanguagePack('preview','cs,de,el,en,fr_ca,it,ko,pt,sv,zh_cn,fa,fr,pl,pt_br,nl,da,he,no,hu');function TinyMCE_preview_getInfo(){return{longname:'Preview',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_preview.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};};function TinyMCE_preview_getControlHTML(control_name){switch(control_name){case "preview":return '';}return "";}function TinyMCE_preview_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mcePreview":var previewPage=tinyMCE.getParam("plugin_preview_pageurl",null);var previewWidth=tinyMCE.getParam("plugin_preview_width","550");var previewHeight=tinyMCE.getParam("plugin_preview_height","600");if(previewPage){var template=new Array();template['file']=previewPage;template['width']=previewWidth;template['height']=previewHeight;tinyMCE.openWindow(template,{editor_id:editor_id,resizable:"yes",scrollbars:"yes",inline:"yes",content:tinyMCE.getContent(),content_css:tinyMCE.getParam("content_css")});}else{var win=window.open("","mcePreview","menubar=no,toolbar=no,scrollbars=yes,resizable=yes,left=20,top=20,width="+previewWidth+",height="+previewHeight);var html="";html+='';html+='';html+='';html+=''+tinyMCE.getLang('lang_preview_desc')+'';html+='';html+='';html+='';html+='';html+='';html+=tinyMCE.getContent();html+='';html+='';win.document.write(html);win.document.close();}return true;}return false;} \ No newline at end of file diff --git a/webcit/tiny_mce/plugins/preview/editor_plugin_src.js b/webcit/tiny_mce/plugins/preview/editor_plugin_src.js new file mode 100644 index 000000000..adf6b1732 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/editor_plugin_src.js @@ -0,0 +1,71 @@ +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('preview', 'cs,de,el,en,fr_ca,it,ko,pt,sv,zh_cn,fa,fr,pl,pt_br,nl,da,he,no,hu'); + +function TinyMCE_preview_getInfo() { + return { + longname : 'Preview', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_preview.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; +}; + +/** + * Returns the HTML contents of the preview control. + */ +function TinyMCE_preview_getControlHTML(control_name) { + switch (control_name) { + case "preview": + return ''; + } + + return ""; +} + +/** + * Executes the mcePreview command. + */ +function TinyMCE_preview_execCommand(editor_id, element, command, user_interface, value) { + // Handle commands + switch (command) { + case "mcePreview": + var previewPage = tinyMCE.getParam("plugin_preview_pageurl", null); + var previewWidth = tinyMCE.getParam("plugin_preview_width", "550"); + var previewHeight = tinyMCE.getParam("plugin_preview_height", "600"); + + // Use a custom preview page + if (previewPage) { + var template = new Array(); + + template['file'] = previewPage; + template['width'] = previewWidth; + template['height'] = previewHeight; + + tinyMCE.openWindow(template, {editor_id : editor_id, resizable : "yes", scrollbars : "yes", inline : "yes", content : tinyMCE.getContent(), content_css : tinyMCE.getParam("content_css")}); + } else { + var win = window.open("", "mcePreview", "menubar=no,toolbar=no,scrollbars=yes,resizable=yes,left=20,top=20,width=" + previewWidth + ",height=" + previewHeight); + var html = ""; + + html += ''; + html += ''; + html += ''; + html += '' + tinyMCE.getLang('lang_preview_desc') + ''; + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + html += tinyMCE.getContent(); + html += ''; + html += ''; + + win.document.write(html); + win.document.close(); + } + + return true; + } + + return false; +} diff --git a/webcit/tiny_mce/plugins/preview/example.html b/webcit/tiny_mce/plugins/preview/example.html new file mode 100644 index 000000000..923cdc907 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/example.html @@ -0,0 +1,13 @@ + + + +Example of a custom preview page + + + + +Editor contents:
    +{$content} + + + diff --git a/webcit/tiny_mce/plugins/preview/images/CVS/Entries b/webcit/tiny_mce/plugins/preview/images/CVS/Entries new file mode 100644 index 000000000..72ea005e5 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/images/CVS/Entries @@ -0,0 +1,2 @@ +/preview.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/plugins/preview/images/CVS/Repository b/webcit/tiny_mce/plugins/preview/images/CVS/Repository new file mode 100644 index 000000000..1ffc136e2 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/preview/images diff --git a/webcit/tiny_mce/plugins/preview/images/CVS/Root b/webcit/tiny_mce/plugins/preview/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/preview/images/preview.gif b/webcit/tiny_mce/plugins/preview/images/preview.gif new file mode 100644 index 000000000..318936eaa Binary files /dev/null and b/webcit/tiny_mce/plugins/preview/images/preview.gif differ diff --git a/webcit/tiny_mce/plugins/preview/langs/CVS/Entries b/webcit/tiny_mce/plugins/preview/langs/CVS/Entries new file mode 100644 index 000000000..bf758329a --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/langs/CVS/Entries @@ -0,0 +1,20 @@ +/el.js/1.1/Sun Sep 11 12:53:00 2005// +/en.js/1.1/Tue Aug 30 18:35:56 2005// +/fa.js/1.1/Tue Aug 30 18:35:56 2005// +/fr.js/1.1/Tue Aug 30 18:35:56 2005// +/fr_ca.js/1.1/Tue Aug 30 18:35:56 2005// +/it.js/1.1/Tue Aug 30 18:35:56 2005// +/ko.js/1.1/Tue Aug 30 18:35:56 2005// +/nl.js/1.1/Tue Aug 30 18:35:56 2005// +/pl.js/1.1/Tue Aug 30 18:35:56 2005// +/pt.js/1.1/Tue Aug 30 18:35:56 2005// +/pt_br.js/1.1/Tue Aug 30 18:35:56 2005// +/sv.js/1.1/Sun Sep 11 12:53:00 2005// +/zh_cn.js/1.1/Tue Aug 30 18:35:56 2005// +/cs.js/1.2/Wed Sep 28 03:47:28 2005// +/da.js/1.1/Mon Sep 26 18:44:31 2005// +/de.js/1.2/Wed Sep 28 03:47:28 2005// +/he.js/1.2/Wed Sep 28 03:47:28 2005// +/hu.js/1.1/Mon Sep 26 18:44:31 2005// +/no.js/1.1/Mon Sep 26 18:44:31 2005// +D diff --git a/webcit/tiny_mce/plugins/preview/langs/CVS/Repository b/webcit/tiny_mce/plugins/preview/langs/CVS/Repository new file mode 100644 index 000000000..aa224d461 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/langs/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/preview/langs diff --git a/webcit/tiny_mce/plugins/preview/langs/CVS/Root b/webcit/tiny_mce/plugins/preview/langs/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/langs/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/preview/langs/cs.js b/webcit/tiny_mce/plugins/preview/langs/cs.js new file mode 100644 index 000000000..b31920286 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/langs/cs.js @@ -0,0 +1,11 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.2 2005/09/26 18:00:52 ajc Exp $ + */ + +tinyMCE.addToLang('',{ +preview_desc : 'Náhled' +}); + diff --git a/webcit/tiny_mce/plugins/preview/langs/da.js b/webcit/tiny_mce/plugins/preview/langs/da.js new file mode 100644 index 000000000..07b7662a0 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/langs/da.js @@ -0,0 +1,5 @@ +// DK lang variables contributed by Jan Moelgaard + +tinyMCE.addToLang('',{ +preview_desc : 'Se siden' +}); diff --git a/webcit/tiny_mce/plugins/preview/langs/de.js b/webcit/tiny_mce/plugins/preview/langs/de.js new file mode 100644 index 000000000..c8bc6b12b --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/langs/de.js @@ -0,0 +1,5 @@ +// DE lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Vorschau' +}); diff --git a/webcit/tiny_mce/plugins/preview/langs/el.js b/webcit/tiny_mce/plugins/preview/langs/el.js new file mode 100644 index 000000000..6e5f8ae7e --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/langs/el.js @@ -0,0 +1,5 @@ +// Greek lang variables by Jacaranda Bill + +tinyMCE.addToLang('',{ +preview_desc : 'Ðñïåðéóêüðçóç éóôïóåëßäáò' +}); diff --git a/webcit/tiny_mce/plugins/preview/langs/en.js b/webcit/tiny_mce/plugins/preview/langs/en.js new file mode 100644 index 000000000..b68b6751d --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/langs/en.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Preview' +}); diff --git a/webcit/tiny_mce/plugins/preview/langs/fa.js b/webcit/tiny_mce/plugins/preview/langs/fa.js new file mode 100644 index 000000000..d9a965810 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/langs/fa.js @@ -0,0 +1,10 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +dir : 'rtl', +preview_desc : '??? ?????' +}); diff --git a/webcit/tiny_mce/plugins/preview/langs/fr.js b/webcit/tiny_mce/plugins/preview/langs/fr.js new file mode 100644 index 000000000..491c67532 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/langs/fr.js @@ -0,0 +1,5 @@ +// French lang variables by Laurent Dran + +tinyMCE.addToLang('',{ +preview_desc : 'Prévisualisation' +}); diff --git a/webcit/tiny_mce/plugins/preview/langs/fr_ca.js b/webcit/tiny_mce/plugins/preview/langs/fr_ca.js new file mode 100644 index 000000000..1f687d696 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/langs/fr_ca.js @@ -0,0 +1,5 @@ +// Canadian French lang variables by Virtuelcom last modification: 2005-06-15 + +tinyMCE.addToLang('',{ +preview_desc : 'Prévisualisation' +}); diff --git a/webcit/tiny_mce/plugins/preview/langs/he.js b/webcit/tiny_mce/plugins/preview/langs/he.js new file mode 100644 index 000000000..6fd7262dc --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/langs/he.js @@ -0,0 +1,5 @@ +// HE lang variables by Liron Newman, http://eesh.net + +tinyMCE.addToLang('',{ +preview_desc : 'úöåâä î÷ãéîä' +}); diff --git a/webcit/tiny_mce/plugins/preview/langs/hu.js b/webcit/tiny_mce/plugins/preview/langs/hu.js new file mode 100644 index 000000000..94e83b9c6 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/langs/hu.js @@ -0,0 +1,5 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Elõnézet' +}); diff --git a/webcit/tiny_mce/plugins/preview/langs/it.js b/webcit/tiny_mce/plugins/preview/langs/it.js new file mode 100644 index 000000000..f63d43032 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/langs/it.js @@ -0,0 +1,5 @@ +// IT lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Anteprima' +}); diff --git a/webcit/tiny_mce/plugins/preview/langs/ko.js b/webcit/tiny_mce/plugins/preview/langs/ko.js new file mode 100644 index 000000000..2759a082a --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/langs/ko.js @@ -0,0 +1,5 @@ +// KO lang variables + +tinyMCE.addToLang('',{ +preview_desc : '¹Ì¸®º¸±â' +}); diff --git a/webcit/tiny_mce/plugins/preview/langs/nl.js b/webcit/tiny_mce/plugins/preview/langs/nl.js new file mode 100644 index 000000000..ec66d32a1 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/langs/nl.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Voorbeeld' +}); diff --git a/webcit/tiny_mce/plugins/preview/langs/no.js b/webcit/tiny_mce/plugins/preview/langs/no.js new file mode 100644 index 000000000..0b2a9b23a --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/langs/no.js @@ -0,0 +1,5 @@ +// NO lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +preview_desc : 'Forhåndsvisning' +}); diff --git a/webcit/tiny_mce/plugins/preview/langs/pl.js b/webcit/tiny_mce/plugins/preview/langs/pl.js new file mode 100644 index 000000000..704c3f895 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/langs/pl.js @@ -0,0 +1,5 @@ +// PL lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Podglad' +}); diff --git a/webcit/tiny_mce/plugins/preview/langs/pt.js b/webcit/tiny_mce/plugins/preview/langs/pt.js new file mode 100644 index 000000000..6256c4739 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/langs/pt.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Pré-visualização' +}); diff --git a/webcit/tiny_mce/plugins/preview/langs/pt_br.js b/webcit/tiny_mce/plugins/preview/langs/pt_br.js new file mode 100644 index 000000000..a00a3ad79 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/langs/pt_br.js @@ -0,0 +1,5 @@ +// pt_BR lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Visualizar' +}); diff --git a/webcit/tiny_mce/plugins/preview/langs/sv.js b/webcit/tiny_mce/plugins/preview/langs/sv.js new file mode 100644 index 000000000..cb2bbf87e --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/langs/sv.js @@ -0,0 +1,5 @@ +// SE lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Förhandsgranska' +}); diff --git a/webcit/tiny_mce/plugins/preview/langs/zh_cn.js b/webcit/tiny_mce/plugins/preview/langs/zh_cn.js new file mode 100644 index 000000000..b5b6d0696 --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/langs/zh_cn.js @@ -0,0 +1,5 @@ +// Simplified Chinese lang variables contributed by cube316 (cube316@etang.com) + +tinyMCE.addToLang('',{ +preview_desc : 'Ô¤ÀÀ' +}); diff --git a/webcit/tiny_mce/plugins/preview/readme.txt b/webcit/tiny_mce/plugins/preview/readme.txt new file mode 100644 index 000000000..4fdb78aec --- /dev/null +++ b/webcit/tiny_mce/plugins/preview/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/webcit/tiny_mce/plugins/print/CVS/Entries b/webcit/tiny_mce/plugins/print/CVS/Entries new file mode 100644 index 000000000..69abc9820 --- /dev/null +++ b/webcit/tiny_mce/plugins/print/CVS/Entries @@ -0,0 +1,5 @@ +D/images//// +D/langs//// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// +/editor_plugin.js/1.2/Wed Sep 28 03:47:28 2005// +/editor_plugin_src.js/1.2/Wed Sep 28 03:47:28 2005// diff --git a/webcit/tiny_mce/plugins/print/CVS/Repository b/webcit/tiny_mce/plugins/print/CVS/Repository new file mode 100644 index 000000000..bfa1f3c26 --- /dev/null +++ b/webcit/tiny_mce/plugins/print/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/print diff --git a/webcit/tiny_mce/plugins/print/CVS/Root b/webcit/tiny_mce/plugins/print/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/print/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/print/editor_plugin.js b/webcit/tiny_mce/plugins/print/editor_plugin.js new file mode 100644 index 000000000..0aba6ab00 --- /dev/null +++ b/webcit/tiny_mce/plugins/print/editor_plugin.js @@ -0,0 +1,2 @@ +/* Import theme specific language pack */ + tinyMCE.importPluginLanguagePack('print','en,sv,zh_cn,fa,fr_ca,fr,de,pl,pt_br,cs,nl,da,he,no,hu');function TinyMCE_print_getInfo(){return{longname:'Print',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_print.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};};function TinyMCE_print_getControlHTML(control_name){switch(control_name){case "print":return '';}return "";}function TinyMCE_print_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mcePrint":tinyMCE.getInstanceById(editor_id).contentWindow.print();return true;}return false;} \ No newline at end of file diff --git a/webcit/tiny_mce/plugins/print/editor_plugin_src.js b/webcit/tiny_mce/plugins/print/editor_plugin_src.js new file mode 100644 index 000000000..2edf19305 --- /dev/null +++ b/webcit/tiny_mce/plugins/print/editor_plugin_src.js @@ -0,0 +1,36 @@ +/* Import theme specific language pack */ +tinyMCE.importPluginLanguagePack('print', 'en,sv,zh_cn,fa,fr_ca,fr,de,pl,pt_br,cs,nl,da,he,no,hu'); + +function TinyMCE_print_getInfo() { + return { + longname : 'Print', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_print.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; +}; + +function TinyMCE_print_getControlHTML(control_name) { + switch (control_name) { + case "print": + return ''; + } + + return ""; +} + +/** + * Executes the search/replace commands. + */ +function TinyMCE_print_execCommand(editor_id, element, command, user_interface, value) { + // Handle commands + switch (command) { + case "mcePrint": + tinyMCE.getInstanceById(editor_id).contentWindow.print(); + return true; + } + + // Pass to next handler in chain + return false; +} diff --git a/webcit/tiny_mce/plugins/print/images/CVS/Entries b/webcit/tiny_mce/plugins/print/images/CVS/Entries new file mode 100644 index 000000000..24fdb68b8 --- /dev/null +++ b/webcit/tiny_mce/plugins/print/images/CVS/Entries @@ -0,0 +1,2 @@ +/print.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/plugins/print/images/CVS/Repository b/webcit/tiny_mce/plugins/print/images/CVS/Repository new file mode 100644 index 000000000..6fd3e7571 --- /dev/null +++ b/webcit/tiny_mce/plugins/print/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/print/images diff --git a/webcit/tiny_mce/plugins/print/images/CVS/Root b/webcit/tiny_mce/plugins/print/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/print/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/print/images/print.gif b/webcit/tiny_mce/plugins/print/images/print.gif new file mode 100644 index 000000000..72104d177 Binary files /dev/null and b/webcit/tiny_mce/plugins/print/images/print.gif differ diff --git a/webcit/tiny_mce/plugins/print/langs/CVS/Entries b/webcit/tiny_mce/plugins/print/langs/CVS/Entries new file mode 100644 index 000000000..48983113b --- /dev/null +++ b/webcit/tiny_mce/plugins/print/langs/CVS/Entries @@ -0,0 +1,16 @@ +/de.js/1.1/Tue Aug 30 18:35:56 2005// +/en.js/1.1/Tue Aug 30 18:35:56 2005// +/fa.js/1.1/Tue Aug 30 18:35:56 2005// +/fr.js/1.1/Tue Aug 30 18:35:56 2005// +/fr_ca.js/1.1/Tue Aug 30 18:35:56 2005// +/nl.js/1.1/Tue Aug 30 18:35:56 2005// +/pl.js/1.1/Tue Aug 30 18:35:56 2005// +/pt_br.js/1.1/Tue Aug 30 18:35:56 2005// +/sv.js/1.1/Tue Aug 30 18:35:56 2005// +/zh_cn.js/1.1/Sun Sep 11 12:53:00 2005// +/cs.js/1.2/Wed Sep 28 03:47:28 2005// +/da.js/1.1/Mon Sep 26 18:44:31 2005// +/he.js/1.2/Wed Sep 28 03:47:28 2005// +/hu.js/1.1/Mon Sep 26 18:44:31 2005// +/no.js/1.1/Mon Sep 26 18:44:31 2005// +D diff --git a/webcit/tiny_mce/plugins/print/langs/CVS/Repository b/webcit/tiny_mce/plugins/print/langs/CVS/Repository new file mode 100644 index 000000000..fa3faf65d --- /dev/null +++ b/webcit/tiny_mce/plugins/print/langs/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/print/langs diff --git a/webcit/tiny_mce/plugins/print/langs/CVS/Root b/webcit/tiny_mce/plugins/print/langs/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/print/langs/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/print/langs/cs.js b/webcit/tiny_mce/plugins/print/langs/cs.js new file mode 100644 index 000000000..6725a93d4 --- /dev/null +++ b/webcit/tiny_mce/plugins/print/langs/cs.js @@ -0,0 +1,11 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.2 2005/09/26 18:00:52 ajc Exp $ + */ + +tinyMCE.addToLang('',{ +print_desc : 'Tisk' +}); + diff --git a/webcit/tiny_mce/plugins/print/langs/da.js b/webcit/tiny_mce/plugins/print/langs/da.js new file mode 100644 index 000000000..3427fe7ca --- /dev/null +++ b/webcit/tiny_mce/plugins/print/langs/da.js @@ -0,0 +1,5 @@ +// DK lang variables contributed by Jan Moelgaard + +tinyMCE.addToLang('',{ +print_desc : 'Udskriv' +}); diff --git a/webcit/tiny_mce/plugins/print/langs/de.js b/webcit/tiny_mce/plugins/print/langs/de.js new file mode 100644 index 000000000..163f19df0 --- /dev/null +++ b/webcit/tiny_mce/plugins/print/langs/de.js @@ -0,0 +1,5 @@ +// DE lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Drucken' +}); diff --git a/webcit/tiny_mce/plugins/print/langs/en.js b/webcit/tiny_mce/plugins/print/langs/en.js new file mode 100644 index 000000000..6407cdb84 --- /dev/null +++ b/webcit/tiny_mce/plugins/print/langs/en.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Print' +}); diff --git a/webcit/tiny_mce/plugins/print/langs/fa.js b/webcit/tiny_mce/plugins/print/langs/fa.js new file mode 100644 index 000000000..81e6df015 --- /dev/null +++ b/webcit/tiny_mce/plugins/print/langs/fa.js @@ -0,0 +1,10 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +dir : 'rtl', +print_desc : '???' +}); diff --git a/webcit/tiny_mce/plugins/print/langs/fr.js b/webcit/tiny_mce/plugins/print/langs/fr.js new file mode 100644 index 000000000..9979dc636 --- /dev/null +++ b/webcit/tiny_mce/plugins/print/langs/fr.js @@ -0,0 +1,5 @@ +// French lang variables by Laurent Dran + +tinyMCE.addToLang('',{ +print_desc : 'Imprimer' +}); diff --git a/webcit/tiny_mce/plugins/print/langs/fr_ca.js b/webcit/tiny_mce/plugins/print/langs/fr_ca.js new file mode 100644 index 000000000..c98cc74ff --- /dev/null +++ b/webcit/tiny_mce/plugins/print/langs/fr_ca.js @@ -0,0 +1,5 @@ +// Canadian French lang variables by Virtuelcom last modification: 2005-06-15 + +tinyMCE.addToLang('',{ +print_desc : 'Imprimer' +}); diff --git a/webcit/tiny_mce/plugins/print/langs/he.js b/webcit/tiny_mce/plugins/print/langs/he.js new file mode 100644 index 000000000..de55f38f5 --- /dev/null +++ b/webcit/tiny_mce/plugins/print/langs/he.js @@ -0,0 +1,5 @@ +// HE lang variables by Liron Newman, http://eesh.net + +tinyMCE.addToLang('',{ +print_desc : 'äãôñ' +}); diff --git a/webcit/tiny_mce/plugins/print/langs/hu.js b/webcit/tiny_mce/plugins/print/langs/hu.js new file mode 100644 index 000000000..8e1ec6a29 --- /dev/null +++ b/webcit/tiny_mce/plugins/print/langs/hu.js @@ -0,0 +1,5 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Nyomtatás' +}); diff --git a/webcit/tiny_mce/plugins/print/langs/nl.js b/webcit/tiny_mce/plugins/print/langs/nl.js new file mode 100644 index 000000000..7b120259b --- /dev/null +++ b/webcit/tiny_mce/plugins/print/langs/nl.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Afdrukken' +}); diff --git a/webcit/tiny_mce/plugins/print/langs/no.js b/webcit/tiny_mce/plugins/print/langs/no.js new file mode 100644 index 000000000..1f47ce5d0 --- /dev/null +++ b/webcit/tiny_mce/plugins/print/langs/no.js @@ -0,0 +1,5 @@ +// NO lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +print_desc : 'Skriv ut' +}); diff --git a/webcit/tiny_mce/plugins/print/langs/pl.js b/webcit/tiny_mce/plugins/print/langs/pl.js new file mode 100644 index 000000000..d13f09ce5 --- /dev/null +++ b/webcit/tiny_mce/plugins/print/langs/pl.js @@ -0,0 +1,5 @@ +// PL lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Drukuj' +}); diff --git a/webcit/tiny_mce/plugins/print/langs/pt_br.js b/webcit/tiny_mce/plugins/print/langs/pt_br.js new file mode 100644 index 000000000..b4ec45107 --- /dev/null +++ b/webcit/tiny_mce/plugins/print/langs/pt_br.js @@ -0,0 +1,5 @@ +// pt_BR lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Imprimir' +}); diff --git a/webcit/tiny_mce/plugins/print/langs/sv.js b/webcit/tiny_mce/plugins/print/langs/sv.js new file mode 100644 index 000000000..34484379e --- /dev/null +++ b/webcit/tiny_mce/plugins/print/langs/sv.js @@ -0,0 +1,5 @@ +// SE lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Skriv ut' +}); diff --git a/webcit/tiny_mce/plugins/print/langs/zh_cn.js b/webcit/tiny_mce/plugins/print/langs/zh_cn.js new file mode 100644 index 000000000..957512c88 --- /dev/null +++ b/webcit/tiny_mce/plugins/print/langs/zh_cn.js @@ -0,0 +1,6 @@ +// Simplified Chinese lang variables contributed by cube316 (cube316@gmail.com) +//Çë·ÃÎÊ http://www.cube316.net/ ÒÔ»ñÈ¡TinyMCEµÄÖÐÎÄÖ§³Ö + +tinyMCE.addToLang('',{ +print_desc : '´òÓ¡' +}); diff --git a/webcit/tiny_mce/plugins/print/readme.txt b/webcit/tiny_mce/plugins/print/readme.txt new file mode 100644 index 000000000..4fdb78aec --- /dev/null +++ b/webcit/tiny_mce/plugins/print/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/webcit/tiny_mce/plugins/readme.txt b/webcit/tiny_mce/plugins/readme.txt new file mode 100644 index 000000000..b694fdb6b --- /dev/null +++ b/webcit/tiny_mce/plugins/readme.txt @@ -0,0 +1 @@ +This is the location you place TinyMCE plugins. diff --git a/webcit/tiny_mce/plugins/save/CVS/Entries b/webcit/tiny_mce/plugins/save/CVS/Entries new file mode 100644 index 000000000..69abc9820 --- /dev/null +++ b/webcit/tiny_mce/plugins/save/CVS/Entries @@ -0,0 +1,5 @@ +D/images//// +D/langs//// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// +/editor_plugin.js/1.2/Wed Sep 28 03:47:28 2005// +/editor_plugin_src.js/1.2/Wed Sep 28 03:47:28 2005// diff --git a/webcit/tiny_mce/plugins/save/CVS/Repository b/webcit/tiny_mce/plugins/save/CVS/Repository new file mode 100644 index 000000000..9b53b0ec8 --- /dev/null +++ b/webcit/tiny_mce/plugins/save/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/save diff --git a/webcit/tiny_mce/plugins/save/CVS/Root b/webcit/tiny_mce/plugins/save/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/save/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/save/editor_plugin.js b/webcit/tiny_mce/plugins/save/editor_plugin.js new file mode 100644 index 000000000..b02c3b1f6 --- /dev/null +++ b/webcit/tiny_mce/plugins/save/editor_plugin.js @@ -0,0 +1,2 @@ +/* Import plugin specific language pack */ + tinyMCE.importPluginLanguagePack('save','en,sv,zh_cn,cs,fa,fr_ca,fr,de,pl,pt_br,nl,he,no,hu');function TinyMCE_save_getInfo(){return{longname:'Save',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_save.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};};function TinyMCE_save_getControlHTML(control_name){switch(control_name){case "save":return '';}return "";}function TinyMCE_save_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mceSave":var formObj=tinyMCE.selectedInstance.formElement.form;if(formObj){tinyMCE.triggerSave();for(var i=0;i'; + } + + return ""; +} + +/** + * Executes the save command. + */ +function TinyMCE_save_execCommand(editor_id, element, command, user_interface, value) { + // Handle commands + switch (command) { + case "mceSave": + var formObj = tinyMCE.selectedInstance.formElement.form; + + if (formObj) { + tinyMCE.triggerSave(); + + // Disable all UI form elements that TinyMCE created + for (var i=0; i';case "replace":return '';}return "";}function TinyMCE_searchreplace_execCommand(editor_id,element,command,user_interface,value){function defValue(key,default_value){value[key]=typeof(value[key])=="undefined"?default_value:value[key];}function replaceSel(search_str,str){if(!tinyMCE.isMSIE){var sel=instance.contentWindow.getSelection();var rng=sel.getRangeAt(0);}else{var rng=instance.contentWindow.document.selection.createRange();}if(!tinyMCE.isMSIE){var doc=instance.contentWindow.document;if(str.indexOf(search_str)==-1){rng.deleteContents();rng.insertNode(rng.createContextualFragment(str));rng.collapse(false);}else{doc.execCommand("insertimage",false,"#mce_temp_url#");var elm=tinyMCE.getElementByAttributeValue(doc.body,"img","src","#mce_temp_url#");elm.parentNode.replaceChild(doc.createTextNode(str),elm);}}else{if(rng.item)rng.item(0).outerHTML=str;else rng.pasteHTML(str);}}var instance=tinyMCE.getInstanceById(editor_id);if(!value)value=new Array();defValue("editor_id",editor_id);defValue("searchstring","");defValue("replacestring",null);defValue("replacemode","none");defValue("casesensitive",false);defValue("backwards",false);defValue("wrap",false);defValue("wholeword",false);defValue("inline","yes");switch(command){case "mceResetSearch":tinyMCE.lastSearchRng=null;return true;case "mceSearch":if(user_interface){var template=new Array();if(value['replacestring']!=null){template['file']='../../plugins/searchreplace/replace.htm';template['width']=320;template['height']=120;template['width']+=tinyMCE.getLang('lang_searchreplace_replace_delta_width',0);template['height']+=tinyMCE.getLang('lang_searchreplace_replace_delta_height',0);}else{template['file']='../../plugins/searchreplace/search.htm';template['width']=310;template['height']=105;template['width']+=tinyMCE.getLang('lang_searchreplace_search_delta_width',0);template['height']+=tinyMCE.getLang('lang_searchreplace_replace_delta_height',0);}tinyMCE.openWindow(template,value);}else{var win=tinyMCE.getInstanceById(editor_id).contentWindow;var doc=tinyMCE.getInstanceById(editor_id).contentWindow.document;var body=tinyMCE.getInstanceById(editor_id).contentWindow.document.body;if(body.innerHTML==""){alert(tinyMCE.getLang('lang_searchreplace_notfound'));return true;}if(value['replacemode']=="current"){replaceSel(value['string'],value['replacestring']);value['replacemode']="none";tinyMCE.execInstanceCommand(editor_id,'mceSearch',user_interface,value,false);return true;}if(tinyMCE.isMSIE){var rng=tinyMCE.lastSearchRng?tinyMCE.lastSearchRng:doc.selection.createRange();var flags=0;if(value['wholeword'])flags=flags|2;if(value['casesensitive'])flags=flags|4;if(value['replacemode']=="all"){while(rng.findText(value['string'],value['backwards']?-1:1,flags)){rng.scrollIntoView();rng.select();rng.collapse(false);replaceSel(value['string'],value['replacestring']);}alert(tinyMCE.getLang('lang_searchreplace_allreplaced'));return true;}if(rng.findText(value['string'],value['backwards']?-1:1,flags)){rng.scrollIntoView();rng.select();rng.collapse(value['backwards']);tinyMCE.lastSearchRng=rng;}else alert(tinyMCE.getLang('lang_searchreplace_notfound'));}else{if(value['replacemode']=="all"){while(win.find(value['string'],value['casesensitive'],value['backwards'],value['wrap'],value['wholeword'],false,false))replaceSel(value['string'],value['replacestring']);alert(tinyMCE.getLang('lang_searchreplace_allreplaced'));return true;}if(!win.find(value['string'],value['casesensitive'],value['backwards'],value['wrap'],value['wholeword'],false,false))alert(tinyMCE.getLang('lang_searchreplace_notfound'));}}return true;case "mceSearchReplace":value['replacestring']="";tinyMCE.execInstanceCommand(editor_id,'mceSearch',user_interface,value,false);return true;}return false;}function TinyMCE_searchreplace_handleNodeChange(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){return true;} \ No newline at end of file diff --git a/webcit/tiny_mce/plugins/searchreplace/editor_plugin_src.js b/webcit/tiny_mce/plugins/searchreplace/editor_plugin_src.js new file mode 100644 index 000000000..90abf620f --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/editor_plugin_src.js @@ -0,0 +1,188 @@ +/* Import theme specific language pack */ +tinyMCE.importPluginLanguagePack('searchreplace', 'en,sv,zh_cn,fa,fr_ca,fr,de,pl,pt_br,cs,nl,da,he,no,hu'); + +function TinyMCE_searchreplace_getInfo() { + return { + longname : 'Search/Replace', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_searchreplace.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; +}; + +function TinyMCE_searchreplace_getControlHTML(control_name) { + switch (control_name) { + case "search": + return ''; + + case "replace": + return ''; + } + + return ""; +} + +/** + * Executes the search/replace commands. + */ +function TinyMCE_searchreplace_execCommand(editor_id, element, command, user_interface, value) { + function defValue(key, default_value) { + value[key] = typeof(value[key]) == "undefined" ? default_value : value[key]; + } + + function replaceSel(search_str, str) { + // Get current selection + if (!tinyMCE.isMSIE) { + var sel = instance.contentWindow.getSelection(); + var rng = sel.getRangeAt(0); + } else { + var rng = instance.contentWindow.document.selection.createRange(); + } + + // Replace current one + if (!tinyMCE.isMSIE) { + var doc = instance.contentWindow.document; + + // This way works when the replace doesn't contain the search string + if (str.indexOf(search_str) == -1) { + rng.deleteContents(); + rng.insertNode(rng.createContextualFragment(str)); + rng.collapse(false); + } else { + // Insert content ugly way! Needed to move selection to after replace item + doc.execCommand("insertimage", false, "#mce_temp_url#"); + var elm = tinyMCE.getElementByAttributeValue(doc.body, "img", "src", "#mce_temp_url#"); + elm.parentNode.replaceChild(doc.createTextNode(str), elm); + } + } else { + if (rng.item) + rng.item(0).outerHTML = str; + else + rng.pasteHTML(str); + } + } + + var instance = tinyMCE.getInstanceById(editor_id); + + if (!value) + value = new Array(); + + // Setup defualt values + defValue("editor_id", editor_id); + defValue("searchstring", ""); + defValue("replacestring", null); + defValue("replacemode", "none"); + defValue("casesensitive", false); + defValue("backwards", false); + defValue("wrap", false); + defValue("wholeword", false); + defValue("inline", "yes"); + + // Handle commands + switch (command) { + case "mceResetSearch": + tinyMCE.lastSearchRng = null; + return true; + + case "mceSearch": + if (user_interface) { + // Open search dialog + var template = new Array(); + + if (value['replacestring'] != null) { + template['file'] = '../../plugins/searchreplace/replace.htm'; // Relative to theme + template['width'] = 320; + template['height'] = 120; + template['width'] += tinyMCE.getLang('lang_searchreplace_replace_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_searchreplace_replace_delta_height', 0); + } else { + template['file'] = '../../plugins/searchreplace/search.htm'; // Relative to theme + template['width'] = 310; + template['height'] = 105; + template['width'] += tinyMCE.getLang('lang_searchreplace_search_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_searchreplace_replace_delta_height', 0); + } + + tinyMCE.openWindow(template, value); + } else { + var win = tinyMCE.getInstanceById(editor_id).contentWindow; + var doc = tinyMCE.getInstanceById(editor_id).contentWindow.document; + var body = tinyMCE.getInstanceById(editor_id).contentWindow.document.body; + + // Whats the point + if (body.innerHTML == "") { + alert(tinyMCE.getLang('lang_searchreplace_notfound')); + return true; + } + + // Handle replace current + if (value['replacemode'] == "current") { + replaceSel(value['string'], value['replacestring']); + + // Search next one + value['replacemode'] = "none"; + tinyMCE.execInstanceCommand(editor_id, 'mceSearch', user_interface, value, false); + + return true; + } + + if (tinyMCE.isMSIE) { + var rng = tinyMCE.lastSearchRng ? tinyMCE.lastSearchRng : doc.selection.createRange(); + var flags = 0; + + if (value['wholeword']) + flags = flags | 2; + + if (value['casesensitive']) + flags = flags | 4; + + // Handle replace all mode + if (value['replacemode'] == "all") { + while (rng.findText(value['string'], value['backwards'] ? -1 : 1, flags)) { + rng.scrollIntoView(); + rng.select(); + rng.collapse(false); + replaceSel(value['string'], value['replacestring']); + } + + alert(tinyMCE.getLang('lang_searchreplace_allreplaced')); + return true; + } + + if (rng.findText(value['string'], value['backwards'] ? -1 : 1, flags)) { + rng.scrollIntoView(); + rng.select(); + rng.collapse(value['backwards']); + tinyMCE.lastSearchRng = rng; + } else + alert(tinyMCE.getLang('lang_searchreplace_notfound')); + } else { + if (value['replacemode'] == "all") { + while (win.find(value['string'], value['casesensitive'], value['backwards'], value['wrap'], value['wholeword'], false, false)) + replaceSel(value['string'], value['replacestring']); + + alert(tinyMCE.getLang('lang_searchreplace_allreplaced')); + return true; + } + + if (!win.find(value['string'], value['casesensitive'], value['backwards'], value['wrap'], value['wholeword'], false, false)) + alert(tinyMCE.getLang('lang_searchreplace_notfound')); + } + } + return true; + + case "mceSearchReplace": + value['replacestring'] = ""; + + tinyMCE.execInstanceCommand(editor_id, 'mceSearch', user_interface, value, false); + return true; + } + + // Pass to next handler in chain + return false; +} + +function TinyMCE_searchreplace_handleNodeChange(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) { + return true; +} diff --git a/webcit/tiny_mce/plugins/searchreplace/images/CVS/Entries b/webcit/tiny_mce/plugins/searchreplace/images/CVS/Entries new file mode 100644 index 000000000..77c931f81 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/images/CVS/Entries @@ -0,0 +1,3 @@ +/replace.gif/1.1/Tue Aug 30 18:35:56 2005// +/search.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/plugins/searchreplace/images/CVS/Repository b/webcit/tiny_mce/plugins/searchreplace/images/CVS/Repository new file mode 100644 index 000000000..10be9a7f4 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/searchreplace/images diff --git a/webcit/tiny_mce/plugins/searchreplace/images/CVS/Root b/webcit/tiny_mce/plugins/searchreplace/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/searchreplace/images/replace.gif b/webcit/tiny_mce/plugins/searchreplace/images/replace.gif new file mode 100644 index 000000000..784c73e2a Binary files /dev/null and b/webcit/tiny_mce/plugins/searchreplace/images/replace.gif differ diff --git a/webcit/tiny_mce/plugins/searchreplace/images/search.gif b/webcit/tiny_mce/plugins/searchreplace/images/search.gif new file mode 100644 index 000000000..cfe76b5d5 Binary files /dev/null and b/webcit/tiny_mce/plugins/searchreplace/images/search.gif differ diff --git a/webcit/tiny_mce/plugins/searchreplace/jscripts/CVS/Entries b/webcit/tiny_mce/plugins/searchreplace/jscripts/CVS/Entries new file mode 100644 index 000000000..ba7c73fd4 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/jscripts/CVS/Entries @@ -0,0 +1,3 @@ +/replace.js/1.1/Sun Sep 11 12:53:00 2005// +/search.js/1.1/Sun Sep 11 12:53:00 2005// +D diff --git a/webcit/tiny_mce/plugins/searchreplace/jscripts/CVS/Repository b/webcit/tiny_mce/plugins/searchreplace/jscripts/CVS/Repository new file mode 100644 index 000000000..9dec7b753 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/jscripts/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/searchreplace/jscripts diff --git a/webcit/tiny_mce/plugins/searchreplace/jscripts/CVS/Root b/webcit/tiny_mce/plugins/searchreplace/jscripts/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/jscripts/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/searchreplace/jscripts/replace.js b/webcit/tiny_mce/plugins/searchreplace/jscripts/replace.js new file mode 100644 index 000000000..f1f7b959b --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/jscripts/replace.js @@ -0,0 +1,38 @@ +function init() { + tinyMCEPopup.resizeToInnerSize(); + + var formObj = document.forms[0]; + + formObj.searchstring.value = tinyMCE.getWindowArg("searchstring"); + formObj.replacestring.value = tinyMCE.getWindowArg("replacestring"); + formObj.casesensitivebox.checked = tinyMCE.getWindowArg("casesensitive"); + formObj.backwards[0].checked = tinyMCE.getWindowArg("backwards"); + formObj.backwards[1].checked = !tinyMCE.getWindowArg("backwards"); +// formObj.wrapatend.checked = tinyMCE.getWindowArg("wrap"); +// formObj.wholeword.checked = tinyMCE.getWindowArg("wholeword"); + + tinyMCEPopup.execCommand("mceResetSearch", false, {dummy : ""}, false); +} + +function searchNext(replacemode) { + var formObj = document.forms[0]; + + // Whats the point? + if (formObj.searchstring.value == "" || formObj.searchstring.value == formObj.replacestring.value) + return; + + // Do search + tinyMCEPopup.execCommand('mceSearch', false, { + string : formObj.searchstring.value, + replacestring : formObj.replacestring.value, + replacemode : replacemode, + casesensitive : formObj.casesensitivebox.checked, + backwards : formObj.backwards[0].checked +// wrap : formObj.wrapatend.checked, +// wholeword : formObj.wholeword.checked + }, false); +} + +function cancelAction() { + tinyMCEPopup.close(); +} diff --git a/webcit/tiny_mce/plugins/searchreplace/jscripts/search.js b/webcit/tiny_mce/plugins/searchreplace/jscripts/search.js new file mode 100644 index 000000000..dc0912fa1 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/jscripts/search.js @@ -0,0 +1,34 @@ +function init() { + tinyMCEPopup.resizeToInnerSize(); + + var formObj = document.forms[0]; + + formObj.searchstring.value = tinyMCE.getWindowArg("searchstring"); + formObj.casesensitivebox.checked = tinyMCE.getWindowArg("casesensitive"); + formObj.backwards[0].checked = tinyMCE.getWindowArg("backwards"); + formObj.backwards[1].checked = !tinyMCE.getWindowArg("backwards"); +// formObj.wrapatend.checked = tinyMCE.getWindowArg("wrap"); +// formObj.wholeword.checked = tinyMCE.getWindowArg("wholeword"); + + tinyMCEPopup.execCommand("mceResetSearch", false, {dummy : ""}, false); +} + +function searchNext() { + var formObj = document.forms[0]; + + if (formObj.searchstring.value == "") + return; + + // Do search + tinyMCEPopup.execCommand('mceSearch', false, { + string : formObj.searchstring.value, + casesensitive : formObj.casesensitivebox.checked, + backwards : formObj.backwards[0].checked +// wrap : formObj.wrapatend.checked, +// wholeword : formObj.wholeword.checked + }, false); +} + +function cancelAction() { + tinyMCEPopup.close(); +} diff --git a/webcit/tiny_mce/plugins/searchreplace/langs/CVS/Entries b/webcit/tiny_mce/plugins/searchreplace/langs/CVS/Entries new file mode 100644 index 000000000..adc8e8179 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/langs/CVS/Entries @@ -0,0 +1,16 @@ +/en.js/1.1/Tue Aug 30 18:35:56 2005// +/fa.js/1.1/Tue Aug 30 18:35:56 2005// +/fr.js/1.1/Tue Aug 30 18:35:56 2005// +/fr_ca.js/1.1/Tue Aug 30 18:35:56 2005// +/nl.js/1.1/Tue Aug 30 18:35:56 2005// +/pl.js/1.1/Tue Aug 30 18:35:56 2005// +/pt_br.js/1.1/Tue Aug 30 18:35:56 2005// +/sv.js/1.1/Sun Sep 11 12:53:00 2005// +/zh_cn.js/1.1/Sun Sep 11 12:53:00 2005// +/cs.js/1.2/Wed Sep 28 03:47:28 2005// +/da.js/1.1/Mon Sep 26 18:44:32 2005// +/de.js/1.2/Wed Sep 28 03:47:28 2005// +/he.js/1.2/Wed Sep 28 03:47:28 2005// +/hu.js/1.1/Mon Sep 26 18:44:32 2005// +/no.js/1.1/Mon Sep 26 18:44:32 2005// +D diff --git a/webcit/tiny_mce/plugins/searchreplace/langs/CVS/Repository b/webcit/tiny_mce/plugins/searchreplace/langs/CVS/Repository new file mode 100644 index 000000000..20d559e04 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/langs/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/searchreplace/langs diff --git a/webcit/tiny_mce/plugins/searchreplace/langs/CVS/Root b/webcit/tiny_mce/plugins/searchreplace/langs/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/langs/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/searchreplace/langs/cs.js b/webcit/tiny_mce/plugins/searchreplace/langs/cs.js new file mode 100644 index 000000000..35642a6f4 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/langs/cs.js @@ -0,0 +1,27 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.2 2005/09/26 18:00:52 ajc Exp $ + */ + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Najdi', +searchreplace_searchnext_desc : 'Najdi znova', +searchreplace_replace_desc : 'Najdi/Nahradit', +searchreplace_notfound : 'Vyhledávaní ukončeno. Řetězec nemusel být nalezen.', +searchreplace_search_title : 'Najdi', +searchreplace_replace_title : 'Najdi/Nahradit', +searchreplace_allreplaced : 'VÅ¡echny výskyty řetězce byly změněny.', +searchreplace_findwhat : 'Najít', +searchreplace_replacewith : 'Nahradit', +searchreplace_direction : 'Směr', +searchreplace_up : 'Nahoru', +searchreplace_down : 'Dolů', +searchreplace_case : 'Přesná shoda', +searchreplace_findnext : 'Najdi další', +searchreplace_replace : 'Nahradit', +searchreplace_replaceall : 'Nahradit vÅ¡e', +searchreplace_cancel : 'ZruÅ¡it' +}); + diff --git a/webcit/tiny_mce/plugins/searchreplace/langs/da.js b/webcit/tiny_mce/plugins/searchreplace/langs/da.js new file mode 100644 index 000000000..4e9b3dbcc --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/langs/da.js @@ -0,0 +1,21 @@ +// DK lang variables contributed by Jan Moelgaard + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Søg', +searchreplace_searchnext_desc : 'Søg igen', +searchreplace_replace_desc : 'Søg og erstat', +searchreplace_notfound : 'Søgningen er færdig. Søgeudtrykket kunne ikke findes.', +searchreplace_search_title : 'Søg', +searchreplace_replace_title : 'Søg og erstat', +searchreplace_allreplaced : 'Alle forekomster af søgeudtrykket blev erstattet.', +searchreplace_findwhat : 'Hvad skal vi søge efter', +searchreplace_replacewith : 'Erstat det med', +searchreplace_direction : 'Retning', +searchreplace_up : 'Op', +searchreplace_down : 'Ned', +searchreplace_case : 'Skelne mellem store og små bogstaver', +searchreplace_findnext : 'Søg efter næste', +searchreplace_replace : 'Erstat', +searchreplace_replaceall : 'Erstat alle', +searchreplace_cancel : 'Fortryd' +}); diff --git a/webcit/tiny_mce/plugins/searchreplace/langs/de.js b/webcit/tiny_mce/plugins/searchreplace/langs/de.js new file mode 100644 index 000000000..379b17769 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/langs/de.js @@ -0,0 +1,22 @@ +// DE lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Suchen', +searchreplace_searchnext_desc : 'Erneut suchen', +searchreplace_replace_desc : 'Suchen/Ersetzen', +searchreplace_notfound : 'Die Suche wurde abgeschlossen. Das Suchwort wurde nicht gefunden.', +searchreplace_search_title : 'Suchen', +searchreplace_replace_title : 'Suchen/Ersetzen', +searchreplace_allreplaced : 'Die Suche wurde abgeschlossen. Alle Vorkommen wurden ersetzt.', +searchreplace_findwhat : 'Suchen nach', +searchreplace_replacewith : 'Ersetzen durch', +searchreplace_direction : 'Suchrichtung', +searchreplace_up : 'Rückwärts', +searchreplace_down : 'Vorwärts', +searchreplace_case : 'Groß-/Kleinschreibung beachten', +searchreplace_findnext : 'Weitersuchen', +searchreplace_replace : 'Ersetzen', +searchreplace_replaceall : 'Alle ersetzen', +searchreplace_cancel : 'Abbrechen', +searchreplace_replace_delta_width : 50 +}); diff --git a/webcit/tiny_mce/plugins/searchreplace/langs/en.js b/webcit/tiny_mce/plugins/searchreplace/langs/en.js new file mode 100644 index 000000000..8218e9c92 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/langs/en.js @@ -0,0 +1,21 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Find', +searchreplace_searchnext_desc : 'Find again', +searchreplace_replace_desc : 'Find/Replace', +searchreplace_notfound : 'The search has been compleated. The search string could not be found.', +searchreplace_search_title : 'Find', +searchreplace_replace_title : 'Find/Replace', +searchreplace_allreplaced : 'All occurrences of the search string was replaced.', +searchreplace_findwhat : 'Find what', +searchreplace_replacewith : 'Replace with', +searchreplace_direction : 'Direction', +searchreplace_up : 'Up', +searchreplace_down : 'Down', +searchreplace_case : 'Match case', +searchreplace_findnext : 'Find next', +searchreplace_replace : 'Replace', +searchreplace_replaceall : 'Replace all', +searchreplace_cancel : 'Cancel' +}); diff --git a/webcit/tiny_mce/plugins/searchreplace/langs/fa.js b/webcit/tiny_mce/plugins/searchreplace/langs/fa.js new file mode 100644 index 000000000..4aa5cc852 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/langs/fa.js @@ -0,0 +1,26 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +dir : 'rtl', +searchreplace_search_desc : '?????', +searchreplace_searchnext_desc : '?????? ????', +searchreplace_replace_desc : '?????/????????', +searchreplace_notfound : '????? ????? ????. ??? ????? ???? ???.', +searchreplace_search_title : '?????', +searchreplace_replace_title : '?????/????????', +searchreplace_allreplaced : '??? ????? ??????? ?????.', +searchreplace_findwhat : '????? ?? ?????', +searchreplace_replacewith : '???????? ??', +searchreplace_direction : '??? ?????', +searchreplace_up : '?? ??? ????', +searchreplace_down : '?? ??? ?????', +searchreplace_case : '????? ???? ???? ? ????', +searchreplace_findnext : '????-????', +searchreplace_replace : '???????-??', +searchreplace_replaceall : '????????-???', +searchreplace_cancel : '??????' +}); diff --git a/webcit/tiny_mce/plugins/searchreplace/langs/fr.js b/webcit/tiny_mce/plugins/searchreplace/langs/fr.js new file mode 100644 index 000000000..497075015 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/langs/fr.js @@ -0,0 +1,21 @@ +// Franch lang variables by Laurent Dran + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Trouver', +searchreplace_searchnext_desc : 'Trouver encore', +searchreplace_replace_desc : 'Trouver/Remplacer', +searchreplace_notfound : 'Votre recherche a été compléé. La recherche de la chaine pourra ne pas aboutir.', +searchreplace_search_title : 'Trouver', +searchreplace_replace_title : 'Trouver/Remplacer', +searchreplace_allreplaced : 'Toutes les occurences de la chaine ont été remplcées.', +searchreplace_findwhat : 'Trouver le mot', +searchreplace_replacewith : 'Remplacer avec', +searchreplace_direction : 'Direction', +searchreplace_up : 'Haut', +searchreplace_down : 'Base', +searchreplace_case : 'Respecter la casse', +searchreplace_findnext : 'Trouver le prochain', +searchreplace_replace : 'Remplacer', +searchreplace_replaceall : 'Remplacer tout', +searchreplace_cancel : 'Annuler' +}); diff --git a/webcit/tiny_mce/plugins/searchreplace/langs/fr_ca.js b/webcit/tiny_mce/plugins/searchreplace/langs/fr_ca.js new file mode 100644 index 000000000..09485ca09 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/langs/fr_ca.js @@ -0,0 +1,21 @@ +// Canadian French lang variables by Virtuelcom last modification: 2005-06-15 + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Chercher', +searchreplace_searchnext_desc : 'Chercher suivant', +searchreplace_replace_desc : 'Chercher/Remplacer', +searchreplace_notfound : 'La recherche est terminée. Aucune occurence trouvée.', +searchreplace_search_title : 'Chercher', +searchreplace_replace_title : 'Chercher/Remplacer', +searchreplace_allreplaced : 'Toutes les occurences ont été remplacées.', +searchreplace_findwhat : 'Chercher quoi', +searchreplace_replacewith : 'Remplacer par', +searchreplace_direction : 'Direction', +searchreplace_up : 'Monter', +searchreplace_down : 'Descendre', +searchreplace_case : 'Sensible à la case', +searchreplace_findnext : 'Chercher ,suivant', +searchreplace_replace : 'Remplacer', +searchreplace_replaceall : 'Remplacer ,tous', +searchreplace_cancel : 'Annuler' +}); diff --git a/webcit/tiny_mce/plugins/searchreplace/langs/he.js b/webcit/tiny_mce/plugins/searchreplace/langs/he.js new file mode 100644 index 000000000..fdac48d0e --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/langs/he.js @@ -0,0 +1,21 @@ +// HE lang variables by Liron Newman, http://eesh.net + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'çôù', +searchreplace_searchnext_desc : 'çôù ùåá', +searchreplace_replace_desc : 'çôù/äçìó', +searchreplace_notfound : 'äçéôåù äåùìí. îçøåæú äçéôåù ìà ðîöàä.', +searchreplace_search_title : 'çôù', +searchreplace_replace_title : 'çôù/äçìó', +searchreplace_allreplaced : 'îçøåæú äçéôåù äåçìôä áëì î÷åí áå äéà ðîöàä.', +searchreplace_findwhat : 'îä ìçôù', +searchreplace_replacewith : 'ìäçìéó á-', +searchreplace_direction : 'ëéååï', +searchreplace_up : 'ìîòìä', +searchreplace_down : 'ìîèä', +searchreplace_case : 'äúàí âåãì àåúéåú', +searchreplace_findnext : 'îöà àú äáà', +searchreplace_replace : 'äçìó', +searchreplace_replaceall : 'äçìó äëì', +searchreplace_cancel : 'áèì' +}); diff --git a/webcit/tiny_mce/plugins/searchreplace/langs/hu.js b/webcit/tiny_mce/plugins/searchreplace/langs/hu.js new file mode 100644 index 000000000..0b4690d7a --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/langs/hu.js @@ -0,0 +1,21 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Keresés', +searchreplace_searchnext_desc : 'Újra keresés', +searchreplace_replace_desc : 'Keres/Cserél', +searchreplace_notfound : 'A keresés elkészült. A keresési szöveg nem található.', +searchreplace_search_title : 'Keres', +searchreplace_replace_title : 'Keres/Cserél', +searchreplace_allreplaced : 'A kereséséi szöveg minden elõfordulása cserélve lett.', +searchreplace_findwhat : 'Mit keres', +searchreplace_replacewith : 'Mire cserél', +searchreplace_direction : 'Hatókör', +searchreplace_up : 'Fel', +searchreplace_down : 'Le', +searchreplace_case : 'Teljes szó', +searchreplace_findnext : 'Következõt keres', +searchreplace_replace : 'Cserél', +searchreplace_replaceall : 'Mindent cserél', +searchreplace_cancel : 'Mégse' +}); diff --git a/webcit/tiny_mce/plugins/searchreplace/langs/nl.js b/webcit/tiny_mce/plugins/searchreplace/langs/nl.js new file mode 100644 index 000000000..6062ebf32 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/langs/nl.js @@ -0,0 +1,21 @@ +// NL lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Zoeken', +searchreplace_searchnext_desc : 'Opnieuw zoeken', +searchreplace_replace_desc : 'Zoeken/Vervang', +searchreplace_notfound : 'De zoekopdracht is klaar. Het zoekargument was niet gevonden.', +searchreplace_search_title : 'Zoeken', +searchreplace_replace_title : 'Zoeken/Vervangen', +searchreplace_allreplaced : 'Alle zoekargumenten werden vervangen.', +searchreplace_findwhat : 'Zoek argument', +searchreplace_replacewith : 'Vervang met', +searchreplace_direction : 'Richting', +searchreplace_up : 'Op', +searchreplace_down : 'Neer', +searchreplace_case : 'Identieke hoofdletters', +searchreplace_findnext : 'Volgende zoeken', +searchreplace_replace : 'Vervang', +searchreplace_replaceall : 'Vervang alles', +searchreplace_cancel : 'Annuleer' +}); diff --git a/webcit/tiny_mce/plugins/searchreplace/langs/no.js b/webcit/tiny_mce/plugins/searchreplace/langs/no.js new file mode 100644 index 000000000..c0c429487 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/langs/no.js @@ -0,0 +1,21 @@ +// NO lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Søk', +searchreplace_searchnext_desc : 'Søk igjen', +searchreplace_replace_desc : 'Søk/Erstatt', +searchreplace_notfound : 'Søkingen avsluttet. Fant ikke søkestrengen.', +searchreplace_search_title : 'Søk', +searchreplace_replace_title : 'Søk/Erstatt', +searchreplace_allreplaced : 'Alle treff på søkestrengen erstattes', +searchreplace_findwhat : 'Søk på', +searchreplace_replacewith : 'Erstatt med', +searchreplace_direction : 'Søkeretning', +searchreplace_up : 'Oppover', +searchreplace_down : 'Nedover', +searchreplace_case : 'Skill mellom store og små tegn', +searchreplace_findnext : 'Neste søk', +searchreplace_replace : 'Erstatt', +searchreplace_replaceall : 'Erstatt alle', +searchreplace_cancel : 'Avbryt' +}); diff --git a/webcit/tiny_mce/plugins/searchreplace/langs/pl.js b/webcit/tiny_mce/plugins/searchreplace/langs/pl.js new file mode 100644 index 000000000..c5cbee8e7 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/langs/pl.js @@ -0,0 +1,21 @@ +// PL lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Znajdz', +searchreplace_searchnext_desc : 'Znajdz ponownie', +searchreplace_replace_desc : 'Znajdz/Zastap', +searchreplace_notfound : 'Ukonczono wyszukiwanie. Poszukiwana fraza nie zostala odnaleziona.', +searchreplace_search_title : 'Znajdz', +searchreplace_replace_title : 'Znajdz/Zastap', +searchreplace_allreplaced : 'Wszystkie wystapienia poszukiwanej frazy zostaly zastapione. ', +searchreplace_findwhat : 'Znajdz', +searchreplace_replacewith : 'Zastap', +searchreplace_direction : 'Kierunek', +searchreplace_up : 'Do góry', +searchreplace_down : 'Do dolu', +searchreplace_case : 'Wielkosc liter', +searchreplace_findnext : 'Znajdz nastepny', +searchreplace_replace : 'Zastap', +searchreplace_replaceall : 'Zastap wszystkie', +searchreplace_cancel : 'Wyjdz' +}); diff --git a/webcit/tiny_mce/plugins/searchreplace/langs/pt_br.js b/webcit/tiny_mce/plugins/searchreplace/langs/pt_br.js new file mode 100644 index 000000000..db489dbd9 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/langs/pt_br.js @@ -0,0 +1,21 @@ +// pt_BR lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Procurar', +searchreplace_searchnext_desc : 'Procurar novamente', +searchreplace_replace_desc : 'Procurar/Substituir', +searchreplace_notfound : 'A procura foi concluída. A expressão buscada não foi encontrada.', +searchreplace_search_title : 'Procurar', +searchreplace_replace_title : 'Procurar/Substituir', +searchreplace_allreplaced : 'Todas as ocorrências encontradas foram substituídas.', +searchreplace_findwhat : 'Procurar por', +searchreplace_replacewith : 'Substituir com', +searchreplace_direction : 'Direção', +searchreplace_up : 'Acima', +searchreplace_down : 'Abaixo', +searchreplace_case : 'Procurar exatamente', +searchreplace_findnext : 'Procurar ,próxima', +searchreplace_replace : 'Substituir', +searchreplace_replaceall : 'Substituir ,tudo', +searchreplace_cancel : 'Cancelar' +}); diff --git a/webcit/tiny_mce/plugins/searchreplace/langs/sv.js b/webcit/tiny_mce/plugins/searchreplace/langs/sv.js new file mode 100644 index 000000000..f69f44af9 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/langs/sv.js @@ -0,0 +1,21 @@ +// SE lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Sök', +searchreplace_searchnext_desc : 'Sök igen', +searchreplace_replace_desc : 'Sök/Ersätt', +searchreplace_notfound : 'Sökningen är slutförd. Söksträngen kunde inte hittas.', +searchreplace_search_title : 'Sök', +searchreplace_replace_title : 'Sök/Ersätt', +searchreplace_allreplaced : 'Alla träffar på söksträngen ersattes', +searchreplace_findwhat : 'Sök på', +searchreplace_replacewith : 'Ersätt med', +searchreplace_direction : 'Sökriktning', +searchreplace_up : 'Uppåt', +searchreplace_down : 'Neråt', +searchreplace_case : 'Matcha gemener/VERSALER', +searchreplace_findnext : 'Sök nästa', +searchreplace_replace : 'Ersätt', +searchreplace_replaceall : 'Ersätt alla', +searchreplace_cancel : 'Avbryt' +}); diff --git a/webcit/tiny_mce/plugins/searchreplace/langs/zh_cn.js b/webcit/tiny_mce/plugins/searchreplace/langs/zh_cn.js new file mode 100644 index 000000000..dd059cdcb --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/langs/zh_cn.js @@ -0,0 +1,22 @@ +// Simplified Chinese lang variables contributed by cube316 (cube316@gmail.com) +//Çë·ÃÎÊ http://www.cube316.net/ ÒÔ»ñÈ¡TinyMCEµÄÖÐÎÄÖ§³Ö + +tinyMCE.addToLang('',{ +searchreplace_search_desc : '²éÕÒ', +searchreplace_searchnext_desc : 'ÔٴβéÕÒ', +searchreplace_replace_desc : '²éÕÒ/Ìæ»»', +searchreplace_notfound : 'ËÑË÷Íê±Ï£¬Ã»ÓÐÕÒµ½Òª²éÕÒµÄ×Ö·û´®¡£', +searchreplace_search_title : '²éÕÒ', +searchreplace_replace_title : '²éÕÒ/Ìæ»»', +searchreplace_allreplaced : 'ËùÓгöÏÖµÄ×Ö·û´®ÒÑÌæ»»Íê±Ï¡£', +searchreplace_findwhat : '²éÕÒ', +searchreplace_replacewith : 'Ì滻Ϊ', +searchreplace_direction : '·½Ïò', +searchreplace_up : 'ÏòÉÏ', +searchreplace_down : 'ÏòÏÂ', +searchreplace_case : 'Æ¥Åä´óСд', +searchreplace_findnext : '²éÕÒÏÂÒ»¸ö', +searchreplace_replace : 'Ìæ»»', +searchreplace_replaceall : 'È«²¿Ìæ»»', +searchreplace_cancel : 'È¡Ïû' +}); diff --git a/webcit/tiny_mce/plugins/searchreplace/readme.txt b/webcit/tiny_mce/plugins/searchreplace/readme.txt new file mode 100644 index 000000000..4fdb78aec --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/webcit/tiny_mce/plugins/searchreplace/replace.htm b/webcit/tiny_mce/plugins/searchreplace/replace.htm new file mode 100644 index 000000000..389e49191 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/replace.htm @@ -0,0 +1,48 @@ + + + {$lang_searchreplace_replace_title} + + + + +
    + + + + + + + + + + + + + + + +
    + + + + + + + +
    + + + + +
    + + + + + + + +
    +
    + + diff --git a/webcit/tiny_mce/plugins/searchreplace/search.htm b/webcit/tiny_mce/plugins/searchreplace/search.htm new file mode 100644 index 000000000..141142228 --- /dev/null +++ b/webcit/tiny_mce/plugins/searchreplace/search.htm @@ -0,0 +1,41 @@ + + + {$lang_searchreplace_search_title} + + + + +
    + + + + + + + + + + +
     
    + + + + + + + +
    + + + + +
    + + + + + +
    +
    + + diff --git a/webcit/tiny_mce/plugins/table/CVS/Entries b/webcit/tiny_mce/plugins/table/CVS/Entries new file mode 100644 index 000000000..a4738f10f --- /dev/null +++ b/webcit/tiny_mce/plugins/table/CVS/Entries @@ -0,0 +1,11 @@ +D/css//// +D/images//// +D/jscripts//// +D/langs//// +/merge_cells.htm/1.1/Sun Sep 11 12:53:00 2005// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// +/cell.htm/1.2/Wed Sep 28 03:47:28 2005// +/editor_plugin.js/1.2/Wed Sep 28 03:47:28 2005// +/editor_plugin_src.js/1.2/Wed Sep 28 03:47:28 2005// +/row.htm/1.2/Wed Sep 28 03:47:28 2005// +/table.htm/1.2/Wed Sep 28 03:47:28 2005// diff --git a/webcit/tiny_mce/plugins/table/CVS/Repository b/webcit/tiny_mce/plugins/table/CVS/Repository new file mode 100644 index 000000000..f9dec1763 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/table diff --git a/webcit/tiny_mce/plugins/table/CVS/Root b/webcit/tiny_mce/plugins/table/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/table/cell.htm b/webcit/tiny_mce/plugins/table/cell.htm new file mode 100644 index 000000000..04a588b4e --- /dev/null +++ b/webcit/tiny_mce/plugins/table/cell.htm @@ -0,0 +1,181 @@ + + + {$lang_table_cell_title} + + + + + + + +
    + + +
    +
    +
    + {$lang_table_general_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + +
    + + + +
    + +
    +
    +
    + +
    +
    + {$lang_table_advanced_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    +
    +
    +
    + +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + + diff --git a/webcit/tiny_mce/plugins/table/css/CVS/Entries b/webcit/tiny_mce/plugins/table/css/CVS/Entries new file mode 100644 index 000000000..8bda12403 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/css/CVS/Entries @@ -0,0 +1,4 @@ +/cell.css/1.1/Tue Aug 30 18:35:56 2005// +/row.css/1.1/Tue Aug 30 18:35:56 2005// +/table.css/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/plugins/table/css/CVS/Repository b/webcit/tiny_mce/plugins/table/css/CVS/Repository new file mode 100644 index 000000000..9f0c22d83 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/css/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/table/css diff --git a/webcit/tiny_mce/plugins/table/css/CVS/Root b/webcit/tiny_mce/plugins/table/css/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/css/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/table/css/cell.css b/webcit/tiny_mce/plugins/table/css/cell.css new file mode 100644 index 000000000..8eb71f461 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/css/cell.css @@ -0,0 +1,13 @@ +/* CSS file for cell dialog in the table plugin */ + +.panel_wrapper div.current { + height: 200px; +} + +.advfield { + width: 200px; +} + +#action { + margin-bottom: 3px; +} diff --git a/webcit/tiny_mce/plugins/table/css/row.css b/webcit/tiny_mce/plugins/table/css/row.css new file mode 100644 index 000000000..f3106403c --- /dev/null +++ b/webcit/tiny_mce/plugins/table/css/row.css @@ -0,0 +1,13 @@ +/* CSS file for row dialog in the table plugin */ + +.panel_wrapper div.current { + height: 200px; +} + +.advfield { + width: 200px; +} + +#action { + margin-bottom: 3px; +} diff --git a/webcit/tiny_mce/plugins/table/css/table.css b/webcit/tiny_mce/plugins/table/css/table.css new file mode 100644 index 000000000..efe55ebc2 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/css/table.css @@ -0,0 +1,9 @@ +/* CSS file for table dialog in the table plugin */ + +.panel_wrapper div.current { + height: 220px; +} + +.advfield { + width: 200px; +} diff --git a/webcit/tiny_mce/plugins/table/editor_plugin.js b/webcit/tiny_mce/plugins/table/editor_plugin.js new file mode 100644 index 000000000..4ecfa6ef6 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/editor_plugin.js @@ -0,0 +1,2 @@ +/* Import plugin specific language pack */ + tinyMCE.importPluginLanguagePack('table','en,ar,cs,da,de,el,es,fi,fr_ca,hu,it,ja,ko,nl,no,pl,pt,sv,tw,zh_cn,fr,de,he,no');function TinyMCE_table_getInfo(){return{longname:'Tables',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_table.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};};function TinyMCE_table_initInstance(inst){if(tinyMCE.isGecko){var doc=inst.getDoc();tinyMCE.addEvent(doc,"mouseup",TinyMCE_table_mouseDownHandler);try{doc.execCommand('enableInlineTableEditing',false,false);}catch(e){}}inst.tableRowClipboard=null;}function TinyMCE_table_mouseDownHandler(e){var elm=tinyMCE.isMSIE?event.srcElement:e.target;var focusElm=tinyMCE.selectedInstance.getFocusElement();if(elm.nodeName=="BODY"&&(focusElm.nodeName=="TD"||focusElm.nodeName=="TH"||(focusElm.parentNode&&focusElm.parentNode.nodeName=="TD")||(focusElm.parentNode&&focusElm.parentNode.nodeName=="TH"))){window.setTimeout(function(){var tableElm=tinyMCE.getParentElement(focusElm,"table");tinyMCE.handleVisualAid(tableElm,true,tinyMCE.settings['visual'],tinyMCE.selectedInstance);},10);}}function TinyMCE_table_getControlHTML(control_name){var controls=new Array(['table','table.gif','{$lang_table_desc}','mceInsertTable',true],['delete_col','table_delete_col.gif','{$lang_table_delete_col_desc}','mceTableDeleteCol'],['delete_row','table_delete_row.gif','{$lang_table_delete_row_desc}','mceTableDeleteRow'],['col_after','table_insert_col_after.gif','{$lang_table_col_after_desc}','mceTableInsertColAfter'],['col_before','table_insert_col_before.gif','{$lang_table_col_before_desc}','mceTableInsertColBefore'],['row_after','table_insert_row_after.gif','{$lang_table_row_after_desc}','mceTableInsertRowAfter'],['row_before','table_insert_row_before.gif','{$lang_table_row_before_desc}','mceTableInsertRowBefore'],['row_props','table_row_props.gif','{$lang_table_row_desc}','mceTableRowProps',true],['cell_props','table_cell_props.gif','{$lang_table_cell_desc}','mceTableCellProps',true],['split_cells','table_split_cells.gif','{$lang_table_split_cells_desc}','mceTableSplitCells',true],['merge_cells','table_merge_cells.gif','{$lang_table_merge_cells_desc}','mceTableMergeCells',true]);for(var i=0;i';else if(but[0]==control_name)return '';}if(control_name=="tablecontrols"){var html="";html+=tinyMCE.getControlHTML("table");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("row_props");html+=tinyMCE.getControlHTML("cell_props");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("row_before");html+=tinyMCE.getControlHTML("row_after");html+=tinyMCE.getControlHTML("delete_row");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("col_before");html+=tinyMCE.getControlHTML("col_after");html+=tinyMCE.getControlHTML("delete_col");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("split_cells");html+=tinyMCE.getControlHTML("merge_cells");return html;}return "";}function TinyMCE_table_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mceInsertTable":case "mceTableRowProps":case "mceTableCellProps":case "mceTableSplitCells":case "mceTableMergeCells":case "mceTableInsertRowBefore":case "mceTableInsertRowAfter":case "mceTableDeleteRow":case "mceTableInsertColBefore":case "mceTableInsertColAfter":case "mceTableDeleteCol":case "mceTableCutRow":case "mceTableCopyRow":case "mceTablePasteRowBefore":case "mceTablePasteRowAfter":case "mceTableDelete":var inst=tinyMCE.getInstanceById(editor_id);inst.execCommand('mceBeginUndoLevel');TinyMCE_table_doExecCommand(editor_id,element,command,user_interface,value);inst.execCommand('mceEndUndoLevel');return true;}return false;}function TinyMCE_table_doExecCommand(editor_id,element,command,user_interface,value){var inst=tinyMCE.getInstanceById(editor_id);var focusElm=inst.getFocusElement();var trElm=tinyMCE.getParentElement(focusElm,"tr");var tdElm=tinyMCE.getParentElement(focusElm,"td,th");var tableElm=tinyMCE.getParentElement(focusElm,"table");var doc=inst.contentWindow.document;var tableBorder=tableElm?tableElm.getAttribute("border"):"";if(trElm&&tdElm==null)tdElm=trElm.cells[0];function inArray(ar,v){for(var i=0;i0&&inArray(ar[i],v))return true;if(ar[i]==v)return true;}return false;}function makeTD(){var newTD=doc.createElement("td");newTD.innerHTML=" ";}function getColRowSpan(td){var colspan=tinyMCE.getAttrib(td,"colspan");var rowspan=tinyMCE.getAttrib(td,"rowspan");colspan=colspan==""?1:parseInt(colspan);rowspan=rowspan==""?1:parseInt(rowspan);return{colspan:colspan,rowspan:rowspan};}function getCellPos(grid,td){for(var y=0;y1){for(var i=x;i1)td.rowSpan=sd.rowspan+1;lastElm=td;}deleteMarked(tableElm);}}function prevElm(node,name){while((node=node.previousSibling)!=null){if(node.nodeName==name)return node;}return null;}function nextElm(node,names){var namesAr=names.split(',');while((node=node.nextSibling)!=null){for(var i=0;i1){do{var nexttd=nextElm(td,"TD,TH");if(td._delete)td.parentNode.removeChild(td);}while((td=nexttd)!=null);}}while((tr=next)!=null);}function addRows(td_elm,tr_elm,rowspan){td_elm.rowSpan=1;var trNext=nextElm(tr_elm,"TR");for(var i=1;i1){var newTD=cells[x].cloneNode(true);var sd=getColRowSpan(cells[x]);newTD.rowSpan=sd.rowspan-1;var nextTD=nextTR.cells[x];if(nextTD==null)nextTR.appendChild(newTD);else nextTR.insertBefore(newTD,nextTD);}}var lastTDElm=null;for(var x=0;tdElm=getCell(grid,cpos.rowindex,x);x++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd.rowspan>1){tdElm.rowSpan=sd.rowspan-1;}else{trElm=tdElm.parentNode;if(trElm.parentNode)trElm._delete=true;}lastTDElm=tdElm;}}deleteMarked(tableElm);cpos.rowindex--;if(cpos.rowindex<0)cpos.rowindex=0;inst.selectNode(getCell(grid,cpos.rowindex,0),true,true);break;case "mceTableInsertColBefore":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var lastTDElm=null;for(var y=0;tdElm=getCell(grid,y,cpos.cellindex);y++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['colspan']==1){var newTD=doc.createElement("td");newTD.innerHTML=" ";newTD.rowSpan=tdElm.rowSpan;tdElm.parentNode.insertBefore(newTD,tdElm);}else tdElm.colSpan++;lastTDElm=tdElm;}}break;case "mceTableInsertColAfter":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var lastTDElm=null;for(var y=0;tdElm=getCell(grid,y,cpos.cellindex);y++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['colspan']==1){var newTD=doc.createElement("td");newTD.innerHTML=" ";newTD.rowSpan=tdElm.rowSpan;var nextTD=nextElm(tdElm,"TD");if(nextTD==null)tdElm.parentNode.appendChild(newTD);else nextTD.parentNode.insertBefore(newTD,nextTD);}else tdElm.colSpan++;lastTDElm=tdElm;}}break;case "mceTableDeleteCol":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var lastTDElm=null;if(grid.length>1&&grid[0].length<=1){tableElm.parentNode.removeChild(tableElm);return true;}for(var y=0;tdElm=getCell(grid,y,cpos.cellindex);y++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['colspan']>1)tdElm.colSpan=sd['colspan']-1;else{if(tdElm.parentNode)tdElm.parentNode.removeChild(tdElm);}lastTDElm=tdElm;}}cpos.cellindex--;if(cpos.cellindex<0)cpos.cellindex=0;inst.selectNode(getCell(grid,0,cpos.cellindex),true,true);break;case "mceTableSplitCells":if(!trElm||!tdElm)return true;var spandata=getColRowSpan(tdElm);var colspan=spandata["colspan"];var rowspan=spandata["rowspan"];if(colspan>1||rowspan>1){tdElm.colSpan=1;for(var i=1;i1)addRows(newTD,trElm,rowspan);}addRows(tdElm,trElm,rowspan);}tableElm=tinyMCE.getParentElement(inst.getFocusElement(),"table");break;case "mceTableMergeCells":var rows=new Array();var sel=inst.getSel();var grid=getTableGrid(tableElm);if(tinyMCE.isMSIE||sel.rangeCount==1){if(user_interface){var template=new Array();var sp=getColRowSpan(tdElm);template['file']='../../plugins/table/merge_cells.htm';template['width']=250;template['height']=105;template['width']+=tinyMCE.getLang('lang_table_merge_cells_delta_width',0);template['height']+=tinyMCE.getLang('lang_table_merge_cells_delta_height',0);tinyMCE.openWindow(template,{editor_id:inst.editorId,inline:"yes",action:"update",numcols:sp.colspan,numrows:sp.rowspan});return true;}else{var numRows=parseInt(value['numrows']);var numCols=parseInt(value['numcols']);var cpos=getCellPos(grid,tdElm);if((""+numRows)=="NaN")numRows=1;if((""+numCols)=="NaN")numCols=1;var tRows=tableElm.rows;for(var y=cpos.rowindex;y0)rows[rows.length]=rowCells;}}}else{var cells=new Array();var sel=inst.getSel();var lastTR=null;var curRow=null;var x1=-1,y1=-1,x2,y2;if(sel.rangeCount<2)return true;for(var i=0;i0)rows[rows.length]=rowCells;}var curRow=new Array();var lastTR=null;for(var y=0;ycolSpan)colSpan=rowColSpan;lastRowSpan=-1;}var lastColSpan=-1;for(var x=0;xrowSpan)rowSpan=colRowSpan;lastColSpan=-1;}tdElm=rows[0][0];tdElm.rowSpan=rowSpan;tdElm.colSpan=colSpan;for(var y=0;y0))tdElm.innerHTML+=html;if(rows[y][x]!=tdElm&&!rows[y][x]._deleted){var cpos=getCellPos(grid,rows[y][x]);var tr=rows[y][x].parentNode;tr.removeChild(rows[y][x]);rows[y][x]._deleted=true;if(!tr.hasChildNodes()){tr.parentNode.removeChild(tr);var lastCell=null;for(var x=0;cellElm=getCell(grid,cpos.rowindex,x);x++){if(cellElm!=lastCell&&cellElm.rowSpan>1)cellElm.rowSpan--;lastCell=cellElm;}if(tdElm.rowSpan>1)tdElm.rowSpan--;}}}}break;}tableElm=tinyMCE.getParentElement(inst.getFocusElement(),"table");tinyMCE.handleVisualAid(tableElm,true,tinyMCE.settings['visual'],tinyMCE.selectedInstance);tinyMCE.triggerNodeChange();inst.repaint();}return true;}return false;}function TinyMCE_table_handleNodeChange(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){var colspan="1",rowspan="1";var inst=tinyMCE.getInstanceById(editor_id);tinyMCE.switchClassSticky(editor_id+'_table','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_row_props','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_cell_props','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_row_before','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_row_after','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_delete_row','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_col_before','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_col_after','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_delete_col','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_split_cells','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_merge_cells','mceButtonDisabled',true);if(tinyMCE.getParentElement(node,"tr"))tinyMCE.switchClassSticky(editor_id+'_row_props','mceButtonSelected',false);if(tdElm=tinyMCE.getParentElement(node,"td,th")){tinyMCE.switchClassSticky(editor_id+'_cell_props','mceButtonSelected',false);tinyMCE.switchClassSticky(editor_id+'_row_before','mceButtonNormal',false);tinyMCE.switchClassSticky(editor_id+'_row_after','mceButtonNormal',false);tinyMCE.switchClassSticky(editor_id+'_delete_row','mceButtonNormal',false);tinyMCE.switchClassSticky(editor_id+'_col_before','mceButtonNormal',false);tinyMCE.switchClassSticky(editor_id+'_col_after','mceButtonNormal',false);tinyMCE.switchClassSticky(editor_id+'_delete_col','mceButtonNormal',false);colspan=tinyMCE.getAttrib(tdElm,"colspan");rowspan=tinyMCE.getAttrib(tdElm,"rowspan");colspan=colspan==""?"1":colspan;rowspan=rowspan==""?"1":rowspan;if(colspan!="1"||rowspan!="1")tinyMCE.switchClassSticky(editor_id+'_split_cells','mceButtonNormal',false);}if(tinyMCE.getParentElement(node,"table")){tinyMCE.switchClassSticky(editor_id+'_table','mceButtonSelected');tinyMCE.switchClassSticky(editor_id+'_merge_cells','mceButtonNormal',false);}} \ No newline at end of file diff --git a/webcit/tiny_mce/plugins/table/editor_plugin_src.js b/webcit/tiny_mce/plugins/table/editor_plugin_src.js new file mode 100644 index 000000000..2e6a792dc --- /dev/null +++ b/webcit/tiny_mce/plugins/table/editor_plugin_src.js @@ -0,0 +1,1049 @@ +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('table', 'en,ar,cs,da,de,el,es,fi,fr_ca,hu,it,ja,ko,nl,no,pl,pt,sv,tw,zh_cn,fr,de,he,no'); + +function TinyMCE_table_getInfo() { + return { + longname : 'Tables', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_table.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; +}; + +function TinyMCE_table_initInstance(inst) { + if (tinyMCE.isGecko) { + var doc = inst.getDoc(); + + tinyMCE.addEvent(doc, "mouseup", TinyMCE_table_mouseDownHandler); + + try { + // For future FF versions + doc.execCommand('enableInlineTableEditing', false, false); + } catch (e) { + // Ignore + } + } + + inst.tableRowClipboard = null; +} + +function TinyMCE_table_mouseDownHandler(e) { + var elm = tinyMCE.isMSIE ? event.srcElement : e.target; + var focusElm = tinyMCE.selectedInstance.getFocusElement(); + + // If press on special Mozilla create TD/TR thingie + if (elm.nodeName == "BODY" && (focusElm.nodeName == "TD" || focusElm.nodeName == "TH" || (focusElm.parentNode && focusElm.parentNode.nodeName == "TD") ||(focusElm.parentNode && focusElm.parentNode.nodeName == "TH") )) { + window.setTimeout(function() { + var tableElm = tinyMCE.getParentElement(focusElm, "table"); + tinyMCE.handleVisualAid(tableElm, true, tinyMCE.settings['visual'], tinyMCE.selectedInstance); + }, 10); + } +} + +/** + * Returns the HTML contents of the table control. + */ +function TinyMCE_table_getControlHTML(control_name) { + var controls = new Array( + ['table', 'table.gif', '{$lang_table_desc}', 'mceInsertTable', true], + ['delete_col', 'table_delete_col.gif', '{$lang_table_delete_col_desc}', 'mceTableDeleteCol'], + ['delete_row', 'table_delete_row.gif', '{$lang_table_delete_row_desc}', 'mceTableDeleteRow'], + ['col_after', 'table_insert_col_after.gif', '{$lang_table_col_after_desc}', 'mceTableInsertColAfter'], + ['col_before', 'table_insert_col_before.gif', '{$lang_table_col_before_desc}', 'mceTableInsertColBefore'], + ['row_after', 'table_insert_row_after.gif', '{$lang_table_row_after_desc}', 'mceTableInsertRowAfter'], + ['row_before', 'table_insert_row_before.gif', '{$lang_table_row_before_desc}', 'mceTableInsertRowBefore'], + ['row_props', 'table_row_props.gif', '{$lang_table_row_desc}', 'mceTableRowProps', true], + ['cell_props', 'table_cell_props.gif', '{$lang_table_cell_desc}', 'mceTableCellProps', true], + ['split_cells', 'table_split_cells.gif', '{$lang_table_split_cells_desc}', 'mceTableSplitCells', true], + ['merge_cells', 'table_merge_cells.gif', '{$lang_table_merge_cells_desc}', 'mceTableMergeCells', true]); + + // Render table control + for (var i=0; i'; + else if (but[0] == control_name) + return ''; + } + + // Special tablecontrols + if (control_name == "tablecontrols") { + var html = ""; + + html += tinyMCE.getControlHTML("table"); + html += tinyMCE.getControlHTML("separator"); + html += tinyMCE.getControlHTML("row_props"); + html += tinyMCE.getControlHTML("cell_props"); + html += tinyMCE.getControlHTML("separator"); + html += tinyMCE.getControlHTML("row_before"); + html += tinyMCE.getControlHTML("row_after"); + html += tinyMCE.getControlHTML("delete_row"); + html += tinyMCE.getControlHTML("separator"); + html += tinyMCE.getControlHTML("col_before"); + html += tinyMCE.getControlHTML("col_after"); + html += tinyMCE.getControlHTML("delete_col"); + html += tinyMCE.getControlHTML("separator"); + html += tinyMCE.getControlHTML("split_cells"); + html += tinyMCE.getControlHTML("merge_cells"); + + return html; + } + + return ""; +} + +/** + * Executes the table commands. + */ +function TinyMCE_table_execCommand(editor_id, element, command, user_interface, value) { + // Is table command + switch (command) { + case "mceInsertTable": + case "mceTableRowProps": + case "mceTableCellProps": + case "mceTableSplitCells": + case "mceTableMergeCells": + case "mceTableInsertRowBefore": + case "mceTableInsertRowAfter": + case "mceTableDeleteRow": + case "mceTableInsertColBefore": + case "mceTableInsertColAfter": + case "mceTableDeleteCol": + case "mceTableCutRow": + case "mceTableCopyRow": + case "mceTablePasteRowBefore": + case "mceTablePasteRowAfter": + case "mceTableDelete": + var inst = tinyMCE.getInstanceById(editor_id); + + inst.execCommand('mceBeginUndoLevel'); + TinyMCE_table_doExecCommand(editor_id, element, command, user_interface, value); + inst.execCommand('mceEndUndoLevel'); + + return true; + } + + // Pass to next handler in chain + return false; +} + +/** + * Executes the table commands. + */ +function TinyMCE_table_doExecCommand(editor_id, element, command, user_interface, value) { + var inst = tinyMCE.getInstanceById(editor_id); + var focusElm = inst.getFocusElement(); + var trElm = tinyMCE.getParentElement(focusElm, "tr"); + var tdElm = tinyMCE.getParentElement(focusElm, "td,th"); + var tableElm = tinyMCE.getParentElement(focusElm, "table"); + var doc = inst.contentWindow.document; + var tableBorder = tableElm ? tableElm.getAttribute("border") : ""; + + // Get first TD if no TD found + if (trElm && tdElm == null) + tdElm = trElm.cells[0]; + + // ------- Inner functions --------- + function inArray(ar, v) { + for (var i=0; i 0 && inArray(ar[i], v)) + return true; + + // Found value + if (ar[i] == v) + return true; + } + + return false; + } + + function makeTD() { + var newTD = doc.createElement("td"); + newTD.innerHTML = " "; + } + + function getColRowSpan(td) { + var colspan = tinyMCE.getAttrib(td, "colspan"); + var rowspan = tinyMCE.getAttrib(td, "rowspan"); + + colspan = colspan == "" ? 1 : parseInt(colspan); + rowspan = rowspan == "" ? 1 : parseInt(rowspan); + + return {colspan : colspan, rowspan : rowspan}; + } + + function getCellPos(grid, td) { + for (var y=0; y 1) { // Remove due to colspan + for (var i=x; i 1) + td.rowSpan = sd.rowspan + 1; + + lastElm = td; + } + + deleteMarked(tableElm); + } + } + + function prevElm(node, name) { + while ((node = node.previousSibling) != null) { + if (node.nodeName == name) + return node; + } + + return null; + } + + function nextElm(node, names) { + + var namesAr = names.split(','); + + while ((node = node.nextSibling) != null) { + for (var i=0; i 1) { + do { + var nexttd = nextElm(td, "TD,TH"); + + if (td._delete) + td.parentNode.removeChild(td); + } while ((td = nexttd) != null); + } + } while ((tr = next) != null); + } + + function addRows(td_elm, tr_elm, rowspan) { + // Add rows + td_elm.rowSpan = 1; + var trNext = nextElm(tr_elm, "TR"); + for (var i=1; i 1) { + var newTD = cells[x].cloneNode(true); + var sd = getColRowSpan(cells[x]); + + newTD.rowSpan = sd.rowspan - 1; + + var nextTD = nextTR.cells[x]; + + if (nextTD == null) + nextTR.appendChild(newTD); + else + nextTR.insertBefore(newTD, nextTD); + } + } + + // Delete cells + var lastTDElm = null; + for (var x=0; tdElm = getCell(grid, cpos.rowindex, x); x++) { + if (tdElm != lastTDElm) { + var sd = getColRowSpan(tdElm); + + if (sd.rowspan > 1) { + tdElm.rowSpan = sd.rowspan - 1; + } else { + trElm = tdElm.parentNode; + + if (trElm.parentNode) + trElm._delete = true; + } + + lastTDElm = tdElm; + } + } + + deleteMarked(tableElm); + + cpos.rowindex--; + if (cpos.rowindex < 0) + cpos.rowindex = 0; + + inst.selectNode(getCell(grid, cpos.rowindex, 0), true, true); + break; + + case "mceTableInsertColBefore": + if (!trElm || !tdElm) + return true; + + var grid = getTableGrid(tableElm); + var cpos = getCellPos(grid, tdElm); + var lastTDElm = null; + + for (var y=0; tdElm = getCell(grid, y, cpos.cellindex); y++) { + if (tdElm != lastTDElm) { + var sd = getColRowSpan(tdElm); + + if (sd['colspan'] == 1) { + var newTD = doc.createElement("td"); + + newTD.innerHTML = " "; + newTD.rowSpan = tdElm.rowSpan; + + tdElm.parentNode.insertBefore(newTD, tdElm); + } else + tdElm.colSpan++; + + lastTDElm = tdElm; + } + } + break; + + case "mceTableInsertColAfter": + if (!trElm || !tdElm) + return true; + + var grid = getTableGrid(tableElm); + var cpos = getCellPos(grid, tdElm); + var lastTDElm = null; + + for (var y=0; tdElm = getCell(grid, y, cpos.cellindex); y++) { + if (tdElm != lastTDElm) { + var sd = getColRowSpan(tdElm); + + if (sd['colspan'] == 1) { + var newTD = doc.createElement("td"); + + newTD.innerHTML = " "; + newTD.rowSpan = tdElm.rowSpan; + + var nextTD = nextElm(tdElm, "TD"); + if (nextTD == null) + tdElm.parentNode.appendChild(newTD); + else + nextTD.parentNode.insertBefore(newTD, nextTD); + } else + tdElm.colSpan++; + + lastTDElm = tdElm; + } + } + break; + + case "mceTableDeleteCol": + if (!trElm || !tdElm) + return true; + + var grid = getTableGrid(tableElm); + var cpos = getCellPos(grid, tdElm); + var lastTDElm = null; + + // Only one col, remove whole table + if (grid.length > 1 && grid[0].length <= 1) { + tableElm.parentNode.removeChild(tableElm); + return true; + } + + // Delete cells + for (var y=0; tdElm = getCell(grid, y, cpos.cellindex); y++) { + if (tdElm != lastTDElm) { + var sd = getColRowSpan(tdElm); + + if (sd['colspan'] > 1) + tdElm.colSpan = sd['colspan'] - 1; + else { + if (tdElm.parentNode) + tdElm.parentNode.removeChild(tdElm); + } + + lastTDElm = tdElm; + } + } + + cpos.cellindex--; + if (cpos.cellindex < 0) + cpos.cellindex = 0; + + inst.selectNode(getCell(grid, 0, cpos.cellindex), true, true); + break; + + case "mceTableSplitCells": + if (!trElm || !tdElm) + return true; + + var spandata = getColRowSpan(tdElm); + + var colspan = spandata["colspan"]; + var rowspan = spandata["rowspan"]; + + // Needs splitting + if (colspan > 1 || rowspan > 1) { + // Generate cols + tdElm.colSpan = 1; + for (var i=1; i 1) + addRows(newTD, trElm, rowspan); + } + + addRows(tdElm, trElm, rowspan); + } + + // Apply visual aids + tableElm = tinyMCE.getParentElement(inst.getFocusElement(), "table"); + break; + + case "mceTableMergeCells": + var rows = new Array(); + var sel = inst.getSel(); + var grid = getTableGrid(tableElm); + + if (tinyMCE.isMSIE || sel.rangeCount == 1) { + if (user_interface) { + // Setup template + var template = new Array(); + var sp = getColRowSpan(tdElm); + + template['file'] = '../../plugins/table/merge_cells.htm'; + template['width'] = 250; + template['height'] = 105; + + // Language specific width and height addons + template['width'] += tinyMCE.getLang('lang_table_merge_cells_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_table_merge_cells_delta_height', 0); + + // Open window + tinyMCE.openWindow(template, {editor_id : inst.editorId, inline : "yes", action : "update", numcols : sp.colspan, numrows : sp.rowspan}); + + return true; + } else { + var numRows = parseInt(value['numrows']); + var numCols = parseInt(value['numcols']); + var cpos = getCellPos(grid, tdElm); + + if (("" + numRows) == "NaN") + numRows = 1; + + if (("" + numCols) == "NaN") + numCols = 1; + + // Get rows and cells + var tRows = tableElm.rows; + for (var y=cpos.rowindex; y 0) + rows[rows.length] = rowCells; + } + + //return true; + } + } else { + var cells = new Array(); + var sel = inst.getSel(); + var lastTR = null; + var curRow = null; + var x1 = -1, y1 = -1, x2, y2; + + // Only one cell selected, whats the point? + if (sel.rangeCount < 2) + return true; + + // Get all selected cells + for (var i=0; i 0) + rows[rows.length] = rowCells; + } + + // Find selected cells in grid and box + var curRow = new Array(); + var lastTR = null; + for (var y=0; y colSpan) + colSpan = rowColSpan; + + lastRowSpan = -1; + } + + // Validate vertical and get total rowspan + var lastColSpan = -1; + for (var x=0; x rowSpan) + rowSpan = colRowSpan; + + lastColSpan = -1; + } + + // Setup td + tdElm = rows[0][0]; + tdElm.rowSpan = rowSpan; + tdElm.colSpan = colSpan; + + // Merge cells + for (var y=0; y 0)) + tdElm.innerHTML += html; + + // Not current cell + if (rows[y][x] != tdElm && !rows[y][x]._deleted) { + var cpos = getCellPos(grid, rows[y][x]); + var tr = rows[y][x].parentNode; + + tr.removeChild(rows[y][x]); + rows[y][x]._deleted = true; + + // Empty TR, remove it + if (!tr.hasChildNodes()) { + tr.parentNode.removeChild(tr); + + var lastCell = null; + for (var x=0; cellElm = getCell(grid, cpos.rowindex, x); x++) { + if (cellElm != lastCell && cellElm.rowSpan > 1) + cellElm.rowSpan--; + + lastCell = cellElm; + } + + if (tdElm.rowSpan > 1) + tdElm.rowSpan--; + } + } + } + } + + break; + } + + tableElm = tinyMCE.getParentElement(inst.getFocusElement(), "table"); + tinyMCE.handleVisualAid(tableElm, true, tinyMCE.settings['visual'], tinyMCE.selectedInstance); + tinyMCE.triggerNodeChange(); + inst.repaint(); + } + + return true; + } + + // Pass to next handler in chain + return false; +} + +function TinyMCE_table_handleNodeChange(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) { + var colspan = "1", rowspan = "1"; + + var inst = tinyMCE.getInstanceById(editor_id); + + // Reset table controls + tinyMCE.switchClassSticky(editor_id + '_table', 'mceButtonNormal'); + tinyMCE.switchClassSticky(editor_id + '_row_props', 'mceButtonDisabled', true); + tinyMCE.switchClassSticky(editor_id + '_cell_props', 'mceButtonDisabled', true); + tinyMCE.switchClassSticky(editor_id + '_row_before', 'mceButtonDisabled', true); + tinyMCE.switchClassSticky(editor_id + '_row_after', 'mceButtonDisabled', true); + tinyMCE.switchClassSticky(editor_id + '_delete_row', 'mceButtonDisabled', true); + tinyMCE.switchClassSticky(editor_id + '_col_before', 'mceButtonDisabled', true); + tinyMCE.switchClassSticky(editor_id + '_col_after', 'mceButtonDisabled', true); + tinyMCE.switchClassSticky(editor_id + '_delete_col', 'mceButtonDisabled', true); + tinyMCE.switchClassSticky(editor_id + '_split_cells', 'mceButtonDisabled', true); + tinyMCE.switchClassSticky(editor_id + '_merge_cells', 'mceButtonDisabled', true); + + // Within a tr element + if (tinyMCE.getParentElement(node, "tr")) + tinyMCE.switchClassSticky(editor_id + '_row_props', 'mceButtonSelected', false); + + // Within a td element + if (tdElm = tinyMCE.getParentElement(node, "td,th")) { + tinyMCE.switchClassSticky(editor_id + '_cell_props', 'mceButtonSelected', false); + tinyMCE.switchClassSticky(editor_id + '_row_before', 'mceButtonNormal', false); + tinyMCE.switchClassSticky(editor_id + '_row_after', 'mceButtonNormal', false); + tinyMCE.switchClassSticky(editor_id + '_delete_row', 'mceButtonNormal', false); + tinyMCE.switchClassSticky(editor_id + '_col_before', 'mceButtonNormal', false); + tinyMCE.switchClassSticky(editor_id + '_col_after', 'mceButtonNormal', false); + tinyMCE.switchClassSticky(editor_id + '_delete_col', 'mceButtonNormal', false); + + colspan = tinyMCE.getAttrib(tdElm, "colspan"); + rowspan = tinyMCE.getAttrib(tdElm, "rowspan"); + + colspan = colspan == "" ? "1" : colspan; + rowspan = rowspan == "" ? "1" : rowspan; + + if (colspan != "1" || rowspan != "1") + tinyMCE.switchClassSticky(editor_id + '_split_cells', 'mceButtonNormal', false); + } + + // Within table + if (tinyMCE.getParentElement(node, "table")) { + tinyMCE.switchClassSticky(editor_id + '_table', 'mceButtonSelected'); + tinyMCE.switchClassSticky(editor_id + '_merge_cells', 'mceButtonNormal', false); + } +} diff --git a/webcit/tiny_mce/plugins/table/images/CVS/Entries b/webcit/tiny_mce/plugins/table/images/CVS/Entries new file mode 100644 index 000000000..eec04cb43 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/images/CVS/Entries @@ -0,0 +1,14 @@ +/buttons.gif/1.1/Tue Aug 30 18:35:56 2005// +/table.gif/1.1/Tue Aug 30 18:35:56 2005// +/table_cell_props.gif/1.1/Tue Aug 30 18:35:56 2005// +/table_delete.gif/1.1/Wed Sep 7 09:39:18 2005// +/table_delete_col.gif/1.1/Tue Aug 30 18:35:56 2005// +/table_delete_row.gif/1.1/Tue Aug 30 18:35:56 2005// +/table_insert_col_after.gif/1.1/Tue Aug 30 18:35:56 2005// +/table_insert_col_before.gif/1.1/Tue Aug 30 18:35:56 2005// +/table_insert_row_after.gif/1.1/Tue Aug 30 18:35:56 2005// +/table_insert_row_before.gif/1.1/Tue Aug 30 18:35:56 2005// +/table_merge_cells.gif/1.1/Tue Aug 30 18:35:56 2005// +/table_row_props.gif/1.1/Tue Aug 30 18:35:56 2005// +/table_split_cells.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/plugins/table/images/CVS/Repository b/webcit/tiny_mce/plugins/table/images/CVS/Repository new file mode 100644 index 000000000..a9ab94dd8 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/table/images diff --git a/webcit/tiny_mce/plugins/table/images/CVS/Root b/webcit/tiny_mce/plugins/table/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/table/images/buttons.gif b/webcit/tiny_mce/plugins/table/images/buttons.gif new file mode 100644 index 000000000..bfc1568be Binary files /dev/null and b/webcit/tiny_mce/plugins/table/images/buttons.gif differ diff --git a/webcit/tiny_mce/plugins/table/images/table.gif b/webcit/tiny_mce/plugins/table/images/table.gif new file mode 100644 index 000000000..2911830c3 Binary files /dev/null and b/webcit/tiny_mce/plugins/table/images/table.gif differ diff --git a/webcit/tiny_mce/plugins/table/images/table_cell_props.gif b/webcit/tiny_mce/plugins/table/images/table_cell_props.gif new file mode 100644 index 000000000..bee7ed652 Binary files /dev/null and b/webcit/tiny_mce/plugins/table/images/table_cell_props.gif differ diff --git a/webcit/tiny_mce/plugins/table/images/table_delete.gif b/webcit/tiny_mce/plugins/table/images/table_delete.gif new file mode 100644 index 000000000..2a00e6ad6 Binary files /dev/null and b/webcit/tiny_mce/plugins/table/images/table_delete.gif differ diff --git a/webcit/tiny_mce/plugins/table/images/table_delete_col.gif b/webcit/tiny_mce/plugins/table/images/table_delete_col.gif new file mode 100644 index 000000000..91f53af02 Binary files /dev/null and b/webcit/tiny_mce/plugins/table/images/table_delete_col.gif differ diff --git a/webcit/tiny_mce/plugins/table/images/table_delete_row.gif b/webcit/tiny_mce/plugins/table/images/table_delete_row.gif new file mode 100644 index 000000000..7025733fe Binary files /dev/null and b/webcit/tiny_mce/plugins/table/images/table_delete_row.gif differ diff --git a/webcit/tiny_mce/plugins/table/images/table_insert_col_after.gif b/webcit/tiny_mce/plugins/table/images/table_insert_col_after.gif new file mode 100644 index 000000000..85058080c Binary files /dev/null and b/webcit/tiny_mce/plugins/table/images/table_insert_col_after.gif differ diff --git a/webcit/tiny_mce/plugins/table/images/table_insert_col_before.gif b/webcit/tiny_mce/plugins/table/images/table_insert_col_before.gif new file mode 100644 index 000000000..b669d4fa6 Binary files /dev/null and b/webcit/tiny_mce/plugins/table/images/table_insert_col_before.gif differ diff --git a/webcit/tiny_mce/plugins/table/images/table_insert_row_after.gif b/webcit/tiny_mce/plugins/table/images/table_insert_row_after.gif new file mode 100644 index 000000000..b9c144661 Binary files /dev/null and b/webcit/tiny_mce/plugins/table/images/table_insert_row_after.gif differ diff --git a/webcit/tiny_mce/plugins/table/images/table_insert_row_before.gif b/webcit/tiny_mce/plugins/table/images/table_insert_row_before.gif new file mode 100644 index 000000000..157d37365 Binary files /dev/null and b/webcit/tiny_mce/plugins/table/images/table_insert_row_before.gif differ diff --git a/webcit/tiny_mce/plugins/table/images/table_merge_cells.gif b/webcit/tiny_mce/plugins/table/images/table_merge_cells.gif new file mode 100644 index 000000000..6834e611e Binary files /dev/null and b/webcit/tiny_mce/plugins/table/images/table_merge_cells.gif differ diff --git a/webcit/tiny_mce/plugins/table/images/table_row_props.gif b/webcit/tiny_mce/plugins/table/images/table_row_props.gif new file mode 100644 index 000000000..e5c7cc37a Binary files /dev/null and b/webcit/tiny_mce/plugins/table/images/table_row_props.gif differ diff --git a/webcit/tiny_mce/plugins/table/images/table_split_cells.gif b/webcit/tiny_mce/plugins/table/images/table_split_cells.gif new file mode 100644 index 000000000..8ccb1b5f8 Binary files /dev/null and b/webcit/tiny_mce/plugins/table/images/table_split_cells.gif differ diff --git a/webcit/tiny_mce/plugins/table/jscripts/CVS/Entries b/webcit/tiny_mce/plugins/table/jscripts/CVS/Entries new file mode 100644 index 000000000..6be825f8d --- /dev/null +++ b/webcit/tiny_mce/plugins/table/jscripts/CVS/Entries @@ -0,0 +1,5 @@ +/merge_cells.js/1.1/Sun Sep 11 12:53:00 2005// +/cell.js/1.2/Wed Sep 28 03:47:28 2005// +/row.js/1.2/Wed Sep 28 03:47:28 2005// +/table.js/1.2/Wed Sep 28 03:47:28 2005// +D diff --git a/webcit/tiny_mce/plugins/table/jscripts/CVS/Repository b/webcit/tiny_mce/plugins/table/jscripts/CVS/Repository new file mode 100644 index 000000000..dde3cccbd --- /dev/null +++ b/webcit/tiny_mce/plugins/table/jscripts/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/table/jscripts diff --git a/webcit/tiny_mce/plugins/table/jscripts/CVS/Root b/webcit/tiny_mce/plugins/table/jscripts/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/jscripts/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/table/jscripts/cell.js b/webcit/tiny_mce/plugins/table/jscripts/cell.js new file mode 100644 index 000000000..1dfa9176e --- /dev/null +++ b/webcit/tiny_mce/plugins/table/jscripts/cell.js @@ -0,0 +1,240 @@ +function init() { + tinyMCEPopup.resizeToInnerSize(); + + var inst = tinyMCE.selectedInstance; + var tdElm = tinyMCE.getParentElement(inst.getFocusElement(), "td,th"); + var formObj = document.forms[0]; + var st = tinyMCE.parseStyle(tdElm.style.cssText); + + // Get table cell data + var celltype = tdElm.nodeName.toLowerCase(); + var align = tinyMCE.getAttrib(tdElm, 'align'); + var valign = tinyMCE.getAttrib(tdElm, 'valign'); + var width = trimSize(getStyle(tdElm, 'width', 'width')); + var height = trimSize(getStyle(tdElm, 'height', 'height')); + var bordercolor = convertRGBToHex(getStyle(tdElm, 'bordercolor', 'borderLeftColor')); + var bgcolor = convertRGBToHex(getStyle(tdElm, 'bgcolor', 'backgroundColor')); + var className = tinyMCE.getVisualAidClass(tinyMCE.getAttrib(tdElm, 'class'), false); + var backgroundimage = getStyle(tdElm, 'background', 'backgroundImage').replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1");; + var id = tinyMCE.getAttrib(tdElm, 'id'); + var lang = tinyMCE.getAttrib(tdElm, 'lang'); + var dir = tinyMCE.getAttrib(tdElm, 'dir'); + var scope = tinyMCE.getAttrib(tdElm, 'scope'); + + // Setup form + addClassesToList('class', 'table_cell_styles'); + formObj.bordercolor.value = bordercolor; + formObj.bgcolor.value = bgcolor; + formObj.backgroundimage.value = backgroundimage; + formObj.width.value = width; + formObj.height.value = height; + formObj.id.value = id; + formObj.lang.value = lang; + formObj.style.value = tinyMCE.serializeStyle(st); + selectByValue(formObj, 'align', align); + selectByValue(formObj, 'valign', valign); + selectByValue(formObj, 'class', className); + selectByValue(formObj, 'celltype', celltype); + selectByValue(formObj, 'dir', dir); + selectByValue(formObj, 'scope', scope); + + // Resize some elements + if (isVisible('backgroundimagebrowser')) + document.getElementById('backgroundimage').style.width = '180px'; + + updateColor('bordercolor_pick', 'bordercolor'); + updateColor('bgcolor_pick', 'bgcolor'); +} + +function updateAction() { + var inst = tinyMCE.selectedInstance; + var tdElm = tinyMCE.getParentElement(inst.getFocusElement(), "td,th"); + var trElm = tinyMCE.getParentElement(inst.getFocusElement(), "tr"); + var tableElm = tinyMCE.getParentElement(inst.getFocusElement(), "table"); + var formObj = document.forms[0]; + + inst.execCommand('mceBeginUndoLevel'); + + switch (getSelectValue(formObj, 'action')) { + case "cell": + var celltype = getSelectValue(formObj, 'celltype'); + var scope = getSelectValue(formObj, 'scope'); + + if (tinyMCE.getParam("accessibility_warnings")) { + if (celltype == "th" && scope == "") + var answer = confirm(tinyMCE.getLang('lang_table_missing_scope', '', true)); + else + var answer = true; + + if (!answer) + return; + } + + updateCell(tdElm); + break; + + case "row": + var cell = trElm.firstChild; + + do { + cell = updateCell(cell, true); + } while ((cell = nextCell(cell))); + + break; + + case "all": + var rows = tableElm.getElementsByTagName("tr"); + + for (var i=0; i/g, '&gr;'); + + return ' ' + attrib + '="' + value + '"'; +} + +function init() { + tinyMCEPopup.resizeToInnerSize(); + + var cols = 2, rows = 2, border = 0, cellpadding = "", cellspacing = ""; + var align = "", width = "", height = "", bordercolor = "", bgcolor = "", className = ""; + var id = "", summary = "", style = "", dir = "", lang = "", background = "", bgcolor = "", bordercolor = ""; + var inst = tinyMCE.selectedInstance; + var formObj = document.forms[0]; + var elm = tinyMCE.getParentElement(inst.getFocusElement(), "table"); + + tinyMCE.tableElm = elm; + action = tinyMCE.getWindowArg('action'); + if (action == null) + action = tinyMCE.tableElm ? "update" : "insert"; + + if (tinyMCE.tableElm && action != "insert") { + var rowsAr = tinyMCE.tableElm.rows; + var cols = 0; + for (var i=0; i cols) + cols = rowsAr[i].cells.length; + + cols = cols; + rows = rowsAr.length; + + st = tinyMCE.parseStyle(tinyMCE.tableElm.style.cssText); + border = trimSize(getStyle(elm, 'border', 'borderWidth')); + cellpadding = tinyMCE.getAttrib(tinyMCE.tableElm, 'cellpadding', ""); + cellspacing = tinyMCE.getAttrib(tinyMCE.tableElm, 'cellspacing', ""); + width = trimSize(getStyle(elm, 'width', 'width')); + height = trimSize(getStyle(elm, 'height', 'height')); + bordercolor = convertRGBToHex(getStyle(elm, 'bordercolor', 'borderLeftColor')); + bgcolor = convertRGBToHex(getStyle(elm, 'bgcolor', 'backgroundColor')); + align = tinyMCE.getAttrib(tinyMCE.tableElm, 'align', align); + className = tinyMCE.getVisualAidClass(tinyMCE.getAttrib(tinyMCE.tableElm, 'class'), false); + id = tinyMCE.getAttrib(tinyMCE.tableElm, 'id'); + summary = tinyMCE.getAttrib(tinyMCE.tableElm, 'summary'); + style = tinyMCE.serializeStyle(st); + dir = tinyMCE.getAttrib(tinyMCE.tableElm, 'dir'); + lang = tinyMCE.getAttrib(tinyMCE.tableElm, 'lang'); + background = getStyle(elm, 'background', 'backgroundImage').replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1"); + + action = "update"; + } + + addClassesToList('class', "table_styles"); + + // Update form + selectByValue(formObj, 'align', align); + selectByValue(formObj, 'class', className); + formObj.cols.value = cols; + formObj.rows.value = rows; + formObj.border.value = border; + formObj.cellpadding.value = cellpadding; + formObj.cellspacing.value = cellspacing; + formObj.width.value = width; + formObj.height.value = height; + formObj.bordercolor.value = bordercolor; + formObj.bgcolor.value = bgcolor; + formObj.id.value = id; + formObj.summary.value = summary; + formObj.style.value = style; + formObj.dir.value = dir; + formObj.lang.value = lang; + formObj.backgroundimage.value = background; + formObj.insert.value = tinyMCE.getLang('lang_' + action, 'Insert', true); + + updateColor('bordercolor_pick', 'bordercolor'); + updateColor('bgcolor_pick', 'bgcolor'); + + // Resize some elements + if (isVisible('backgroundimagebrowser')) + document.getElementById('backgroundimage').style.width = '180px'; + + // Disable some fields in update mode + if (action == "update") { + formObj.cols.disabled = true; + formObj.rows.disabled = true; + } +} + +function changedSize() { + var formObj = document.forms[0]; + var st = tinyMCE.parseStyle(formObj.style.value); + + var width = formObj.width.value; + if (width != "") + st['width'] = tinyMCE.getParam("inline_styles") ? getCSSSize(width) : ""; + else + st['width'] = ""; + + var height = formObj.height.value; + if (height != "") + st['height'] = getCSSSize(height); + else + st['height'] = ""; + + formObj.style.value = tinyMCE.serializeStyle(st); +} + +function changedBackgroundImage() { + var formObj = document.forms[0]; + var st = tinyMCE.parseStyle(formObj.style.value); + + st['background-image'] = "url('" + formObj.backgroundimage.value + "')"; + + formObj.style.value = tinyMCE.serializeStyle(st); +} + +function changedColor() { + var formObj = document.forms[0]; + var st = tinyMCE.parseStyle(formObj.style.value); + + st['background-color'] = formObj.bgcolor.value; + st['border-color'] = formObj.bordercolor.value; + + formObj.style.value = tinyMCE.serializeStyle(st); +} + +function changedStyle() { + var formObj = document.forms[0]; + var st = tinyMCE.parseStyle(formObj.style.value); + + if (st['background-image']) + formObj.backgroundimage.value = st['background-image'].replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1"); + else + formObj.backgroundimage.value = ''; + + if (st['width']) + formObj.width.value = trimSize(st['width']); + + if (st['height']) + formObj.height.value = trimSize(st['height']); + + if (st['background-color']) { + formObj.bgcolor.value = st['background-color']; + updateColor('bgcolor_pick','bgcolor'); + } + + if (st['border-color']) { + formObj.bordercolor.value = st['border-color']; + updateColor('bordercolor_pick','bordercolor'); + } +} diff --git a/webcit/tiny_mce/plugins/table/langs/CVS/Entries b/webcit/tiny_mce/plugins/table/langs/CVS/Entries new file mode 100644 index 000000000..465cb364e --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/CVS/Entries @@ -0,0 +1,25 @@ +/ar.js/1.1/Tue Aug 30 18:35:56 2005// +/el.js/1.1/Sun Sep 11 12:53:00 2005// +/es.js/1.1/Tue Aug 30 18:35:56 2005// +/fa.js/1.1/Tue Aug 30 18:35:56 2005// +/fi.js/1.1/Sun Sep 11 12:53:00 2005// +/fr.js/1.1/Tue Aug 30 18:35:56 2005// +/fr_ca.js/1.1/Tue Aug 30 18:35:56 2005// +/it.js/1.1/Tue Aug 30 18:35:56 2005// +/ja.js/1.1/Tue Aug 30 18:35:56 2005// +/ko.js/1.1/Sun Sep 11 12:53:00 2005// +/nl.js/1.1/Tue Aug 30 18:35:56 2005// +/pl.js/1.1/Tue Aug 30 18:35:56 2005// +/pt.js/1.1/Tue Aug 30 18:35:56 2005// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// +/tw.js/1.1/Sun Sep 11 12:53:00 2005// +/zh_cn.js/1.1/Sun Sep 11 12:53:00 2005// +/cs.js/1.2/Wed Sep 28 03:47:28 2005// +/da.js/1.2/Wed Sep 28 03:47:28 2005// +/de.js/1.2/Wed Sep 28 03:47:28 2005// +/en.js/1.2/Wed Sep 28 03:47:28 2005// +/he.js/1.2/Wed Sep 28 03:47:28 2005// +/hu.js/1.2/Wed Sep 28 03:47:28 2005// +/no.js/1.2/Wed Sep 28 03:47:28 2005// +/sv.js/1.2/Wed Sep 28 03:47:28 2005// +D diff --git a/webcit/tiny_mce/plugins/table/langs/CVS/Repository b/webcit/tiny_mce/plugins/table/langs/CVS/Repository new file mode 100644 index 000000000..d86a42af4 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/table/langs diff --git a/webcit/tiny_mce/plugins/table/langs/CVS/Root b/webcit/tiny_mce/plugins/table/langs/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/table/langs/ar.js b/webcit/tiny_mce/plugins/table/langs/ar.js new file mode 100644 index 000000000..478ece66f --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/ar.js @@ -0,0 +1,43 @@ +// Arabic lang variables + +tinyMCE.addToLang('',{ +table_desc : 'إدراج/تحرير جدول', +table_insert_row_before_desc : 'Insert row before', +table_insert_row_after_desc : 'Insert row after', +table_delete_row_desc : 'حذف صفوف', +table_insert_col_before_desc : 'Insert column before', +table_insert_col_after_desc : 'Insert column after', +table_delete_col_desc : 'حذف أعمدة', +insert_table_title : 'إدراج/تحرير جدول', +insert_table_width : 'العرض', +insert_table_height : 'الارتفاع', +insert_table_cols : 'أعمدة', +insert_table_rows : 'صفوف', +insert_table_cellspacing : 'تباعد الخلايا', +insert_table_cellpadding : 'المسافة البادئة', +insert_table_border : 'سمك الحدود', +insert_table_align : 'المحاذاة', +insert_table_align_default : 'Default', +insert_table_align_left : 'يسار', +insert_table_align_right : 'يمين', +insert_table_align_middle : 'وسط', +insert_table_class : 'Class', +table_row_title : 'Table row properties', +table_cell_title : 'Table cell properties', +table_row_desc : 'Table row properties', +table_cell_desc : 'Table cell properties', +insert_table_valign : 'Vertical alignment', +insert_table_align_top : 'Top', +insert_table_align_bottom : 'Bottom', +table_props_desc : 'Table properties', +table_bordercolor : 'Border color', +table_bgcolor : 'Bg color', +table_merge_cells_title : 'Merge table cells', +table_split_cells_desc : 'Split table cells', +table_merge_cells_desc : 'Merge table cells', +table_cut_row_desc : 'Cut table row', +table_copy_row_desc : 'Copy table row', +table_paste_row_before_desc : 'Paste table row before', +table_paste_row_after_desc : 'Paste table row after', +table_insert_desc : 'Insert a new table' +}); diff --git a/webcit/tiny_mce/plugins/table/langs/cs.js b/webcit/tiny_mce/plugins/table/langs/cs.js new file mode 100644 index 000000000..cb25fa895 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/cs.js @@ -0,0 +1,49 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.2 2005/09/26 18:00:52 ajc Exp $ + */ + +tinyMCE.addToLang('',{ +table_desc : 'Vložit novou tabulku', +table_insert_row_before_desc : 'Vložit řádek před', +table_insert_row_after_desc : 'Vložit řádek po', +table_delete_row_desc : 'Smazat řádek', +table_insert_col_before_desc : 'Vložit sloupec před', +table_insert_col_after_desc : 'Vložit sloupec po', +table_delete_col_desc : 'Odstranit sloupec', +insert_table_title : 'Vložit/upravit tabulku', +insert_table_width : 'Šířka', +insert_table_height : 'Výška', +insert_table_cols : 'Sloupce', +insert_table_rows : 'Řádky', +insert_table_cellspacing : 'Vnější okraj buněk', +insert_table_cellpadding : 'Vnitřní okraj buněk', +insert_table_border : 'Rámeček', +insert_table_align : 'Zarovnání', +insert_table_align_default : 'Výchozí', +insert_table_align_left : 'Vlevo', +insert_table_align_right : 'Vpravo', +insert_table_align_middle : 'Na střed', +insert_table_class : 'Třída', +table_row_title : 'Vlastnosti řádku', +table_cell_title : 'Vlastnosti buňky', +table_row_desc : 'Vlastnosti řádku', +table_cell_desc : 'Vlastnosti řádku', +insert_table_valign : 'Vertikální zarovnání', +insert_table_align_top : 'Nahoru', +insert_table_align_bottom : 'Dolů', +table_props_desc : 'Vlastnosti tabulky', +table_bordercolor : 'Barva rámečku', +table_bgcolor : 'Barva pozadí', +table_merge_cells_title : 'Sloučit buňky', +table_split_cells_desc : 'Rozdělit buňky', +table_merge_cells_desc : 'Sloučit buňky', +table_cut_row_desc : 'Vyjmout řádek', +table_copy_row_desc : 'Kopírovat řádek', +table_paste_row_before_desc : 'Vložit řádek před', +table_paste_row_after_desc : 'Vložit řádek za', +table_insert_desc : 'Vložit tabulku' +}); + diff --git a/webcit/tiny_mce/plugins/table/langs/da.js b/webcit/tiny_mce/plugins/table/langs/da.js new file mode 100644 index 000000000..fc60372ce --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/da.js @@ -0,0 +1,75 @@ +// DK lang variables contributed by Jan Moelgaard + +tinyMCE.addToLang('table',{ +general_tab : 'Generelt', +advanced_tab : 'Avanceret', +general_props : 'Generelle egenskaber', +advanced_props : 'Avancerede egenskaber', +desc : 'Indsætter ny tabel', +row_before_desc : 'Indsæt række foran', +row_after_desc : 'Indsæt række efter', +delete_row_desc : 'Slet række', +col_before_desc : 'Indsæt kolonne foran', +col_after_desc : 'Indsæt kolonner efter', +delete_col_desc : 'Fjern kolonne', +rowtype : 'Række i tabeldelen', +title : 'Indsæt eller rediger tabel', +width : 'Bredde', +height : 'Højde', +cols : 'Kolonner', +rows : 'Rækker', +cellspacing : 'Cellemargin', +cellpadding : 'Indvendig margin', +border : 'Kant', +align : 'Justering', +align_default : 'Standard', +align_left : 'Venstre', +align_right : 'Højre', +align_middle : 'Centreret', +row_title : 'Rækkeegenskaber', +cell_title : 'Celleegenskaber', +cell_type : 'Celletype', +row_desc : 'Rækkeegenskaber', +cell_desc : 'Celleegenskaber', +valign : 'Vertikal justering', +align_top : 'Top', +align_bottom : 'Bund', +props_desc : 'Tabelegenskaber', +bordercolor : 'Kantfarve', +bgcolor : 'Baaggrundfarve', +merge_cells_title : 'Flet celler', +split_cells_desc : 'Del celler', +merge_cells_desc : 'Flet celler', +cut_row_desc : 'Del kolonne', +copy_row_desc : 'Kopier kolonne', +paste_row_before_desc : 'Indsæt kolonne foran', +paste_row_after_desc : 'Indsæt kolonne efter', +id : 'Tabel-Id', +style: 'Style', +langdir : 'Tekstretning', +langcode : 'Sprogkode', +mime : 'Target MIME type', +ltr : 'Venstre til højre', +rtl : 'Højre til venstre', +bgimage : 'Baggrundbillede', +summary : 'Opsummering', +td : "Data", +th : "Overskrift", +cell_cell : 'Opdater aktuel celle', +cell_row : 'Opdater alle celler i kolonnen', +cell_all : 'Opdater alle celler i tabellen', +row_row : 'Opdater aktuel kolonne', +row_odd : 'Opdater ulige kolonner i tabellen', +row_even : 'Opdater lige kolonner i tabellen', +row_all : 'Opdater alle kolonner i tabellen', +thead : 'Tabeloverskrift', +tbody : 'Tabelindhold', +tfoot : 'Tabelfodnote', +del : 'Slet tabel', +scope : 'Scope', +row : 'Row', +col : 'Col', +rowgroup : 'Row Group', +colgroup : 'Col Group', +missing_scope: 'Are you sure you want to continue without specifying a scope for this table header cell. Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.' +}); diff --git a/webcit/tiny_mce/plugins/table/langs/de.js b/webcit/tiny_mce/plugins/table/langs/de.js new file mode 100644 index 000000000..5465f4a24 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/de.js @@ -0,0 +1,76 @@ +// DE lang variables + +tinyMCE.addToLang('table',{ +general_tab : 'Allgemein', +advanced_tab : 'Erweitert', +general_props : 'Allgemeine Eigenschaften', +advanced_props : 'Erweiterte Eigenschaften', +desc : 'Neue Tabelle einfügen', +row_before_desc : 'Zeile oberhalb einfügen', +row_after_desc : 'Zeile unterhalb einfügen', +delete_row_desc : 'Zeile löschen', +col_before_desc : 'Spalte nach links einfügen', +col_after_desc : 'Spalte nach rechts einfügen', +delete_col_desc : 'Spalte löschen', +rowtype : 'Zeile in Tabellen-Teil', +title : 'Tabelle hinzufügen/bearbeiten', +width : 'Breite', +height : 'Höhe', +cols : 'Spalten', +rows : 'Zeilen', +cellspacing : 'Zellenabstand', +cellpadding : 'Zellenauffüllung', +border : 'Rahmen', +align : 'Ausrichtung', +align_default : 'Standard', +align_left : 'Links', +align_right : 'Rechts', +align_middle : 'Zentriert', +row_title : 'Zeileneigenschaften', +cell_title : 'Zelleneigenschaften', +cell_type : 'Zellentyp', +row_desc : 'Zeileneigenschaften', +cell_desc : 'Zelleneigenschaften', +valign : 'Vertikale Ausrichtung', +align_top : 'Oben', +align_bottom : 'Unten', +props_desc : 'Tabelleneigenschaften', +bordercolor : 'Rahmenfarbe', +bgcolor : 'Hintergrundfarbe', +merge_cells_title : 'Zellen zusammenfügen', +split_cells_desc : 'Zelle teilen', +merge_cells_desc : 'Zellen zusammenfügen', +cut_row_desc : 'Zeile ausschneiden', +copy_row_desc : 'Zeile kopieren', +paste_row_before_desc : 'Zeile oberhalb einfügen', +paste_row_after_desc : 'Zeile unterhalb einfügen', +id : 'ID', +style: 'CSS-Stil', +langdir : 'Sprachrichtung', +langcode : 'Sprachcode', +mime : 'MIME-Typ', +ltr : 'Von links nach rechts', +rtl : 'Von rechts nach links', +bgimage : 'Hintergrundfarbe', +summary : 'Zusammenfassung', +td : "Daten", +th : "Kopfzeile", +cell_cell : 'Diese Zelle aktualisieren', +cell_row : 'Alle Zellen in dieser Zeile aktualisieren', +cell_all : 'Alle Zellen in dieser Tabelle aktualisieren', +row_row : 'Diese Zeile aktualisieren', +row_odd : 'Ungerade Zeilen aktualisieren', +row_even : 'Gerade Zeilen aktualisieren', +row_all : 'Alle Zeilen in dieser Tabelle aktualisieren', +thead : 'Tabellenkopf', +tbody : 'Tabellenkörper', +tfoot : 'Tabellenfuß', +del : 'Tabelle löschen', +scope : 'Scope', +row : 'Row', +col : 'Col', +rowgroup : 'Row Group', +colgroup : 'Col Group', +missing_scope: 'Are you sure you want to continue without specifying a scope for this table header cell. Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.', +table_delta_width : 45 +}); diff --git a/webcit/tiny_mce/plugins/table/langs/el.js b/webcit/tiny_mce/plugins/table/langs/el.js new file mode 100644 index 000000000..7b329245f --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/el.js @@ -0,0 +1,43 @@ +// Greek lang variables by Jacaranda Bill + +tinyMCE.addToLang('',{ +table_desc : 'ÅéóáãùãÞ ðßíáêá', +table_insert_row_before_desc : 'ÅéóáãùãÞ ãñáììÞò åðÜíù', +table_insert_row_after_desc : 'ÅéóáãùãÞ ãñáììÞò êÜôù', +table_delete_row_desc : 'ÄéáãñáöÞ ãñáììÞò', +table_insert_col_before_desc : 'ÅéóáãùãÞ óôÞëçò áñéóôåñÜ', +table_insert_col_after_desc : 'ÅéóáãùãÞ óôÞëçò äåîéÜ', +table_delete_col_desc : 'ÄéáãñáöÞ óôÞëçò', +insert_table_title : 'ÅéóáãùãÞ/Äéüñèùóç ðßíáêá', +insert_table_width : 'ÐëÜôïò', +insert_table_height : '¾øïò', +insert_table_cols : 'ÓôÞëåò', +insert_table_rows : 'ÃñáììÝò', +insert_table_cellspacing : 'ÄéÜóôé÷ï', +insert_table_cellpadding : 'ÃÝìéóìá', +insert_table_border : 'Ðåñßãñáììá', +insert_table_align : 'Óôïß÷éóç', +insert_table_align_default : 'Ðñïêáè.', +insert_table_align_left : 'ÁñéóôåñÜ', +insert_table_align_right : 'ÄåîéÜ', +insert_table_align_middle : 'Óôï êÝíôñï', +insert_table_class : 'ÊëÜóç', +table_row_title : 'Table row properties', +table_cell_title : 'Table cell properties', +table_row_desc : 'Table row properties', +table_cell_desc : 'Table cell properties', +insert_table_valign : 'Vertical alignment', +insert_table_align_top : 'Top', +insert_table_align_bottom : 'Bottom', +table_props_desc : 'Table properties', +table_bordercolor : 'Border color', +table_bgcolor : 'Bg color', +table_merge_cells_title : 'Merge table cells', +table_split_cells_desc : 'Split table cells', +table_merge_cells_desc : 'Merge table cells', +table_cut_row_desc : 'Cut table row', +table_copy_row_desc : 'Copy table row', +table_paste_row_before_desc : 'Paste table row before', +table_paste_row_after_desc : 'Paste table row after', +table_insert_desc : 'Insert a new table' +}); diff --git a/webcit/tiny_mce/plugins/table/langs/en.js b/webcit/tiny_mce/plugins/table/langs/en.js new file mode 100644 index 000000000..b4fa3758f --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/en.js @@ -0,0 +1,75 @@ +// UK lang variables + +tinyMCE.addToLang('table',{ +general_tab : 'General', +advanced_tab : 'Advanced', +general_props : 'General properties', +advanced_props : 'Advanced properties', +desc : 'Inserts a new table', +row_before_desc : 'Insert row before', +row_after_desc : 'Insert row after', +delete_row_desc : 'Delete row', +col_before_desc : 'Insert column before', +col_after_desc : 'Insert column after', +delete_col_desc : 'Remove col', +rowtype : 'Row in table part', +title : 'Insert/Modify table', +width : 'Width', +height : 'Height', +cols : 'Columns', +rows : 'Rows', +cellspacing : 'Cellspacing', +cellpadding : 'Cellpadding', +border : 'Border', +align : 'Alignment', +align_default : 'Default', +align_left : 'Left', +align_right : 'Right', +align_middle : 'Center', +row_title : 'Table row properties', +cell_title : 'Table cell properties', +cell_type : 'Cell type', +row_desc : 'Table row properties', +cell_desc : 'Table cell properties', +valign : 'Vertical alignment', +align_top : 'Top', +align_bottom : 'Bottom', +props_desc : 'Table properties', +bordercolor : 'Border color', +bgcolor : 'Background color', +merge_cells_title : 'Merge table cells', +split_cells_desc : 'Split table cells', +merge_cells_desc : 'Merge table cells', +cut_row_desc : 'Cut table row', +copy_row_desc : 'Copy table row', +paste_row_before_desc : 'Paste table row before', +paste_row_after_desc : 'Paste table row after', +id : 'Id', +style: 'Style', +langdir : 'Language direction', +langcode : 'Language code', +mime : 'Target MIME type', +ltr : 'Left to right', +rtl : 'Right to left', +bgimage : 'Background image', +summary : 'Summary', +td : "Data", +th : "Header", +cell_cell : 'Update current cell', +cell_row : 'Update all cells in row', +cell_all : 'Update all cells in table', +row_row : 'Update current row', +row_odd : 'Update odd rows in table', +row_even : 'Update even rows in table', +row_all : 'Update all rows in table', +thead : 'Table Head', +tbody : 'Table Body', +tfoot : 'Table Foot', +del : 'Delete table', +scope : 'Scope', +row : 'Row', +col : 'Col', +rowgroup : 'Row Group', +colgroup : 'Col Group', +missing_scope: 'Are you sure you want to continue without specifying a scope for this table header cell. Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.' +}); diff --git a/webcit/tiny_mce/plugins/table/langs/es.js b/webcit/tiny_mce/plugins/table/langs/es.js new file mode 100644 index 000000000..c55413b5e --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/es.js @@ -0,0 +1,43 @@ +// ES lang variables by Alvaro Velasco + +tinyMCE.addToLang('',{ +table_desc : 'Insertar una tabla nueva', +table_insert_row_before_desc : 'Insertar una fila antes', +table_insert_row_after_desc : 'Insertar una fila despues', +table_delete_row_desc : 'Eliminar una fila', +table_insert_col_before_desc : 'Insertar una columna before', +table_insert_col_after_desc : 'Insertar columna after', +table_delete_col_desc : 'Eliminar una columna', +insert_table_title : 'Insertar/Modificar tabla', +insert_table_width : 'Anchura', +insert_table_height : 'Altura', +insert_table_cols : 'Columnas', +insert_table_rows : 'Filas', +insert_table_cellspacing : 'Espacio entre celdas', +insert_table_cellpadding : 'Desplazamiento entre celdas', +insert_table_border : 'Borde', +insert_table_align : 'Alineamiento', +insert_table_align_default : 'Por defecto', +insert_table_align_left : 'Izquierda', +insert_table_align_right : 'Derecha', +insert_table_align_middle : 'Centro', +insert_table_class : 'Class', +table_row_title : 'Table row properties', +table_cell_title : 'Table cell properties', +table_row_desc : 'Table row properties', +table_cell_desc : 'Table cell properties', +insert_table_valign : 'Vertical alignment', +insert_table_align_top : 'Top', +insert_table_align_bottom : 'Bottom', +table_props_desc : 'Table properties', +table_bordercolor : 'Border color', +table_bgcolor : 'Bg color', +table_merge_cells_title : 'Merge table cells', +table_split_cells_desc : 'Split table cells', +table_merge_cells_desc : 'Merge table cells', +table_cut_row_desc : 'Cut table row', +table_copy_row_desc : 'Copy table row', +table_paste_row_before_desc : 'Paste table row before', +table_paste_row_after_desc : 'Paste table row after', +table_insert_desc : 'Insert a new table' +}); diff --git a/webcit/tiny_mce/plugins/table/langs/fa.js b/webcit/tiny_mce/plugins/table/langs/fa.js new file mode 100644 index 000000000..101519fc4 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/fa.js @@ -0,0 +1,47 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +table_desc : '??? ???? ????', +table_insert_row_before_desc : '??? ??? ???? ??? ?? ??? ????', +table_insert_row_after_desc : '??? ??? ???? ?? ?? ??? ????', +table_delete_row_desc : '??? ???', +table_insert_col_before_desc : '??? ???? ???? ??? ?? ???? ????', +table_insert_col_after_desc : '??? ???? ???? ?? ?? ???? ????', +table_delete_col_desc : '??? ????', +insert_table_title : '??? ? ?????? ????', +insert_table_width : '???', +insert_table_height : '??????', +insert_table_cols : '????? ??????', +insert_table_rows : '????? ?????', +insert_table_cellspacing : '????? ?? ???? ????', +insert_table_cellpadding : '????? ??? ?? ?????? ????', +insert_table_border : '?????', +insert_table_align : '??? ???? ????', +insert_table_align_default : '??? ???', +insert_table_align_left : '??', +insert_table_align_right : '????', +insert_table_align_middle : '???', +insert_table_class : '????', +table_row_title : 'Table row properties', +table_cell_title : 'Table cell properties', +table_row_desc : 'Table row properties', +table_cell_desc : 'Table cell properties', +insert_table_valign : 'Vertical alignment', +insert_table_align_top : 'Top', +insert_table_align_bottom : 'Bottom', +table_props_desc : 'Table properties', +table_bordercolor : 'Border color', +table_bgcolor : 'Bg color', +table_merge_cells_title : 'Merge table cells', +table_split_cells_desc : 'Split table cells', +table_merge_cells_desc : 'Merge table cells', +table_cut_row_desc : 'Cut table row', +table_copy_row_desc : 'Copy table row', +table_paste_row_before_desc : 'Paste table row before', +table_paste_row_after_desc : 'Paste table row after', +table_insert_desc : 'Insert a new table' +}); diff --git a/webcit/tiny_mce/plugins/table/langs/fi.js b/webcit/tiny_mce/plugins/table/langs/fi.js new file mode 100644 index 000000000..59008e48c --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/fi.js @@ -0,0 +1,43 @@ +// FI lang variables by Urho Konttori from Absolutions + +tinyMCE.addToLang('',{ +table_desc : 'Lisää uusi taulu', +table_insert_row_before_desc : 'Lisää rivi edelle', +table_insert_row_after_desc : 'Lisää rivi jälkeen', +table_delete_row_desc : 'Posita rivi', +table_insert_col_before_desc : 'Lisää sarake edelle', +table_insert_col_after_desc : 'Lisää sarake jälkeen', +table_delete_col_desc : 'Poista sarake', +insert_table_title : 'Lisää/muokkaa taulua', +insert_table_width : 'Leveys', +insert_table_height : 'Korkeus', +insert_table_cols : 'Sarakkeet', +insert_table_rows : 'Rivit', +insert_table_cellspacing : 'Solujen väli', +insert_table_cellpadding : 'Solun reunan ja sisällön väli', +insert_table_border : 'Reuna', +insert_table_align : 'Asettelu', +insert_table_align_default : 'Oletus', +insert_table_align_left : 'Vasen', +insert_table_align_right : 'Oikea', +insert_table_align_middle : 'Keskelle', +insert_table_delta_height'] = 20; +table_row_title : 'Table row properties', +table_cell_title : 'Table cell properties', +table_row_desc : 'Table row properties', +table_cell_desc : 'Table cell properties', +insert_table_valign : 'Vertical alignment', +insert_table_align_top : 'Top', +insert_table_align_bottom : 'Bottom', +table_props_desc : 'Table properties', +table_bordercolor : 'Border color', +table_bgcolor : 'Bg color', +table_merge_cells_title : 'Merge table cells', +table_split_cells_desc : 'Split table cells', +table_merge_cells_desc : 'Merge table cells', +table_cut_row_desc : 'Cut table row', +table_copy_row_desc : 'Copy table row', +table_paste_row_before_desc : 'Paste table row before', +table_paste_row_after_desc : 'Paste table row after', +table_insert_desc : 'Insert a new table' +}); diff --git a/webcit/tiny_mce/plugins/table/langs/fr.js b/webcit/tiny_mce/plugins/table/langs/fr.js new file mode 100644 index 000000000..c69fadda3 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/fr.js @@ -0,0 +1,43 @@ +// French lang variables by Laurent Dran + +tinyMCE.addToLang('',{ +table_desc : 'Insérer un nouveau tableau', +table_insert_row_before_desc : 'Insérer une ligne avant', +table_insert_row_after_desc : 'Insérer une ligne aprés', +table_delete_row_desc : 'Supprimer la ligne', +table_insert_col_before_desc : 'Insérer une colonne avant', +table_insert_col_after_desc : 'Insérer une colonne aprés', +table_delete_col_desc : 'Supprimer la colonne', +insert_table_title : 'Insérer/Modifier le tableau', +insert_table_width : 'Largeur', +insert_table_height : 'Hauteur', +insert_table_cols : 'Colonnes', +insert_table_rows : 'Lignes', +insert_table_cellspacing : 'Cellspacing', +insert_table_cellpadding : 'Cellpadding', +insert_table_border : 'Bordure', +insert_table_align : 'Alignement', +insert_table_align_default : 'Défaut', +insert_table_align_left : 'Gauche', +insert_table_align_right : 'Droit', +insert_table_align_middle : 'Milieu', +insert_table_class : 'Classe CSS', +table_row_title : 'Propriétés de la rangée', +table_cell_title : 'Propriétés de la cellule', +table_row_desc : 'Propriétés de la rangée', +table_cell_desc : 'Propriétés de la cellule', +insert_table_valign : 'Alignement Vertical', +insert_table_align_top : 'Haut', +insert_table_align_bottom : 'Bas', +table_props_desc : 'Table properties', +table_bordercolor : 'Border color', +table_bgcolor : 'Bg color', +table_merge_cells_title : 'Merge table cells', +table_split_cells_desc : 'Split table cells', +table_merge_cells_desc : 'Merge table cells', +table_cut_row_desc : 'Cut table row', +table_copy_row_desc : 'Copy table row', +table_paste_row_before_desc : 'Paste table row before', +table_paste_row_after_desc : 'Paste table row after', +table_insert_desc : 'Insert a new table' +}); diff --git a/webcit/tiny_mce/plugins/table/langs/fr_ca.js b/webcit/tiny_mce/plugins/table/langs/fr_ca.js new file mode 100644 index 000000000..282034c05 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/fr_ca.js @@ -0,0 +1,43 @@ +// Canadian French lang variables by Virtuelcom last modification: 2005-06-15 + +tinyMCE.addToLang('',{ +table_desc : 'Insérer un nouveau tableau', +table_insert_row_before_desc : 'Insérer une ligne avant', +table_insert_row_after_desc : 'Insérer une ligne après', +table_delete_row_desc : 'Supprimer la ligne', +table_insert_col_before_desc : 'Insérer une colonne avant', +table_insert_col_after_desc : 'Insérer une colonne après', +table_delete_col_desc : 'Supprimer la colonne', +insert_table_title : 'Insérer/Modifier le tableau', +insert_table_width : 'Largeur', +insert_table_height : 'Hauteur', +insert_table_cols : 'Colonnes', +insert_table_rows : 'Lignes', +insert_table_cellspacing : 'Cellspacing', +insert_table_cellpadding : 'Cellpadding', +insert_table_border : 'Bordure', +insert_table_align : 'Alignement', +insert_table_align_default : 'Défaut', +insert_table_align_left : 'Gauche', +insert_table_align_right : 'Droit', +insert_table_align_middle : 'Milieu', +insert_table_class_name : 'Classe CSS', +table_row_title : 'Propriétés de ligne', +table_cell_title : 'Propriétés de cellule', +table_row_desc : 'Propriétés de ligne', +table_cell_desc : 'Propriétés de cellule', +insert_table_valign : 'Alignement vertical', +insert_table_align_top : 'Haut', +insert_table_align_bottom : 'Bas', +table_props_desc : 'Table properties', +table_bordercolor : 'Border color', +table_bgcolor : 'Bg color', +table_merge_cells_title : 'Merge table cells', +table_split_cells_desc : 'Split table cells', +table_merge_cells_desc : 'Merge table cells', +table_cut_row_desc : 'Cut table row', +table_copy_row_desc : 'Copy table row', +table_paste_row_before_desc : 'Paste table row before', +table_paste_row_after_desc : 'Paste table row after', +table_insert_desc : 'Insert a new table' +}); diff --git a/webcit/tiny_mce/plugins/table/langs/he.js b/webcit/tiny_mce/plugins/table/langs/he.js new file mode 100644 index 000000000..44a90a6a0 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/he.js @@ -0,0 +1,75 @@ +// HE lang variables + +tinyMCE.addToLang('table',{ +general_tab : 'ëììé', +advanced_tab : 'îú÷ãí', +general_props : 'îàôééðéí ëììééí', +advanced_props : 'îàôééðéí îú÷ãîéí', +desc : 'îëðéñ èáìä çãùä', +row_before_desc : 'äëðñ ùåøä ìôðé', +row_after_desc : 'äëðñ ùåøä àçøé', +delete_row_desc : 'îç÷ ùåøä', +col_before_desc : 'äëðñ èåø ìôðé', +col_after_desc : 'äëðñ èåø àçøé', +delete_col_desc : 'îç÷ èåø', +rowtype : 'ùåøä áçì÷ ùì äèáìä', +title : 'äëðñ/ùðä èáìä', +width : 'øåçá', +height : 'âåáä', +cols : 'èåøéí', +rows : 'ùåøåú', +cellspacing : 'øéååç áéï úàéí', +cellpadding : 'øéôåã úàéí', +border : 'âáåì', +align : 'éùåø', +align_default : 'áøéøú îçãì', +align_left : 'ùîàì', +align_right : 'éîéï', +align_middle : 'îøëæ', +row_title : 'îàôééðé ùåøä áèáìä', +cell_title : 'îàôééðé úà áèáìä', +cell_type : 'ñåâ úà', +row_desc : 'îàôééðé ùåøä áèáìä', +cell_desc : 'îàôééðé úà áèáìä', +valign : 'éùåø àðëé', +align_top : 'ìîòìä', +align_bottom : 'ìîèä', +props_desc : 'îàôééðé èáìä', +bordercolor : 'öáò âáåì', +bgcolor : 'öáò ø÷ò', +merge_cells_title : 'îæâ úàéí áèáìä', +split_cells_desc : 'ôöì úàéí áèáìä', +merge_cells_desc : 'îæâ úàéí áèáìä', +cut_row_desc : 'âæåø ùåøä îäèáìä', +copy_row_desc : 'äòú÷ ùåøä îäèáìä', +paste_row_before_desc : 'äãá÷ ùåøä ìôðé', +paste_row_after_desc : 'äãá÷ ùåøä àçøé', +id : 'Id', +style: 'ñâðåï', +langdir : 'ëéååï ùôä', +langcode : '÷åã ùôä', +mime : 'ñåâ MIME ùì äéòã', +ltr : 'ùîàì ìéîéï', +rtl : 'éîéï ìùîàì', +bgimage : 'úîåðú ø÷ò', +summary : 'ñéëåí', +td : "îéãò", +th : "ëåúøú", +cell_cell : 'òãëï úà ðåëçé', +cell_row : 'òãëï àú ëì äúàéí áùåøä', +cell_all : 'òãëï àú ëì äúàéí áèáìä', +row_row : 'òãëï ùåøä ðåëçéú', +row_odd : 'òãëï ùåøåú àé-æåâéåú áèáìä', +row_even : 'òãëï ùåøåú æåâéåú áèáìä', +row_all : 'òãëï àú ëì äùåøåú áèáìä', +thead : 'ëåúøú äèáìä', +tbody : 'âåó äèáìä', +tfoot : 'ñéëåí äèáìä', +del : 'îç÷ èáìä', +scope : 'Scope', +row : 'Row', +col : 'Col', +rowgroup : 'Row Group', +colgroup : 'Col Group', +missing_scope: 'Are you sure you want to continue without specifying a scope for this table header cell. Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.' +}); diff --git a/webcit/tiny_mce/plugins/table/langs/hu.js b/webcit/tiny_mce/plugins/table/langs/hu.js new file mode 100644 index 000000000..a649eb72b --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/hu.js @@ -0,0 +1,75 @@ +// HU lang variables + +tinyMCE.addToLang('table',{ +general_tab : 'Általános', +advanced_tab : 'Haladó', +general_props : 'Általános beállítások', +advanced_props : 'Haladó beállítások', +desc : 'Új táblázat beszúrása', +row_before_desc : 'Sor beszúrása elé', +row_after_desc : 'Sor beszúrása mögé', +delete_row_desc : 'Sor törlése', +col_before_desc : 'Oszlop beszúrása elé', +col_after_desc : 'Oszlop beszúrása mögé', +delete_col_desc : 'Oszlop törlése', +rowtype : 'Sor a táblázatrészben', +title : 'Táblázat beszúrása/módosítása', +width : 'Hosszúság', +height : 'Szélesség', +cols : 'Oszlopok', +rows : 'Sorok', +cellspacing : 'Cellaköz', +cellpadding : 'Cellakitöltés', +border : 'Keret', +align : 'Elhelyezkedés', +align_default : 'alapértelmezett', +align_left : 'Bal', +align_right : 'Jobb', +align_middle : 'Közép', +row_title : 'Táblázat sor tulajdonságai', +cell_title : 'Táblázat cella tulajdonságai', +cell_type : 'Cella típus', +row_desc : 'Táblázat sor tulajdonságai', +cell_desc : 'Táblázat cella tulajdonságai', +valign : 'Függõleges elhelyezkedés', +align_top : 'Felül', +align_bottom : 'Alul', +props_desc : 'Táblázat tulajdonságai', +bordercolor : 'Keret szín', +bgcolor : 'Háttér szín', +merge_cells_title : 'Tábla celláinak egyesítése', +split_cells_desc : 'Tábla celláinak felosztása', +merge_cells_desc : 'Tábla celláinak egyesítése', +cut_row_desc : 'Táblázat sor kivágása', +copy_row_desc : 'Táblázat sor másolása', +paste_row_before_desc : 'Táblázat sor beillesztése elé', +paste_row_after_desc : 'Táblázat sor beillesztése mögé', +id : 'Azonodító', +style: 'Stílus', +langdir : 'Szövegpozíció', +langcode : 'Szöveg kód', +mime : 'Cél MIME típus', +ltr : 'Balról jobbra', +rtl : 'Jobbról balra', +bgimage : 'Háttérkép', +summary : 'Összefoglaló', +td : "Adat", +th : "Fejléc", +cell_cell : 'Aktuális cella frissítése', +cell_row : 'Minden cella frissítése a sorban', +cell_all : 'Minden cella frissítése a táblában', +row_row : 'Aktuális sor frissítése', +row_odd : 'Páratlan sorok frissítése a táblában', +row_even : 'páros sorok frissítése a táblában', +row_all : 'Minden sor frissítése a táblában', +thead : 'Táblázat fejléc', +tbody : 'Táblázat test', +tfoot : 'Tálázat lábléc', +del : 'Tábla törlése', +scope : 'Scope', +row : 'Row', +col : 'Col', +rowgroup : 'Row Group', +colgroup : 'Col Group', +missing_scope: 'Are you sure you want to continue without specifying a scope for this table header cell. Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.' +}); diff --git a/webcit/tiny_mce/plugins/table/langs/it.js b/webcit/tiny_mce/plugins/table/langs/it.js new file mode 100644 index 000000000..ce04d389c --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/it.js @@ -0,0 +1,43 @@ +// Variabili di lingua IT - fabrix.xm@lombardiacom.it + +tinyMCE.addToLang('',{ +table_desc : 'Inserisci una nuova tabella', +table_insert_row_before_desc : 'Inserisci una riga prima', +table_insert_row_after_desc : 'Inserisci una riga dopo', +table_delete_row_desc : 'Cancella riga', +table_insert_col_before_desc : 'Inserisci colonna prima', +table_insert_col_after_desc : 'Inserisci colonna dopo', +table_delete_col_desc : 'Rimuovi colonna', +insert_table_title : 'Inserisci/modifica tabella', +insert_table_width : 'Larghezza', +insert_table_height : 'Altezza', +insert_table_cols : 'Colonne', +insert_table_rows : 'Righe', +insert_table_cellspacing : 'Cellspacing', +insert_table_cellpadding : 'Cellpadding', +insert_table_border : 'Bordo', +insert_table_align : 'Allineamento', +insert_table_align_default : 'Default', +insert_table_align_left : 'Sinistra', +insert_table_align_right : 'Destra', +insert_table_align_middle : 'Centro', +insert_table_class : 'Classe', +table_row_title : 'Table row properties', +table_cell_title : 'Table cell properties', +table_row_desc : 'Table row properties', +table_cell_desc : 'Table cell properties', +insert_table_valign : 'Vertical alignment', +insert_table_align_top : 'Top', +insert_table_align_bottom : 'Bottom', +table_props_desc : 'Table properties', +table_bordercolor : 'Border color', +table_bgcolor : 'Bg color', +table_merge_cells_title : 'Merge table cells', +table_split_cells_desc : 'Split table cells', +table_merge_cells_desc : 'Merge table cells', +table_cut_row_desc : 'Cut table row', +table_copy_row_desc : 'Copy table row', +table_paste_row_before_desc : 'Paste table row before', +table_paste_row_after_desc : 'Paste table row after', +table_insert_desc : 'Insert a new table' +}); diff --git a/webcit/tiny_mce/plugins/table/langs/ja.js b/webcit/tiny_mce/plugins/table/langs/ja.js new file mode 100644 index 000000000..17e308883 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/ja.js @@ -0,0 +1,43 @@ +// JP lang variables + +tinyMCE.addToLang('',{ +table_desc : '$B%F!<%V%k(B', +table_insert_row_before_desc : '$B9TA^F~(B($BA0(B)', +table_insert_row_after_desc : '$B9TA^F~(B($B8e(B)', +table_delete_row_desc : '$B9T:o=|(B', +table_insert_col_before_desc : '$BNsA^F~(B($BA0(B)', +table_insert_col_after_desc : '$BNsA^F~(B($B8e(B)', +table_delete_col_desc : '$BNs:o=|(B', +insert_table_title : '$B%F!<%V%k$NA^F~(B/$BJT=8(B', +insert_table_cols : '$BNs?t(B', +insert_table_rows : '$B9T?t(B', +insert_table_cellspacing : '$B%;%kM>Gr(B', +insert_table_cellpadding : '$B%;%k5M$a(B', +insert_table_align : '$B0LCVD4@0(B', +insert_table_align_default : '$B0EL[(B', +insert_table_align_left : '$B:85M$a(B', +insert_table_align_right : '$B1&5M$a(B', +insert_table_align_middle : '$BCf1{4s$;(B', +insert_table_width : '$BI}(B', +insert_table_height : '$B9b$5(B', +insert_table_border : '$B6-3&@~(B', +insert_table_class : '$B%/%i%9(B', +table_row_title : 'Table row properties', +table_cell_title : 'Table cell properties', +table_row_desc : 'Table row properties', +table_cell_desc : 'Table cell properties', +insert_table_valign : 'Vertical alignment', +insert_table_align_top : 'Top', +insert_table_align_bottom : 'Bottom', +table_props_desc : 'Table properties', +table_bordercolor : 'Border color', +table_bgcolor : 'Bg color', +table_merge_cells_title : 'Merge table cells', +table_split_cells_desc : 'Split table cells', +table_merge_cells_desc : 'Merge table cells', +table_cut_row_desc : 'Cut table row', +table_copy_row_desc : 'Copy table row', +table_paste_row_before_desc : 'Paste table row before', +table_paste_row_after_desc : 'Paste table row after', +table_insert_desc : 'Insert a new table' +}); diff --git a/webcit/tiny_mce/plugins/table/langs/ko.js b/webcit/tiny_mce/plugins/table/langs/ko.js new file mode 100644 index 000000000..bd8b30e90 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/ko.js @@ -0,0 +1,43 @@ +// KO lang variables + +tinyMCE.addToLang('',{ +table_desc : 'Ç¥ ³Ö±â', +table_insert_row_before_desc : '¾Õ¿¡ Çà ³Ö±â', +table_insert_row_after_desc : 'µÚ¿¡ Çà ³Ö±â', +table_delete_row_desc : 'Çà Áö¿ì±â', +table_insert_col_before_desc : '¾Õ¿¡ ¿­ ³Ö±â', +table_insert_col_after_desc : 'µÚ¿¡ ¿­ ³Ö±â', +table_delete_col_desc : '¿­ Áö¿ì±â', +insert_table_title : 'Ç¥ ³Ö±â/°íÄ¡±â', +insert_table_width : '³Êºñ', +insert_table_height : '³ôÀÌ', +insert_table_cols : 'Çà', +insert_table_rows : '¿­', +insert_table_cellspacing : '¼¿ °£°Ý', +insert_table_cellpadding : '¼¿ ¿©¹é', +insert_table_border : 'Å׵θ®', +insert_table_align : 'Á¤·Ä', +insert_table_align_default : '±âº»°ª', +insert_table_align_left : '¿ÞÂÊ', +insert_table_align_right : '¿À¸¥ÂÊ', +insert_table_align_middle : '°¡¿îµ¥', +insert_table_class : 'Ŭ·¡½º', +table_row_title : 'Table row properties', +table_cell_title : 'Table cell properties', +table_row_desc : 'Table row properties', +table_cell_desc : 'Table cell properties', +insert_table_valign : 'Vertical alignment', +insert_table_align_top : 'Top', +insert_table_align_bottom : 'Bottom', +table_props_desc : 'Table properties', +table_bordercolor : 'Border color', +table_bgcolor : 'Bg color', +table_merge_cells_title : 'Merge table cells', +table_split_cells_desc : 'Split table cells', +table_merge_cells_desc : 'Merge table cells', +table_cut_row_desc : 'Cut table row', +table_copy_row_desc : 'Copy table row', +table_paste_row_before_desc : 'Paste table row before', +table_paste_row_after_desc : 'Paste table row after', +table_insert_desc : 'Insert a new table' +}); diff --git a/webcit/tiny_mce/plugins/table/langs/nl.js b/webcit/tiny_mce/plugins/table/langs/nl.js new file mode 100644 index 000000000..198db40fd --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/nl.js @@ -0,0 +1,43 @@ +// NL lang variables + +tinyMCE.addToLang('',{ +table_desc : 'Voeg een nieuwe tabel in', +table_insert_row_before_desc : 'Voeg rij in voor ...', +table_insert_row_after_desc : 'Voeg rij in na ...', +table_delete_row_desc : 'Verwijder rij', +table_insert_col_before_desc : 'Voeg kolom in voor ...', +table_insert_col_after_desc : 'Voeg kolom in na ...', +table_delete_col_desc : 'Verwijder kolom', +insert_table_title : 'Invoegen/Bewerken tabel', +insert_table_width : 'Breedte', +insert_table_height : 'Hoogte', +insert_table_cols : 'Kolommen', +insert_table_rows : 'Rijen', +insert_table_cellspacing : 'Celafstand', +insert_table_cellpadding : 'Celvulling', +insert_table_border : 'Omranding', +insert_table_align : 'Positionering', +insert_table_align_default : 'Standaard', +insert_table_align_left : 'Links', +insert_table_align_right : 'Rechts', +insert_table_align_middle : 'Midden', +insert_table_class : 'CSS-Stijl', +table_row_title : 'Table row properties', +table_cell_title : 'Table cell properties', +table_row_desc : 'Table row properties', +table_cell_desc : 'Table cell properties', +insert_table_valign : 'Vertical alignment', +insert_table_align_top : 'Top', +insert_table_align_bottom : 'Bottom', +table_props_desc : 'Table properties', +table_bordercolor : 'Border color', +table_bgcolor : 'Bg color', +table_merge_cells_title : 'Merge table cells', +table_split_cells_desc : 'Split table cells', +table_merge_cells_desc : 'Merge table cells', +table_cut_row_desc : 'Cut table row', +table_copy_row_desc : 'Copy table row', +table_paste_row_before_desc : 'Paste table row before', +table_paste_row_after_desc : 'Paste table row after', +table_insert_desc : 'Insert a new table' +}); diff --git a/webcit/tiny_mce/plugins/table/langs/no.js b/webcit/tiny_mce/plugins/table/langs/no.js new file mode 100644 index 000000000..5aede3d9a --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/no.js @@ -0,0 +1,75 @@ +// NO lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('table',{ +general_tab : 'Generell', +advanced_tab : 'Avansert', +general_props : 'Generelle egenskaper', +advanced_props : 'Avanserte egenskaper', +desc : 'Opprett/endre tabell', +row_before_desc : 'Opprett rad foran', +row_after_desc : 'Opprett rad etter', +delete_row_desc : 'Fjern rad', +col_before_desc : 'Opprett kolonne foran', +col_after_desc : 'Opprett kolonne etter', +delete_col_desc : 'Fjern kolonne', +rowtype : 'Rad i tabell', +title : 'Opprett/endre tabell', +width : 'Bredde', +height : 'Høyde', +cols : 'Kolonner', +rows : 'Rader', +cellspacing : 'Celle mellomrom', +cellpadding : 'Celle fylling', +border : 'Rammebredde', +align : 'Justering', +align_default : 'Ingen', +align_left : 'Venstre', +align_right : 'Høyre', +align_middle : 'Midtstilt', +row_title : 'tabell rad egenskaper', +cell_title : 'tabell celle egenskaper', +cell_type : 'Celle type', +row_desc : 'tabell rad egenskaper', +cell_desc : 'tabell celle egenskaper', +valign : 'Vertikal justering', +align_top : 'Topp', +align_bottom : 'Bunn', +props_desc : 'tabell egenskaper', +bordercolor : 'Rammefarge', +bgcolor : 'Bakgrunnsfarge', +merge_cells_title : 'Slå sammen tabell celler', +split_cells_desc : 'Splitt tabell celler', +merge_cells_desc : 'Slå sammen tabell celler', +cut_row_desc : 'Fjern tabell rad', +copy_row_desc : 'Kopier tabell rad', +paste_row_before_desc : 'Lim inn tabell rad foran', +paste_row_after_desc : 'Lim inn tabell rad etter', +id : 'Id', +style: 'Stil', +langdir : 'Språk retning', +langcode : 'Språk kode', +mime : 'Målets MIME type', +ltr : 'Venstre mot høyre', +rtl : 'Høre mot venstre', +bgimage : 'Bakgrunnsbilde', +summary : 'Sum', +td : "Data", +th : "Overskrift", +cell_cell : 'Oppdater valgt celle', +cell_row : 'Oppdater alle celler i raden', +cell_all : 'Oppdater alle celler i tabellen', +row_row : 'Oppdater valgt rad', +row_odd : 'Oppdater ulike rader i tabellen', +row_even : 'Oppdater even rader i tabellen', +row_all : 'Oppdater alle rader i tabellen', +thead : 'Tabell Hode', +tbody : 'Tabell Kropp', +tfoot : 'Tabell Fot', +del : 'Slett tabell', +scope : 'Scope', +row : 'Row', +col : 'Col', +rowgroup : 'Row Group', +colgroup : 'Col Group', +missing_scope: 'Are you sure you want to continue without specifying a scope for this table header cell. Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.' +}); \ No newline at end of file diff --git a/webcit/tiny_mce/plugins/table/langs/pl.js b/webcit/tiny_mce/plugins/table/langs/pl.js new file mode 100644 index 000000000..5de3d411e --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/pl.js @@ -0,0 +1,41 @@ +// PL lang variables + +tinyMCE.addToLang('',{ +table_desc : 'Wstaw nowa tabele', +table_insert_row_before_desc : 'Wstaw wiersz przed', +table_insert_row_after_desc : 'Wstaw wiersz po', +table_delete_row_desc : 'Skasuj wiersz', +table_insert_col_before_desc : 'Wstaw kolumne przed', +table_insert_col_after_desc : 'Wstaw kolumne po', +table_delete_col_desc : 'Skasuj kolumne', +insert_table_title : 'Wstaw/Modyfikuj tabele', +insert_table_width : 'Szerokosc', +insert_table_height : 'Wysokosc', +insert_table_cols : 'Kolumny', +insert_table_rows : 'Wiersze', +insert_table_cellspacing : 'Cellspacing', +insert_table_cellpadding : 'Cellpadding', +insert_table_border : 'Ramka', +insert_table_align : 'Wyrównanie', +insert_table_align_default : 'Domyslny', +insert_table_align_left : 'Do lewej', +insert_table_align_right : 'Do prawej', +insert_table_align_middle : 'Wycentrowanie', +insert_table_class : 'Klasa', +table_row_title : 'Wlasciwosci wiersza', +table_cell_title : 'Wlasciwosci komórki', +table_row_desc : 'Wlasciwosci wiersza', +table_cell_desc : 'Wlasciwosci komórki', +insert_table_valign : 'Wyrównanie pionowe', +insert_table_align_top : 'do góry', +insert_table_align_bottom : 'do dolu', +table_props_desc : 'Wlasciwosci tabeli', +table_merge_cells_title : 'Merge table cells', +table_split_cells_desc : 'Split table cells', +table_merge_cells_desc : 'Merge table cells', +table_cut_row_desc : 'Cut table row', +table_copy_row_desc : 'Copy table row', +table_paste_row_before_desc : 'Paste table row before', +table_paste_row_after_desc : 'Paste table row after', +table_insert_desc : 'Insert a new table' +}); diff --git a/webcit/tiny_mce/plugins/table/langs/pt.js b/webcit/tiny_mce/plugins/table/langs/pt.js new file mode 100644 index 000000000..d06676127 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/pt.js @@ -0,0 +1,43 @@ +// PT lang variables + +tinyMCE.addToLang('',{ +table_desc : 'Insere uma nova tabela', +table_insert_row_before_desc : 'Inserir linha antes', +table_insert_row_after_desc : 'Inserir linha depois', +table_delete_row_desc : 'Eliminar linha', +table_insert_col_before_desc : 'Inserir coluna antes', +table_insert_col_after_desc : 'Inserir coluna depois', +table_delete_col_desc : 'Remover coluna', +insert_table_title : 'Inserir/Modificar tabela', +insert_table_width : 'Largura', +insert_table_height : 'Altura', +insert_table_cols : 'Colunas', +insert_table_rows : 'Linhas', +insert_table_cellspacing : 'Espaça
    mento', +insert_table_cellpadding : 'Margem interior', +insert_table_border : 'Borda', +insert_table_align : 'Alinhamento', +insert_table_align_default : 'Por omissão', +insert_table_align_left : 'Esquerda', +insert_table_align_right : 'Direita', +insert_table_align_middle : 'Centrado', +insert_table_class : 'Classe de CSS', +table_row_title : 'Table row properties', +table_cell_title : 'Table cell properties', +table_row_desc : 'Table row properties', +table_cell_desc : 'Table cell properties', +insert_table_valign : 'Vertical alignment', +insert_table_align_top : 'Top', +insert_table_align_bottom : 'Bottom', +table_props_desc : 'Table properties', +table_bordercolor : 'Border color', +table_bgcolor : 'Bg color', +table_merge_cells_title : 'Merge table cells', +table_split_cells_desc : 'Split table cells', +table_merge_cells_desc : 'Merge table cells', +table_cut_row_desc : 'Cut table row', +table_copy_row_desc : 'Copy table row', +table_paste_row_before_desc : 'Paste table row before', +table_paste_row_after_desc : 'Paste table row after', +table_insert_desc : 'Insert a new table' +}); diff --git a/webcit/tiny_mce/plugins/table/langs/readme.txt b/webcit/tiny_mce/plugins/table/langs/readme.txt new file mode 100644 index 000000000..ef48d2ba4 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/readme.txt @@ -0,0 +1,4 @@ +Theme specific language packs. + +The language pack codes are based on ISO-639-2 +http://www.loc.gov/standards/iso639-2/englangn.html diff --git a/webcit/tiny_mce/plugins/table/langs/sv.js b/webcit/tiny_mce/plugins/table/langs/sv.js new file mode 100644 index 000000000..a9f01ca91 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/sv.js @@ -0,0 +1,76 @@ +// UK lang variables + +tinyMCE.addToLang('table',{ +general_tab : 'Generella inställningar', +advanced_tab : 'Avancerade inställningar', +general_props : 'Generella inställningar', +advanced_props : 'Avancerade inställningar', +desc : 'Skapa ny tabell', +before_desc : 'Skapa rad före', +after_desc : 'Skapa rad efter', +row_before_desc : 'Skapa rad före', +row_after_desc : 'Skapa rad efter', +delete_row_desc : 'Ta bort rad', +col_before_desc : 'Skapa kolumn före', +col_after_desc : 'Skapa kolumn efter', +delete_col_desc : 'Ta bort kolumn', +rowtype : 'Rad typ', +title : 'Skapa/redigera ny tabell', +width : 'Bredd', +height : 'Höjd', +cols : 'Columner', +rows : 'Rader', +cellspacing : 'Cellmellanrum', +cellpadding : 'Cellutfyllnad', +border : 'Ram', +align : 'Justering', +align_default : 'Ingen', +align_left : 'Vänster', +align_right : 'Höger', +align_middle : 'Mitten', +row_title : 'Tabell radsinställningar', +cell_title : 'Tabell cellsinställningar', +cell_type : 'Cell typ', +row_desc : 'Tabell rads inställningar', +cell_desc : 'Tabell cells inställningar', +valign : 'Vertical justering', +align_top : 'Toppen', +align_bottom : 'Botten', +props_desc : 'Tabell inställningar', +bordercolor : 'Ram färg', +bgcolor : 'Bakgrundsfärg', +merge_cells_title : 'Sammanfoga tabell celler', +split_cells_desc : 'Delaupp tabell celler', +merge_cells_desc : 'Sammanfoga tabell celler', +cut_row_desc : 'Klipput tabell rad', +copy_row_desc : 'Kopiera tabell rad', +paste_row_before_desc : 'Klistra in tabell rad före', +paste_row_after_desc : 'Klistra in tabell rad efter', +id : 'Id', +style: 'Stil', +langdir : 'Skrift riktning', +langcode : 'Språk kåd', +ltr : 'Vänster till höger', +rtl : 'Höger till vänster', +bgimage : 'Bakgrundsbild', +summary : 'Sammanfattning', +td : "Data", +th : "Huvud", +cell_cell : 'Updatera nuvarande cell', +cell_row : 'Updatera alla celler i raden', +cell_all : 'Updatera alla celler t tabellen', +row_row : 'Updatera nuvarande rad', +row_odd : 'Updatera udda rader i tabellen', +row_even : 'Updatera jämna rader i tabellen', +row_all : 'Updatera alla rader i tabellen', +thead : 'Tabell Huvud', +tbody : 'Tabell Kropp', +tfoot : 'Tabell Fot', +del : 'Tabort tabell', +scope : 'Scope', +row : 'Rad', +col : 'Kolumn', +rowgroup : 'Rad grupp', +colgroup : 'Kolumn grupp', +missing_scope: 'Är du säker på att du vill fortsätta utan att specifisera ett scope, utan denna kan det bli svårt för handikappade att förstå tabellen.' +}); diff --git a/webcit/tiny_mce/plugins/table/langs/tw.js b/webcit/tiny_mce/plugins/table/langs/tw.js new file mode 100644 index 000000000..847e20219 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/tw.js @@ -0,0 +1,43 @@ +// TW lang variables contributed by Jim Kou + +tinyMCE.addToLang('',{ +insert_table_align : '¹ï»ô', +insert_table_align_default : '¼Ð·Ç', +insert_table_align_left : '»ô¥ª', +insert_table_align_middle : '¸m¤¤', +insert_table_align_right : '»ô¥k', +insert_table_border : '®Ø½u', +insert_table_cellpadding : '¦rÅé»PÀx¦s®æ¶¡»Ø', +insert_table_cellspacing : 'Àx¦s®æ¶¡»Ø', +insert_table_class : '¼Ë¦¡', +insert_table_cols : '¦æ', +insert_table_height : '°ª«×', +insert_table_rows : '¦C', +insert_table_title : 'ªí®æ¼ÐÃD', +insert_table_width : '¼e«×', +table_delete_col_desc : '§R°£¤@¦æÀx¦s®æ', +table_delete_row_desc : '§R°£¤@¦CÀx¦s®æ', +table_desc : 'ªí®æ', +table_insert_col_after_desc : '·s¼W¤@¦æÀx¦s®æ(«á)', +table_insert_col_before_desc : '·s¼W¤@¦æÀx¦s®æ(«e)', +table_insert_row_after_desc : '·s¼W¤@¦CÀx¦s®æ(«á)', +table_insert_row_before_desc : '·s¼W¤@¦CÀx¦s®æ(«e)', +table_row_title : 'Table row properties', +table_cell_title : 'Table cell properties', +table_row_desc : 'Table row properties', +table_cell_desc : 'Table cell properties', +insert_table_valign : 'Vertical alignment', +insert_table_align_top : 'Top', +insert_table_align_bottom : 'Bottom', +table_props_desc : 'Table properties', +table_bordercolor : 'Border color', +table_bgcolor : 'Bg color', +table_merge_cells_title : 'Merge table cells', +table_split_cells_desc : 'Split table cells', +table_merge_cells_desc : 'Merge table cells', +table_cut_row_desc : 'Cut table row', +table_copy_row_desc : 'Copy table row', +table_paste_row_before_desc : 'Paste table row before', +table_paste_row_after_desc : 'Paste table row after', +table_insert_desc : 'Insert a new table' +}); diff --git a/webcit/tiny_mce/plugins/table/langs/zh_cn.js b/webcit/tiny_mce/plugins/table/langs/zh_cn.js new file mode 100644 index 000000000..0b3b945cf --- /dev/null +++ b/webcit/tiny_mce/plugins/table/langs/zh_cn.js @@ -0,0 +1,44 @@ +// Simplified Chinese lang variables contributed by cube316 (cube316@gmail.com) +//Çë·ÃÎÊ http://www.cube316.net/ ÒÔ»ñÈ¡TinyMCEµÄÖÐÎÄÖ§³Ö + +tinyMCE.addToLang('',{ +table_desc : '²åÈëбí¸ñ', +table_insert_row_before_desc : 'ÔÚÇ°Ãæ²åÈëÐÐ', +table_insert_row_after_desc : 'ÔÚºóÃæ²åÈëÐÐ', +table_delete_row_desc : 'ɾ³ýÐÐ', +table_insert_col_before_desc : 'ÔÚÇ°Ãæ²åÈëÁÐ', +table_insert_col_after_desc : 'ÔÚºóÃæ²åÈëÁÐ', +table_delete_col_desc : 'ɾ³ýÁÐ', +insert_table_title : '²åÈë/ÐÞ¸Ä ±í¸ñ', +insert_table_width : '¿í¶È', +insert_table_height : '¸ß¶È', +insert_table_cols : 'ÁÐÊý', +insert_table_rows : 'ÐÐÊý', +insert_table_cellspacing : '¼ä¾à', +insert_table_cellpadding : 'Ìî³ä', +insert_table_border : '±ß¿ò', +insert_table_align : '¶ÔÆ뷽ʽ', +insert_table_align_default : 'ĬÈÏ', +insert_table_align_left : '×ó¶ÔÆë', +insert_table_align_right : 'ÓÒ¶ÔÆë', +insert_table_align_middle : '¾ÓÖжÔÆë', +insert_table_class_name : 'Àà', +table_row_title : '±í¸ñÐÐÊôÐÔ', +table_cell_title : 'µ¥Ôª¸ñÊôÐÔ', +table_row_desc : '±í¸ñÐÐÊôÐÔ', +table_cell_desc : 'µ¥Ôª¸ñÊôÐÔ', +insert_table_valign : '´¹Ö±¶ÔÆë', +insert_table_align_top : '¶¥¶Ë', +insert_table_align_bottom : 'µ×²¿', +table_props_desc : '±í¸ñÊôÐÔ', +table_bordercolor : '±ß¿òÑÕÉ«', +table_bgcolor : '±³¾°ÑÕÉ«', +table_merge_cells_title : 'ºÏ²¢µ¥Ôª¸ñ', +table_split_cells_desc : '²ð·Öµ¥Ôª¸ñ', +table_merge_cells_desc : 'ºÏ²¢µ¥Ôª¸ñ', +table_cut_row_desc : '¼ôÇÐÐÐ', +table_copy_row_desc : '¸´ÖÆÐÐ', +table_paste_row_before_desc : 'ÔÚÇ°Ãæ²åÈëÐÐ', +table_paste_row_after_desc : 'ÔÚºóÃæ²åÈëÐÐ', +table_insert_desc : 'Insert a new table' +}); diff --git a/webcit/tiny_mce/plugins/table/merge_cells.htm b/webcit/tiny_mce/plugins/table/merge_cells.htm new file mode 100644 index 000000000..5ae1f6682 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/merge_cells.htm @@ -0,0 +1,36 @@ + + + {$lang_table_merge_cells_title} + + + + + +
    +
    + {$lang_table_merge_cells_title} + + + + + + + + + +
    {$lang_table_cols}: +
    {$lang_table_rows}:
    +
    + +
    +
    + +
    + +
    + +
    +
    +
    + + diff --git a/webcit/tiny_mce/plugins/table/readme.txt b/webcit/tiny_mce/plugins/table/readme.txt new file mode 100644 index 000000000..4fdb78aec --- /dev/null +++ b/webcit/tiny_mce/plugins/table/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/webcit/tiny_mce/plugins/table/row.htm b/webcit/tiny_mce/plugins/table/row.htm new file mode 100644 index 000000000..a0b6e4af8 --- /dev/null +++ b/webcit/tiny_mce/plugins/table/row.htm @@ -0,0 +1,154 @@ + + + {$lang_table_row_title} + + + + + + + +
    + + +
    +
    +
    + {$lang_table_general_props} + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + + +
    + +
    +
    +
    + +
    +
    + {$lang_table_advanced_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    + + + + + +
    +
    + + + + + +
    +
    +
    +
    +
    + +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + + diff --git a/webcit/tiny_mce/plugins/table/table.htm b/webcit/tiny_mce/plugins/table/table.htm new file mode 100644 index 000000000..c7bad459c --- /dev/null +++ b/webcit/tiny_mce/plugins/table/table.htm @@ -0,0 +1,154 @@ + + + {$lang_table_title} + + + + + + + +
    + + +
    +
    +
    + {$lang_table_general_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + +
    +
    + {$lang_table_advanced_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    +
    +
    +
    + +
    +
    + +
    + +
    + +
    +
    +
    + + diff --git a/webcit/tiny_mce/plugins/zoom/CVS/Entries b/webcit/tiny_mce/plugins/zoom/CVS/Entries new file mode 100644 index 000000000..21c33740b --- /dev/null +++ b/webcit/tiny_mce/plugins/zoom/CVS/Entries @@ -0,0 +1,4 @@ +D/langs//// +/editor_plugin.js/1.1/Mon Sep 12 09:23:32 2005// +/editor_plugin_src.js/1.1/Mon Sep 12 09:23:32 2005// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// diff --git a/webcit/tiny_mce/plugins/zoom/CVS/Repository b/webcit/tiny_mce/plugins/zoom/CVS/Repository new file mode 100644 index 000000000..4dc12f177 --- /dev/null +++ b/webcit/tiny_mce/plugins/zoom/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/zoom diff --git a/webcit/tiny_mce/plugins/zoom/CVS/Root b/webcit/tiny_mce/plugins/zoom/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/zoom/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/zoom/editor_plugin.js b/webcit/tiny_mce/plugins/zoom/editor_plugin.js new file mode 100644 index 000000000..c8692df16 --- /dev/null +++ b/webcit/tiny_mce/plugins/zoom/editor_plugin.js @@ -0,0 +1,7 @@ +/* Import plugin specific language pack */ + function TinyMCE_zoom_getInfo(){return{longname:'Zoom',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_zoom.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};};function TinyMCE_zoom_getControlHTML(control_name){if(!tinyMCE.isMSIE||tinyMCE.isMSIE5_0)return "";switch(control_name){case "zoom":return '';}return "";}function TinyMCE_zoom_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mceZoom":tinyMCE.getInstanceById(editor_id).contentDocument.body.style.zoom=value;tinyMCE.getInstanceById(editor_id).contentDocument.body.style.mozZoom=value;return true;}return false;} \ No newline at end of file diff --git a/webcit/tiny_mce/plugins/zoom/editor_plugin_src.js b/webcit/tiny_mce/plugins/zoom/editor_plugin_src.js new file mode 100644 index 000000000..a9e87d9ff --- /dev/null +++ b/webcit/tiny_mce/plugins/zoom/editor_plugin_src.js @@ -0,0 +1,47 @@ +/* Import plugin specific language pack */ + +function TinyMCE_zoom_getInfo() { + return { + longname : 'Zoom', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_zoom.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; +}; + +/** + * Returns the HTML contents of the zoom control. + */ +function TinyMCE_zoom_getControlHTML(control_name) { + if (!tinyMCE.isMSIE || tinyMCE.isMSIE5_0) + return ""; + + switch (control_name) { + case "zoom": + return ''; + } + + return ""; +} + +/** + * Executes the mceZoom command. + */ +function TinyMCE_zoom_execCommand(editor_id, element, command, user_interface, value) { + // Handle commands + switch (command) { + case "mceZoom": + tinyMCE.getInstanceById(editor_id).contentDocument.body.style.zoom = value; + tinyMCE.getInstanceById(editor_id).contentDocument.body.style.mozZoom = value; + return true; + } + + // Pass to next handler in chain + return false; +} diff --git a/webcit/tiny_mce/plugins/zoom/langs/CVS/Entries b/webcit/tiny_mce/plugins/zoom/langs/CVS/Entries new file mode 100644 index 000000000..9dfd81e36 --- /dev/null +++ b/webcit/tiny_mce/plugins/zoom/langs/CVS/Entries @@ -0,0 +1,2 @@ +/he.js/1.1/Sun Sep 11 12:53:00 2005// +D diff --git a/webcit/tiny_mce/plugins/zoom/langs/CVS/Repository b/webcit/tiny_mce/plugins/zoom/langs/CVS/Repository new file mode 100644 index 000000000..a2ea56ee8 --- /dev/null +++ b/webcit/tiny_mce/plugins/zoom/langs/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/plugins/zoom/langs diff --git a/webcit/tiny_mce/plugins/zoom/langs/CVS/Root b/webcit/tiny_mce/plugins/zoom/langs/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/plugins/zoom/langs/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/plugins/zoom/langs/he.js b/webcit/tiny_mce/plugins/zoom/langs/he.js new file mode 100644 index 000000000..895ae5492 --- /dev/null +++ b/webcit/tiny_mce/plugins/zoom/langs/he.js @@ -0,0 +1,5 @@ +// HE lang variables by Liron Newman, http://eesh.net + +tinyMCE.addToLang('',{ +zoom_prefix : 'æåí' +}); diff --git a/webcit/tiny_mce/plugins/zoom/readme.txt b/webcit/tiny_mce/plugins/zoom/readme.txt new file mode 100644 index 000000000..4fdb78aec --- /dev/null +++ b/webcit/tiny_mce/plugins/zoom/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/webcit/tiny_mce/themes/CVS/Entries b/webcit/tiny_mce/themes/CVS/Entries new file mode 100644 index 000000000..390cea8c2 --- /dev/null +++ b/webcit/tiny_mce/themes/CVS/Entries @@ -0,0 +1,2 @@ +D/advanced//// +D/simple//// diff --git a/webcit/tiny_mce/themes/CVS/Repository b/webcit/tiny_mce/themes/CVS/Repository new file mode 100644 index 000000000..b69c0d411 --- /dev/null +++ b/webcit/tiny_mce/themes/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes diff --git a/webcit/tiny_mce/themes/CVS/Root b/webcit/tiny_mce/themes/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/CVS/Entries b/webcit/tiny_mce/themes/advanced/CVS/Entries new file mode 100644 index 000000000..a7986e71c --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/CVS/Entries @@ -0,0 +1,14 @@ +D/css//// +D/docs//// +D/images//// +D/jscripts//// +D/langs//// +/about.htm/1.1/Sun Sep 11 12:53:00 2005// +/anchor.htm/1.1/Sun Sep 11 12:53:00 2005// +/charmap.htm/1.1/Sun Sep 11 12:53:00 2005// +/color_picker.htm/1.1/Sun Sep 11 12:53:00 2005// +/image.htm/1.1/Sun Sep 11 12:53:00 2005// +/link.htm/1.1/Sun Sep 11 12:53:00 2005// +/source_editor.htm/1.1/Sun Sep 11 12:53:00 2005// +/editor_template.js/1.2/Wed Sep 28 03:47:28 2005// +/editor_template_src.js/1.2/Wed Sep 28 03:47:28 2005// diff --git a/webcit/tiny_mce/themes/advanced/CVS/Repository b/webcit/tiny_mce/themes/advanced/CVS/Repository new file mode 100644 index 000000000..401cacf19 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced diff --git a/webcit/tiny_mce/themes/advanced/CVS/Root b/webcit/tiny_mce/themes/advanced/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/about.htm b/webcit/tiny_mce/themes/advanced/about.htm new file mode 100644 index 000000000..ec5c8cf5c --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/about.htm @@ -0,0 +1,52 @@ + + + {$lang_about_title} + + + + + + + + +
    +
    +

    {$lang_about_title}

    +

    Version: {$tinymce_version} ({$tinymce_releasedate})

    +

    TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under LGPL + by Moxiecode Systems AB. It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances.

    +

    Copyright © 2005, Moxiecode Systems AB, All rights reserved.

    +

    For more information about this software visit the TinyMCE website.

    + +
    +
    + +
    +
    +

    {$lang_loaded_plugins}

    + +
    +
    + +

     

    +
    +
    + +
    +
    +
    +
    + +
    +
    + +
    +
    + + diff --git a/webcit/tiny_mce/themes/advanced/anchor.htm b/webcit/tiny_mce/themes/advanced/anchor.htm new file mode 100644 index 000000000..1b90fe975 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/anchor.htm @@ -0,0 +1,32 @@ + + + {$lang_insert_anchor_title} + + + + +
    + + + + + + + + + +
    {$lang_insert_anchor_title}
    {$lang_insert_anchor_name}:
    + +
    +
    + +
    + +
    + +
    +
    + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/charmap.htm b/webcit/tiny_mce/themes/advanced/charmap.htm new file mode 100644 index 000000000..da947ee3d --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/charmap.htm @@ -0,0 +1,52 @@ + + + {$lang_theme_charmap_title} + + + + + + + + + + + + + + + + +
    {$lang_theme_charmap_title}
    + + + + + + + + + +
     
     
    +
    + + + + + + + + + + + + + + + + +
    HTML-Code
     
     
    NUM-Code
     
    +
    + + + diff --git a/webcit/tiny_mce/themes/advanced/color_picker.htm b/webcit/tiny_mce/themes/advanced/color_picker.htm new file mode 100644 index 000000000..24e73dff3 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/color_picker.htm @@ -0,0 +1,12 @@ + + + {$lang_theme_colorpicker_title} + + + + +
    + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/css/CVS/Entries b/webcit/tiny_mce/themes/advanced/css/CVS/Entries new file mode 100644 index 000000000..a6ce427dc --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/css/CVS/Entries @@ -0,0 +1,4 @@ +/editor_content.css/1.1/Thu Sep 1 16:03:16 2005// +/editor_popup.css/1.1/Tue Aug 30 18:35:56 2005// +/editor_ui.css/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/themes/advanced/css/CVS/Repository b/webcit/tiny_mce/themes/advanced/css/CVS/Repository new file mode 100644 index 000000000..53a191608 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/css/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/css diff --git a/webcit/tiny_mce/themes/advanced/css/CVS/Root b/webcit/tiny_mce/themes/advanced/css/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/css/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/css/editor_content.css b/webcit/tiny_mce/themes/advanced/css/editor_content.css new file mode 100644 index 000000000..1b41edb8c --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/css/editor_content.css @@ -0,0 +1,55 @@ +/* This file contains the CSS data for the editable area(iframe) of TinyMCE */ +/* You can extend this CSS by adding your own CSS file with the the content_css option */ + +body { + background-color: #FFFFFF; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 10px; + scrollbar-3dlight-color: #F0F0EE; + scrollbar-arrow-color: #676662; + scrollbar-base-color: #F0F0EE; + scrollbar-darkshadow-color: #DDDDDD; + scrollbar-face-color: #E0E0DD; + scrollbar-highlight-color: #F0F0EE; + scrollbar-shadow-color: #F0F0EE; + scrollbar-track-color: #F5F5F5; +} + +td { + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 10px; +} + +pre { + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 10px; +} + +.mceVisualAid { + border: 1px dashed #BBBBBB !important; +} + +.mceItemAnchor { + width: 12px; + line-height: 6px; + overflow: hidden; + padding-left: 12px; + background-image: url('../images/anchor_symbol.gif'); + background-position: bottom; + background-repeat: no-repeat; +} + +/* Important is needed in Gecko browsers inorder to style links */ +/* +a { + color: green !important; +} +*/ + +/* Style selection range colors in Gecko browsers */ +/* +::-moz-selection { + background-color: red; + color: green; +} +*/ diff --git a/webcit/tiny_mce/themes/advanced/css/editor_popup.css b/webcit/tiny_mce/themes/advanced/css/editor_popup.css new file mode 100644 index 000000000..14f83221a --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/css/editor_popup.css @@ -0,0 +1,319 @@ +/* This file contains the CSS data for all popups in TinyMCE */ + +body { + background-color: #F0F0EE; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 11px; + scrollbar-3dlight-color: #F0F0EE; + scrollbar-arrow-color: #676662; + scrollbar-base-color: #F0F0EE; + scrollbar-darkshadow-color: #DDDDDD; + scrollbar-face-color: #E0E0DD; + scrollbar-highlight-color: #F0F0EE; + scrollbar-shadow-color: #F0F0EE; + scrollbar-track-color: #F5F5F5; + margin: 8px; +} + +td { + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 11px; +} + +input { + background: #FFFFFF; + border: 1px solid #cccccc; +} + +td, input, select, textarea { + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 10px; +} + +input, select, textarea { + border: 1px solid #808080; +} + +.input_noborder { + border: 0px solid #808080; +} + +#insert { + font-weight: bold; + width: 90px; + height: 21px; + border: 0px; + background-image: url('../images/insert_button_bg.gif'); + cursor: pointer; +} + +#cancel { + font-weight: bold; + width: 90px; + height: 21px; + border: 0px; + background-image: url('../images/cancel_button_bg.gif'); + cursor: pointer; +} + +/* Mozilla only style */ +html>body #insert, html>body #cancel { + padding-bottom: 2px; +} + +.title { + font-size: 12px; + font-weight: bold; + color: #2B6FB6; +} + +table.charmap { + border-style: solid; + border-width: 1px; + border-color: #AAAAAA; +} + +td.charmap, td.charmapOver { + color: #000000; + border-color: #AAAAAA; + border-style: solid; + border-width: 1px; + text-align: center; + font-size: 12px; +} + +td.charmapOver { + background-color: #CCCCCC; + cursor: arrow; +} + +a.charmap { + color: #000000; + text-decoration: none +} + +.wordWrapCode { + vertical-align: middle; + border: 1px none #000000; + background-color: transparent; +} + +input.radio { + border: 1px none #000000; + background-color: transparent; + vertical-align: middle; +} + +input.checkbox { + border: 1px none #000000; + background-color: transparent; + vertical-align: middle; +} + +.mceButtonNormal, .mceButtonOver, .mceButtonDown, .mceSeparator, .mceButtonDisabled, .mceButtonSelected { + margin-left: 1px; +} + +.mceButtonNormal { + border-top: 1px solid; + border-left: 1px solid; + border-bottom: 1px solid; + border-right: 1px solid; + border-color: #F0F0EE; + cursor: arrow; +} + +.mceButtonOver { + border: 1px solid #0A246A; + cursor: arrow; + background-color: #B6BDD2; +} + +.mceButtonDown { + cursor: arrow; + border: 1px solid #0A246A; + background-color: #8592B5; +} + +.mceButtonDisabled { + filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30); + -moz-opacity:0.3; + opacity: 0.3; + border-top: 1px solid; + border-left: 1px solid; + border-bottom: 1px solid; + border-right: 1px solid; + border-color: #F0F0EE; + cursor: arrow; +} + +.mceActionPanel { + margin-top: 5px; +} + +/* Tabs classes */ + +.tabs { + float: left; + width: 100%; + line-height: normal; + background-image: url("../images/xp/tabs_bg.gif"); +} + +.tabs ul { + margin: 0; + padding: 0px 0px 0; + list-style: none; +} + +.tabs li { + float: left; + background: url("../images/xp/tab_bg.gif") no-repeat left top; + margin: 0; + margin-left: 0px; + margin-right: 2px; + padding: 0 0 0 10px; + line-height: 18px; +} + +.tabs li.current { + background: url("../images/xp/tab_sel_bg.gif") no-repeat left top; + margin-right: 2px; +} + +.tabs span { + float: left; + display: block; + background: url("../images/xp/tab_end.gif") no-repeat right top; + padding: 0px 10px 0px 0px; +} + +.tabs .current span { + background: url("../images/xp/tab_sel_end.gif") no-repeat right top; +} + +.tabs a { + text-decoration: none; + font-family: Verdana, Arial; + font-size: 10px; +} + +.tabs a:link, .tabs a:visited, .tabs a:hover { + color: black; +} + +.tabs a:hover { +} + +.tabs .current { +} + +.tabs .current a, .tabs .current a:link, .tabs .current a:visited { +} + +.panel_wrapper div.panel { + display: none; +} + +.panel_wrapper div.current { + display: block; + width: 100%; + height: 300px; + overflow: visible; /* Should be auto but that breaks Safari */ +} + +.panel_wrapper { + border: 1px solid #919B9C; + border-top: 0px; + padding: 10px; + padding-top: 5px; + clear: both; + background-color: white; +} + +fieldset { + border: 1px solid #919B9C; + font-family: Verdana, Arial; + font-size: 10px; + padding: 0px; + margin: 0px; + padding: 4px; +} + +legend { + color: #2B6FB6; + font-weight: bold; +} + +.properties { + width: 100%; +} + +.properties .column1 { +} + +.properties .column2 { + text-align: left; +} + +a:link, a:visited { + color: black; +} + +a:hover { + color: #2B6FB6; +} + +#plugintable thead { + font-weight: bold; + background-color: #DDDDDD; +} + +#plugintable, #about #plugintable td { + border: 1px solid #919B9C; +} + +#plugintable { + width: 99%; + margin-top: 10px; +} + +#pluginscontainer { + height: 290px; + overflow: auto; +} + +/* MSIE Specific styles */ + +* html .panel_wrapper { + width: 100%; +} + +.column { + float: left; +} + +h1, h2, h3, h4 { + color: #2B6FB6; + margin: 0px; + padding: 0px; + padding-top: 5px; +} + +h3 { + font-size: 14px; +} + +/* Disables the advanced tab in the table plugin. */ +/* +#table #advanced_tab { + display: none; +} +*/ + +/* Disables the border input field and label in the table plugin. */ +/* +#table #border, #table #borderlabel { + display: none; +} +*/ diff --git a/webcit/tiny_mce/themes/advanced/css/editor_ui.css b/webcit/tiny_mce/themes/advanced/css/editor_ui.css new file mode 100644 index 000000000..a94349963 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/css/editor_ui.css @@ -0,0 +1,174 @@ +/* This file contains the CSS data for the editor UI of TinyMCE instances */ + +.mceButtonNormal, .mceButtonOver, .mceButtonDown, .mceSeparator, .mceButtonDisabled, .mceButtonSelected { + margin-top: 1px; + margin-left: 1px; +} + +.mceButtonNormal { + border-top: 1px solid; + border-left: 1px solid; + border-bottom: 1px solid; + border-right: 1px solid; + border-color: #F0F0EE; + cursor: arrow; +} + +.mceButtonOver { + border: 1px solid #0A246A; + cursor: arrow; + background-color: #B6BDD2; +} + +.mceButtonDown { + cursor: arrow; + border: 1px solid #0A246A; + background-color: #8592B5; +} + +.mceButtonSelected { + border: 1px solid; + border-color: #C0C0BB; + cursor: arrow; +} + +.mceButtonDisabled { + filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30); + -moz-opacity:0.3; + opacity: 0.3; + border-top: 1px solid; + border-left: 1px solid; + border-bottom: 1px solid; + border-right: 1px solid; + border-color: #F0F0EE; + cursor: arrow; +} + +.mceSeparator { + border-top: 1px solid buttonhighlight; + border-left: 1px solid buttonhighlight; + border-bottom: 1px solid buttonshadow; + border-right: 1px solid buttonshadow; + margin-right: 2px; + margin-left: 2px; +} + +.mceSeparatorLine { + margin:2px; + margin-left: 4px; + background-color: #F0F0EE; + border-top: 1px solid buttonshadow; + border-left: 1px solid buttonshadow; + border-bottom: 1px solid buttonhighlight; + border-right: 1px solid buttonhighlight; + width: 0px; + height: 15px; +} + +.mceSelectList { + font-family: "MS Sans Serif"; + font-size: 7pt; + font-weight: normal; + margin-top: 3px; + padding: 0px; + display: inline; + vertical-align: top; + background-color: #F0F0EE +} + +.mceLabel, .mceLabelDisabled { + font-family: "MS Sans Serif"; + font-size: 9pt; +} + +.mceLabel { + color: #000000; +} + +.mceLabelDisabled { + cursor: text; + color: #999999; +} + +.mceEditor { + background: #F0F0EE; + border: 1px solid #cccccc; + padding: 0px; + margin: 0px; +} + +.mceEditorArea { + font-family: "MS Sans Serif"; + background: #FFFFFF; + padding: 0px; + margin: 0px; +} + +.mceToolbarTop, .mceToolbarBottom { + background: #F0F0EE; +} + +.mceToolbarTop { + border-bottom: 1px solid #cccccc; +} + +.mceToolbarBottom { + border-top: 1px solid #cccccc; +} + +.mceStatusbarTop, .mceStatusbarBottom, .mceStatusbar { + height: 20px; +} + +.mceStatusbarTop .mceStatusbarPathText, .mceStatusbarBottom .mceStatusbarPathText, .mceStatusbar .mceStatusbarPathText { + font-family: "MS Sans Serif"; + font-size: 9pt; + padding: 2px; + line-height: 16px; + overflow: visible; +} + +.mceStatusbarTop { + border-bottom: 1px solid #cccccc; +} + +.mceStatusbarBottom { + border-top: 1px solid #cccccc; +} + +.mceStatusbar { + border-bottom: 1px solid #cccccc; +} + +.mcePathItem, .mcePathItem:link, .mcePathItem:visited, .mcePathItem:hover { + text-decoration: none; + font-family: "MS Sans Serif"; + font-size: 9pt; + color: #000000; +} + +.mcePathItem:hover { + text-decoration: underline; +} + +.mceStatusbarPathText { + float: left; +} + +.mceStatusbarResize { + float: right; + background-image: url('../images/statusbar_resize.gif'); + background-repeat: no-repeat; + width: 11px; + height: 20px; + cursor: se-resize; +} + +.mceResizeBox { + width: 10px; + height: 10px; + display: none; + border: 1px dotted gray; + margin: 0px; + padding: 0px; +} diff --git a/webcit/tiny_mce/themes/advanced/docs/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/CVS/Entries new file mode 100644 index 000000000..570481bc1 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/CVS/Entries @@ -0,0 +1,14 @@ +D/cs//// +D/de//// +D/en//// +D/es//// +D/fi//// +D/fr//// +D/fr_ca//// +D/hu//// +D/images//// +D/it//// +D/nl//// +D/pl//// +D/sv//// +D/zh_cn//// diff --git a/webcit/tiny_mce/themes/advanced/docs/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/CVS/Repository new file mode 100644 index 000000000..4a8d6488e --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs diff --git a/webcit/tiny_mce/themes/advanced/docs/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/cs/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/cs/CVS/Entries new file mode 100644 index 000000000..a90297d71 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/cs/CVS/Entries @@ -0,0 +1,8 @@ +D/images//// +/about.htm/1.1/Tue Aug 30 18:35:56 2005// +/common_buttons.htm/1.1/Tue Aug 30 18:35:56 2005// +/index.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_image_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_link_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_table_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/style.css/1.1/Tue Aug 30 18:35:56 2005// diff --git a/webcit/tiny_mce/themes/advanced/docs/cs/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/cs/CVS/Repository new file mode 100644 index 000000000..0befade8c --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/cs/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/cs diff --git a/webcit/tiny_mce/themes/advanced/docs/cs/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/cs/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/cs/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/cs/about.htm b/webcit/tiny_mce/themes/advanced/docs/cs/about.htm new file mode 100644 index 000000000..f51faa9a8 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/cs/about.htm @@ -0,0 +1,31 @@ + + +O TinyMCE + + + + + + + + + + + + +
    +
    +TinyMCE je malý WYSIWYG editor pro webové prohlí¾eèe jako jsou MSIE nebo Mozilla, +kterým lze HTML obsah upravovat mnohem jednodu¹eji. Obsahuje bì¾né funkce, +je¾ lze nalézt ve vìt¹inì textových editorù, proto by jeho pou¾ívání nemìlo být slo¾ité.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/cs/common_buttons.htm b/webcit/tiny_mce/themes/advanced/docs/cs/common_buttons.htm new file mode 100644 index 000000000..91115fd73 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/cs/common_buttons.htm @@ -0,0 +1,170 @@ + + +Bì¾ná tlaèítka + + + + + + + + + + + + +
    +
    +Ní¾e je krátce popsáno ka¾dé tlaèítko. + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Zkopíruje aktuálnì vybraný obsah do schránky. (Ctrl+C)
    Vyjme aktuálnì vybraný obsah do schránky. (Ctrl+X)
    Vlo¾í obsah schránky do okna editoru. (Ctrl+P)
    Ztuèní text.
    Naformátuje text kurzívou.
    Podtrhne text.
    Pøe¹krtne text.
    Zarovná vlevo.
    Zarovná na støed.
    Zarovná vpravo.
    Zarovná do bloku.
    Neøazený seznam/seznam s odrá¾ky.
    Øazený seznam/èíslovaný seznam.
    Pøedsadí/sní¾í odsazení.
    Odsadí/zvý¹í odsazení.
    Vrátí zpìt naposledy provedenou akci.
    Obnoví poslední akci.
    Vlo¾í nový odkaz, více o této funkci v èásti Vlo¾it odkaz.
    Zru¹í odkaz v aktuálním výbìru/odstranit v¹echny vybrané odkazy.
    Vlo¾í nový obrázek, více o této funkci v èásti Vlo¾it obrázek.
    Vyèistí kód/odstraní nechtìné formátování. Tato funkce se hodí kdy¾ + kopírujete obsah napøíklad z kanceláøského balíku.
    Zobrazí tuto nápovìdu.
    Otevøe editor s HTML zdrojem.
    Do aktuální pozice vlo¾í novou 2x2 tabulku.
    Pøidá øádek pøed aktuální.
    Pøidá øádek pod aktuální.
    Odstraní øádek.
    Pøidá sloupec pøed aktuální.
    Pøidá sloupec za aktuální.
    Odstraní aktuální sloupec.
    Pøidá nový vodorovný oddìlovaè.
    Odstraní z výbìru formátování.
    Vytvoøí z vybraného textu dolní index.
    Vytvoøí z vybraného textu horní index.
    +
    +
    + + + + + + + + diff --git a/webcit/tiny_mce/themes/advanced/docs/cs/images/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/cs/images/CVS/Entries new file mode 100644 index 000000000..59dc58262 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/cs/images/CVS/Entries @@ -0,0 +1,4 @@ +/insert_image_window.png/1.1/Tue Aug 30 18:35:56 2005// +/insert_link_window.png/1.1/Tue Aug 30 18:35:56 2005// +/insert_table_window.png/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/themes/advanced/docs/cs/images/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/cs/images/CVS/Repository new file mode 100644 index 000000000..7de71865c --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/cs/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/cs/images diff --git a/webcit/tiny_mce/themes/advanced/docs/cs/images/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/cs/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/cs/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/cs/images/insert_image_window.png b/webcit/tiny_mce/themes/advanced/docs/cs/images/insert_image_window.png new file mode 100644 index 000000000..5d9ea9830 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/cs/images/insert_image_window.png differ diff --git a/webcit/tiny_mce/themes/advanced/docs/cs/images/insert_link_window.png b/webcit/tiny_mce/themes/advanced/docs/cs/images/insert_link_window.png new file mode 100644 index 000000000..94a0c2e5a Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/cs/images/insert_link_window.png differ diff --git a/webcit/tiny_mce/themes/advanced/docs/cs/images/insert_table_window.png b/webcit/tiny_mce/themes/advanced/docs/cs/images/insert_table_window.png new file mode 100644 index 000000000..17c46d0f4 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/cs/images/insert_table_window.png differ diff --git a/webcit/tiny_mce/themes/advanced/docs/cs/index.htm b/webcit/tiny_mce/themes/advanced/docs/cs/index.htm new file mode 100644 index 000000000..88c8c8f05 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/cs/index.htm @@ -0,0 +1,26 @@ + + +Nápovìda + + + + + + + + + + +
    +
    +Kliknutím na odkazy ní¾e zvolte po¾adovanou èást nápovìdy. + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/cs/insert_image_button.htm b/webcit/tiny_mce/themes/advanced/docs/cs/insert_image_button.htm new file mode 100644 index 000000000..360102df7 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/cs/insert_image_button.htm @@ -0,0 +1,66 @@ + + +Tlaèítko vlo¾it obrázek + + + + + + + + + + + + +
    +
    +Tlaèítko vlo¾it obrázek otevøe následující okno.
    +
    +
    +
    +Jen vlo¾te URL obrázku, který chcete pøidat a zadáte jeho popis, jen¾ bude +zobrazován jako alternativní popisek obrázku.
    +
    +Popis políèek:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    URL obrázkuURL/cesta k obrázku.
    Popis obrázkuAlternativní popis toho, co je na obrázku.
    Rozmìry©íøka/vý¹ka obrázku.
    ZarovnáníZarovnání obrázku, vhodné pro obtékání obrázku textem.
    RámeèekTlou¹»ka rámeèku.
    Vertikální okrajVertikální okraj, vhodné pro zalomení textu kolem obrázku.
    Horizontální okrajHorizontální okraj, vhodné pro zalomení textu kolem obrázku.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/cs/insert_link_button.htm b/webcit/tiny_mce/themes/advanced/docs/cs/insert_link_button.htm new file mode 100644 index 000000000..35080782c --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/cs/insert_link_button.htm @@ -0,0 +1,34 @@ + + +Tlaèítko vlo¾it odkaz + + + + + + + + + + + + +
    +
    +Toto tlaèítko otevøe nové okno s mo¾ností vlo¾ení/úpravy odkazu.
    +
    +
    +
    +V tomto oknì jsou dvì políèka. "URL odkazu" je adresa stránky, na +kterou odkazujeme. "Cíl" urèuje, jak má být odkazovaná stránka otevøena.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/cs/insert_table_button.htm b/webcit/tiny_mce/themes/advanced/docs/cs/insert_table_button.htm new file mode 100644 index 000000000..fcb63b62a --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/cs/insert_table_button.htm @@ -0,0 +1,68 @@ + + +Tlaèítko vlo¾it tabulku + + + + + + + + + + + + +
    +
    +Tlaèítko vlo¾it tabulku otevøe následující okno, v nìm¾ mù¾ete definovat novou tabulku.
    +
    +
    +
    +Popis políèek:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    SloupcePoèet sloupcù v tabulce.
    ØádkyPoèet øádkù v tabulce.
    Vnitøní okraj bunìkVnitøní okraj bunìk tabulky.
    Vnìj¹í okraj bunìkVnitøní okraj bunìk tabulky.
    ZarovnáníZarovnání tabulky.
    RámeèekTlou¹»ka rámeèku tabulky.
    ©íøka©íøka tabulky v pixelech.
    Vý¹kaVý¹ka tabulky v pixelech.
    +
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/cs/style.css b/webcit/tiny_mce/themes/advanced/docs/cs/style.css new file mode 100644 index 000000000..f988e2a7b --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/cs/style.css @@ -0,0 +1,28 @@ +body { background-color: #FFFFFF; } +body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; } +.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; } +.subtitle { font-size: 12px; font-weight: bold; } + +.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; } +.step_ol, .step_li { margin-left: 11 px; line-height: 16px; } +img { border: 0; } + +a:visited { color: #666666; text-decoration: underline; } +a:active { color: #666666; text-decoration: underline; } +a:hover { color: #666666; text-decoration: underline; } +a { color: #666666; text-decoration: underline; } + +.pageheader { border: #E0E0E0 solid 1px; } +.pagefooter { border: #E0E0E0 solid 1px; } +.sample { background-color: #FFFFFF; border: #000000 solid 1px; } +.samplecontent { font-size: 10px; } + +.code { background-color: #FFFFFF; border: #000000 solid 1px; } +.codecontent { font-size: 10px; } +.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a { color: #666666; text-decoration: none; font-weight: bold } + +hr { height: 1px; } + diff --git a/webcit/tiny_mce/themes/advanced/docs/de/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/de/CVS/Entries new file mode 100644 index 000000000..38d8f4a19 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/de/CVS/Entries @@ -0,0 +1,7 @@ +D/images//// +/about.htm/1.1/Tue Aug 30 18:35:56 2005// +/common_buttons.htm/1.1/Tue Aug 30 18:35:56 2005// +/index.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_image_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_link_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/style.css/1.1/Tue Aug 30 18:35:56 2005// diff --git a/webcit/tiny_mce/themes/advanced/docs/de/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/de/CVS/Repository new file mode 100644 index 000000000..2e5d89fa8 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/de/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/de diff --git a/webcit/tiny_mce/themes/advanced/docs/de/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/de/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/de/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/de/about.htm b/webcit/tiny_mce/themes/advanced/docs/de/about.htm new file mode 100644 index 000000000..c546f3048 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/de/about.htm @@ -0,0 +1,31 @@ + + +Über TinyMCE + + + + + + + + + + + +
    +
    +TinyMCE ist ein kompakter WYSIWYG-Editor für Webbrowser wie MSIE oder Mozilla +der es Ihnen ermöglicht HTML-Inhalte auf eine benutzerfreundliche Weise zu +editieren. Es verfügt über die wichtigsten Funktionen die in den meisten +Textverarbeitungen vorkommen und sollte einfach zu benutzen sein.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/de/common_buttons.htm b/webcit/tiny_mce/themes/advanced/docs/de/common_buttons.htm new file mode 100644 index 000000000..0f09f9345 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/de/common_buttons.htm @@ -0,0 +1,107 @@ + + +Allgemeine Schaltflächen + + + + + + + + + + + +
    +
    +Untenstehend eine kurze Beschreibung jeder Schaltfläche.
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Fetter Text.
    Kursiver Text.
    Unterstrichener Text.
    Durchgestrichener Text.
    Linksbündig.
    Zentriert.
    Rechtsbündig.
    Blocksatz.
    Unsortierte Liste / Punktierte Liste.
    Sortierte Liste / Nummerierte Liste.
    Einzug verkleinern.
    Einzug vergrössern.
    Letzte Aktion rückgängig machen.
    Letzte Aktion wiederholen.
    Einen neuen Hyperlink einfügen, lesen Sie mehr über diese Funktion im Kapitel Hyperlink einfügen.
    Den gegenwärtige markierten Hyperlink entfernen / Alle gegenwärtig markierten Hyperlinks entfernen.
    Ein neues Bild einfügen, lesen Sie mehr über diese Funktion im Kapitel Bild einfügen.
    unsauberen Code aufräumen / Entfernt ungewollte Formatierungen. Diese Funktion ist nützlich, + wenn Sie beispielsweise Inhalte aus einem Office Produkt kopieren.
    Zeigt diese Hilfe an.
    +
    +
    + + + + + + + + diff --git a/webcit/tiny_mce/themes/advanced/docs/de/images/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/de/images/CVS/Entries new file mode 100644 index 000000000..605bec503 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/de/images/CVS/Entries @@ -0,0 +1,3 @@ +/insert_image_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_link_window.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/themes/advanced/docs/de/images/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/de/images/CVS/Repository new file mode 100644 index 000000000..7b29294e8 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/de/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/de/images diff --git a/webcit/tiny_mce/themes/advanced/docs/de/images/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/de/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/de/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/de/images/insert_image_window.gif b/webcit/tiny_mce/themes/advanced/docs/de/images/insert_image_window.gif new file mode 100644 index 000000000..751de2816 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/de/images/insert_image_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/de/images/insert_link_window.gif b/webcit/tiny_mce/themes/advanced/docs/de/images/insert_link_window.gif new file mode 100644 index 000000000..14871d7d2 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/de/images/insert_link_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/de/index.htm b/webcit/tiny_mce/themes/advanced/docs/de/index.htm new file mode 100644 index 000000000..d0d39e1d1 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/de/index.htm @@ -0,0 +1,24 @@ + + +Inhaltsverzeichnis der Hilfe + + + + + + + + + +
    +
    +Klicken Sie auf die untenstehenden Links um die verschiedenen Bereiche der Hilfe zu betrachten. + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/de/insert_image_button.htm b/webcit/tiny_mce/themes/advanced/docs/de/insert_image_button.htm new file mode 100644 index 000000000..7fcb2c6d1 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/de/insert_image_button.htm @@ -0,0 +1,33 @@ + + +Schaltfläche Bild einfügen + + + + + + + + + + + +
    +
    +Die Schaltfläche "Bild einfügen" öffnet das unten gezeigte Fenster.
    +
    +
    +
    +Sie geben einfach die URL zu dem Bild ein, das Sie verknüpfen möchten und eine +Beschreibung des Bildes, welche dann als alternative Textbeschreibung verwendet wird. +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/de/insert_link_button.htm b/webcit/tiny_mce/themes/advanced/docs/de/insert_link_button.htm new file mode 100644 index 000000000..fbbd54f50 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/de/insert_link_button.htm @@ -0,0 +1,34 @@ + + +Schaltfläche Hyperlink einfügen + + + + + + + + + + + +
    +
    +Diese Schaltfläche öffnet das Fenster für die "Hyperlink einfügen / bearbeiten"-Funktion.
    +
    +
    +
    +Zwei Felder sind in diesem Fenster auszufüllen. Das Erste, "Hyperlink URL", ist für +die URL der Verknüpfung. Das "Ziel" erlaubt Ihnen auszuwählen wie die Verknüpfung +geöffnet werden soll. +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/de/style.css b/webcit/tiny_mce/themes/advanced/docs/de/style.css new file mode 100644 index 000000000..722f537a1 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/de/style.css @@ -0,0 +1,28 @@ +body { background-color: #FFFFFF; } +body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; } +.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; } +.subtitle { font-size: 12px; font-weight: bold; } + +.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; } +.step_ol, .step_li { margin-left: 11 px; line-height: 16px; } +img { border: #000000 solid 1px; } + +a:visited { color: #666666; text-decoration: underline; } +a:active { color: #666666; text-decoration: underline; } +a:hover { color: #666666; text-decoration: underline; } +a { color: #666666; text-decoration: underline; } + +.pageheader { border: #E0E0E0 solid 1px; } +.pagefooter { border: #E0E0E0 solid 1px; } +.sample { background-color: #FFFFFF; border: #000000 solid 1px; } +.samplecontent { font-size: 10px; } + +.code { background-color: #FFFFFF; border: #000000 solid 1px; } +.codecontent { font-size: 10px; } +.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a { color: #666666; text-decoration: none; font-weight: bold } + +hr { height: 1px; } + diff --git a/webcit/tiny_mce/themes/advanced/docs/en/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/en/CVS/Entries new file mode 100644 index 000000000..ecd435dce --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/en/CVS/Entries @@ -0,0 +1,10 @@ +D/images//// +/about.htm/1.1/Sun Sep 11 12:53:00 2005// +/insert_table_button.htm/1.1/Sun Sep 11 12:53:00 2005// +/style.css/1.1/Tue Aug 30 18:35:56 2005// +/common_buttons.htm/1.2/Wed Sep 28 03:47:29 2005// +/create_accessible_content.htm/1.1/Mon Sep 26 18:44:32 2005// +/index.htm/1.2/Wed Sep 28 03:47:29 2005// +/insert_anchor_button.htm/1.2/Wed Sep 28 03:47:29 2005// +/insert_image_button.htm/1.2/Wed Sep 28 03:47:29 2005// +/insert_link_button.htm/1.2/Wed Sep 28 03:47:29 2005// diff --git a/webcit/tiny_mce/themes/advanced/docs/en/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/en/CVS/Repository new file mode 100644 index 000000000..fde6d810d --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/en/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/en diff --git a/webcit/tiny_mce/themes/advanced/docs/en/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/en/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/en/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/en/about.htm b/webcit/tiny_mce/themes/advanced/docs/en/about.htm new file mode 100644 index 000000000..a6957a651 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/en/about.htm @@ -0,0 +1,31 @@ + + +About TinyMCE + + + + + + + + + + + +
    +
    +TinyMCE is a small WYSIWYG editor control for web browsers such as MSIE or Mozilla +that enables you to edit HTML contents in a more user friendly way. It has common +features that are found in most word processors and should not be difficult to +use.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/en/common_buttons.htm b/webcit/tiny_mce/themes/advanced/docs/en/common_buttons.htm new file mode 100644 index 000000000..fc82f8e90 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/en/common_buttons.htm @@ -0,0 +1,162 @@ + + +Common buttons + + + + + + + + + + + +
    +
    +Below is a short description about each button. +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Bold text iconBold text style (Ctrl+B).
    Italic text iconItalic text style (Ctrl+I).
    Underline text icon.Underline text style (Ctrl+U).
    Strikethrough text icon.Strikethrough text style.
    Align left icon.Align left.
    Align center icon.Align center.
    Align right icon.Align right.
    Align full icon.Align full.
    Unordered list/bullet list icon.Unordered list/bullet list.
    Ordered list/numbered list icon.Ordered list/numbered list
    Outdent/decrease indentation icon.Outdent/decrease indentation.
    Indent/increase indentation icon.Indent/increase indentation.
    Undo the last operation.Undo the last operation (Ctrl+Z).
    Redo the last operation icon.Redo the last operation (Ctrl+Y).
    Insert a new link icon.Insert a new link, read more about this function in the Insert + link section.
    Unlinks the current selection icon.Unlinks the current selection/removes all selected links.
    Insert a new anchor icon.Insert a new anchor, read more about this function in the Insert anchor section.
    Insert a new image icon.Insert a new image, read more about this function in the Insert + image section.
    Cleanup code icon.Cleanup code/Removes unwanted formating. This function is useful when + you copy contents from for example a office product.
    Show help icon.Shows this help window.
    Source code editor icon.Opens HTML source code editor.
    Insert table icon.Inserts a new table at the current location.
    Adds a row above icon.Adds a row above the current one.
    Adds a row under icon.Adds a row under the current one.
    Remove row icon.Removes the row.
    Add column before icon.Adds a column before the current one.
    Add column after icon.Adds a column after the current one.
    Remove column icon.Removes the current column.
    Insert horizontal ruler icon.Inserts a new horizontal ruler
    Remove formatting icon.Removes formatting from the selection.
    Subscript icon.Makes the selection to be subscript.
    Superscript icon.Makes the selection to be superscripted.
    +
    +
    + + + + + + + + diff --git a/webcit/tiny_mce/themes/advanced/docs/en/create_accessible_content.htm b/webcit/tiny_mce/themes/advanced/docs/en/create_accessible_content.htm new file mode 100644 index 000000000..f4070a31d --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/en/create_accessible_content.htm @@ -0,0 +1,45 @@ + + +Insert table button + + + + + + + + + + + +
    +

    TinyMCE can create HTML content that will be accessible to all users, including those with disabilities using assistive technologies, as well as those using text-based browsers, or those browsing the Web with images turned off.

    + +

    Things you can do to make your content accessible:

    +
      +
    1. Include an Image Description: Blind users, or others who are unable to view images, will rely on the Image Description (or Alt text) to take the place of the image. If an image contains no meaning, such as a decoration or a spacer image, leave the Image Description empty. TinyMCE will then insert an empty Alt text attribute that will force assistive technologies to ignore the image.

    2. + +
    3. Add Scope to data table header cells: In the table cell editor dialog window, choose a Scope when creating Header cells so the column or row label in that cell becomes explicitely associated with its data cells. Table cell headers will then be announced with each data cell, making it easier for blind users using a screen reader to understand what the content of each cell represents.

    4. + +
    5. Structure content with properly nested headings: In the format selection menu choose Heading 1 to Heading 6 to represent headings in your content, rather than using other font formating options. Blind users using a screen reader can then extract the headings from the page to generate a summary of the content it contains, and use those headings to navigate quickly to subsections within the page.

    6. + +
    7. Include alternate content: Create an alternate page for non-HTML content such as Flash, Java applets, or embedded movies. This might be a static image, with a description of the image, and a description of the content that would have appeared in its place. An alternate HTML page could also be created, and a link to it included next to the non-HTML object. This will ensure that the content will be accessible to users of assistive technologies that can not view or play the content, and ensure the content will be available to those who do not have the appropriate plugin or helper application installed.

    8. + +
    9. Check accessbility: When the AChecker plugin is installed with TinyMCE, click on the Check Accessibility button to generate a report of potential accessibility problems.

    10. + +
    + +

    See the AChecker Web Site for further details about creating content that will be accessible to all users.
    +

    + +
    + + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/en/images/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/en/images/CVS/Entries new file mode 100644 index 000000000..e5bd9c0f4 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/en/images/CVS/Entries @@ -0,0 +1,5 @@ +/insert_anchor_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_image_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_link_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_table_window.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/themes/advanced/docs/en/images/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/en/images/CVS/Repository new file mode 100644 index 000000000..b78c0f143 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/en/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/en/images diff --git a/webcit/tiny_mce/themes/advanced/docs/en/images/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/en/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/en/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/en/images/insert_anchor_window.gif b/webcit/tiny_mce/themes/advanced/docs/en/images/insert_anchor_window.gif new file mode 100644 index 000000000..5b5f528dd Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/en/images/insert_anchor_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/en/images/insert_image_window.gif b/webcit/tiny_mce/themes/advanced/docs/en/images/insert_image_window.gif new file mode 100644 index 000000000..cdc617eab Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/en/images/insert_image_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/en/images/insert_link_window.gif b/webcit/tiny_mce/themes/advanced/docs/en/images/insert_link_window.gif new file mode 100644 index 000000000..7bad7583a Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/en/images/insert_link_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/en/images/insert_table_window.gif b/webcit/tiny_mce/themes/advanced/docs/en/images/insert_table_window.gif new file mode 100644 index 000000000..6a032c5ae Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/en/images/insert_table_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/en/index.htm b/webcit/tiny_mce/themes/advanced/docs/en/index.htm new file mode 100644 index 000000000..9810a93b0 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/en/index.htm @@ -0,0 +1,27 @@ + + +Help Index + + + + + + + + + +
    +
    +Click the links below to go to the different help sections. + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/en/insert_anchor_button.htm b/webcit/tiny_mce/themes/advanced/docs/en/insert_anchor_button.htm new file mode 100644 index 000000000..332cbc687 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/en/insert_anchor_button.htm @@ -0,0 +1,32 @@ + + +Insert anchor button + + + + + + + + + + + +
    +
    +This button opens a new window with the insert/edit anchor function.
    +
    +Anchor dialog/window
    +
    +There are one field in this window, this is where you enter the name of you anchor point. Remember the anchor name needs to be unique.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/en/insert_image_button.htm b/webcit/tiny_mce/themes/advanced/docs/en/insert_image_button.htm new file mode 100644 index 000000000..1529648d5 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/en/insert_image_button.htm @@ -0,0 +1,65 @@ + + +Insert image button + + + + + + + + + + + +
    +
    +The insert image button opens the window shown below.
    +
    +Insert image dialog/window
    +
    +You simply enter a URL to the image you want to link to and enter a image description, +this is then displayed as an alternative text descripton of the image on the page.
    +
    +Field descriptions:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Image URL URL/path to the image.
    Image description Alternative description of image contents.
    DimentionsImage width/height.
    AlignmentImage alignment, useful when wrapping text around images.
    BorderBorder thickness.
    VSpaceVertical space, useful when wrapping text around images.
    HSpaceHorizontal space, useful when wrapping text around images.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/en/insert_link_button.htm b/webcit/tiny_mce/themes/advanced/docs/en/insert_link_button.htm new file mode 100644 index 000000000..4f6445076 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/en/insert_link_button.htm @@ -0,0 +1,33 @@ + + +Insert link button + + + + + + + + + + + +
    +
    +This button opens a new window with the insert/edit link function.
    +
    +Insert link dialog/window
    +
    +There are two fields in this window the first one "Link URL" is the +URL of the link. The target enables you to select how the link is to be opened.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/en/insert_table_button.htm b/webcit/tiny_mce/themes/advanced/docs/en/insert_table_button.htm new file mode 100644 index 000000000..f352a0516 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/en/insert_table_button.htm @@ -0,0 +1,71 @@ + + +Insert table button + + + + + + + + + + + +
    +
    +The insert table button opens the window shown below. This action enables you to create tables.
    +
    +Image of table window
    +
    +Field descriptions:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ColumnsNumber of columns in the table.
    RowsNumber of rows in the new table.
    CellpaddingCellpadding of the table .
    CellspacingCellspacing of the table .
    AlignmentTable alignment .
    BorderBorder thinkness of table.
    WidthWidth in pixels of table .
    HeightHeight in pixels of table.
    ClassStyle or CSS class of table.
    +
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/en/style.css b/webcit/tiny_mce/themes/advanced/docs/en/style.css new file mode 100644 index 000000000..722f537a1 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/en/style.css @@ -0,0 +1,28 @@ +body { background-color: #FFFFFF; } +body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; } +.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; } +.subtitle { font-size: 12px; font-weight: bold; } + +.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; } +.step_ol, .step_li { margin-left: 11 px; line-height: 16px; } +img { border: #000000 solid 1px; } + +a:visited { color: #666666; text-decoration: underline; } +a:active { color: #666666; text-decoration: underline; } +a:hover { color: #666666; text-decoration: underline; } +a { color: #666666; text-decoration: underline; } + +.pageheader { border: #E0E0E0 solid 1px; } +.pagefooter { border: #E0E0E0 solid 1px; } +.sample { background-color: #FFFFFF; border: #000000 solid 1px; } +.samplecontent { font-size: 10px; } + +.code { background-color: #FFFFFF; border: #000000 solid 1px; } +.codecontent { font-size: 10px; } +.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a { color: #666666; text-decoration: none; font-weight: bold } + +hr { height: 1px; } + diff --git a/webcit/tiny_mce/themes/advanced/docs/es/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/es/CVS/Entries new file mode 100644 index 000000000..922307d6c --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/es/CVS/Entries @@ -0,0 +1,8 @@ +D/images//// +/about.htm/1.1/Sun Sep 11 12:53:00 2005// +/common_buttons.htm/1.1/Sun Sep 11 12:53:00 2005// +/index.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_image_button.htm/1.1/Sun Sep 11 12:53:00 2005// +/insert_link_button.htm/1.1/Sun Sep 11 12:53:00 2005// +/insert_table_button.htm/1.1/Sun Sep 11 12:53:00 2005// +/style.css/1.1/Tue Aug 30 18:35:56 2005// diff --git a/webcit/tiny_mce/themes/advanced/docs/es/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/es/CVS/Repository new file mode 100644 index 000000000..485602ba1 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/es/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/es diff --git a/webcit/tiny_mce/themes/advanced/docs/es/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/es/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/es/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/es/about.htm b/webcit/tiny_mce/themes/advanced/docs/es/about.htm new file mode 100644 index 000000000..055c8202d --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/es/about.htm @@ -0,0 +1,28 @@ + + +Acerca de TinyMCE + + + + + + + + + + + +
    +
    +TinyMCE es un editor WYSIWYG para navegadores como MSIE o Mozilla que te permite editar el contenido HTML de una manera más amigable. Tiene la mayoría de las opciones de un procesador de texto y no debería ser dificil de usar.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/es/common_buttons.htm b/webcit/tiny_mce/themes/advanced/docs/es/common_buttons.htm new file mode 100644 index 000000000..0d38d0f57 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/es/common_buttons.htm @@ -0,0 +1,155 @@ + + +Botones de uso común + + + + + + + + + + + +
    +
    +Pequeña descripción de cada botoón. +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Texto en negrita.
    Texto en cursiva.
    Texto subrayado.
    Texto tachado.
    Alinear a la izquierda.
    Alinear al centro.
    Alinear a la derecha.
    Alinear justificado.
    Lista desordenada/lista por puntos.
    Lista ordenada/lista numerada
    Disminuir la sangría.
    Aumentar la sangría.
    Deshacer la última operación.
    Rehacer la última operación.
    Insertar un enlace, más información en insertar enlace.
    Quita el enlace al texto seleccionado.
    Insertar un imagen, más información en insertar imagen.
    Limpiar código, esta función es útil cuando copias el código de otra página.
    Muestra esta ventana de ayuda.
    Abre el editor de HTML.
    Inserta una nueva tabla de 2x2.
    Añade una fila encima.
    Añade una fila debajo.
    Elimina una fila.
    Añade una columna antes de la actual .
    Añade una columna después de la actual.
    Elimina la columna actual.
    Inserta un separador horizontal
    Elimina el formato de la selección.
    Subíndice.
    Superíndice.
    +
    +
    + + + + + + + + diff --git a/webcit/tiny_mce/themes/advanced/docs/es/images/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/es/images/CVS/Entries new file mode 100644 index 000000000..83d9a2e35 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/es/images/CVS/Entries @@ -0,0 +1,4 @@ +/insert_image_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_link_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_table_window.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/themes/advanced/docs/es/images/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/es/images/CVS/Repository new file mode 100644 index 000000000..99c41b0fd --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/es/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/es/images diff --git a/webcit/tiny_mce/themes/advanced/docs/es/images/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/es/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/es/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/es/images/insert_image_window.gif b/webcit/tiny_mce/themes/advanced/docs/es/images/insert_image_window.gif new file mode 100644 index 000000000..cdc617eab Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/es/images/insert_image_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/es/images/insert_link_window.gif b/webcit/tiny_mce/themes/advanced/docs/es/images/insert_link_window.gif new file mode 100644 index 000000000..7bad7583a Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/es/images/insert_link_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/es/images/insert_table_window.gif b/webcit/tiny_mce/themes/advanced/docs/es/images/insert_table_window.gif new file mode 100644 index 000000000..5e8497f75 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/es/images/insert_table_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/es/index.htm b/webcit/tiny_mce/themes/advanced/docs/es/index.htm new file mode 100644 index 000000000..081f03992 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/es/index.htm @@ -0,0 +1,25 @@ + + +Índice de la ayuda + + + + + + + + + +
    +
    +Selecciona una sección para ver la ayuda. + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/es/insert_image_button.htm b/webcit/tiny_mce/themes/advanced/docs/es/insert_image_button.htm new file mode 100644 index 000000000..fdaa1a062 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/es/insert_image_button.htm @@ -0,0 +1,64 @@ + + +Insertar imagen + + + + + + + + + + + +
    +
    +El botón insertar imagen abre la siguiente ventana.
    +
    +
    +
    +Tu sólo tienes que escribir la URL de la imagen que quieres que aparezca y escribir una descripción de esta, esta descripción aparecera como un texto alternativo que describa la imagen.
    +
    +Descripción de los campos:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Image URL URL de la imagen.
    Image description Descripción alternativa del contenido de la imagen.
    DimentionsAltura/anchura de la imagen.
    AlignmentAlineamiento, útil cuando colocas texto alrededor de la imagen.
    BorderAnchura del borde.
    VSpaceEspacio vertical, útil cuando colocas texto alrededor de la imagen.
    HSpaceEspacio horizontal, útil cuando colocas texto alrededor de la imagen.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/es/insert_link_button.htm b/webcit/tiny_mce/themes/advanced/docs/es/insert_link_button.htm new file mode 100644 index 000000000..09930358f --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/es/insert_link_button.htm @@ -0,0 +1,32 @@ + + +Insertar enlaces + + + + + + + + + + + +
    +
    +Este botón abre una nueva ventana con la función insertar/editar enlace.
    +
    +
    +
    +Hay dos campos en esta ventana, el primero "Link URL" es donde hay que escribir la dirección del enlace. El segundo "Target" indica cómo se abrirá el enlace.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/es/insert_table_button.htm b/webcit/tiny_mce/themes/advanced/docs/es/insert_table_button.htm new file mode 100644 index 000000000..5950e480e --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/es/insert_table_button.htm @@ -0,0 +1,67 @@ + + +Insertar tabla + + + + + + + + + + + +
    +
    +El botón insertar tabla abre la siguiente ventana. Esta acci&ocaute;n te permite crear tablas.
    +
    +
    +
    +Descripción de los campos:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ColumnsNúmero de columnas.
    RowsNAúmero de filas.
    CellpaddingDesplazamiento entre celdas .
    CellspacingEspacio entre celdas .
    AlignmentAlineamiento de la tabla.
    BorderAnchura del borde de la tabla.
    WidthAnchura de la tabla en pixels .
    HeightAltura de la tabla en pixels.
    +
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/es/style.css b/webcit/tiny_mce/themes/advanced/docs/es/style.css new file mode 100644 index 000000000..722f537a1 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/es/style.css @@ -0,0 +1,28 @@ +body { background-color: #FFFFFF; } +body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; } +.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; } +.subtitle { font-size: 12px; font-weight: bold; } + +.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; } +.step_ol, .step_li { margin-left: 11 px; line-height: 16px; } +img { border: #000000 solid 1px; } + +a:visited { color: #666666; text-decoration: underline; } +a:active { color: #666666; text-decoration: underline; } +a:hover { color: #666666; text-decoration: underline; } +a { color: #666666; text-decoration: underline; } + +.pageheader { border: #E0E0E0 solid 1px; } +.pagefooter { border: #E0E0E0 solid 1px; } +.sample { background-color: #FFFFFF; border: #000000 solid 1px; } +.samplecontent { font-size: 10px; } + +.code { background-color: #FFFFFF; border: #000000 solid 1px; } +.codecontent { font-size: 10px; } +.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a { color: #666666; text-decoration: none; font-weight: bold } + +hr { height: 1px; } + diff --git a/webcit/tiny_mce/themes/advanced/docs/fi/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/fi/CVS/Entries new file mode 100644 index 000000000..bca64163f --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fi/CVS/Entries @@ -0,0 +1,8 @@ +D/images//// +/about.htm/1.1/Tue Aug 30 18:35:56 2005// +/common_buttons.htm/1.1/Tue Aug 30 18:35:56 2005// +/index.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_image_button.htm/1.1/Sun Sep 11 12:53:00 2005// +/insert_link_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_table_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/style.css/1.1/Tue Aug 30 18:35:56 2005// diff --git a/webcit/tiny_mce/themes/advanced/docs/fi/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/fi/CVS/Repository new file mode 100644 index 000000000..c5ed85e90 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fi/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/fi diff --git a/webcit/tiny_mce/themes/advanced/docs/fi/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/fi/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fi/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/fi/about.htm b/webcit/tiny_mce/themes/advanced/docs/fi/about.htm new file mode 100644 index 000000000..75df8e5ff --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fi/about.htm @@ -0,0 +1,28 @@ + + +About TinyMCE + + + + + + + + + + + +
    +
    +TinyMCE on pieni WYSIWYG sisällönmuokkausohjain webbiselaimille kuten MSIE tai Mozilla joka mahdollistaa HTML sisällön muokkauksen käyttäjäystävällisellä tavalla. Se tarjoaa yleiset tekstinkäsittelyohjelmien tarjoamat toiminnot eikä ole vaikea käyttää.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/fi/common_buttons.htm b/webcit/tiny_mce/themes/advanced/docs/fi/common_buttons.htm new file mode 100644 index 000000000..489312680 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fi/common_buttons.htm @@ -0,0 +1,156 @@ + + +Common buttons + + + + + + + + + + + +
    +
    +Alla on lyhyt selostus kaikista toimintonapeista. +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Lihavointi.
    Kursivointi.
    Alleviivaus.
    Yliviivaus.
    vasen tasaus.
    Keskitys.
    Oikea tasaus.
    Pakotettu tasaus.
    Järjestämätön lista.
    Järjestetty lista/numeroitu lista
    Poista / vähennä sisennystä.
    Sisennä.
    Peruuta viimeinen muutos.
    Tee uudelleen viimeinen peruutettu muutos.
    Lisää linkki. Lisätietoa tästä toiminnosta lisää linkki -osiosta.
    Poista linkki valitusta tekstistä.
    Lisää kuva. Lue lisää tästä toiminnosta lisää kuva -osiosta.
    Siisti koodi. Tämä toiminto on käytännöllinen kun liität tekstiä toimistosovelluksista.
    Näyttäää tämän apuikkunan.
    Avaa HTML lähdekoodieditorin.
    Lisää tualu. Lue lisää tästä toiminnosta lisää taulu -osiosta.
    Lisää rivi valitun rivin edelle.
    Lisää rivi valitun rivin jälkeen.
    Poista valittu rivi.
    Lisää saraka valitun sarakkeen jälkeen.
    Lisää sarake valitun sarakkeen edelle.
    Poistaa valitun sarakkeen.
    Lisää vaakaviiva.
    Poista muotoilu valitusta tekstistä.
    Tekee valitusta tekstistä alamääreistä.
    Tekee valitusta tekstistä ylämääreistä.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/fi/images/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/fi/images/CVS/Entries new file mode 100644 index 000000000..83d9a2e35 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fi/images/CVS/Entries @@ -0,0 +1,4 @@ +/insert_image_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_link_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_table_window.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/themes/advanced/docs/fi/images/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/fi/images/CVS/Repository new file mode 100644 index 000000000..dbe1c0e5f --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fi/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/fi/images diff --git a/webcit/tiny_mce/themes/advanced/docs/fi/images/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/fi/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fi/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/fi/images/insert_image_window.gif b/webcit/tiny_mce/themes/advanced/docs/fi/images/insert_image_window.gif new file mode 100644 index 000000000..29dc61625 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/fi/images/insert_image_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/fi/images/insert_link_window.gif b/webcit/tiny_mce/themes/advanced/docs/fi/images/insert_link_window.gif new file mode 100644 index 000000000..6406a6f17 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/fi/images/insert_link_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/fi/images/insert_table_window.gif b/webcit/tiny_mce/themes/advanced/docs/fi/images/insert_table_window.gif new file mode 100644 index 000000000..b24364695 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/fi/images/insert_table_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/fi/index.htm b/webcit/tiny_mce/themes/advanced/docs/fi/index.htm new file mode 100644 index 000000000..f047b99f0 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fi/index.htm @@ -0,0 +1,25 @@ + + +Apua sisällysluettelo + + + + + + + + + +
    +
    +Napsauta alla olevista linkeistä mennäksesi eri osa-alueisiin. + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/fi/insert_image_button.htm b/webcit/tiny_mce/themes/advanced/docs/fi/insert_image_button.htm new file mode 100644 index 000000000..84628a815 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fi/insert_image_button.htm @@ -0,0 +1,65 @@ + + +Insert image button + + + + + + + + + + + +
    +
    +Lisää linkki -nappi avaa alla näkyvän ikkunan.
    +
    +
    +
    +Kirjoita haluamasi kuvan URL osoite ja lisää kuvalle selite. Selite näytetään vaihtoehtoisena selitteenä sivulla. +
    +
    +Kenttien selitykset:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Kuvan URLKuvan URL tai polku.
    Kuvan seliteVaihtoehtoinen selite kuvan sisällöstä.
    UlottuvuudetKuvan leveys ja korkeus.
    AsetteluKuvan asettelu, käytännöllinen kun halutaan tekstin rivittyvän kuvan ympärille.
    ReunaKuvaa ympäröivän reunan leveys.
    PystyväliPystyväli, käytännöllinen kun halutaan tekstin rivittyvän kuvan ympärille.
    VaakaväliVaakaväli, useful when wrapping text around images.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/fi/insert_link_button.htm b/webcit/tiny_mce/themes/advanced/docs/fi/insert_link_button.htm new file mode 100644 index 000000000..857ef3a7b --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fi/insert_link_button.htm @@ -0,0 +1,35 @@ + + +Insert link button + + + + + + + + + + + +
    +
    +Tämä nappi avaa uuden ikkunan jossa on linkin lisäys- ja muokkaustoiminnallisuus.
    +
    +
    +
    + +Tässä ikkunassa on kaksi kenttää. Ensimmäinen kenttä, "Linkin URL", on linkin osoittama URL -osoite. +Toinen kenttä, "kohde", vaikuttaa siihen miten linkki avataan. +The target enables you to select how the link is to be opened.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/fi/insert_table_button.htm b/webcit/tiny_mce/themes/advanced/docs/fi/insert_table_button.htm new file mode 100644 index 000000000..8891a5b98 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fi/insert_table_button.htm @@ -0,0 +1,67 @@ + + +Insert table button + + + + + + + + + + + +
    +
    +Lisää taulu -nappi avaa alla näkyvän ikkunan. Tämä toimonto mahdollistaa taulujen luonnin.
    +
    +
    +
    +Kenttien selitteet:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    SarakkeetTaulussa olevien saraakkeiden määrä.
    RivitTaulussa olevien rivien määrä.
    Solun reunan ja sisällön väliTaulun sisällä olevan solun reunan ja sisällön väli.
    Solujen väliTaulun sisällä olevien solujen väli.
    AsetteluTaulun asettelu.
    ReunaReunan leveys.
    LeveysTaulun leveys pikseleinä.
    KorkeusTaulun korkeus pikseleinä.
    +
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/fi/style.css b/webcit/tiny_mce/themes/advanced/docs/fi/style.css new file mode 100644 index 000000000..722f537a1 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fi/style.css @@ -0,0 +1,28 @@ +body { background-color: #FFFFFF; } +body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; } +.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; } +.subtitle { font-size: 12px; font-weight: bold; } + +.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; } +.step_ol, .step_li { margin-left: 11 px; line-height: 16px; } +img { border: #000000 solid 1px; } + +a:visited { color: #666666; text-decoration: underline; } +a:active { color: #666666; text-decoration: underline; } +a:hover { color: #666666; text-decoration: underline; } +a { color: #666666; text-decoration: underline; } + +.pageheader { border: #E0E0E0 solid 1px; } +.pagefooter { border: #E0E0E0 solid 1px; } +.sample { background-color: #FFFFFF; border: #000000 solid 1px; } +.samplecontent { font-size: 10px; } + +.code { background-color: #FFFFFF; border: #000000 solid 1px; } +.codecontent { font-size: 10px; } +.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a { color: #666666; text-decoration: none; font-weight: bold } + +hr { height: 1px; } + diff --git a/webcit/tiny_mce/themes/advanced/docs/fr/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/fr/CVS/Entries new file mode 100644 index 000000000..a90297d71 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr/CVS/Entries @@ -0,0 +1,8 @@ +D/images//// +/about.htm/1.1/Tue Aug 30 18:35:56 2005// +/common_buttons.htm/1.1/Tue Aug 30 18:35:56 2005// +/index.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_image_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_link_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_table_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/style.css/1.1/Tue Aug 30 18:35:56 2005// diff --git a/webcit/tiny_mce/themes/advanced/docs/fr/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/fr/CVS/Repository new file mode 100644 index 000000000..7ab0a066f --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/fr diff --git a/webcit/tiny_mce/themes/advanced/docs/fr/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/fr/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/fr/about.htm b/webcit/tiny_mce/themes/advanced/docs/fr/about.htm new file mode 100644 index 000000000..51d9e57e6 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr/about.htm @@ -0,0 +1,32 @@ + + +À propos de TinyMCE + + + + + + + + + + + +
    +
    +TinyMCE est un petit éditeur "WYSIWYG" pour page Web comme MSIE ou Mozilla qui +vous permet de manipuler du contenu HTML d'une façon plus intuitive. +Il est simple d'utilisation et possède les fonctionalités ls plus répendues que l'on peut retrouver dans +les traitements de texte. +
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/fr/common_buttons.htm b/webcit/tiny_mce/themes/advanced/docs/fr/common_buttons.htm new file mode 100644 index 000000000..92723bfc6 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr/common_buttons.htm @@ -0,0 +1,160 @@ + + +Outils communs + + + + + + + + + + + +
    +
    +Ci-dessous une courte description de chacuns des outils. +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Met le texte sélectionné en gras.
    Met le texte sélectionné en italique.
    Souligne le texte sélectionné.
    Barre le texte sélectionné.
    Alignement à gauche.
    Alignement au centré.
    Alignement à droite.
    Texte justifié.
    Liste à puces.
    Liste numérotée
    Réduit l'indentation.
    Augmente l'indentation.
    Annule la dernière opération.
    Refait la dernière opération annulée.
    Insère ou modifie un hyperlien. Allez à la page + Outil d'ajout d'hyperliens pour plus de détails.
    Efface les hyperliens qui sont sélectionées.
    Insère ou modifie une image. Allez à la page + Outil d'ajout d'images pour plus de détails.
    Nettoie le code et retire les paramètres non désirés. Cet outil + est très utile lorsque vous copiez du contenu provenant de logiciels + de bureatique.
    Affiche cette page d'aide.
    Ouvre un éditeur permettant de modifier le code HTML.
    Insère un nouveau tableau à la position actuelle. Allez à la page + Outil d'ajout de tableau pour plus de détails.
    Ajoute une ligne au tableau avant la ligne courante.
    Ajoute une ligne au tableau après la ligne courante.
    Supprime la ligne courante.
    Ajoute une colonne au tableau avant la colonne courante.
    Ajoute une colonne au tableau après la colonne courante.
    Supprime la colonne courante.
    Insère un séparateur horizontal.
    Supprime les formattages du texte sélectionné.
    Transforme le texte sélectionné en texte souscrit.
    Transforme le texte sélectionné en indice supérieur.
    +
    +
    + + + + + + + + diff --git a/webcit/tiny_mce/themes/advanced/docs/fr/images/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/fr/images/CVS/Entries new file mode 100644 index 000000000..83d9a2e35 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr/images/CVS/Entries @@ -0,0 +1,4 @@ +/insert_image_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_link_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_table_window.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/themes/advanced/docs/fr/images/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/fr/images/CVS/Repository new file mode 100644 index 000000000..f47ee8a85 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/fr/images diff --git a/webcit/tiny_mce/themes/advanced/docs/fr/images/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/fr/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/fr/images/insert_image_window.gif b/webcit/tiny_mce/themes/advanced/docs/fr/images/insert_image_window.gif new file mode 100644 index 000000000..4ee31bdf0 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/fr/images/insert_image_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/fr/images/insert_link_window.gif b/webcit/tiny_mce/themes/advanced/docs/fr/images/insert_link_window.gif new file mode 100644 index 000000000..97009218d Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/fr/images/insert_link_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/fr/images/insert_table_window.gif b/webcit/tiny_mce/themes/advanced/docs/fr/images/insert_table_window.gif new file mode 100644 index 000000000..1a265223c Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/fr/images/insert_table_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/fr/index.htm b/webcit/tiny_mce/themes/advanced/docs/fr/index.htm new file mode 100644 index 000000000..0fe6f5304 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr/index.htm @@ -0,0 +1,25 @@ + + +Table des matières de l'aide + + + + + + + + + +
    +
    +Faites votre sélection parmis les thèmes suivants: + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/fr/insert_image_button.htm b/webcit/tiny_mce/themes/advanced/docs/fr/insert_image_button.htm new file mode 100644 index 000000000..d8f38b12b --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr/insert_image_button.htm @@ -0,0 +1,66 @@ + + +Outil d'ajout d'images + + + + + + + + + + + +
    +
    +L'outil d'ajout d'images ouvre la fenêtre ci-dessous.
    +
    +
    +
    +Vous entrez tout simplement l'adresse de l'image que vous désirez ajouter et +entrez une description facultative. La description sera affichée en texte alternatif +sur l'image lorsqu'elle sera publiée.
    +
    +Description des champs:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Adresse de l'image Adresse URL de l'image à insérer.
    Description de l'image Description alternative de l'image.
    DimensionsLargeur et Hauteur de l'image en pixel.
    AlignementAlignement de l'image. Très utile pour faire contourner le texte autour des images.
    BordureÉpaisseur en pixel de la bordure.
    VSpaceEspacement vertical. Très utile pour faire contourner le texte autour des images.
    HSpaceEspacement horizontal. Très utile pour faire contourner le texte autour des images.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/fr/insert_link_button.htm b/webcit/tiny_mce/themes/advanced/docs/fr/insert_link_button.htm new file mode 100644 index 000000000..d691d6bc3 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr/insert_link_button.htm @@ -0,0 +1,34 @@ + + +Outil d'ajout d'hyperliens + + + + + + + + + + + +
    +
    +L'outil d'ajout d'hyperlien ouvre la fenêtre ci-dessous.
    +
    +
    +
    +Il y a deux champs dans cette fenêtre. L'Adresse URL est l'adresse +de l'hyperlien. La destination vous permet de choisir de quelle façon +l'hyperlien sera ouvert.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/fr/insert_table_button.htm b/webcit/tiny_mce/themes/advanced/docs/fr/insert_table_button.htm new file mode 100644 index 000000000..9ba3b7c37 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr/insert_table_button.htm @@ -0,0 +1,71 @@ + + +Outil d'ajout de tableau + + + + + + + + + + + +
    +
    +L'outil d'ajout de tableau ouvre la fenêtre ci-dessous. Elle vous permet de créer dfes talbeaux.
    +
    +
    +
    +Description des champs:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ColonnesNombre de colonnes du tableau.
    LignesNombre de lignes du tableau.
    CellpaddingMarge à l'intérieur des cellules du tableau.
    CellspacingEspacement entre les cellules du tableau.
    AlignementAlignement du tableau.
    BordureÉpaisseur des bordures du tableau.
    LargeurLargeur en pixel du tableau.
    HauteurHauteur en pixel du tableau.
    Classe CSSNom de la classe CSS pour appliquer un style.
    +
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/fr/style.css b/webcit/tiny_mce/themes/advanced/docs/fr/style.css new file mode 100644 index 000000000..722f537a1 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr/style.css @@ -0,0 +1,28 @@ +body { background-color: #FFFFFF; } +body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; } +.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; } +.subtitle { font-size: 12px; font-weight: bold; } + +.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; } +.step_ol, .step_li { margin-left: 11 px; line-height: 16px; } +img { border: #000000 solid 1px; } + +a:visited { color: #666666; text-decoration: underline; } +a:active { color: #666666; text-decoration: underline; } +a:hover { color: #666666; text-decoration: underline; } +a { color: #666666; text-decoration: underline; } + +.pageheader { border: #E0E0E0 solid 1px; } +.pagefooter { border: #E0E0E0 solid 1px; } +.sample { background-color: #FFFFFF; border: #000000 solid 1px; } +.samplecontent { font-size: 10px; } + +.code { background-color: #FFFFFF; border: #000000 solid 1px; } +.codecontent { font-size: 10px; } +.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a { color: #666666; text-decoration: none; font-weight: bold } + +hr { height: 1px; } + diff --git a/webcit/tiny_mce/themes/advanced/docs/fr_ca/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/fr_ca/CVS/Entries new file mode 100644 index 000000000..7594751ba --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr_ca/CVS/Entries @@ -0,0 +1,9 @@ +D/images//// +/about.htm/1.1/Tue Aug 30 18:35:56 2005// +/common_buttons.htm/1.1/Tue Aug 30 18:35:56 2005// +/index.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_anchor_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_image_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_link_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_table_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/style.css/1.1/Tue Aug 30 18:35:56 2005// diff --git a/webcit/tiny_mce/themes/advanced/docs/fr_ca/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/fr_ca/CVS/Repository new file mode 100644 index 000000000..f99c4a8b2 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr_ca/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/fr_ca diff --git a/webcit/tiny_mce/themes/advanced/docs/fr_ca/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/fr_ca/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr_ca/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/fr_ca/about.htm b/webcit/tiny_mce/themes/advanced/docs/fr_ca/about.htm new file mode 100644 index 000000000..51d9e57e6 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr_ca/about.htm @@ -0,0 +1,32 @@ + + +À propos de TinyMCE + + + + + + + + + + + +
    +
    +TinyMCE est un petit éditeur "WYSIWYG" pour page Web comme MSIE ou Mozilla qui +vous permet de manipuler du contenu HTML d'une façon plus intuitive. +Il est simple d'utilisation et possède les fonctionalités ls plus répendues que l'on peut retrouver dans +les traitements de texte. +
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/fr_ca/common_buttons.htm b/webcit/tiny_mce/themes/advanced/docs/fr_ca/common_buttons.htm new file mode 100644 index 000000000..92723bfc6 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr_ca/common_buttons.htm @@ -0,0 +1,160 @@ + + +Outils communs + + + + + + + + + + + +
    +
    +Ci-dessous une courte description de chacuns des outils. +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Met le texte sélectionné en gras.
    Met le texte sélectionné en italique.
    Souligne le texte sélectionné.
    Barre le texte sélectionné.
    Alignement à gauche.
    Alignement au centré.
    Alignement à droite.
    Texte justifié.
    Liste à puces.
    Liste numérotée
    Réduit l'indentation.
    Augmente l'indentation.
    Annule la dernière opération.
    Refait la dernière opération annulée.
    Insère ou modifie un hyperlien. Allez à la page + Outil d'ajout d'hyperliens pour plus de détails.
    Efface les hyperliens qui sont sélectionées.
    Insère ou modifie une image. Allez à la page + Outil d'ajout d'images pour plus de détails.
    Nettoie le code et retire les paramètres non désirés. Cet outil + est très utile lorsque vous copiez du contenu provenant de logiciels + de bureatique.
    Affiche cette page d'aide.
    Ouvre un éditeur permettant de modifier le code HTML.
    Insère un nouveau tableau à la position actuelle. Allez à la page + Outil d'ajout de tableau pour plus de détails.
    Ajoute une ligne au tableau avant la ligne courante.
    Ajoute une ligne au tableau après la ligne courante.
    Supprime la ligne courante.
    Ajoute une colonne au tableau avant la colonne courante.
    Ajoute une colonne au tableau après la colonne courante.
    Supprime la colonne courante.
    Insère un séparateur horizontal.
    Supprime les formattages du texte sélectionné.
    Transforme le texte sélectionné en texte souscrit.
    Transforme le texte sélectionné en indice supérieur.
    +
    +
    + + + + + + + + diff --git a/webcit/tiny_mce/themes/advanced/docs/fr_ca/images/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/fr_ca/images/CVS/Entries new file mode 100644 index 000000000..e5bd9c0f4 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr_ca/images/CVS/Entries @@ -0,0 +1,5 @@ +/insert_anchor_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_image_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_link_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_table_window.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/themes/advanced/docs/fr_ca/images/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/fr_ca/images/CVS/Repository new file mode 100644 index 000000000..ca6759f9a --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr_ca/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/fr_ca/images diff --git a/webcit/tiny_mce/themes/advanced/docs/fr_ca/images/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/fr_ca/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr_ca/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/fr_ca/images/insert_anchor_window.gif b/webcit/tiny_mce/themes/advanced/docs/fr_ca/images/insert_anchor_window.gif new file mode 100644 index 000000000..71f417908 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/fr_ca/images/insert_anchor_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/fr_ca/images/insert_image_window.gif b/webcit/tiny_mce/themes/advanced/docs/fr_ca/images/insert_image_window.gif new file mode 100644 index 000000000..4ee31bdf0 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/fr_ca/images/insert_image_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/fr_ca/images/insert_link_window.gif b/webcit/tiny_mce/themes/advanced/docs/fr_ca/images/insert_link_window.gif new file mode 100644 index 000000000..97009218d Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/fr_ca/images/insert_link_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/fr_ca/images/insert_table_window.gif b/webcit/tiny_mce/themes/advanced/docs/fr_ca/images/insert_table_window.gif new file mode 100644 index 000000000..1a265223c Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/fr_ca/images/insert_table_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/fr_ca/index.htm b/webcit/tiny_mce/themes/advanced/docs/fr_ca/index.htm new file mode 100644 index 000000000..0fe6f5304 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr_ca/index.htm @@ -0,0 +1,25 @@ + + +Table des matières de l'aide + + + + + + + + + +
    +
    +Faites votre sélection parmis les thèmes suivants: + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/fr_ca/insert_anchor_button.htm b/webcit/tiny_mce/themes/advanced/docs/fr_ca/insert_anchor_button.htm new file mode 100644 index 000000000..f63bc74ef --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr_ca/insert_anchor_button.htm @@ -0,0 +1,32 @@ + + +Outil d'ajout d'ancres + + + + + + + + + + + +
    +
    +L'outil d'ajout d'ancres ouvre la fenêtre ci-dessous.
    +
    +
    +
    +Il y a un seul champ dans cette fenêtre, c'est le nom de cette ancre. Rappelez-vous, les noms doivent être unique dans la page.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/fr_ca/insert_image_button.htm b/webcit/tiny_mce/themes/advanced/docs/fr_ca/insert_image_button.htm new file mode 100644 index 000000000..d8f38b12b --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr_ca/insert_image_button.htm @@ -0,0 +1,66 @@ + + +Outil d'ajout d'images + + + + + + + + + + + +
    +
    +L'outil d'ajout d'images ouvre la fenêtre ci-dessous.
    +
    +
    +
    +Vous entrez tout simplement l'adresse de l'image que vous désirez ajouter et +entrez une description facultative. La description sera affichée en texte alternatif +sur l'image lorsqu'elle sera publiée.
    +
    +Description des champs:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Adresse de l'image Adresse URL de l'image à insérer.
    Description de l'image Description alternative de l'image.
    DimensionsLargeur et Hauteur de l'image en pixel.
    AlignementAlignement de l'image. Très utile pour faire contourner le texte autour des images.
    BordureÉpaisseur en pixel de la bordure.
    VSpaceEspacement vertical. Très utile pour faire contourner le texte autour des images.
    HSpaceEspacement horizontal. Très utile pour faire contourner le texte autour des images.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/fr_ca/insert_link_button.htm b/webcit/tiny_mce/themes/advanced/docs/fr_ca/insert_link_button.htm new file mode 100644 index 000000000..d691d6bc3 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr_ca/insert_link_button.htm @@ -0,0 +1,34 @@ + + +Outil d'ajout d'hyperliens + + + + + + + + + + + +
    +
    +L'outil d'ajout d'hyperlien ouvre la fenêtre ci-dessous.
    +
    +
    +
    +Il y a deux champs dans cette fenêtre. L'Adresse URL est l'adresse +de l'hyperlien. La destination vous permet de choisir de quelle façon +l'hyperlien sera ouvert.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/fr_ca/insert_table_button.htm b/webcit/tiny_mce/themes/advanced/docs/fr_ca/insert_table_button.htm new file mode 100644 index 000000000..9ba3b7c37 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr_ca/insert_table_button.htm @@ -0,0 +1,71 @@ + + +Outil d'ajout de tableau + + + + + + + + + + + +
    +
    +L'outil d'ajout de tableau ouvre la fenêtre ci-dessous. Elle vous permet de créer dfes talbeaux.
    +
    +
    +
    +Description des champs:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ColonnesNombre de colonnes du tableau.
    LignesNombre de lignes du tableau.
    CellpaddingMarge à l'intérieur des cellules du tableau.
    CellspacingEspacement entre les cellules du tableau.
    AlignementAlignement du tableau.
    BordureÉpaisseur des bordures du tableau.
    LargeurLargeur en pixel du tableau.
    HauteurHauteur en pixel du tableau.
    Classe CSSNom de la classe CSS pour appliquer un style.
    +
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/fr_ca/style.css b/webcit/tiny_mce/themes/advanced/docs/fr_ca/style.css new file mode 100644 index 000000000..722f537a1 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/fr_ca/style.css @@ -0,0 +1,28 @@ +body { background-color: #FFFFFF; } +body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; } +.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; } +.subtitle { font-size: 12px; font-weight: bold; } + +.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; } +.step_ol, .step_li { margin-left: 11 px; line-height: 16px; } +img { border: #000000 solid 1px; } + +a:visited { color: #666666; text-decoration: underline; } +a:active { color: #666666; text-decoration: underline; } +a:hover { color: #666666; text-decoration: underline; } +a { color: #666666; text-decoration: underline; } + +.pageheader { border: #E0E0E0 solid 1px; } +.pagefooter { border: #E0E0E0 solid 1px; } +.sample { background-color: #FFFFFF; border: #000000 solid 1px; } +.samplecontent { font-size: 10px; } + +.code { background-color: #FFFFFF; border: #000000 solid 1px; } +.codecontent { font-size: 10px; } +.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a { color: #666666; text-decoration: none; font-weight: bold } + +hr { height: 1px; } + diff --git a/webcit/tiny_mce/themes/advanced/docs/hu/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/hu/CVS/Entries new file mode 100644 index 000000000..38d8f4a19 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/hu/CVS/Entries @@ -0,0 +1,7 @@ +D/images//// +/about.htm/1.1/Tue Aug 30 18:35:56 2005// +/common_buttons.htm/1.1/Tue Aug 30 18:35:56 2005// +/index.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_image_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_link_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/style.css/1.1/Tue Aug 30 18:35:56 2005// diff --git a/webcit/tiny_mce/themes/advanced/docs/hu/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/hu/CVS/Repository new file mode 100644 index 000000000..761409c48 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/hu/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/hu diff --git a/webcit/tiny_mce/themes/advanced/docs/hu/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/hu/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/hu/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/hu/about.htm b/webcit/tiny_mce/themes/advanced/docs/hu/about.htm new file mode 100644 index 000000000..08f839176 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/hu/about.htm @@ -0,0 +1,28 @@ + + +Über TinyMCE + + + + + + + + + + + +
    +
    +A TinyMCE egy kompakt WYSIWYG-szerkesztő az MSIE-hoz és a Mozillához hasonló webböngészők számára, mely lehetőséget nyújt önnek a HTML tartalmak egyszerű szerkesztésére. A legtöbb szövegszerkesztőben elérhető funkciókat nyújtja egyszerűen kezelhető formában.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/hu/common_buttons.htm b/webcit/tiny_mce/themes/advanced/docs/hu/common_buttons.htm new file mode 100644 index 000000000..db5b9cf74 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/hu/common_buttons.htm @@ -0,0 +1,106 @@ + + +Allgemeine Schaltflächen + + + + + + + + + + + +
    +
    +Untenstehend eine kurze Beschreibung jeder Schaltfläche.
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Félkövér szöveg.
    Dõlt szöveg .
    Aláhúzott szöveg .
    Áthúzott szöveg .
    Balra igazítás .
    Középre igazítás .
    Jobbra igazíás .
    Sorkizárt.
    Felsorolás / pontozott lista.
    Felsorolás / számozott lista.
    Behúzás balra .
    behúzás jobbra .
    Utolsó parancs visszavonása .
    Utolsó parancs ismétlése .
    Új link beillesztése, bõvebb információért olvassa el a Link beillesztését.
    A kijelölt link eltávolítása / Az összes kijelölt link eltávolítása.
    Egy új kép beillesztése, bõvebb információért olvassa el a Kép beillesztését .
    Kód tisztítása / Eltávolítja a nemkívánt formázásokat. Ez a funkció akkor hasznos, ha például Office dokumentumból másol tartalmat.
    Ennek a segítségnek az elérése.
    +
    +
    + + + + + + + + diff --git a/webcit/tiny_mce/themes/advanced/docs/hu/images/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/hu/images/CVS/Entries new file mode 100644 index 000000000..605bec503 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/hu/images/CVS/Entries @@ -0,0 +1,3 @@ +/insert_image_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_link_window.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/themes/advanced/docs/hu/images/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/hu/images/CVS/Repository new file mode 100644 index 000000000..b8d9dba72 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/hu/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/hu/images diff --git a/webcit/tiny_mce/themes/advanced/docs/hu/images/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/hu/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/hu/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/hu/images/insert_image_window.gif b/webcit/tiny_mce/themes/advanced/docs/hu/images/insert_image_window.gif new file mode 100644 index 000000000..a60e1fa8d Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/hu/images/insert_image_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/hu/images/insert_link_window.gif b/webcit/tiny_mce/themes/advanced/docs/hu/images/insert_link_window.gif new file mode 100644 index 000000000..e72357bb6 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/hu/images/insert_link_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/hu/index.htm b/webcit/tiny_mce/themes/advanced/docs/hu/index.htm new file mode 100644 index 000000000..43b81a2e2 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/hu/index.htm @@ -0,0 +1,24 @@ + + +Inhaltsverzeichnis der Hilfe + + + + + + + + + +
    +
    +Kattintson az alábbi linkekre a segítség különbözõ részeinek eléréséhez. + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/hu/insert_image_button.htm b/webcit/tiny_mce/themes/advanced/docs/hu/insert_image_button.htm new file mode 100644 index 000000000..e7860bf7e --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/hu/insert_image_button.htm @@ -0,0 +1,32 @@ + + +Schaltfläche Bild einfügen + + + + + + + + + + + +
    +
    +A Kép beillesztése gomb az alábbi ablakot nyitja meg. +
    +
    +
    +
    +Egyszerűen meg kell adni a beilleszteni kívánt kép elérésének URL-jét, valamint egy rövd leírást, mely alternatív szövegként kerül megjelenítésre (pl. nem grafikus böngészőkben).
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/hu/insert_link_button.htm b/webcit/tiny_mce/themes/advanced/docs/hu/insert_link_button.htm new file mode 100644 index 000000000..95b375021 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/hu/insert_link_button.htm @@ -0,0 +1,31 @@ + + +Schaltfläche Hyperlink einfügen + + + + + + + + + + + +
    +
    +A Link beillesztése gomb az alábbi ablakot nyitja meg.
    +
    +
    +
    +Két mezőt kell kitöltenie ebben az ablakban. Az első - "Link URL" - a hivatkozás URL-je. A második lehetőséget ad Önnek a hivatkoztás megjelenítésének kiválasztásához.
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/hu/style.css b/webcit/tiny_mce/themes/advanced/docs/hu/style.css new file mode 100644 index 000000000..722f537a1 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/hu/style.css @@ -0,0 +1,28 @@ +body { background-color: #FFFFFF; } +body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; } +.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; } +.subtitle { font-size: 12px; font-weight: bold; } + +.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; } +.step_ol, .step_li { margin-left: 11 px; line-height: 16px; } +img { border: #000000 solid 1px; } + +a:visited { color: #666666; text-decoration: underline; } +a:active { color: #666666; text-decoration: underline; } +a:hover { color: #666666; text-decoration: underline; } +a { color: #666666; text-decoration: underline; } + +.pageheader { border: #E0E0E0 solid 1px; } +.pagefooter { border: #E0E0E0 solid 1px; } +.sample { background-color: #FFFFFF; border: #000000 solid 1px; } +.samplecontent { font-size: 10px; } + +.code { background-color: #FFFFFF; border: #000000 solid 1px; } +.codecontent { font-size: 10px; } +.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a { color: #666666; text-decoration: none; font-weight: bold } + +hr { height: 1px; } + diff --git a/webcit/tiny_mce/themes/advanced/docs/images/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/images/CVS/Entries new file mode 100644 index 000000000..b388a61ba --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/images/CVS/Entries @@ -0,0 +1,8 @@ +/table.gif/1.1/Tue Aug 30 18:35:56 2005// +/table_delete_col.gif/1.1/Tue Aug 30 18:35:56 2005// +/table_delete_row.gif/1.1/Tue Aug 30 18:35:56 2005// +/table_insert_col_after.gif/1.1/Tue Aug 30 18:35:56 2005// +/table_insert_col_before.gif/1.1/Tue Aug 30 18:35:56 2005// +/table_insert_row_after.gif/1.1/Tue Aug 30 18:35:56 2005// +/table_insert_row_before.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/themes/advanced/docs/images/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/images/CVS/Repository new file mode 100644 index 000000000..db03d56f7 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/images diff --git a/webcit/tiny_mce/themes/advanced/docs/images/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/images/table.gif b/webcit/tiny_mce/themes/advanced/docs/images/table.gif new file mode 100644 index 000000000..f8a00544a Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/images/table.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/images/table_delete_col.gif b/webcit/tiny_mce/themes/advanced/docs/images/table_delete_col.gif new file mode 100644 index 000000000..0b2f0fb61 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/images/table_delete_col.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/images/table_delete_row.gif b/webcit/tiny_mce/themes/advanced/docs/images/table_delete_row.gif new file mode 100644 index 000000000..1997065fb Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/images/table_delete_row.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/images/table_insert_col_after.gif b/webcit/tiny_mce/themes/advanced/docs/images/table_insert_col_after.gif new file mode 100644 index 000000000..c30dafab6 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/images/table_insert_col_after.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/images/table_insert_col_before.gif b/webcit/tiny_mce/themes/advanced/docs/images/table_insert_col_before.gif new file mode 100644 index 000000000..5d1ff37af Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/images/table_insert_col_before.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/images/table_insert_row_after.gif b/webcit/tiny_mce/themes/advanced/docs/images/table_insert_row_after.gif new file mode 100644 index 000000000..c3aa15f93 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/images/table_insert_row_after.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/images/table_insert_row_before.gif b/webcit/tiny_mce/themes/advanced/docs/images/table_insert_row_before.gif new file mode 100644 index 000000000..c3271e549 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/images/table_insert_row_before.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/it/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/it/CVS/Entries new file mode 100644 index 000000000..6ee5ff6c1 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/it/CVS/Entries @@ -0,0 +1,9 @@ +D/images//// +/about.htm/1.1/Sun Sep 11 12:53:00 2005// +/common_buttons.htm/1.1/Sun Sep 11 12:53:00 2005// +/index.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_anchor_button.htm/1.1/Sun Sep 11 12:53:00 2005// +/insert_image_button.htm/1.1/Sun Sep 11 12:53:00 2005// +/insert_link_button.htm/1.1/Sun Sep 11 12:53:00 2005// +/insert_table_button.htm/1.1/Sun Sep 11 12:53:00 2005// +/style.css/1.1/Tue Aug 30 18:35:56 2005// diff --git a/webcit/tiny_mce/themes/advanced/docs/it/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/it/CVS/Repository new file mode 100644 index 000000000..748d08959 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/it/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/it diff --git a/webcit/tiny_mce/themes/advanced/docs/it/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/it/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/it/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/it/about.htm b/webcit/tiny_mce/themes/advanced/docs/it/about.htm new file mode 100644 index 000000000..e1bca0ffb --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/it/about.htm @@ -0,0 +1,37 @@ + + + Informazioni su TinyMCE + + + + + + + + + + + +
    +
    +TinyMCE è un piccolo WYSIWYG (What You See Is What You Get, +quello che vedi è quello che ottieni) editor per i web browser +come MSIE o Mozilla che permette di editare HTML in modo comodo. Ha le +funzionalità comuni di molti word processor e non dovrebbe +essere difficile da usare.
    +
    +
    + + + + + + + + +
    +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/it/common_buttons.htm b/webcit/tiny_mce/themes/advanced/docs/it/common_buttons.htm new file mode 100644 index 000000000..083b4cdd3 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/it/common_buttons.htm @@ -0,0 +1,180 @@ + + + Pulsanti comuni + + + + + + + + + + + +
    +
    +Di seguito una breve descrizione di ogni pulsante.
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Testo grassetto.
    Testo corsivo.
    Testo sottolineato.
    Testo barrato.
    Allinea a sinistra.
    Allinea al centro.
    Allinea a destra.
    Giustifica.
    Lista non ordinata.
    Lista ordianta.
    +
    Diminuisci l'indentazione.
    +
    Aumenta l'indentazione.
    Annulla l'ultima operazione.
    Ripeti l'ultima operazione.
    Inserieci un nuovo collegamento, maggiori informazioni su +questa funzione nella Sezione +'Inserisci un collegamento'
    Rimuovi tutti i collegamenti selezionati
    +
    Inserisci una nuova àncora, maggiori informazioni su +questa funzione nella Sezione 'Inserisci un'àncora'.
    Inserieci una nuova immagine, maggiori informazioni su questa +funzione nella Sezione 'Inserisci +una immagine'.
    Ripulisci il codice/rimuovi la formattazione non voluta. +Questa funzione è utile quando si copia per esempio da un +programma office
    +
    Mostra questa guida
    +
    Apre l'editor del sorgente HTML.
    Inserisce una nuova tabella 2x2 alla posizione corrente.
    Aggiunge una riga sopra quella corrente.
    Aggiunge una roga sotto quella corrente.
    Rimuove la riga corrente.
    Aggiunge una colonna prima di quella corrente.
    Aggiunge una colonna dopo quella corrente.
    Rimuove la colonna corrente.
    Inserisce una nuova riga orizzontale.
    Rimuove la formattazione dalla selezione.
    Formatta la selezione come pedice.
    Formatta la selezione come apice.
    +
    +
    + + + + + + + + + + diff --git a/webcit/tiny_mce/themes/advanced/docs/it/images/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/it/images/CVS/Entries new file mode 100644 index 000000000..e5bd9c0f4 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/it/images/CVS/Entries @@ -0,0 +1,5 @@ +/insert_anchor_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_image_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_link_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_table_window.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/themes/advanced/docs/it/images/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/it/images/CVS/Repository new file mode 100644 index 000000000..faf17e482 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/it/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/it/images diff --git a/webcit/tiny_mce/themes/advanced/docs/it/images/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/it/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/it/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/it/images/insert_anchor_window.gif b/webcit/tiny_mce/themes/advanced/docs/it/images/insert_anchor_window.gif new file mode 100644 index 000000000..cc9fc9d4a Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/it/images/insert_anchor_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/it/images/insert_image_window.gif b/webcit/tiny_mce/themes/advanced/docs/it/images/insert_image_window.gif new file mode 100644 index 000000000..2b5b8e960 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/it/images/insert_image_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/it/images/insert_link_window.gif b/webcit/tiny_mce/themes/advanced/docs/it/images/insert_link_window.gif new file mode 100644 index 000000000..9c778e24b Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/it/images/insert_link_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/it/images/insert_table_window.gif b/webcit/tiny_mce/themes/advanced/docs/it/images/insert_table_window.gif new file mode 100644 index 000000000..5cb25cf59 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/it/images/insert_table_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/it/index.htm b/webcit/tiny_mce/themes/advanced/docs/it/index.htm new file mode 100644 index 000000000..4e57afb15 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/it/index.htm @@ -0,0 +1,30 @@ + + + Indice della guida + + + + + + + + + + + +
    +
    +Seleziona un argomento:
    + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/it/insert_anchor_button.htm b/webcit/tiny_mce/themes/advanced/docs/it/insert_anchor_button.htm new file mode 100644 index 000000000..c4a011176 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/it/insert_anchor_button.htm @@ -0,0 +1,32 @@ + + +Bottone 'Inserisci àncora' + + + + + + + + + + + +
    +
    +Questo bottone apre una nuova finestra che permette di aggiungere o modificare un'àncora
    +
    +
    +
    +C'è un solo campo in questa finestra, dove devi inserire il nome del tuo punto di àncoraggio. Ricorda che il nome dell' àncora deve essere univoco.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/it/insert_image_button.htm b/webcit/tiny_mce/themes/advanced/docs/it/insert_image_button.htm new file mode 100644 index 000000000..9d3092305 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/it/insert_image_button.htm @@ -0,0 +1,66 @@ + + +Pulsante 'Inserisci immagine' + + + + + + + + + + + +
    +
    +Il pulsante 'inserisci immagine' apre la finestra mostrata qui sotto.
    +
    +
    +
    +Si inserisce semplicemente l'url dell'immagine che si vuole collegare e una descrizione di quell'immagine, +che sarà mostrato come testo alternativo dell'immagine sulla pagina. +
    +
    +Descrizione dei parametri:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    URL immagine URL/indirizzo dell'immagine.
    Descrizione dell'immagine Descrizione alternativa del contenuto dell'immagine.
    DimensioniLarghezza/Altezza dell'immagine.
    AllineamentoAllineamento dell'immagine, utile quando si inserisce del testo attorno all'immagine.
    BordoSpessore del bordo.
    Spazio verticaleSpazio verticale, utile quando si inserisce del testo attorno all'immagine.
    Spazio orizzontaleSpazio orizzontale, utile quando si inserisce del testo attorno all'immagine.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/it/insert_link_button.htm b/webcit/tiny_mce/themes/advanced/docs/it/insert_link_button.htm new file mode 100644 index 000000000..0aad824a7 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/it/insert_link_button.htm @@ -0,0 +1,41 @@ + + + Pulsante 'Inserisci collegamento' + + + + + + + + + + + +
    +
    +Questo pulsante apre una nuova finstra con le funzioni di +inserimento/modifica del collegamento.
    +
    +
    +
    +Ci sono due campi in questa finestra: il primo, "Link URL" è +l'indirizzo del collegamento. Il 'target' permette di selezionare come +il collegamento deve essere aperto.
    +
    +
    + + + + + + + + +
    +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/it/insert_table_button.htm b/webcit/tiny_mce/themes/advanced/docs/it/insert_table_button.htm new file mode 100644 index 000000000..f75e4dfea --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/it/insert_table_button.htm @@ -0,0 +1,71 @@ + + +Pulsante 'Inserisci tabella' + + + + + + + + + + + +
    +
    +Il pulsante 'Inserisci tabella' apre la finestra mostrata qui sotto. Questa azione permette di creare tabelle.
    +
    +
    +
    +Descrizione dei parametri:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ColonneNumero di colonne nella nuova tabella.
    RigheNumero di righe nella nuova tabella.
    CellpaddingSpazio tra il bordo di una cella e il suo contenuto.
    CellspacingSpazio tra le celle della tabella.
    AllineamentoAllineamento della tabella.
    BordoSpessore del bordo della tabella.
    LarghezzaLarghezza, in pixel, della tabella.
    AltezzaAltezza, in pixel, della tabella.
    ClasseStile o classe CSS della tabella.
    +
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/it/style.css b/webcit/tiny_mce/themes/advanced/docs/it/style.css new file mode 100644 index 000000000..722f537a1 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/it/style.css @@ -0,0 +1,28 @@ +body { background-color: #FFFFFF; } +body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; } +.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; } +.subtitle { font-size: 12px; font-weight: bold; } + +.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; } +.step_ol, .step_li { margin-left: 11 px; line-height: 16px; } +img { border: #000000 solid 1px; } + +a:visited { color: #666666; text-decoration: underline; } +a:active { color: #666666; text-decoration: underline; } +a:hover { color: #666666; text-decoration: underline; } +a { color: #666666; text-decoration: underline; } + +.pageheader { border: #E0E0E0 solid 1px; } +.pagefooter { border: #E0E0E0 solid 1px; } +.sample { background-color: #FFFFFF; border: #000000 solid 1px; } +.samplecontent { font-size: 10px; } + +.code { background-color: #FFFFFF; border: #000000 solid 1px; } +.codecontent { font-size: 10px; } +.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a { color: #666666; text-decoration: none; font-weight: bold } + +hr { height: 1px; } + diff --git a/webcit/tiny_mce/themes/advanced/docs/nl/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/nl/CVS/Entries new file mode 100644 index 000000000..163cb5f4b --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/nl/CVS/Entries @@ -0,0 +1,10 @@ +D/images//// +/about.htm/1.1/Tue Aug 30 18:35:56 2005// +/common_buttons.htm/1.1/Tue Aug 30 18:35:56 2005// +/index.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_anchor_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_image_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_link_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_specchar_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_table_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/style.css/1.1/Tue Aug 30 18:35:56 2005// diff --git a/webcit/tiny_mce/themes/advanced/docs/nl/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/nl/CVS/Repository new file mode 100644 index 000000000..05aa839c5 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/nl/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/nl diff --git a/webcit/tiny_mce/themes/advanced/docs/nl/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/nl/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/nl/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/nl/about.htm b/webcit/tiny_mce/themes/advanced/docs/nl/about.htm new file mode 100644 index 000000000..7ac0211e1 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/nl/about.htm @@ -0,0 +1,31 @@ + + +Over TinyMCE + + + + + + + + + + + +
    +
    +TinyMCE is een kleine What-You-See-Is-What-You-Get (WYSIWYG) +editor voor teksten. De bediening vindt plaats in de web browser, zoals MSIE of Mozilla. +Het werken met deze editor is eenvoudig, omdat de bediening veel lijkt op het werken +met teksten in (office-)tekstverwerkers. +

    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/nl/common_buttons.htm b/webcit/tiny_mce/themes/advanced/docs/nl/common_buttons.htm new file mode 100644 index 000000000..2deb2e191 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/nl/common_buttons.htm @@ -0,0 +1,188 @@ + + +Functies van TinyMCE + + + + + + + + + + + +
    +
    +Het werken met de editor komt sterk overeen met wat u gewend bent van uw tekstverwerker: +Dubbel-klik op een woord in de tekst, of trek een kader met de muis terwijl u +de linkerknop inhoudt om een gedeelte van de tekst te kiezen. Het aldus gemarkeerde woord of +tekstfragment noemen we 'selecteerd'. Met de knoppen en stijl-keuzelijsten +in de editor kunt u hiervan vervolgens de opmaak aanpassen of (indien deze reeds was toegekend) verwijderen. +

    +De meeste functies voert u eenvoudig uit door het klikken +van de knoppen (buttons) boven het tekstvenster in de editor. Hieronder vindt u van elk van deze +knoppen een beknopte beschrijving. +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Gekozen tekstfragment 'Vet' (Bold) maken.
    Gekozen tekstfragment 'Cursief' (Italic) maken.
    Gekozen tekstfragment 'Onderstrepen' (Underline).
    Gekozen tekstfragment 'Doorstrepen' (Strikethrough).
    Gekozen tekstfragment naar links uitlijnen.
    Gekozen tekstfragment centreren.
    Gekozen tekstfragment naar rechts uitlijnen.
    Gekozen tekstfragment 'uitvullen' tot complete regels.
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Gekozen tekstfragment omzetten naar ongeordende (bullet-)lijst of opsomming.
    Gekozen tekstfragment omzetten naar doorgenummerde lijst.
    Inspringniveau van het gekozen tekstfragment verkleinen.
    Inspringniveau van het gekozen tekstfragment vergroten.
    De laaste bewerking ongedaan maken. De toetscombinatie CRTL-Z doet hetzelfde.
    De laatste bewerking opnieuw uitvoeren.
    Invoegen van een Link (Cross-Link) via dialoogmenu.
    + Zie de beschrijving bij Links en verwijzingen in tekst invoegen.
    Verwijdert alle gevonden Links (Cross-Links) uit de tekstselectie.
    Anker aan de tekstselectie toekennen of wijzigen.
    + Zie de beschrijving bij Anker Toevoegen.
    Voegt een afbeelding in.
    + Zie de beschrijving bij Afbeeldingen invoegen.
    Schoont ongewenste opmaak en codering van de tekstselectie op. Deze functie is erg nuttig na het + overkopiëren van teksten vanuit uw (Office-)tekstverwerker.
    Toont dit helpvenster met uitleg van alle functionaliteit van de editor.
    Opent het venster met de HTML-broncode voor het direct maken van wijzigingen + in de achterliggende pagina-codering. Kennis van de HTML-taal is vereist.
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Voegt een nieuwe tabel met 2 rijen en kolommen in op de huidige positie in te tekst.
    Voegt een nieuwe rij toe aan de tabel boven de huidige.
    Voegt een nieuwe rij toe aan de tabel onder de huidige.
    Verwijdert de huidige rij uit de tabel.
    Voegt een nieuwe kolom toe aan de tabel voor de huidige.
    Voegt een nieuwe kolom toe aan de tabel achter de huidige.
    Verwijdert de huidige kolom uit de tabel.
    Voegt een horizontale lijn in de tekst toe.
    Verwijdert alle tekst-opmaak van de tekstselectie.
    Toon of verberg hulplijnen voor tabellen in het tekstvenster.
    Verandert het gekozen tekstfragment in Subscript.
    Verandert het gekozen tekstfragment in Superscript.
    De Karaktertabel maakt het eenvoudig invoegen van bijzondere karakters mogelijk.
    + Zie de beschrijving bij Bijzondere karakers in de tekst invoegen.
    +
    +
    + + + + + + + + diff --git a/webcit/tiny_mce/themes/advanced/docs/nl/images/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/nl/images/CVS/Entries new file mode 100644 index 000000000..3a414eb9d --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/nl/images/CVS/Entries @@ -0,0 +1,7 @@ +/html_source_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_anchor_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_image_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_link_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_specchar_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_table_window.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/themes/advanced/docs/nl/images/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/nl/images/CVS/Repository new file mode 100644 index 000000000..4abd37e8f --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/nl/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/nl/images diff --git a/webcit/tiny_mce/themes/advanced/docs/nl/images/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/nl/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/nl/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/nl/images/html_source_window.gif b/webcit/tiny_mce/themes/advanced/docs/nl/images/html_source_window.gif new file mode 100644 index 000000000..db933dc9e Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/nl/images/html_source_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/nl/images/insert_anchor_window.gif b/webcit/tiny_mce/themes/advanced/docs/nl/images/insert_anchor_window.gif new file mode 100644 index 000000000..17dde58b7 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/nl/images/insert_anchor_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/nl/images/insert_image_window.gif b/webcit/tiny_mce/themes/advanced/docs/nl/images/insert_image_window.gif new file mode 100644 index 000000000..05354a4ef Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/nl/images/insert_image_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/nl/images/insert_link_window.gif b/webcit/tiny_mce/themes/advanced/docs/nl/images/insert_link_window.gif new file mode 100644 index 000000000..e1d01a802 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/nl/images/insert_link_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/nl/images/insert_specchar_window.gif b/webcit/tiny_mce/themes/advanced/docs/nl/images/insert_specchar_window.gif new file mode 100644 index 000000000..986fa51d3 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/nl/images/insert_specchar_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/nl/images/insert_table_window.gif b/webcit/tiny_mce/themes/advanced/docs/nl/images/insert_table_window.gif new file mode 100644 index 000000000..e65679dde Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/nl/images/insert_table_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/nl/index.htm b/webcit/tiny_mce/themes/advanced/docs/nl/index.htm new file mode 100644 index 000000000..84fe119d7 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/nl/index.htm @@ -0,0 +1,27 @@ + + +Help Index + + + + + + + + + +
    +
    +Klik op de onderwerpen in onderstaande inhoudsopgave voor meer informatie. + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/nl/insert_anchor_button.htm b/webcit/tiny_mce/themes/advanced/docs/nl/insert_anchor_button.htm new file mode 100644 index 000000000..4cd1ec8f1 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/nl/insert_anchor_button.htm @@ -0,0 +1,37 @@ + + +Ankers in de tekst gebruiken + + + + + + + + + +
    +
    +Met de knop 'Invoegen Anker' kunt u in de tekst z.g. HTML-ankers invoegen en +aanpassen. Deze ankers maken het mogelijk snel naar bepaalde tekstfragmenten te springen. +Door het toevoegen van de ankernaam (voorafgegaan door een '#') +aan de link naar een pagina (Zie 'Links en verwijzingen in tekst invoegen') +kan op deze wijze desgewenst direct naar een bepaalde passage in een pagina worden doorgelinkt. +

    +Voor het toevoegen of aanpassen van een anker wordt onderstaand dialoogvenster getoond.
    +
    +
    +
    +Bij het veld 'Anker naam' kan de gewenste naam van het anker worden ingevuld. +Let op: Binnen een complete pagina binnen uw website dient de naam van dit anker uniek zijn.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/nl/insert_image_button.htm b/webcit/tiny_mce/themes/advanced/docs/nl/insert_image_button.htm new file mode 100644 index 000000000..264855352 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/nl/insert_image_button.htm @@ -0,0 +1,65 @@ + + +Afbeeldingen invoegen + + + + + + + + + + + +
    +
    +Voer simpelweg de URL van de afbeelding en de beschrijving in. +De omschrijvende tekst wordt in sommige browsers bij de muiswijzer getoond +wanneer deze boven de afbeelding wordt stilgehouden. +De knop 'Afbeelding Invoegen' opent onderstaand dialoogvenster.
    +
    +
    +
    +Omschrijving van de velden:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    AfbeeldingIn dit veld dient u een complete URL op te geven van de afbeelding.
    BeschrijvingOmschrijvende tekst die in sommige browsers bij de muiswijzer wordt getoond wanneer deze boven de afbeelding wordt stilgehouden.
    UitlijningUit de lijst kan worden gekozen op welke wijze de afbeelding in de tekst wordt ingebed.
    AfmetingenDe breedte en hoogte van de afbeelding in pixels. Laat deze velden leeg als de originele afmetingen gewenst zijn.
    OmrandingDe dikte (in pixels) van de omranding om de afbeelding.
    Verticale margeDe verticale marge (in pixels) gebruikt voor de omloop van teksten om de afbeelding.
    Horizontale margeDe horizontale marge (in pixels) gebruikt voor de omloop van teksten om de afbeelding.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/nl/insert_link_button.htm b/webcit/tiny_mce/themes/advanced/docs/nl/insert_link_button.htm new file mode 100644 index 000000000..073dbc51e --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/nl/insert_link_button.htm @@ -0,0 +1,35 @@ + + +Links en verwijzingen in tekst invoegen + + + + + + + + + + + +
    +
    +De knop 'Link Invoegen' leidt u naar onderstaand dialoogvenster waarmee u eenvoudig +een Link (Cross-Link) kunt aanbrengen in uw teksten. +

    +
    +
    +Bij 'Link URL' dient de de url van +de link te worden ingevuld (desgewenst voorafgegaan door 'http://' voor een externe +website), bij 'target' kan worden bepaald hoe de link moet openen. +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/nl/insert_specchar_button.htm b/webcit/tiny_mce/themes/advanced/docs/nl/insert_specchar_button.htm new file mode 100644 index 000000000..32868ba44 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/nl/insert_specchar_button.htm @@ -0,0 +1,32 @@ + + +Bijzondere karakers in de tekst invoegen + + + + + + + + + +
    +
    +Met de knop 'Bijzondere Karakters' kunt u in de tekst bijzondere karakters, die soms +op het toetsenbord lastig te vinden zijn, invoegen. +

    +Voor het invoegen van een deze karakters wordt onderstaand keuzevenster getoond. +Door het eenvoudigweg klikken op het gewenste karakter in het overzicht, wordt het op de huidige positie in de tekst ingevoegd.
    +
    +
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/nl/insert_table_button.htm b/webcit/tiny_mce/themes/advanced/docs/nl/insert_table_button.htm new file mode 100644 index 000000000..5e91d9f8f --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/nl/insert_table_button.htm @@ -0,0 +1,73 @@ + + +Tabellen invoegen en aanpassen + + + + + + + + + + + +
    +
    +De knop 'Invoegen Tabel' stelt u in staat op de huidige plek een nieuwe tabel +in uw tekst in te voegen en opent onderstaand dialoogvenster.
    +
    +
    +
    +Omschrijving van de velden:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KolommenHet gewenste aantal kolommen in de tabel.
    RijenHet gewenste aantal rijen in de tabel.
    CelvullingDe 'Celvulling' (Cellpadding)
    + De opvulmarge rondom binnen elke cel in de tabel in pixels.
    CelafstandDe 'Celafstand' (Cellspacing)
    + De ruimte tussen de cellen onderling binnen de tabel in pixels.
    PositioneringDe positionering van de tabel in de paragraaf.
    OmrandingDe dikte in pixels van de omranding van de tabel.
    BreedteDe breedte van de tabel (in pixels of percentuele notatie).
    HoogteDe breedte van de tabel (in pixels of percentuele notatie).
    CSS-StijlOptionele stijlkeuze uit de voor de website aangemaakte Cascading Style Sheet (CSS).
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/nl/style.css b/webcit/tiny_mce/themes/advanced/docs/nl/style.css new file mode 100644 index 000000000..f36b6297f --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/nl/style.css @@ -0,0 +1,28 @@ +/* body { background-color: #FFFFFF; } */ +body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; } +.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; } +.subtitle { font-size: 12px; font-weight: bold; } + +.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; } +.step_ol, .step_li { margin-left: 11 px; line-height: 16px; } +img { border: #000000 solid 1px; } + +a:visited { color: #666666; text-decoration: underline; } +a:active { color: #666666; text-decoration: underline; } +a:hover { color: #666666; text-decoration: underline; } +a { color: #666666; text-decoration: underline; } + +.pageheader { border: #E0E0E0 solid 1px; } +.pagefooter { border: #E0E0E0 solid 1px; } +.sample { background-color: #FFFFFF; border: #000000 solid 1px; } +.samplecontent { font-size: 10px; } + +.code { background-color: #FFFFFF; border: #000000 solid 1px; } +.codecontent { font-size: 10px; } +.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a { color: #666666; text-decoration: none; font-weight: bold } + +hr { height: 1px; } + diff --git a/webcit/tiny_mce/themes/advanced/docs/pl/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/pl/CVS/Entries new file mode 100644 index 000000000..7594751ba --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/pl/CVS/Entries @@ -0,0 +1,9 @@ +D/images//// +/about.htm/1.1/Tue Aug 30 18:35:56 2005// +/common_buttons.htm/1.1/Tue Aug 30 18:35:56 2005// +/index.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_anchor_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_image_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_link_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_table_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/style.css/1.1/Tue Aug 30 18:35:56 2005// diff --git a/webcit/tiny_mce/themes/advanced/docs/pl/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/pl/CVS/Repository new file mode 100644 index 000000000..ec570d5b1 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/pl/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/pl diff --git a/webcit/tiny_mce/themes/advanced/docs/pl/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/pl/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/pl/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/pl/about.htm b/webcit/tiny_mce/themes/advanced/docs/pl/about.htm new file mode 100644 index 000000000..81c947c2d --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/pl/about.htm @@ -0,0 +1,33 @@ + + + + +O TinyMCE + + + + + + + + + + + +
    +
    +TinyMCE jest ma³ym edytorem WYSWIWYG dla przegl±darek internetowych takich jak MSIE +lub Mozilla, pozwalaj±cym na edytowanie zawarto¶ci strony HTML w sposób przyjazny dla +u¿ytkownika. Posiada szeref funkcji znanych z popularnych edytorów tekstu, wiêc powinien +byæ ³atwy w u¿yciu.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/pl/common_buttons.htm b/webcit/tiny_mce/themes/advanced/docs/pl/common_buttons.htm new file mode 100644 index 000000000..1b2c07781 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/pl/common_buttons.htm @@ -0,0 +1,164 @@ + + + + +Wa¿niejsze przyciski + + + + + + + + + + + +
    +
    +Poni¿ej znajduje siê krótki opis ka¿dego przycisku +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Pogrubienie tekstu.
    Pochylenie tekstu.
    Podkre¶lenie tekstu.
    Przekre¶lenie tekstu.
    Wyrównanie do lewej
    Wy¶rodkowanie.
    Wyrównanie do prawej.
    Wyjustowanie.
    Lista nieuporz±dkowana/lista punktów.
    Lista uporz±dkowana/lista ponumerowana
    Wysuniêcie/zmniejsz wciêcie.
    Wciêcie/zwiêksz wciêcie.
    Cofniêcie ostatnio wykonanej czynno¶ci
    Ponowienie ostatnio wykonanej czynno¶ci
    Wstawienie nowego ³±cza, przeczytaj wiêcej o tej funkcji sekcji Wstaw + ³±cze.
    Usuniêcie ³±cz z zaznaczonej czê¶ci/usuniêcie wszystkich zaznaczonych ³±cz.
    Wstawienie nowego zakotwiczenia, przeczytaj wiêcej o tej funkcji w sekcji Wstaw zakotwiczenie.
    Wstawienie nowego zdjêcia, przeczytaj wiêcej o tej funkcji w sekcji Wstaw + zdjêcie.
    Oczyszczenie kodu/usuniêcie niechcianeg formatowania. Ta funkcja jest pomocna kiedy + kopiujesz zawarto¶æ np. z worda.
    Pokazanie tego okna pomocy.
    Otwarcie edytora kodu HTML.
    Wstawienie nowej tabeli 2x2 w bie¿±cej pozycji.
    Wstawienie wiersza ponad aktualnie zaznaczonym.
    Wstawienie wiersz poni¿ej aktualnie zaznaczonego.
    Usuniêcie wiersza.
    Wstawienie kolumny przed aktualnie zaznaczon±.
    Wstawienie kolumny za aktualnie zaznaczon±.
    Usuniêcie kolumny.
    Wstawienie poziomej linii.
    Usuniêcie formatowania z zaznaczonej czê¶ci.
    Przekszta³cenie w indeks dolny.
    Przekszta³cenie w indeks górny.
    +
    +
    + + + + + + + + diff --git a/webcit/tiny_mce/themes/advanced/docs/pl/images/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/pl/images/CVS/Entries new file mode 100644 index 000000000..e5bd9c0f4 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/pl/images/CVS/Entries @@ -0,0 +1,5 @@ +/insert_anchor_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_image_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_link_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_table_window.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/themes/advanced/docs/pl/images/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/pl/images/CVS/Repository new file mode 100644 index 000000000..2392ba782 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/pl/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/pl/images diff --git a/webcit/tiny_mce/themes/advanced/docs/pl/images/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/pl/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/pl/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/pl/images/insert_anchor_window.gif b/webcit/tiny_mce/themes/advanced/docs/pl/images/insert_anchor_window.gif new file mode 100644 index 000000000..c2e08332b Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/pl/images/insert_anchor_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/pl/images/insert_image_window.gif b/webcit/tiny_mce/themes/advanced/docs/pl/images/insert_image_window.gif new file mode 100644 index 000000000..3dbae3c7b Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/pl/images/insert_image_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/pl/images/insert_link_window.gif b/webcit/tiny_mce/themes/advanced/docs/pl/images/insert_link_window.gif new file mode 100644 index 000000000..559def693 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/pl/images/insert_link_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/pl/images/insert_table_window.gif b/webcit/tiny_mce/themes/advanced/docs/pl/images/insert_table_window.gif new file mode 100644 index 000000000..b02e34eda Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/pl/images/insert_table_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/pl/index.htm b/webcit/tiny_mce/themes/advanced/docs/pl/index.htm new file mode 100644 index 000000000..4a48d425d --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/pl/index.htm @@ -0,0 +1,28 @@ + + + + +Spis pomocy + + + + + + + + + +
    +
    +Aby zobaczyæ poszczególne sekcje pomocy kliknij jeden z poni¿szych linków + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/pl/insert_anchor_button.htm b/webcit/tiny_mce/themes/advanced/docs/pl/insert_anchor_button.htm new file mode 100644 index 000000000..3858714b3 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/pl/insert_anchor_button.htm @@ -0,0 +1,33 @@ + + + + +Przycisk "Wstaw zakotwiczenie" + + + + + + + + + +
    +
    +Ten przycisk otwiera nowe okno z funkcj± wstawienia/edycja zakotwiczenia.
    +
    +
    +
    +Jest tylko jedno pole w tym oknie, nale¿y tam wpisaæ nazwê punktu zakotwiczenia. Nale¿y pamiêtaæ, ¿e nazwa musi byæ +unikatowa, nie powtarzaj±ca siê. +

    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/pl/insert_image_button.htm b/webcit/tiny_mce/themes/advanced/docs/pl/insert_image_button.htm new file mode 100644 index 000000000..1578e9e40 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/pl/insert_image_button.htm @@ -0,0 +1,65 @@ + + + + +Przycisk "Wstaw zdjêcie" + + + + + + + + + +
    +
    +Przycisk "Wstaw zdjêcie" otwiera okno pokazane poni¿ej.
    +
    +
    +
    +Nale¿y podaæ adres URL lub scie¿kê dostêpu do zdjêcia które ma byæ wstawione i podaæ krótki opis +zdjêcia, jest on wy¶wietlany jako alternatyny tekstowy opis zdjêcia umieszczonego na stronie. +

    +Opis pól:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Adres URL lub ¶cie¿ka dostêpu do zdjêciaURL/scie¿ka dostêpu do zdjêcia.
    Opis zdjêciaTekst opisuj±cy zdjêcia.
    WymiaryD³ugo¶æ/szeroko¶æ zdjêcia .
    WyrównanieWyrównanie zdjêcia, u¿yteczne przy zawijaniu tekstu wokó³ zdjêcia.
    KrawêdzieGrubo¶æ krawêdzi.
    Odstêp poziomyOdstêp poziomy, pomocne przy zawijaniu tesktu wokó³ zdjêcia.
    Odstêp pionowyOdstêp pionowy, pomocne przy zawijaniu tesktu wokó³ zdjêcia.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/pl/insert_link_button.htm b/webcit/tiny_mce/themes/advanced/docs/pl/insert_link_button.htm new file mode 100644 index 000000000..5ad826318 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/pl/insert_link_button.htm @@ -0,0 +1,35 @@ + + + + +Przycisk "Wstaw ³±cze" + + + + + + + + + + + +
    +
    +Ten przycisk otwiera nowe okno, pozwalaj±ce na wstawienie lub edytowanie ³±cza.
    +
    +
    +
    +S± dwa pola w tym oknie, pierwsze "Adres URL" jest adresem URL ³±cza +. "Cel" umo¿liwia ustalenie jak ³±cze ma byæ otwarte.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/pl/insert_table_button.htm b/webcit/tiny_mce/themes/advanced/docs/pl/insert_table_button.htm new file mode 100644 index 000000000..b3a448c77 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/pl/insert_table_button.htm @@ -0,0 +1,73 @@ + + + + +Przycisk "Wstaw tabelê" + + + + + + + + + + + +
    +
    +Przycisk "Wstaw tabelê" otwiera okno pokazane poni¿ej. Mo¿na w ten sposób stworzyæ now± tabelê.
    +
    +
    +
    +Opis pól:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KolumnyLiczba kolumn w tabeli.
    WierszeLiczba wierszy w tabeli.
    CellpaddingOdleg³o¶æ akapitu od krawêdzi komórki tabeli.
    CellspacingSzeroko¶æ krawêdzi komórek tabeli.
    WyrównanieWyrównanie tabeli.
    KrawêdzieGrubo¶æ krawêdzi tabeli.
    Szeroko¶æSzeroko¶æ tabeli w pikselach.
    Wysoko¶æWysoko¶æ tabeli w pikselach.
    KlasaStyl lub klasa CSS tabeli.
    +
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/pl/style.css b/webcit/tiny_mce/themes/advanced/docs/pl/style.css new file mode 100644 index 000000000..722f537a1 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/pl/style.css @@ -0,0 +1,28 @@ +body { background-color: #FFFFFF; } +body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; } +.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; } +.subtitle { font-size: 12px; font-weight: bold; } + +.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; } +.step_ol, .step_li { margin-left: 11 px; line-height: 16px; } +img { border: #000000 solid 1px; } + +a:visited { color: #666666; text-decoration: underline; } +a:active { color: #666666; text-decoration: underline; } +a:hover { color: #666666; text-decoration: underline; } +a { color: #666666; text-decoration: underline; } + +.pageheader { border: #E0E0E0 solid 1px; } +.pagefooter { border: #E0E0E0 solid 1px; } +.sample { background-color: #FFFFFF; border: #000000 solid 1px; } +.samplecontent { font-size: 10px; } + +.code { background-color: #FFFFFF; border: #000000 solid 1px; } +.codecontent { font-size: 10px; } +.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a { color: #666666; text-decoration: none; font-weight: bold } + +hr { height: 1px; } + diff --git a/webcit/tiny_mce/themes/advanced/docs/sv/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/sv/CVS/Entries new file mode 100644 index 000000000..7594751ba --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/sv/CVS/Entries @@ -0,0 +1,9 @@ +D/images//// +/about.htm/1.1/Tue Aug 30 18:35:56 2005// +/common_buttons.htm/1.1/Tue Aug 30 18:35:56 2005// +/index.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_anchor_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_image_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_link_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_table_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/style.css/1.1/Tue Aug 30 18:35:56 2005// diff --git a/webcit/tiny_mce/themes/advanced/docs/sv/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/sv/CVS/Repository new file mode 100644 index 000000000..91f6e1dbb --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/sv/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/sv diff --git a/webcit/tiny_mce/themes/advanced/docs/sv/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/sv/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/sv/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/sv/about.htm b/webcit/tiny_mce/themes/advanced/docs/sv/about.htm new file mode 100644 index 000000000..8ea096afa --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/sv/about.htm @@ -0,0 +1,32 @@ + + +About TinyMCE + + + + + + + + + + + +
    +
    +TinyMCE är en liten WYSIWYG-editor för webläsare som +MSIE och Mozilla vilken möjliggör för användare att redigera +HTML-innehåll på ett mer användarvänligt sätt. +Applikationen har funktioner som liknar dem man finner i vanliga ordbehandlare +och borde inte vara speciellt svårt att använda.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/sv/common_buttons.htm b/webcit/tiny_mce/themes/advanced/docs/sv/common_buttons.htm new file mode 100644 index 000000000..9f7331906 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/sv/common_buttons.htm @@ -0,0 +1,163 @@ + + +Common buttons + + + + + + + + + + + +
    +
    +Nedan finner du en kort beskrivning av varje knapp/funktion.
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Fet text.
    Kursiv text.
    Understruken text.
    Genomstruken text.
    Rak vänstermarginal.
    Centrera.
    Rak högermarginal.
    Raka marginaler.
    Punktlista.
    Numrerad lista
    Minska indrag.
    Öka utdrag.
    Ångra senaste ändringen.
    Gör om senaste ändringen.
    Skapa/Redigera länk, läs mer om denna funktion i + kapitlet Skapa/Redigera länk.
    Ta bort länkar från markerade länkar.
    Skapa/Redigera ankare, lär mer om denna funktion i + kapitlet Skapa/Redigera ankare.
    Skapa/Redigera bild, lär mer om denna funktion i + kapitlet Skapa/Redigera bild.
    Rensa/Städa kåden. Denna funktion tar bort onödig + formatering. Bör användas när man t.ex. kopierar text + från Office-program.
    Visad denna hjälp.
    Öppnar en HTML-käkodseditor .
    Skapar en ny tabell (2x2) .
    Skapar en rad ovanför den nuvarande raden .
    Skapar en rad under den nuvarande raden .
    Tar bort en rad.
    Skapar en kolumn före den nuvarande kolumnen.
    Skapar en kolumn efter den nuvarande kolumnen.
    Tar bort en kolumn.
    Skapar en horisontell linje.
    Tar bort formatering från markerat område.
    Skapar nedsänkt text.
    Skapar upphöjd text.
    +
    +
    + + + + + + + + diff --git a/webcit/tiny_mce/themes/advanced/docs/sv/images/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/sv/images/CVS/Entries new file mode 100644 index 000000000..e5bd9c0f4 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/sv/images/CVS/Entries @@ -0,0 +1,5 @@ +/insert_anchor_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_image_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_link_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_table_window.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/themes/advanced/docs/sv/images/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/sv/images/CVS/Repository new file mode 100644 index 000000000..9f8ea61d3 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/sv/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/sv/images diff --git a/webcit/tiny_mce/themes/advanced/docs/sv/images/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/sv/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/sv/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/sv/images/insert_anchor_window.gif b/webcit/tiny_mce/themes/advanced/docs/sv/images/insert_anchor_window.gif new file mode 100644 index 000000000..1c38437e2 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/sv/images/insert_anchor_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/sv/images/insert_image_window.gif b/webcit/tiny_mce/themes/advanced/docs/sv/images/insert_image_window.gif new file mode 100644 index 000000000..c3d7379ff Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/sv/images/insert_image_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/sv/images/insert_link_window.gif b/webcit/tiny_mce/themes/advanced/docs/sv/images/insert_link_window.gif new file mode 100644 index 000000000..2a56e79c4 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/sv/images/insert_link_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/sv/images/insert_table_window.gif b/webcit/tiny_mce/themes/advanced/docs/sv/images/insert_table_window.gif new file mode 100644 index 000000000..e8b69ef02 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/sv/images/insert_table_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/sv/index.htm b/webcit/tiny_mce/themes/advanced/docs/sv/index.htm new file mode 100644 index 000000000..afeb5cab1 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/sv/index.htm @@ -0,0 +1,27 @@ + + +Help Index + + + + + + + + + +
    +
    +Klicka på länkarna nedan för att gå till olika +hjälp-kapitel. + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/sv/insert_anchor_button.htm b/webcit/tiny_mce/themes/advanced/docs/sv/insert_anchor_button.htm new file mode 100644 index 000000000..9aa4846a6 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/sv/insert_anchor_button.htm @@ -0,0 +1,34 @@ + + +Skapa/Redigera länk + + + + + + + + + + + +
    +
    +Denna funktion öppnar ett nytt fönster liknande det nedan.
    +
    +
    +
    +Detta fönster har ett fält som man skall fylla i med ett unik +namn, denna funktion gör det möjligt att skapa +ankarpunkter/bokmärken.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/sv/insert_image_button.htm b/webcit/tiny_mce/themes/advanced/docs/sv/insert_image_button.htm new file mode 100644 index 000000000..9a583a11a --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/sv/insert_image_button.htm @@ -0,0 +1,71 @@ + + +Skapa/Redigera bild + + + + + + + + + + + +
    +
    +Funktionen "Skapa/Redigera bild" öppnar ett nytt fönster som ser ut som +bilden nedan.
    +
    +
    +
    +I detta fönster skriver du in URL:en till bilden du vill länka till +samt en bildbeskrivning, denna beskrivning kommer att visas som en alternativ +text till bilden.
    +
    +Fältförklaring:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Bilderns URL URL/sökväg till bilden.
    Bildens beskrivningBildens beskrivning, denna beskrivning kommer att visas som en + alternativ text till bilden.
    DimensionerBildens bredd och höjd.
    JusteringBildens justering, kan vara användbart när man vill att + text skall flyta runt bilden.
    RamBildramens bredd.
    Vertikalt tomrum Vertikalt tomrum , kan vara användbart när man vill + att text skall flyta runt bilden.
    Horizontellt tomromHorisontellt tomrum, kan vara användbart när man vill + att text skall flyta runt bilden.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/sv/insert_link_button.htm b/webcit/tiny_mce/themes/advanced/docs/sv/insert_link_button.htm new file mode 100644 index 000000000..cc428aaab --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/sv/insert_link_button.htm @@ -0,0 +1,33 @@ + + +Skapa/Redigera länk + + + + + + + + + + + +
    +
    +Denna funktion öppnar ett nytt fönster liknande det nedan.
    +
    +
    +
    +Detta fönster har två fält länkens URL/adress samt hur länken +skall öppnas.
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/sv/insert_table_button.htm b/webcit/tiny_mce/themes/advanced/docs/sv/insert_table_button.htm new file mode 100644 index 000000000..4ddf0591d --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/sv/insert_table_button.htm @@ -0,0 +1,72 @@ + + +Skapa/Redigera tabell + + + + + + + + + + + +
    +
    +Skapa tabell-knappen öppnar ett nytt fönster, med hjälp av +detta fönster kan du skapa tabeller.
    +
    +
    +
    +Fältförklaring:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KolumnerAntal kolumner i tabellen.
    RaderAntal rader i tabellen .
    CellutfyllnadAntal pixlars utfyllnad i varje cell.
    CellmellanrumAntal pixlars mellanrum mellan cellerna.
    JusteringTabellens justering.
    RambreddRamens bredd .
    BreddBredd i pixlar.
    HöjdHöjd i pixlar.
    StilStilmall på tabellen.
    +
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/sv/style.css b/webcit/tiny_mce/themes/advanced/docs/sv/style.css new file mode 100644 index 000000000..722f537a1 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/sv/style.css @@ -0,0 +1,28 @@ +body { background-color: #FFFFFF; } +body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; } +.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; } +.subtitle { font-size: 12px; font-weight: bold; } + +.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; } +.step_ol, .step_li { margin-left: 11 px; line-height: 16px; } +img { border: #000000 solid 1px; } + +a:visited { color: #666666; text-decoration: underline; } +a:active { color: #666666; text-decoration: underline; } +a:hover { color: #666666; text-decoration: underline; } +a { color: #666666; text-decoration: underline; } + +.pageheader { border: #E0E0E0 solid 1px; } +.pagefooter { border: #E0E0E0 solid 1px; } +.sample { background-color: #FFFFFF; border: #000000 solid 1px; } +.samplecontent { font-size: 10px; } + +.code { background-color: #FFFFFF; border: #000000 solid 1px; } +.codecontent { font-size: 10px; } +.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a { color: #666666; text-decoration: none; font-weight: bold } + +hr { height: 1px; } + diff --git a/webcit/tiny_mce/themes/advanced/docs/zh_cn/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/zh_cn/CVS/Entries new file mode 100644 index 000000000..7594751ba --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/zh_cn/CVS/Entries @@ -0,0 +1,9 @@ +D/images//// +/about.htm/1.1/Tue Aug 30 18:35:56 2005// +/common_buttons.htm/1.1/Tue Aug 30 18:35:56 2005// +/index.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_anchor_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_image_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_link_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/insert_table_button.htm/1.1/Tue Aug 30 18:35:56 2005// +/style.css/1.1/Tue Aug 30 18:35:56 2005// diff --git a/webcit/tiny_mce/themes/advanced/docs/zh_cn/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/zh_cn/CVS/Repository new file mode 100644 index 000000000..1dde6c95b --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/zh_cn/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/zh_cn diff --git a/webcit/tiny_mce/themes/advanced/docs/zh_cn/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/zh_cn/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/zh_cn/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/zh_cn/about.htm b/webcit/tiny_mce/themes/advanced/docs/zh_cn/about.htm new file mode 100644 index 000000000..4d3c8b3f6 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/zh_cn/about.htm @@ -0,0 +1,29 @@ + + +¹ØÓÚTinyMCE + + + + + + + + + + + + +
    +
    +TinyMCEÊÇÒ»ÖÖÊÊÓÃÓÚMSIEºÍMozillaµÈä¯ÀÀÆ÷µÄÇáÁ¿¼¶Ëù¼û¼´ËùµÃ±à¼­Æ÷£¬ÒÔ¸ü¼ÓÓѺõķ½Ê½¹©Óû§±à¼­HTMLÄÚÈÝ¡£Ëü¾ßÓд󲿷ÖÎÄ×Ö´¦ÀíÆ÷Ëù³£¼ûµÄ¹¦ÄÜ£¬²¢ÇÒÒ×ÓÚʹÓá£
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/zh_cn/common_buttons.htm b/webcit/tiny_mce/themes/advanced/docs/zh_cn/common_buttons.htm new file mode 100644 index 000000000..d500fe6f9 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/zh_cn/common_buttons.htm @@ -0,0 +1,160 @@ + + +³£Óð´Å¥ + + + + + + + + + + + + +
    +
    +ÒÔÏÂÊÇÿ¸ö°´Å¥µÄ¼ò¶Ì˵Ã÷ +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ´ÖÌåÎÄ×ÖÑùʽ
    бÌåÎÄ×ÖÑùʽ
    Ï»®ÏßÎÄ×ÖÑùʽ
    ɾ³ýÏßÎÄ×ÖÑùʽ
    ×ó¶ÔÆë
    ¾ÓÖжÔÆë
    ÓÒ¶ÔÆë
    Á½¶Ë¶ÔÆë
    ÎÞÐòÁбí
    ÓÐÐòÁбí
    ¼õÉÙËõ½øÁ¿
    Ôö¼ÓËõ½øÁ¿
    ³·ÏûÉÏÒ»²Ù×÷
    ÖØ×öÉÏÒ»²Ù×÷
    ²åÈëÐÂÁ´½Ó£¬µã»÷ ²åÈëÁ´½Ó°´Å¥ Õ½ÚÒԲ鿴¸ü¶àÄÚÈÝ¡£
    ɾ³ýµ±Ç°Ñ¡¶¨µÄÁ´½Ó/ÒƳýÈ«²¿Ñ¡¶¨µÄÁ´½Ó
    ²åÈëÐÂêµã£¬µã»÷ ²åÈëêµã°´Å¥ Õ½ÚÒԲ鿴¸ü¶àÄÚÈÝ¡£
    ²åÈëÐÂͼÏñ£¬µã»÷ ²åÈëͼÏñ°´Å¥ Õ½ÚÒԲ鿴¸ü¶àÄÚÈÝ¡£
    ÇåÀí´úÂë/Çå³ýËùÓв»ÐèÒªµÄ¸ñʽ¡£´Ë¹¦ÄÜÔÚÄã´ÓofficeµÈ²úÆ·Öи´ÖÆÄÚÈݽøÀ´µÄʱºòÌرðÓÐÓá£
    ÏÔʾ´Ë°ïÖú´°¿Ú
    ´ò¿ªHTML´úÂë±à¼­Æ÷
    ÔÚµ±Ç°Î»ÖòåÈëÒ»ÕÅ2¡Á2µÄ±í¸ñ
    ÔÚµ±Ç°ÐеÄÇ°Ãæ²åÈëÐÂÐÐ
    ÔÚµ±Ç°ÐеĺóÃæ²åÈëÐÂÐÐ
    ɾ³ýµ±Ç°ÐÐ
    ÔÚµ±Ç°ÁеÄÇ°Ãæ²åÈëÐÂÁÐ
    ÔÚµ±Ç°ÁеĺóÃæ²åÈëÐÂÁÐ
    ɾ³ýµ±Ç°ÁÐ
    ²åÈëˮƽÏß
    ÒƳýËùÑ¡ÎÄ×ֵĸñʽ
    ½«ËùÑ¡ÎÄ×Ö×öΪϱê
    ½«ËùÑ¡ÎÄ×Ö×öΪÉϱê
    +
    +
    + + + + + + + + diff --git a/webcit/tiny_mce/themes/advanced/docs/zh_cn/images/CVS/Entries b/webcit/tiny_mce/themes/advanced/docs/zh_cn/images/CVS/Entries new file mode 100644 index 000000000..e5bd9c0f4 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/zh_cn/images/CVS/Entries @@ -0,0 +1,5 @@ +/insert_anchor_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_image_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_link_window.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_table_window.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/themes/advanced/docs/zh_cn/images/CVS/Repository b/webcit/tiny_mce/themes/advanced/docs/zh_cn/images/CVS/Repository new file mode 100644 index 000000000..c77b2b1b9 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/zh_cn/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/docs/zh_cn/images diff --git a/webcit/tiny_mce/themes/advanced/docs/zh_cn/images/CVS/Root b/webcit/tiny_mce/themes/advanced/docs/zh_cn/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/zh_cn/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/docs/zh_cn/images/insert_anchor_window.gif b/webcit/tiny_mce/themes/advanced/docs/zh_cn/images/insert_anchor_window.gif new file mode 100644 index 000000000..21513adc8 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/zh_cn/images/insert_anchor_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/zh_cn/images/insert_image_window.gif b/webcit/tiny_mce/themes/advanced/docs/zh_cn/images/insert_image_window.gif new file mode 100644 index 000000000..1a92b0768 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/zh_cn/images/insert_image_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/zh_cn/images/insert_link_window.gif b/webcit/tiny_mce/themes/advanced/docs/zh_cn/images/insert_link_window.gif new file mode 100644 index 000000000..bcb3976e3 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/zh_cn/images/insert_link_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/zh_cn/images/insert_table_window.gif b/webcit/tiny_mce/themes/advanced/docs/zh_cn/images/insert_table_window.gif new file mode 100644 index 000000000..e9d114b03 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/docs/zh_cn/images/insert_table_window.gif differ diff --git a/webcit/tiny_mce/themes/advanced/docs/zh_cn/index.htm b/webcit/tiny_mce/themes/advanced/docs/zh_cn/index.htm new file mode 100644 index 000000000..1dd52cdba --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/zh_cn/index.htm @@ -0,0 +1,27 @@ + + +°ïÖúË÷Òý + + + + + + + + + + +
    +
    +Çëµã»÷ÒÔÏÂÁ´½ÓÀ´²é¿´°ïÖúÄÚÈÝÖеIJ»Í¬Õ½Ú. + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/zh_cn/insert_anchor_button.htm b/webcit/tiny_mce/themes/advanced/docs/zh_cn/insert_anchor_button.htm new file mode 100644 index 000000000..bbb75589a --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/zh_cn/insert_anchor_button.htm @@ -0,0 +1,31 @@ + + +²åÈëêµã°´Å¥ + + + + + + + + + + + + +
    +
    ´Ë°´Å¥»á´ò¿ª²åÈë/±à¼­ÃªµãµÄ¶Ô»°´°¿Ú£º
    +
    +
    +
    ´°¿ÚÖÐÖ»ÓÐÒ»¸öÎı¾Óò£¬Äã¿ÉÒÔÔÚ´ËÊäÈëêµãÃû³Æ£¬ÐèҪעÒâµÄÊÇêµãÃû³Æ±ØÐëÊÇΨһµÄ¡£
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/zh_cn/insert_image_button.htm b/webcit/tiny_mce/themes/advanced/docs/zh_cn/insert_image_button.htm new file mode 100644 index 000000000..68bd326b8 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/zh_cn/insert_image_button.htm @@ -0,0 +1,63 @@ + + +²åÈëͼÏñ°´Å¥ + + + + + + + + + + + + +
    +
    µã»÷²åÈëͼƬ°´Å¥ºó»á´ò¿ªÒÔÏ´°¿Ú£º
    +
    +
    +
    ÄãÖ»Ðè¼òµ¥µÄÊäÈëÐèÒªÁ¬½ÓµÄͼÏñµØÖ·¼°Í¼ÏñÃèÊö£¨Í¼ÏñµÄÌæ´úÎÄ×Ö£©
    +
    +²ÎÊý˵Ã÷£º
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ͼÏñµØÖ·Òª²åÈëµÄͼƬµÄURL
    ͼÏñÃèÊöͼƬÄÚÈݵÄÌæ´úÎÄ×ÖÃèÊö
    άÊýͼÏñ¿í¶ÈÓë¸ß¶È
    ¶ÔÆ뷽ʽͼÏñµÄ¶ÔÆ뷽ʽ£¬ÔÚÎÄ×Ö»·ÈÆͼÏñʱÌرðÓÐÓá£
    ±ß¿òͼÏñ±ß¿òµÄºñ¶È
    ˮƽ¼ä¾àͼÏñˮƽ¼ä¾à£¬ÔÚÎÄ×Ö»·ÈÆͼÏñʱÌرðÓÐÓá£
    ´¹Ö±¼ä¾àͼÏñ´¹Ö±¼ä¾à£¬ÔÚÎÄ×Ö»·ÈÆͼÏñʱÌرðÓÐÓá£
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/zh_cn/insert_link_button.htm b/webcit/tiny_mce/themes/advanced/docs/zh_cn/insert_link_button.htm new file mode 100644 index 000000000..64944e374 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/zh_cn/insert_link_button.htm @@ -0,0 +1,32 @@ + + +²åÈëÁ´½Ó°´Å¥ + + + + + + + + + + + + +
    +
    ´Ë°´Å¥»á´ò¿ª²åÈë/±à¼­Á´½ÓµÄ¶Ô»°´°¿Ú£º
    +
    +
    +
    ´°¿ÚÖÐÓÐÁ½¸ö±íµ¥Óò£¬µÚÒ»¸öÊÇÁ´½ÓµÄµØÖ·£¬µÚ¶þ¸öÊÇÁ´½ÓµÄ´ò¿ª·½Ê½¡£ +
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/zh_cn/insert_table_button.htm b/webcit/tiny_mce/themes/advanced/docs/zh_cn/insert_table_button.htm new file mode 100644 index 000000000..b34ca1fec --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/zh_cn/insert_table_button.htm @@ -0,0 +1,71 @@ + + +²åÈë±í¸ñ°´Å¥ + + + + + + + + + + + + +
    +
    µã»÷²åÈë±í¸ñ°´Å¥»á´ò¿ªÒÔÏ´°¿Ú£¬´Ë²Ù×÷ÔÊÐíÄã´´½¨±í¸ñ¡£
    +
    +
    +
    +²ÎÊý˵Ã÷£º
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ÁÐÊý±í¸ñÁÐÊý
    ÐÐÊý±í¸ñÐÐÊý
    Ìî³ä±í¸ñµ¥Ôª¸ñµÄÌî³äÖµ
    ¼ä¾à±í¸ñµ¥Ôª¸ñ¼ä¾à
    ¶ÔÆ뷽ʽ±í¸ñ¶ÔÆ뷽ʽ
    ±ß¿ò±í¸ñ±ß¿ò¿í¶È
    ¿í¶È±í¸ñ¿í¶È£¬ÒÔÏóËØΪµ¥Î»¡£
    ¸ß¶È±í¸ñ¸ß¶È£¬ÒÔÏóËØΪµ¥Î»¡£
    ÀàÃû±í¸ñcssÑùʽÃû
    +
    +
    +
    + + + + + + +
    + + diff --git a/webcit/tiny_mce/themes/advanced/docs/zh_cn/style.css b/webcit/tiny_mce/themes/advanced/docs/zh_cn/style.css new file mode 100644 index 000000000..722f537a1 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/docs/zh_cn/style.css @@ -0,0 +1,28 @@ +body { background-color: #FFFFFF; } +body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; } +.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; } +.subtitle { font-size: 12px; font-weight: bold; } + +.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; } +.step_ol, .step_li { margin-left: 11 px; line-height: 16px; } +img { border: #000000 solid 1px; } + +a:visited { color: #666666; text-decoration: underline; } +a:active { color: #666666; text-decoration: underline; } +a:hover { color: #666666; text-decoration: underline; } +a { color: #666666; text-decoration: underline; } + +.pageheader { border: #E0E0E0 solid 1px; } +.pagefooter { border: #E0E0E0 solid 1px; } +.sample { background-color: #FFFFFF; border: #000000 solid 1px; } +.samplecontent { font-size: 10px; } + +.code { background-color: #FFFFFF; border: #000000 solid 1px; } +.codecontent { font-size: 10px; } +.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a { color: #666666; text-decoration: none; font-weight: bold } + +hr { height: 1px; } + diff --git a/webcit/tiny_mce/themes/advanced/editor_template.js b/webcit/tiny_mce/themes/advanced/editor_template.js new file mode 100644 index 000000000..3e468b6e3 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/editor_template.js @@ -0,0 +1,13 @@ +/* Import theme specific language pack */ + tinyMCE.importThemeLanguagePack('advanced');var TinyMCE_advanced_autoImportCSSClasses=true;var TinyMCE_advanced_resizer=new Object();var TinyMCE_advanced_buttons=[['bold','{$lang_bold_img}','{$lang_bold_desc}','Bold'],['italic','{$lang_italic_img}','{$lang_italic_desc}','Italic'],['underline','{$lang_underline_img}','{$lang_underline_desc}','Underline'],['strikethrough','strikethrough.gif','{$lang_striketrough_desc}','Strikethrough'],['justifyleft','left.gif','{$lang_justifyleft_desc}','JustifyLeft'],['justifycenter','center.gif','{$lang_justifycenter_desc}','JustifyCenter'],['justifyright','right.gif','{$lang_justifyright_desc}','JustifyRight'],['justifyfull','full.gif','{$lang_justifyfull_desc}','JustifyFull'],['bullist','bullist.gif','{$lang_bullist_desc}','InsertUnorderedList'],['numlist','numlist.gif','{$lang_numlist_desc}','InsertOrderedList'],['outdent','outdent.gif','{$lang_outdent_desc}','Outdent'],['indent','indent.gif','{$lang_indent_desc}','Indent'],['cut','cut.gif','{$lang_cut_desc}','Cut'],['copy','copy.gif','{$lang_copy_desc}','Copy'],['paste','paste.gif','{$lang_paste_desc}','Paste'],['undo','undo.gif','{$lang_undo_desc}','Undo'],['redo','redo.gif','{$lang_redo_desc}','Redo'],['link','link.gif','{$lang_link_desc}','mceLink',true],['unlink','unlink.gif','{$lang_unlink_desc}','unlink'],['image','image.gif','{$lang_image_desc}','mceImage',true],['cleanup','cleanup.gif','{$lang_cleanup_desc}','mceCleanup'],['help','help.gif','{$lang_help_desc}','mceHelp'],['code','code.gif','{$lang_theme_code_desc}','mceCodeEditor'],['hr','hr.gif','{$lang_theme_hr_desc}','inserthorizontalrule'],['removeformat','removeformat.gif','{$lang_theme_removeformat_desc}','removeformat'],['sub','sub.gif','{$lang_theme_sub_desc}','subscript'],['sup','sup.gif','{$lang_theme_sup_desc}','superscript'],['forecolor','forecolor.gif','{$lang_theme_forecolor_desc}','mceForeColor',true],['backcolor','backcolor.gif','{$lang_theme_backcolor_desc}','mceBackColor',true],['charmap','charmap.gif','{$lang_theme_charmap_desc}','mceCharMap'],['visualaid','visualaid.gif','{$lang_theme_visualaid_desc}','mceToggleVisualAid'],['anchor','anchor.gif','{$lang_theme_anchor_desc}','mceInsertAnchor'],['newdocument','newdocument.gif','{$lang_newdocument_desc}','mceNewDocument']];function TinyMCE_advanced_getControlHTML(button_name){var buttonTileMap=new Array('anchor.gif','backcolor.gif','bullist.gif','center.gif','charmap.gif','cleanup.gif','code.gif','copy.gif','custom_1.gif','cut.gif','forecolor.gif','full.gif','help.gif','hr.gif','image.gif','indent.gif','left.gif','link.gif','numlist.gif','outdent.gif','paste.gif','redo.gif','removeformat.gif','right.gif','strikethrough.gif','sub.gif','sup.gif','undo.gif','unlink.gif','visualaid.gif');for(var i=0;i';}}}return '';}}switch(button_name){case "formatselect":var html='';return html;case "styleselect":return '';case "fontselect":var fontHTML='';return fontHTML;case "fontsizeselect":return '';case "|":case "separator":return '';case "spacer":return '';case "rowseparator":return '
    ';}return "";}function TinyMCE_advanced_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mceForeColor":var template=new Array();var elm=tinyMCE.selectedInstance.getFocusElement();var inputColor=tinyMCE.getAttrib(elm,"color");if(inputColor=='')inputColor=elm.style.color;if(!inputColor)inputColor="#000000";template['file']='color_picker.htm';template['width']=220;template['height']=190;tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes",command:"forecolor",input_color:inputColor});return true;case "mceBackColor":var template=new Array();var elm=tinyMCE.selectedInstance.getFocusElement();var inputColor=elm.style.backgroundColor;if(!inputColor)inputColor="#000000";template['file']='color_picker.htm';template['width']=220;template['height']=190;template['width']+=tinyMCE.getLang('lang_theme_advanced_backcolor_delta_width',0);template['height']+=tinyMCE.getLang('lang_theme_advanced_backcolor_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes",command:"HiliteColor",input_color:inputColor});return true;case "mceColorPicker":if(user_interface){var template=new Array();var inputColor=value['document'].getElementById(value['element_id']).value;template['file']='color_picker.htm';template['width']=220;template['height']=190;template['close_previous']="no";template['width']+=tinyMCE.getLang('lang_theme_advanced_colorpicker_delta_width',0);template['height']+=tinyMCE.getLang('lang_theme_advanced_colorpicker_delta_height',0);if(typeof(value['store_selection'])=="undefined")value['store_selection']=true;tinyMCE.lastColorPickerValue=value;tinyMCE.openWindow(template,{editor_id:editor_id,mce_store_selection:value['store_selection'],inline:"yes",command:"mceColorPicker",input_color:inputColor});}else{var savedVal=tinyMCE.lastColorPickerValue;var elm=savedVal['document'].getElementById(savedVal['element_id']);elm.value=value;eval('elm.onchange();');}return true;case "mceCodeEditor":var template=new Array();template['file']='source_editor.htm';template['width']=parseInt(tinyMCE.getParam("theme_advanced_source_editor_width",500));template['height']=parseInt(tinyMCE.getParam("theme_advanced_source_editor_height",400));tinyMCE.openWindow(template,{editor_id:editor_id,resizable:"yes",scrollbars:"no",inline:"yes"});return true;case "mceCharMap":var template=new Array();template['file']='charmap.htm';template['width']=550;template['height']=250;template['width']+=tinyMCE.getLang('lang_theme_advanced_charmap_delta_width',0);template['height']+=tinyMCE.getLang('lang_theme_advanced_charmap_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});return true;case "mceInsertAnchor":var template=new Array();template['file']='anchor.htm';template['width']=320;template['height']=90;template['width']+=tinyMCE.getLang('lang_theme_advanced_anchor_delta_width',0);template['height']+=tinyMCE.getLang('lang_theme_advanced_anchor_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});return true;case "mceNewDocument":if(confirm(tinyMCE.getLang('lang_newdocument')))tinyMCE.execInstanceCommand(editor_id,'mceSetContent',false,'');return true;}return false;}function TinyMCE_advanced_getEditorTemplate(settings,editorId){function removeFromArray(in_array,remove_array){var outArray=new Array();for(var i=0;i 

    ';var layoutManager=tinyMCE.getParam("theme_advanced_layout_manager","SimpleLayout");var styleSelectHTML='';if(settings['theme_advanced_styles']){var stylesAr=settings['theme_advanced_styles'].split(';');for(var i=0;i'+key+'';}TinyMCE_advanced_autoImportCSSClasses=false;}switch(layoutManager){case "SimpleLayout":var toolbarHTML="";var toolbarLocation=tinyMCE.getParam("theme_advanced_toolbar_location","bottom");var toolbarAlign=tinyMCE.getParam("theme_advanced_toolbar_align","center");var pathLocation=tinyMCE.getParam("theme_advanced_path_location","none");var statusbarLocation=tinyMCE.getParam("theme_advanced_statusbar_location",pathLocation);var defVals={theme_advanced_buttons1:"bold,italic,underline,strikethrough,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,styleselect,formatselect",theme_advanced_buttons2:"bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,link,unlink,anchor,image,cleanup,help,code",theme_advanced_buttons3:"hr,removeformat,visualaid,separator,sub,sup,separator,charmap"};toolbarHTML+='';for(var i=1;i<100;i++){var def=defVals["theme_advanced_buttons"+i];buttons=tinyMCE.getParam("theme_advanced_buttons"+i,def==null?'':def,true,',');if(buttons.length==0)break;buttons=removeFromArray(buttons,tinyMCE.getParam("theme_advanced_disable","",true,','));buttons=addToArray(buttons,tinyMCE.getParam("theme_advanced_buttons"+i+"_add","",true,','));buttons=addToArray(tinyMCE.getParam("theme_advanced_buttons"+i+"_add_before","",true,','),buttons);for(var b=0;b0){toolbarHTML+="
    ";deltaHeight-=23;}}toolbarHTML+='';template['html']='';if(toolbarLocation=="top"){template['html']+='';}if(statusbarLocation=="top"){template['html']+='';deltaHeight-=23;}template['html']+='';if(toolbarLocation=="bottom"){template['html']+='';}if(toolbarLocation=="external"){var bod=document.body;var elm=document.createElement("div");toolbarHTML=tinyMCE.replaceVars(toolbarHTML,tinyMCE.settings);toolbarHTML=tinyMCE.replaceVars(toolbarHTML,tinyMCELang);toolbarHTML=tinyMCE.replaceVar(toolbarHTML,'style_select_options',styleSelectHTML);toolbarHTML=tinyMCE.replaceVar(toolbarHTML,"editor_id",editorId);toolbarHTML=tinyMCE.applyTemplate(toolbarHTML);elm.className="mceToolbarExternal";elm.id=editorId+"_toolbar";elm.innerHTML='
    '+toolbarHTML+'
    '+statusbarHTML+'
    '+toolbarHTML+'
    '+toolbarHTML+'
    ';bod.appendChild(elm);deltaHeight=0;tinyMCE.getInstanceById(editorId).toolbarElement=elm;}else{tinyMCE.getInstanceById(editorId).toolbarElement=null;}if(statusbarLocation=="bottom"){template['html']+=''+statusbarHTML+'';deltaHeight-=23;}template['html']+='';break;case "RowLayout":template['html']='';var containers=tinyMCE.getParam("theme_advanced_containers","",true,",");var defaultContainerCSS=tinyMCE.getParam("theme_advanced_containers_default_class","container");var defaultContainerAlign=tinyMCE.getParam("theme_advanced_containers_default_align","center");for(var i=0;i';}else if(containers[i]=="mceElementpath"||containers[i]=="mceStatusbar"){var pathClass="mceStatusbar";if(i==containers.length-1){pathClass="mceStatusbarBottom";}else if(i==0){pathClass="mceStatusbar";}else{deltaHeight-=2;}template['html']+='';deltaHeight-=22;}else{var curContainer=tinyMCE.getParam("theme_advanced_container_"+containers[i],"",true,',');var curContainerHTML="";var curAlign=tinyMCE.getParam("theme_advanced_container_"+containers[i]+"_align",defaultContainerAlign);var curCSS=tinyMCE.getParam("theme_advanced_container_"+containers[i]+"_class",defaultContainerCSS);for(var j=0;j0){curContainerHTML+="
    ";deltaHeight-=23;}template['html']+='
    ';}}template['html']+='
    \ + \ +
    '+statusbarHTML+'
    '+curContainerHTML+'
    ';break;case "BorderLayout":break;case "CustomLayout":var customLayout=tinyMCE.getParam("theme_advanced_custom_layout","");if(customLayout!=""&&eval("typeof("+customLayout+")")!="undefined"){template=eval(customLayout+"(template);");}break;default:alert('UNDEFINED LAYOUT MANAGER! PLEASE CHECK YOUR TINYMCE CONFIG!');break;}template['html']+='
    ';template['html']=tinyMCE.replaceVar(template['html'],'style_select_options',styleSelectHTML);template['delta_width']=0;template['delta_height']=deltaHeight;return template;}function TinyMCE_advanced_setResizing(e,editor_id,state){e=typeof(e)=="undefined"?window.event:e;var resizer=TinyMCE_advanced_resizer;var editorContainer=document.getElementById(editor_id+'_parent');var editorArea=document.getElementById(editor_id+'_parent').firstChild;var resizeBox=document.getElementById(editor_id+'_resize_box');var inst=tinyMCE.getInstanceById(editor_id);if(state){var width=editorArea.clientWidth;var height=editorArea.clientHeight;resizeBox.style.width=width+"px";resizeBox.style.height=height+"px";resizer.iframeWidth=inst.iframeElement.clientWidth;resizer.iframeHeight=inst.iframeElement.clientHeight;editorArea.style.display="none";resizeBox.style.display="block";if(!resizer.eventHandlers){if(tinyMCE.isMSIE)tinyMCE.addEvent(document,"mousemove",TinyMCE_advanced_resizeEventHandler);else tinyMCE.addEvent(window,"mousemove",TinyMCE_advanced_resizeEventHandler);tinyMCE.addEvent(document,"mouseup",TinyMCE_advanced_resizeEventHandler);resizer.eventHandlers=true;}resizer.resizing=true;resizer.downX=e.screenX;resizer.downY=e.screenY;resizer.width=parseInt(resizeBox.style.width);resizer.height=parseInt(resizeBox.style.height);resizer.editorId=editor_id;resizer.resizeBox=resizeBox;resizer.horizontal=tinyMCE.getParam("theme_advanced_resize_horizontal",true);}else{resizer.resizing=false;resizeBox.style.display="none";editorArea.style.display=tinyMCE.isMSIE?"block":"table";tinyMCE.execCommand('mceResetDesignMode');}}function TinyMCE_advanced_initInstance(inst){if(tinyMCE.getParam("theme_advanced_resizing",false)){var w=TinyMCE_advanced_getCookie("TinyMCE_"+inst.editorId+"_width");var h=TinyMCE_advanced_getCookie("TinyMCE_"+inst.editorId+"_height");TinyMCE_advanced_resizeTo(inst,w,h,tinyMCE.getParam("theme_advanced_resize_horizontal",true));}}function TinyMCE_advanced_setCookie(name,value,expires,path,domain,secure){var curCookie=name+"="+escape(value)+((expires)?"; expires="+expires.toGMTString():"")+((path)?"; path="+escape(path):"")+((domain)?"; domain="+domain:"")+((secure)?"; secure":"");document.cookie=curCookie;}function TinyMCE_advanced_getCookie(name){var dc=document.cookie;var prefix=name+"=";var begin=dc.indexOf("; "+prefix);if(begin==-1){begin=dc.indexOf(prefix);if(begin!=0)return null;}else begin+=2;var end=document.cookie.indexOf(";",begin);if(end==-1)end=dc.length;return unescape(dc.substring(begin+prefix.length,end));}function TinyMCE_advanced_resizeTo(inst,w,h,set_w){var editorContainer=document.getElementById(inst.editorId+'_parent');var tableElm=editorContainer.firstChild;var iframe=inst.iframeElement;if(w==null||w=="null"){set_w=false;w=0;}if(h==null||h=="null")return;w=parseInt(w);h=parseInt(h);if(tinyMCE.isGecko){w+=2;h+=2;}var dx=w-tableElm.clientWidth;var dy=h-tableElm.clientHeight;if(set_w)tableElm.style.width=w+"px";tableElm.style.height=h+"px";iw=iframe.clientWidth+dx;ih=iframe.clientHeight+dy;if(tinyMCE.isGecko){iw-=2;ih-=2;}if(set_w)iframe.style.width=iw+"px";iframe.style.height=ih+"px";if(set_w){var tableBodyElm=tableElm.firstChild;var minIframeWidth=tableBodyElm.scrollWidth;if(inst.iframeElement.clientWidth=0;i--){var nodeName=path[i].nodeName.toLowerCase();var nodeData="";if(nodeName=="b"){nodeName="strong";}if(nodeName=="i"){nodeName="em";}if(getAttrib(path[i],'id')!=""){nodeData+="id: "+path[i].getAttribute('id')+" ";}var className=tinyMCE.getVisualAidClass(tinyMCE.getAttrib(path[i],"class"),false);if(className!=""&&className.indexOf('mceItem')==-1)nodeData+="class: "+className+" ";if(getAttrib(path[i],'src')!=""){nodeData+="src: "+path[i].getAttribute('src')+" ";}if(getAttrib(path[i],'href')!=""){nodeData+="href: "+path[i].getAttribute('href')+" ";}if(nodeName=="img"&&tinyMCE.getAttrib(path[i],"class").indexOf('mceItemFlash')!=-1){nodeName="flash";nodeData="";}if(nodeName=="a"&&(anchor=tinyMCE.getAttrib(path[i],"name"))!=""){nodeName="a";nodeName+="#"+anchor;nodeData="";}if(getAttrib(path[i],'name').indexOf("mce_")!=0){var className=tinyMCE.getVisualAidClass(tinyMCE.getAttrib(path[i],"class"),false);if(className!=""&&className.indexOf('mceItem')==-1)nodeName+="."+className;}if(tinyMCE.isMSIE){html+=''+nodeName+'';}else{html+=''+nodeName+'';}if(i>0){html+=" » ";}}pathElm.innerHTML=''+tinyMCE.getLang('lang_theme_path')+": "+html+' ';}tinyMCE.switchClassSticky(editor_id+'_justifyleft','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_justifyright','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_justifycenter','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_justifyfull','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_bold','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_italic','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_underline','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_strikethrough','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_bullist','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_numlist','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_sub','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_sup','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_anchor','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_link','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_unlink','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_outdent','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_image','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_hr','mceButtonNormal');if(node.nodeName=="A"&&tinyMCE.getAttrib(node,"class").indexOf('mceItemAnchor')!=-1)tinyMCE.switchClassSticky(editor_id+'_anchor','mceButtonSelected');var anchorLink=tinyMCE.getParentElement(node,"a","href");if(anchorLink||any_selection){tinyMCE.switchClassSticky(editor_id+'_link',anchorLink?'mceButtonSelected':'mceButtonNormal',false);tinyMCE.switchClassSticky(editor_id+'_unlink',anchorLink?'mceButtonSelected':'mceButtonNormal',false);}tinyMCE.switchClassSticky(editor_id+'_visualaid',visual_aid?'mceButtonSelected':'mceButtonNormal',false);if(undo_levels!=-1){tinyMCE.switchClassSticky(editor_id+'_undo','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_redo','mceButtonDisabled',true);}if(tinyMCE.getParentElement(node,"li,blockquote")){tinyMCE.switchClassSticky(editor_id+'_outdent','mceButtonNormal',false);}if(undo_index!=-1&&(undo_index0)){tinyMCE.switchClassSticky(editor_id+'_redo','mceButtonNormal',false);}if(undo_index!=-1&&(undo_index>0&&undo_levels>0)){tinyMCE.switchClassSticky(editor_id+'_undo','mceButtonNormal',false);}var selectElm=document.getElementById(editor_id+"_styleSelect");if(selectElm){TinyMCE_advanced_setupCSSClasses(editor_id);classNode=node;breakOut=false;var index=0;do{if(classNode&&classNode.className){for(var i=0;i");}else{selectByValue(selectElm,"");}}var selectElm=document.getElementById(editor_id+"_fontNameSelect");if(selectElm){var elm=tinyMCE.getParentElement(node);if(elm){var family=tinyMCE.getAttrib(elm,"face");if(family=='')family=''+elm.style.fontFamily;if(!selectByValue(selectElm,family))selectByValue(selectElm,"");}else selectByValue(selectElm,"");}var selectElm=document.getElementById(editor_id+"_fontSizeSelect");if(selectElm){var elm=tinyMCE.getParentElement(node);if(elm){var size=tinyMCE.getAttrib(elm,"size");if(size==''){var sizes=new Array('','8px','10px','12px','14px','18px','24px','36px');size=''+elm.style.fontSize;for(var i=0;i0){selectElm.setAttribute('cssImported','true');}}}; \ No newline at end of file diff --git a/webcit/tiny_mce/themes/advanced/editor_template_src.js b/webcit/tiny_mce/themes/advanced/editor_template_src.js new file mode 100644 index 000000000..0a15b8018 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/editor_template_src.js @@ -0,0 +1,1192 @@ +/* Import theme specific language pack */ +tinyMCE.importThemeLanguagePack('advanced'); + +// Variable declarations +var TinyMCE_advanced_autoImportCSSClasses = true; +var TinyMCE_advanced_resizer = new Object(); +var TinyMCE_advanced_buttons = [ + // Control id, button img, button title, command, user_interface, value + ['bold', '{$lang_bold_img}', '{$lang_bold_desc}', 'Bold'], + ['italic', '{$lang_italic_img}', '{$lang_italic_desc}', 'Italic'], + ['underline', '{$lang_underline_img}', '{$lang_underline_desc}', 'Underline'], + ['strikethrough', 'strikethrough.gif', '{$lang_striketrough_desc}', 'Strikethrough'], + ['justifyleft', 'left.gif', '{$lang_justifyleft_desc}', 'JustifyLeft'], + ['justifycenter', 'center.gif', '{$lang_justifycenter_desc}', 'JustifyCenter'], + ['justifyright', 'right.gif', '{$lang_justifyright_desc}', 'JustifyRight'], + ['justifyfull', 'full.gif', '{$lang_justifyfull_desc}', 'JustifyFull'], + ['bullist', 'bullist.gif', '{$lang_bullist_desc}', 'InsertUnorderedList'], + ['numlist', 'numlist.gif', '{$lang_numlist_desc}', 'InsertOrderedList'], + ['outdent', 'outdent.gif', '{$lang_outdent_desc}', 'Outdent'], + ['indent', 'indent.gif', '{$lang_indent_desc}', 'Indent'], + ['cut', 'cut.gif', '{$lang_cut_desc}', 'Cut'], + ['copy', 'copy.gif', '{$lang_copy_desc}', 'Copy'], + ['paste', 'paste.gif', '{$lang_paste_desc}', 'Paste'], + ['undo', 'undo.gif', '{$lang_undo_desc}', 'Undo'], + ['redo', 'redo.gif', '{$lang_redo_desc}', 'Redo'], + ['link', 'link.gif', '{$lang_link_desc}', 'mceLink', true], + ['unlink', 'unlink.gif', '{$lang_unlink_desc}', 'unlink'], + ['image', 'image.gif', '{$lang_image_desc}', 'mceImage', true], + ['cleanup', 'cleanup.gif', '{$lang_cleanup_desc}', 'mceCleanup'], + ['help', 'help.gif', '{$lang_help_desc}', 'mceHelp'], + ['code', 'code.gif', '{$lang_theme_code_desc}', 'mceCodeEditor'], + ['hr', 'hr.gif', '{$lang_theme_hr_desc}', 'inserthorizontalrule'], + ['removeformat', 'removeformat.gif', '{$lang_theme_removeformat_desc}', 'removeformat'], + ['sub', 'sub.gif', '{$lang_theme_sub_desc}', 'subscript'], + ['sup', 'sup.gif', '{$lang_theme_sup_desc}', 'superscript'], + ['forecolor', 'forecolor.gif', '{$lang_theme_forecolor_desc}', 'mceForeColor', true], + ['backcolor', 'backcolor.gif', '{$lang_theme_backcolor_desc}', 'mceBackColor', true], + ['charmap', 'charmap.gif', '{$lang_theme_charmap_desc}', 'mceCharMap'], + ['visualaid', 'visualaid.gif', '{$lang_theme_visualaid_desc}', 'mceToggleVisualAid'], + ['anchor', 'anchor.gif', '{$lang_theme_anchor_desc}', 'mceInsertAnchor'], + ['newdocument', 'newdocument.gif', '{$lang_newdocument_desc}', 'mceNewDocument'] +]; + +/** + * Returns HTML code for the specificed control. + */ +function TinyMCE_advanced_getControlHTML(button_name) +{ + var buttonTileMap = new Array('anchor.gif','backcolor.gif','bullist.gif','center.gif', + 'charmap.gif','cleanup.gif','code.gif','copy.gif','custom_1.gif', + 'cut.gif','forecolor.gif','full.gif','help.gif','hr.gif', + 'image.gif','indent.gif','left.gif','link.gif','numlist.gif', + 'outdent.gif','paste.gif','redo.gif','removeformat.gif', + 'right.gif','strikethrough.gif','sub.gif','sup.gif','undo.gif', + 'unlink.gif','visualaid.gif'); + + // Lookup button in button list + for (var i=0; i'; + } + } + } + + // Old style + return ''; + } + } + + // Custom controlls other than buttons + switch (button_name) + { + case "formatselect": + var html = ''; + //formatselect + return html; + + case "styleselect": + //styleselect + return ''; + + case "fontselect": + var fontHTML = ''; + return fontHTML; + + case "fontsizeselect": + //fontsizeselect + return ''; + + case "|": + case "separator": + return ''; + + case "spacer": + return ''; + + case "rowseparator": + return '
    '; + } + + return ""; +} + +/** + * Theme specific exec command handeling. + */ +function TinyMCE_advanced_execCommand(editor_id, element, command, user_interface, value) +{ + switch (command) + { + case "mceForeColor": + var template = new Array(); + var elm = tinyMCE.selectedInstance.getFocusElement(); + var inputColor = tinyMCE.getAttrib(elm, "color"); + + if (inputColor == '') + inputColor = elm.style.color; + + if (!inputColor) + inputColor = "#000000"; + + template['file'] = 'color_picker.htm'; + template['width'] = 220; + template['height'] = 190; + + tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes", command : "forecolor", input_color : inputColor}); + return true; + + case "mceBackColor": + var template = new Array(); + var elm = tinyMCE.selectedInstance.getFocusElement(); + var inputColor = elm.style.backgroundColor; + + if (!inputColor) + inputColor = "#000000"; + + template['file'] = 'color_picker.htm'; + template['width'] = 220; + template['height'] = 190; + + template['width'] += tinyMCE.getLang('lang_theme_advanced_backcolor_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_theme_advanced_backcolor_delta_height', 0); + + tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes", command : "HiliteColor", input_color : inputColor}); + //mceBackColor + return true; + + case "mceColorPicker": + if (user_interface) { + var template = new Array(); + var inputColor = value['document'].getElementById(value['element_id']).value; + + template['file'] = 'color_picker.htm'; + template['width'] = 220; + template['height'] = 190; + template['close_previous'] = "no"; + + template['width'] += tinyMCE.getLang('lang_theme_advanced_colorpicker_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_theme_advanced_colorpicker_delta_height', 0); + + if (typeof(value['store_selection']) == "undefined") + value['store_selection'] = true; + + tinyMCE.lastColorPickerValue = value; + tinyMCE.openWindow(template, {editor_id : editor_id, mce_store_selection : value['store_selection'], inline : "yes", command : "mceColorPicker", input_color : inputColor}); + } else { + var savedVal = tinyMCE.lastColorPickerValue; + var elm = savedVal['document'].getElementById(savedVal['element_id']); + elm.value = value; + eval('elm.onchange();'); + } + return true; + + case "mceCodeEditor": + var template = new Array(); + + template['file'] = 'source_editor.htm'; + template['width'] = parseInt(tinyMCE.getParam("theme_advanced_source_editor_width", 500)); + template['height'] = parseInt(tinyMCE.getParam("theme_advanced_source_editor_height", 400)); + + tinyMCE.openWindow(template, {editor_id : editor_id, resizable : "yes", scrollbars : "no", inline : "yes"}); + //mceCodeEditor + return true; + + case "mceCharMap": + var template = new Array(); + + template['file'] = 'charmap.htm'; + template['width'] = 550; + template['height'] = 250; + + template['width'] += tinyMCE.getLang('lang_theme_advanced_charmap_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_theme_advanced_charmap_delta_height', 0); + + tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"}); + //mceCharMap + return true; + + case "mceInsertAnchor": + var template = new Array(); + + template['file'] = 'anchor.htm'; + template['width'] = 320; + template['height'] = 90; + + template['width'] += tinyMCE.getLang('lang_theme_advanced_anchor_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_theme_advanced_anchor_delta_height', 0); + + tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"}); + return true; + + case "mceNewDocument": + if (confirm(tinyMCE.getLang('lang_newdocument'))) + tinyMCE.execInstanceCommand(editor_id, 'mceSetContent', false, ''); + + return true; + } + + // Default behavior + return false; +} + +/** + * Editor instance template function. + */ +function TinyMCE_advanced_getEditorTemplate(settings, editorId) +{ + function removeFromArray(in_array, remove_array) + { + var outArray = new Array(); + + for (var i=0; i 

    '; + var layoutManager = tinyMCE.getParam("theme_advanced_layout_manager", "SimpleLayout"); + + // Setup style select options -- MOVED UP FOR EXTERNAL TOOLBAR COMPATABILITY! + var styleSelectHTML = ''; + if (settings['theme_advanced_styles']) + { + var stylesAr = settings['theme_advanced_styles'].split(';'); + + for (var i=0; i' + key + ''; + } + + TinyMCE_advanced_autoImportCSSClasses = false; + } + + switch(layoutManager) + { + case "SimpleLayout" : //the default TinyMCE Layout (for backwards compatibility)... + var toolbarHTML = ""; + var toolbarLocation = tinyMCE.getParam("theme_advanced_toolbar_location", "bottom"); + var toolbarAlign = tinyMCE.getParam("theme_advanced_toolbar_align", "center"); + var pathLocation = tinyMCE.getParam("theme_advanced_path_location", "none"); // Compatiblity + var statusbarLocation = tinyMCE.getParam("theme_advanced_statusbar_location", pathLocation); + var defVals = { + theme_advanced_buttons1 : "bold,italic,underline,strikethrough,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,styleselect,formatselect", + theme_advanced_buttons2 : "bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,link,unlink,anchor,image,cleanup,help,code", + theme_advanced_buttons3 : "hr,removeformat,visualaid,separator,sub,sup,separator,charmap" + }; + + // Add accessibility control + toolbarHTML += ''; + + // Render rows + for (var i=1; i<100; i++) { + var def = defVals["theme_advanced_buttons" + i]; + + buttons = tinyMCE.getParam("theme_advanced_buttons" + i, def == null ? '' : def, true, ','); + if (buttons.length == 0) + break; + + buttons = removeFromArray(buttons, tinyMCE.getParam("theme_advanced_disable", "", true, ',')); + buttons = addToArray(buttons, tinyMCE.getParam("theme_advanced_buttons" + i + "_add", "", true, ',')); + buttons = addToArray(tinyMCE.getParam("theme_advanced_buttons" + i + "_add_before", "", true, ','), buttons); + + for (var b=0; b 0) { + toolbarHTML += "
    "; + deltaHeight -= 23; + } + } + + // Add accessibility control + toolbarHTML += ''; + + // Setup template html + template['html'] = ''; + + if (toolbarLocation == "top") + { + template['html'] += ''; + } + + if (statusbarLocation == "top") + { + template['html'] += ''; + deltaHeight -= 23; + } + + template['html'] += ''; + + if (toolbarLocation == "bottom") + { + template['html'] += ''; + } + + // External toolbar changes + if (toolbarLocation == "external") + { + var bod = document.body; + var elm = document.createElement ("div"); + + toolbarHTML = tinyMCE.replaceVars(toolbarHTML, tinyMCE.settings); + toolbarHTML = tinyMCE.replaceVars(toolbarHTML, tinyMCELang); + toolbarHTML = tinyMCE.replaceVar(toolbarHTML, 'style_select_options', styleSelectHTML); + toolbarHTML = tinyMCE.replaceVar(toolbarHTML, "editor_id", editorId); + toolbarHTML = tinyMCE.applyTemplate(toolbarHTML); + + elm.className = "mceToolbarExternal"; + elm.id = editorId+"_toolbar"; + elm.innerHTML = '
    ' + toolbarHTML + '
    ' + statusbarHTML + '
    ' + toolbarHTML + '
    '+toolbarHTML+'
    '; + bod.appendChild (elm); + // bod.style.marginTop = elm.offsetHeight + "px"; + + deltaHeight = 0; + tinyMCE.getInstanceById(editorId).toolbarElement = elm; + + //template['html'] = '
    '+toolbarHTML+'
    ' + template["html"]; + } + else + { + tinyMCE.getInstanceById(editorId).toolbarElement = null; + } + + if (statusbarLocation == "bottom") + { + template['html'] += '' + statusbarHTML + ''; + deltaHeight -= 23; + } + + template['html'] += ''; + //"SimpleLayout" + break; + + case "RowLayout" : //Container Layout - containers defined in "theme_advanced_containers" are rendered from top to bottom. + template['html'] = ''; + + var containers = tinyMCE.getParam("theme_advanced_containers", "", true, ","); + var defaultContainerCSS = tinyMCE.getParam("theme_advanced_containers_default_class", "container"); + var defaultContainerAlign = tinyMCE.getParam("theme_advanced_containers_default_align", "center"); + + //Render Containers: + for (var i = 0; i < containers.length; i++) + { + if (containers[i] == "mceEditor") //Exceptions for mceEditor and ... + { + template['html'] += ''; + } + else if (containers[i] == "mceElementpath" || containers[i] == "mceStatusbar") // ... mceElementpath: + { + var pathClass = "mceStatusbar"; + + if (i == containers.length-1) + { + pathClass = "mceStatusbarBottom"; + } + else if (i == 0) + { + pathClass = "mceStatusbar"; + } + else + { + deltaHeight-=2; + } + + template['html'] += ''; + deltaHeight -= 22; + } + else //Render normal Container: + { + var curContainer = tinyMCE.getParam("theme_advanced_container_"+containers[i], "", true, ','); + var curContainerHTML = ""; + var curAlign = tinyMCE.getParam("theme_advanced_container_"+containers[i]+"_align", defaultContainerAlign); + var curCSS = tinyMCE.getParam("theme_advanced_container_"+containers[i]+"_class", defaultContainerCSS); + + for (var j=0; j 0) + { + curContainerHTML += "
    "; + deltaHeight -= 23; + } + + template['html'] += '
    '; + } + } + + template['html'] += '
    \ + \ +
    ' + statusbarHTML + '
    ' + curContainerHTML + '
    '; + //RowLayout + break; + + case "BorderLayout" : //will be like java.awt.BorderLayout of SUN Java... + // Not implemented yet... + break; + + case "CustomLayout" : //User defined layout callback... + var customLayout = tinyMCE.getParam("theme_advanced_custom_layout",""); + + if (customLayout != "" && eval("typeof(" + customLayout + ")") != "undefined") + { + template = eval(customLayout + "(template);"); + } + break; + + default: + alert('UNDEFINED LAYOUT MANAGER! PLEASE CHECK YOUR TINYMCE CONFIG!'); + //CustomLayout + break; + } + + template['html'] += '
    '; + template['html'] = tinyMCE.replaceVar(template['html'], 'style_select_options', styleSelectHTML); + template['delta_width'] = 0; + template['delta_height'] = deltaHeight; + + return template; +} + +/** + * Starts/stops the editor resizing. + */ +function TinyMCE_advanced_setResizing(e, editor_id, state) { + e = typeof(e) == "undefined" ? window.event : e; + + var resizer = TinyMCE_advanced_resizer; + var editorContainer = document.getElementById(editor_id + '_parent'); + var editorArea = document.getElementById(editor_id + '_parent').firstChild; + var resizeBox = document.getElementById(editor_id + '_resize_box'); + var inst = tinyMCE.getInstanceById(editor_id); + + if (state) { + // Place box over editor area + var width = editorArea.clientWidth; + var height = editorArea.clientHeight; + + resizeBox.style.width = width + "px"; + resizeBox.style.height = height + "px"; + + resizer.iframeWidth = inst.iframeElement.clientWidth; + resizer.iframeHeight = inst.iframeElement.clientHeight; + + // Hide editor and show resize box + editorArea.style.display = "none"; + resizeBox.style.display = "block"; + + // Add event handlers, only once + if (!resizer.eventHandlers) { + if (tinyMCE.isMSIE) + tinyMCE.addEvent(document, "mousemove", TinyMCE_advanced_resizeEventHandler); + else + tinyMCE.addEvent(window, "mousemove", TinyMCE_advanced_resizeEventHandler); + + tinyMCE.addEvent(document, "mouseup", TinyMCE_advanced_resizeEventHandler); + + resizer.eventHandlers = true; + } + + resizer.resizing = true; + resizer.downX = e.screenX; + resizer.downY = e.screenY; + resizer.width = parseInt(resizeBox.style.width); + resizer.height = parseInt(resizeBox.style.height); + resizer.editorId = editor_id; + resizer.resizeBox = resizeBox; + resizer.horizontal = tinyMCE.getParam("theme_advanced_resize_horizontal", true); + } else { + resizer.resizing = false; + resizeBox.style.display = "none"; + editorArea.style.display = tinyMCE.isMSIE ? "block" : "table"; + tinyMCE.execCommand('mceResetDesignMode'); + } +} + +function TinyMCE_advanced_initInstance(inst) { + if (tinyMCE.getParam("theme_advanced_resizing", false)) { + var w = TinyMCE_advanced_getCookie("TinyMCE_" + inst.editorId + "_width"); + var h = TinyMCE_advanced_getCookie("TinyMCE_" + inst.editorId + "_height"); + + TinyMCE_advanced_resizeTo(inst, w, h, tinyMCE.getParam("theme_advanced_resize_horizontal", true)); + } +} + +function TinyMCE_advanced_setCookie(name, value, expires, path, domain, secure) { + var curCookie = name + "=" + escape(value) + + ((expires) ? "; expires=" + expires.toGMTString() : "") + + ((path) ? "; path=" + escape(path) : "") + + ((domain) ? "; domain=" + domain : "") + + ((secure) ? "; secure" : ""); + + document.cookie = curCookie; +} + +function TinyMCE_advanced_getCookie(name) { + var dc = document.cookie; + var prefix = name + "="; + var begin = dc.indexOf("; " + prefix); + + if (begin == -1) { + begin = dc.indexOf(prefix); + + if (begin != 0) + return null; + } else + begin += 2; + + var end = document.cookie.indexOf(";", begin); + + if (end == -1) + end = dc.length; + + return unescape(dc.substring(begin + prefix.length, end)); +} + +function TinyMCE_advanced_resizeTo(inst, w, h, set_w) { + var editorContainer = document.getElementById(inst.editorId + '_parent'); + var tableElm = editorContainer.firstChild; + var iframe = inst.iframeElement; + + if (w == null || w == "null") { + set_w = false; + w = 0; + } + + if (h == null || h == "null") + return; + + w = parseInt(w); + h = parseInt(h); + + if (tinyMCE.isGecko) { + w += 2; + h += 2; + } + + var dx = w - tableElm.clientWidth; + var dy = h - tableElm.clientHeight; + + if (set_w) + tableElm.style.width = w + "px"; + + tableElm.style.height = h + "px"; + + iw = iframe.clientWidth + dx; + ih = iframe.clientHeight + dy; + + if (tinyMCE.isGecko) { + iw -= 2; + ih -= 2; + } + + if (set_w) + iframe.style.width = iw + "px"; + + iframe.style.height = ih + "px"; + + // Is it to small, make it bigger again + if (set_w) { + var tableBodyElm = tableElm.firstChild; + var minIframeWidth = tableBodyElm.scrollWidth; + if (inst.iframeElement.clientWidth < minIframeWidth) { + dx = minIframeWidth - inst.iframeElement.clientWidth; + + inst.iframeElement.style.width = (iw + dx) + "px"; + } + } +} + +/** + * Handles resizing events. + */ +function TinyMCE_advanced_resizeEventHandler(e) { + var resizer = TinyMCE_advanced_resizer; + + // Do nothing + if (!resizer.resizing) + return; + + e = typeof(e) == "undefined" ? window.event : e; + + var dx = e.screenX - resizer.downX; + var dy = e.screenY - resizer.downY; + var resizeBox = resizer.resizeBox; + var editorId = resizer.editorId; + + switch (e.type) { + case "mousemove": + if (resizer.horizontal) + resizeBox.style.width = (resizer.width + dx) + "px"; + + resizeBox.style.height = (resizer.height + dy) + "px"; + break; + + case "mouseup": + TinyMCE_advanced_setResizing(e, editorId, false); + TinyMCE_advanced_resizeTo(tinyMCE.getInstanceById(editorId), resizer.width + dx, resizer.height + dy, resizer.horizontal); + + // Expire in a month + var expires = new Date(); + expires.setTime(expires.getTime() + 3600000 * 24 * 30); + + // Set the cookies + TinyMCE_advanced_setCookie("TinyMCE_" + editorId + "_width", "" + (resizer.horizontal ? resizer.width + dx : ""), expires); + TinyMCE_advanced_setCookie("TinyMCE_" + editorId + "_height", "" + (resizer.height + dy), expires); + break; + } +} + +/** + * Insert link template function. + */ +function TinyMCE_advanced_getInsertLinkTemplate() +{ + var template = new Array(); + + template['file'] = 'link.htm'; + template['width'] = 330; + template['height'] = 170; + + // Language specific width and height addons + template['width'] += tinyMCE.getLang('lang_insert_link_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_insert_link_delta_height', 0); + + return template; +}; + +/** + * Insert image template function. + */ +function TinyMCE_advanced_getInsertImageTemplate() +{ + var template = new Array(); + + template['file'] = 'image.htm?src={$src}'; + template['width'] = 340; + template['height'] = 245; + + // Language specific width and height addons + template['width'] += tinyMCE.getLang('lang_insert_image_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_insert_image_delta_height', 0); + + return template; +}; + +/** + * Node change handler. + */ +function TinyMCE_advanced_handleNodeChange (editor_id, node, undo_index, + undo_levels, visual_aid, any_selection) +{ + function selectByValue(select_elm, value) + { + if (select_elm) + { + for (var i=0; i=0; i--) + { + var nodeName = path[i].nodeName.toLowerCase(); + var nodeData = ""; + + if (nodeName == "b") + { + nodeName = "strong"; + } + + if (nodeName == "i") + { + nodeName = "em"; + } + + if (getAttrib(path[i], 'id') != "") + { + nodeData += "id: " + path[i].getAttribute('id') + " "; + } + + var className = tinyMCE.getVisualAidClass(tinyMCE.getAttrib(path[i], "class"), false); + if (className != "" && className.indexOf('mceItem') == -1) + nodeData += "class: " + className + " "; + + if (getAttrib(path[i], 'src') != "") + { + nodeData += "src: " + path[i].getAttribute('src') + " "; + } + + if (getAttrib(path[i], 'href') != "") + { + nodeData += "href: " + path[i].getAttribute('href') + " "; + } + + if (nodeName == "img" && tinyMCE.getAttrib(path[i], "class").indexOf('mceItemFlash') != -1) + { + nodeName = "flash"; + nodeData = ""; + } + + if (nodeName == "a" && (anchor = tinyMCE.getAttrib(path[i], "name")) != "") + { + nodeName = "a"; + nodeName += "#" + anchor; + nodeData = ""; + } + + if (getAttrib(path[i], 'name').indexOf("mce_") != 0) + { + var className = tinyMCE.getVisualAidClass(tinyMCE.getAttrib(path[i], "class"), false); + if (className != "" && className.indexOf('mceItem') == -1) + nodeName += "." + className; + } + + if (tinyMCE.isMSIE) + { + html += '' + nodeName + ''; + } + else + { + html += '' + nodeName + ''; + } + + if (i > 0) + { + html += " » "; + } + } + + pathElm.innerHTML = '' + tinyMCE.getLang('lang_theme_path') + ": " + html + ' '; + } + + // Reset old states + tinyMCE.switchClassSticky(editor_id + '_justifyleft', 'mceButtonNormal'); + tinyMCE.switchClassSticky(editor_id + '_justifyright', 'mceButtonNormal'); + tinyMCE.switchClassSticky(editor_id + '_justifycenter', 'mceButtonNormal'); + tinyMCE.switchClassSticky(editor_id + '_justifyfull', 'mceButtonNormal'); + tinyMCE.switchClassSticky(editor_id + '_bold', 'mceButtonNormal'); + tinyMCE.switchClassSticky(editor_id + '_italic', 'mceButtonNormal'); + tinyMCE.switchClassSticky(editor_id + '_underline', 'mceButtonNormal'); + tinyMCE.switchClassSticky(editor_id + '_strikethrough', 'mceButtonNormal'); + tinyMCE.switchClassSticky(editor_id + '_bullist', 'mceButtonNormal'); + tinyMCE.switchClassSticky(editor_id + '_numlist', 'mceButtonNormal'); + tinyMCE.switchClassSticky(editor_id + '_sub', 'mceButtonNormal'); + tinyMCE.switchClassSticky(editor_id + '_sup', 'mceButtonNormal'); + tinyMCE.switchClassSticky(editor_id + '_anchor', 'mceButtonNormal'); + tinyMCE.switchClassSticky(editor_id + '_link', 'mceButtonDisabled', true); + tinyMCE.switchClassSticky(editor_id + '_unlink', 'mceButtonDisabled', true); + tinyMCE.switchClassSticky(editor_id + '_outdent', 'mceButtonDisabled', true); + tinyMCE.switchClassSticky(editor_id + '_image', 'mceButtonNormal'); + tinyMCE.switchClassSticky(editor_id + '_hr', 'mceButtonNormal'); + + if (node.nodeName == "A" && tinyMCE.getAttrib(node, "class").indexOf('mceItemAnchor') != -1) + tinyMCE.switchClassSticky(editor_id + '_anchor', 'mceButtonSelected'); + + // Get link + var anchorLink = tinyMCE.getParentElement(node, "a", "href"); + + if (anchorLink || any_selection) + { + tinyMCE.switchClassSticky(editor_id + '_link', anchorLink ? 'mceButtonSelected' : 'mceButtonNormal', false); + tinyMCE.switchClassSticky(editor_id + '_unlink', anchorLink ? 'mceButtonSelected' : 'mceButtonNormal', false); + } + + // Handle visual aid + tinyMCE.switchClassSticky(editor_id + '_visualaid', visual_aid ? 'mceButtonSelected' : 'mceButtonNormal', false); + + if (undo_levels != -1) + { + tinyMCE.switchClassSticky(editor_id + '_undo', 'mceButtonDisabled', true); + tinyMCE.switchClassSticky(editor_id + '_redo', 'mceButtonDisabled', true); + } + + // Within li, blockquote + if (tinyMCE.getParentElement(node, "li,blockquote")) + { + tinyMCE.switchClassSticky(editor_id + '_outdent', 'mceButtonNormal', false); + } + + // Has redo levels + if (undo_index != -1 && (undo_index < undo_levels-1 && undo_levels > 0)) + { + tinyMCE.switchClassSticky(editor_id + '_redo', 'mceButtonNormal', false); + } + + // Has undo levels + if (undo_index != -1 && (undo_index > 0 && undo_levels > 0)) + { + tinyMCE.switchClassSticky(editor_id + '_undo', 'mceButtonNormal', false); + } + + // Select class in select box + var selectElm = document.getElementById(editor_id + "_styleSelect"); + + if (selectElm) + { + TinyMCE_advanced_setupCSSClasses(editor_id); + + classNode = node; + breakOut = false; + var index = 0; + + do + { + if (classNode && classNode.className) + { + for (var i=0; i"); + } + else + { + selectByValue(selectElm, ""); + } + } + + // Select fontselect + var selectElm = document.getElementById(editor_id + "_fontNameSelect"); + if (selectElm) { + var elm = tinyMCE.getParentElement(node); + + if (elm) { + var family = tinyMCE.getAttrib(elm, "face"); + if (family == '') + family = '' + elm.style.fontFamily; + + if (!selectByValue(selectElm, family)) + selectByValue(selectElm, ""); + } else + selectByValue(selectElm, ""); + } + + // Select fontsize + var selectElm = document.getElementById(editor_id + "_fontSizeSelect"); + if (selectElm) { + var elm = tinyMCE.getParentElement(node); + + if (elm) { + var size = tinyMCE.getAttrib(elm, "size"); + if (size == '') { + var sizes = new Array('', '8px', '10px', '12px', '14px', '18px', '24px', '36px'); + + size = '' + elm.style.fontSize; + + for (var i=0; i 0) + { + selectElm.setAttribute('cssImported', 'true'); + } + } +}; diff --git a/webcit/tiny_mce/themes/advanced/image.htm b/webcit/tiny_mce/themes/advanced/image.htm new file mode 100644 index 000000000..472f19758 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/image.htm @@ -0,0 +1,90 @@ + + + {$lang_insert_image_title} + + + + + +
    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$lang_insert_image_title}
    {$lang_insert_image_src}: + + + + +
    {$lang_insert_image_alt}:
    {$lang_insert_image_align}:
    {$lang_insert_image_dimensions}: + x +
    {$lang_insert_image_border}:
    {$lang_insert_image_vspace}:
    {$lang_insert_image_hspace}:
    +
    +
    + + diff --git a/webcit/tiny_mce/themes/advanced/images/CVS/Entries b/webcit/tiny_mce/themes/advanced/images/CVS/Entries new file mode 100644 index 000000000..cfa433095 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/images/CVS/Entries @@ -0,0 +1,58 @@ +D/xp//// +/anchor.gif/1.1/Tue Aug 30 18:35:56 2005// +/anchor_symbol.gif/1.1/Tue Aug 30 18:35:56 2005// +/backcolor.gif/1.1/Tue Aug 30 18:35:56 2005// +/bold.gif/1.1/Tue Aug 30 18:35:56 2005// +/bold_de_se.gif/1.1/Tue Aug 30 18:35:56 2005// +/bold_fr.gif/1.1/Tue Aug 30 18:35:56 2005// +/bold_ru.gif/1.1/Tue Aug 30 18:35:56 2005// +/browse.gif/1.1/Tue Aug 30 18:35:56 2005// +/bullist.gif/1.1/Tue Aug 30 18:35:56 2005// +/buttons.gif/1.1/Tue Aug 30 18:35:56 2005// +/cancel_button_bg.gif/1.1/Tue Aug 30 18:35:56 2005// +/center.gif/1.1/Tue Aug 30 18:35:56 2005// +/charmap.gif/1.1/Tue Aug 30 18:35:56 2005// +/cleanup.gif/1.1/Tue Aug 30 18:35:56 2005// +/close.gif/1.1/Tue Aug 30 18:35:56 2005// +/code.gif/1.1/Tue Aug 30 18:35:56 2005// +/color.gif/1.1/Tue Aug 30 18:35:56 2005// +/copy.gif/1.1/Tue Aug 30 18:35:56 2005// +/custom_1.gif/1.1/Tue Aug 30 18:35:56 2005// +/cut.gif/1.1/Tue Aug 30 18:35:56 2005// +/forecolor.gif/1.1/Tue Aug 30 18:35:56 2005// +/full.gif/1.1/Tue Aug 30 18:35:56 2005// +/help.gif/1.1/Tue Aug 30 18:35:56 2005// +/hr.gif/1.1/Tue Aug 30 18:35:56 2005// +/image.gif/1.1/Tue Aug 30 18:35:56 2005// +/indent.gif/1.1/Tue Aug 30 18:35:56 2005// +/insert_button_bg.gif/1.1/Tue Aug 30 18:35:56 2005// +/italic.gif/1.1/Tue Aug 30 18:35:56 2005// +/italic_de_se.gif/1.1/Tue Aug 30 18:35:56 2005// +/italic_ru.gif/1.1/Tue Aug 30 18:35:56 2005// +/left.gif/1.1/Tue Aug 30 18:35:56 2005// +/link.gif/1.1/Tue Aug 30 18:35:56 2005// +/newdocument.gif/1.1/Tue Aug 30 18:35:56 2005// +/numlist.gif/1.1/Tue Aug 30 18:35:56 2005// +/outdent.gif/1.1/Tue Aug 30 18:35:56 2005// +/paste.gif/1.1/Tue Aug 30 18:35:56 2005// +/redo.gif/1.1/Tue Aug 30 18:35:56 2005// +/removeformat.gif/1.1/Tue Aug 30 18:35:56 2005// +/right.gif/1.1/Tue Aug 30 18:35:56 2005// +/spacer.gif/1.1/Tue Aug 30 18:35:56 2005// +/statusbar_resize.gif/1.1/Tue Aug 30 18:35:56 2005// +/strikethrough.gif/1.1/Tue Aug 30 18:35:56 2005// +/sub.gif/1.1/Tue Aug 30 18:35:56 2005// +/sup.gif/1.1/Tue Aug 30 18:35:56 2005// +/table.gif/1.1/Tue Aug 30 18:35:56 2005// +/table_delete_col.gif/1.1/Tue Aug 30 18:35:56 2005// +/table_delete_row.gif/1.1/Tue Aug 30 18:35:56 2005// +/table_insert_col_after.gif/1.1/Tue Aug 30 18:35:56 2005// +/table_insert_col_before.gif/1.1/Tue Aug 30 18:35:56 2005// +/table_insert_row_after.gif/1.1/Tue Aug 30 18:35:56 2005// +/table_insert_row_before.gif/1.1/Tue Aug 30 18:35:56 2005// +/underline.gif/1.1/Tue Aug 30 18:35:56 2005// +/underline_fr.gif/1.1/Tue Aug 30 18:35:56 2005// +/underline_ru.gif/1.1/Tue Aug 30 18:35:56 2005// +/undo.gif/1.1/Tue Aug 30 18:35:56 2005// +/unlink.gif/1.1/Tue Aug 30 18:35:56 2005// +/visualaid.gif/1.1/Tue Aug 30 18:35:56 2005// diff --git a/webcit/tiny_mce/themes/advanced/images/CVS/Repository b/webcit/tiny_mce/themes/advanced/images/CVS/Repository new file mode 100644 index 000000000..fb3b01317 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/images diff --git a/webcit/tiny_mce/themes/advanced/images/CVS/Root b/webcit/tiny_mce/themes/advanced/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/images/anchor.gif b/webcit/tiny_mce/themes/advanced/images/anchor.gif new file mode 100644 index 000000000..34ab71534 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/anchor.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/anchor_symbol.gif b/webcit/tiny_mce/themes/advanced/images/anchor_symbol.gif new file mode 100644 index 000000000..2eafd7954 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/anchor_symbol.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/backcolor.gif b/webcit/tiny_mce/themes/advanced/images/backcolor.gif new file mode 100644 index 000000000..8a532e5e6 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/backcolor.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/bold.gif b/webcit/tiny_mce/themes/advanced/images/bold.gif new file mode 100644 index 000000000..d6a9cc2cd Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/bold.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/bold_de_se.gif b/webcit/tiny_mce/themes/advanced/images/bold_de_se.gif new file mode 100644 index 000000000..9b129de25 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/bold_de_se.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/bold_fr.gif b/webcit/tiny_mce/themes/advanced/images/bold_fr.gif new file mode 100644 index 000000000..281645451 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/bold_fr.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/bold_ru.gif b/webcit/tiny_mce/themes/advanced/images/bold_ru.gif new file mode 100644 index 000000000..e000d461c Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/bold_ru.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/browse.gif b/webcit/tiny_mce/themes/advanced/images/browse.gif new file mode 100644 index 000000000..c786d0b20 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/browse.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/bullist.gif b/webcit/tiny_mce/themes/advanced/images/bullist.gif new file mode 100644 index 000000000..6e19467c7 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/bullist.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/buttons.gif b/webcit/tiny_mce/themes/advanced/images/buttons.gif new file mode 100644 index 000000000..5d5e08b5e Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/buttons.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/cancel_button_bg.gif b/webcit/tiny_mce/themes/advanced/images/cancel_button_bg.gif new file mode 100644 index 000000000..4b4aeefcb Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/cancel_button_bg.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/center.gif b/webcit/tiny_mce/themes/advanced/images/center.gif new file mode 100644 index 000000000..42d609a99 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/center.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/charmap.gif b/webcit/tiny_mce/themes/advanced/images/charmap.gif new file mode 100644 index 000000000..3cdc4ac91 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/charmap.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/cleanup.gif b/webcit/tiny_mce/themes/advanced/images/cleanup.gif new file mode 100644 index 000000000..16491f6cf Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/cleanup.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/close.gif b/webcit/tiny_mce/themes/advanced/images/close.gif new file mode 100644 index 000000000..679ca2aa4 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/close.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/code.gif b/webcit/tiny_mce/themes/advanced/images/code.gif new file mode 100644 index 000000000..c5d5a6727 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/code.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/color.gif b/webcit/tiny_mce/themes/advanced/images/color.gif new file mode 100644 index 000000000..1ecd5743b Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/color.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/copy.gif b/webcit/tiny_mce/themes/advanced/images/copy.gif new file mode 100644 index 000000000..dc146865c Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/copy.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/custom_1.gif b/webcit/tiny_mce/themes/advanced/images/custom_1.gif new file mode 100644 index 000000000..4cbccdadf Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/custom_1.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/cut.gif b/webcit/tiny_mce/themes/advanced/images/cut.gif new file mode 100644 index 000000000..4e9a70b6e Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/cut.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/forecolor.gif b/webcit/tiny_mce/themes/advanced/images/forecolor.gif new file mode 100644 index 000000000..d5e381425 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/forecolor.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/full.gif b/webcit/tiny_mce/themes/advanced/images/full.gif new file mode 100644 index 000000000..c8504f626 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/full.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/help.gif b/webcit/tiny_mce/themes/advanced/images/help.gif new file mode 100644 index 000000000..51a1ee420 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/help.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/hr.gif b/webcit/tiny_mce/themes/advanced/images/hr.gif new file mode 100644 index 000000000..1a1ba2a01 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/hr.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/image.gif b/webcit/tiny_mce/themes/advanced/images/image.gif new file mode 100644 index 000000000..4b88eddc2 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/image.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/indent.gif b/webcit/tiny_mce/themes/advanced/images/indent.gif new file mode 100644 index 000000000..acd315bb1 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/indent.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/insert_button_bg.gif b/webcit/tiny_mce/themes/advanced/images/insert_button_bg.gif new file mode 100644 index 000000000..69c131ce2 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/insert_button_bg.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/italic.gif b/webcit/tiny_mce/themes/advanced/images/italic.gif new file mode 100644 index 000000000..8bb330bd0 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/italic.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/italic_de_se.gif b/webcit/tiny_mce/themes/advanced/images/italic_de_se.gif new file mode 100644 index 000000000..feb0309e7 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/italic_de_se.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/italic_ru.gif b/webcit/tiny_mce/themes/advanced/images/italic_ru.gif new file mode 100644 index 000000000..a2bb69a72 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/italic_ru.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/left.gif b/webcit/tiny_mce/themes/advanced/images/left.gif new file mode 100644 index 000000000..e8f7e4276 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/left.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/link.gif b/webcit/tiny_mce/themes/advanced/images/link.gif new file mode 100644 index 000000000..1accf4262 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/link.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/newdocument.gif b/webcit/tiny_mce/themes/advanced/images/newdocument.gif new file mode 100644 index 000000000..a9d293842 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/newdocument.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/numlist.gif b/webcit/tiny_mce/themes/advanced/images/numlist.gif new file mode 100644 index 000000000..a2683522f Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/numlist.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/outdent.gif b/webcit/tiny_mce/themes/advanced/images/outdent.gif new file mode 100644 index 000000000..23f6aa408 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/outdent.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/paste.gif b/webcit/tiny_mce/themes/advanced/images/paste.gif new file mode 100644 index 000000000..1b45000a0 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/paste.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/redo.gif b/webcit/tiny_mce/themes/advanced/images/redo.gif new file mode 100644 index 000000000..3af90697f Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/redo.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/removeformat.gif b/webcit/tiny_mce/themes/advanced/images/removeformat.gif new file mode 100644 index 000000000..0fa3cb797 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/removeformat.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/right.gif b/webcit/tiny_mce/themes/advanced/images/right.gif new file mode 100644 index 000000000..e4cea9714 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/right.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/spacer.gif b/webcit/tiny_mce/themes/advanced/images/spacer.gif new file mode 100644 index 000000000..388486517 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/spacer.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/statusbar_resize.gif b/webcit/tiny_mce/themes/advanced/images/statusbar_resize.gif new file mode 100644 index 000000000..af89d803f Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/statusbar_resize.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/strikethrough.gif b/webcit/tiny_mce/themes/advanced/images/strikethrough.gif new file mode 100644 index 000000000..326463591 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/strikethrough.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/sub.gif b/webcit/tiny_mce/themes/advanced/images/sub.gif new file mode 100644 index 000000000..4d7ce30ff Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/sub.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/sup.gif b/webcit/tiny_mce/themes/advanced/images/sup.gif new file mode 100644 index 000000000..a7145e019 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/sup.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/table.gif b/webcit/tiny_mce/themes/advanced/images/table.gif new file mode 100644 index 000000000..2911830c3 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/table.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/table_delete_col.gif b/webcit/tiny_mce/themes/advanced/images/table_delete_col.gif new file mode 100644 index 000000000..91f53af02 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/table_delete_col.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/table_delete_row.gif b/webcit/tiny_mce/themes/advanced/images/table_delete_row.gif new file mode 100644 index 000000000..7025733fe Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/table_delete_row.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/table_insert_col_after.gif b/webcit/tiny_mce/themes/advanced/images/table_insert_col_after.gif new file mode 100644 index 000000000..85058080c Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/table_insert_col_after.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/table_insert_col_before.gif b/webcit/tiny_mce/themes/advanced/images/table_insert_col_before.gif new file mode 100644 index 000000000..b669d4fa6 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/table_insert_col_before.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/table_insert_row_after.gif b/webcit/tiny_mce/themes/advanced/images/table_insert_row_after.gif new file mode 100644 index 000000000..b9c144661 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/table_insert_row_after.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/table_insert_row_before.gif b/webcit/tiny_mce/themes/advanced/images/table_insert_row_before.gif new file mode 100644 index 000000000..157d37365 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/table_insert_row_before.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/underline.gif b/webcit/tiny_mce/themes/advanced/images/underline.gif new file mode 100644 index 000000000..1dfeb5f6d Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/underline.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/underline_fr.gif b/webcit/tiny_mce/themes/advanced/images/underline_fr.gif new file mode 100644 index 000000000..551d9148d Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/underline_fr.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/underline_ru.gif b/webcit/tiny_mce/themes/advanced/images/underline_ru.gif new file mode 100644 index 000000000..b78e2a498 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/underline_ru.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/undo.gif b/webcit/tiny_mce/themes/advanced/images/undo.gif new file mode 100644 index 000000000..520796d69 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/undo.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/unlink.gif b/webcit/tiny_mce/themes/advanced/images/unlink.gif new file mode 100644 index 000000000..5c8a33db8 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/unlink.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/visualaid.gif b/webcit/tiny_mce/themes/advanced/images/visualaid.gif new file mode 100644 index 000000000..63caf1807 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/visualaid.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/xp/CVS/Entries b/webcit/tiny_mce/themes/advanced/images/xp/CVS/Entries new file mode 100644 index 000000000..22fa710de --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/images/xp/CVS/Entries @@ -0,0 +1,6 @@ +/tab_bg.gif/1.1/Tue Aug 30 18:35:56 2005// +/tab_end.gif/1.1/Tue Aug 30 18:35:56 2005// +/tab_sel_bg.gif/1.1/Tue Aug 30 18:35:56 2005// +/tab_sel_end.gif/1.1/Tue Aug 30 18:35:56 2005// +/tabs_bg.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/themes/advanced/images/xp/CVS/Repository b/webcit/tiny_mce/themes/advanced/images/xp/CVS/Repository new file mode 100644 index 000000000..dc2862ad8 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/images/xp/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/images/xp diff --git a/webcit/tiny_mce/themes/advanced/images/xp/CVS/Root b/webcit/tiny_mce/themes/advanced/images/xp/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/images/xp/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/images/xp/tab_bg.gif b/webcit/tiny_mce/themes/advanced/images/xp/tab_bg.gif new file mode 100644 index 000000000..897a01f2b Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/xp/tab_bg.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/xp/tab_end.gif b/webcit/tiny_mce/themes/advanced/images/xp/tab_end.gif new file mode 100644 index 000000000..aee442beb Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/xp/tab_end.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/xp/tab_sel_bg.gif b/webcit/tiny_mce/themes/advanced/images/xp/tab_sel_bg.gif new file mode 100644 index 000000000..9dc8abe1a Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/xp/tab_sel_bg.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/xp/tab_sel_end.gif b/webcit/tiny_mce/themes/advanced/images/xp/tab_sel_end.gif new file mode 100644 index 000000000..616a889d1 Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/xp/tab_sel_end.gif differ diff --git a/webcit/tiny_mce/themes/advanced/images/xp/tabs_bg.gif b/webcit/tiny_mce/themes/advanced/images/xp/tabs_bg.gif new file mode 100644 index 000000000..c303f66dd Binary files /dev/null and b/webcit/tiny_mce/themes/advanced/images/xp/tabs_bg.gif differ diff --git a/webcit/tiny_mce/themes/advanced/jscripts/CVS/Entries b/webcit/tiny_mce/themes/advanced/jscripts/CVS/Entries new file mode 100644 index 000000000..a4a5be363 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/jscripts/CVS/Entries @@ -0,0 +1,8 @@ +/anchor.js/1.1/Sun Sep 11 12:53:00 2005// +/color_picker.js/1.1/Sun Sep 11 12:53:00 2005// +/image.js/1.1/Sun Sep 11 12:53:00 2005// +/source_editor.js/1.1/Sun Sep 11 12:53:00 2005// +/about.js/1.2/Wed Sep 28 03:47:29 2005// +/charmap.js/1.2/Wed Sep 28 03:47:29 2005// +/link.js/1.2/Wed Sep 28 03:47:29 2005// +D diff --git a/webcit/tiny_mce/themes/advanced/jscripts/CVS/Repository b/webcit/tiny_mce/themes/advanced/jscripts/CVS/Repository new file mode 100644 index 000000000..d1393fdd0 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/jscripts/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/jscripts diff --git a/webcit/tiny_mce/themes/advanced/jscripts/CVS/Root b/webcit/tiny_mce/themes/advanced/jscripts/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/jscripts/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/jscripts/about.js b/webcit/tiny_mce/themes/advanced/jscripts/about.js new file mode 100644 index 000000000..fc33f85c4 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/jscripts/about.js @@ -0,0 +1,74 @@ +function init() { + tinyMCEPopup.resizeToInnerSize(); + + // Give FF some time + window.setTimeout('insertHelpIFrame();', 10); + + var tcont = document.getElementById('plugintablecontainer'); + var plugins = tinyMCE.getParam('plugins', '', true, ','); + if (plugins.length == 0) + document.getElementById('plugins_tab').style.display = 'none'; + + var html = ""; + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + + for (var i=0; i' + info.longname + ''; + else + html += ''; + + if (info.authorurl != null && info.authorurl != '') + html += ''; + else + html += ''; + + html += ''; + html += ''; + } + + html += ''; + html += '
    ' + tinyMCE.getLang('lang_plugin') + '' + tinyMCE.getLang('lang_author') + '' + tinyMCE.getLang('lang_version') + '
    ' + info.longname + '' + info.author + '' + info.author + '' + info.version + '
    '; + + tcont.innerHTML = html; +} + +function getPluginInfo(name) { + var fn = eval('tinyMCEPopup.windowOpener.TinyMCE_' + name + '_getInfo'); + + if (typeof(fn) != 'undefined') + return fn(); + + return { + longname : name, + authorurl : '', + infourl : '', + author : '--', + version : '--' + }; +} + +function insertHelpIFrame() { + var html = ''; + + document.getElementById('iframecontainer').innerHTML = html; + + html = ''; + html += 'Got Moxie? '; + html += 'Hosted By Sourceforge '; + html += 'Also on freshmeat '; + + document.getElementById('buttoncontainer').innerHTML = html; +} diff --git a/webcit/tiny_mce/themes/advanced/jscripts/anchor.js b/webcit/tiny_mce/themes/advanced/jscripts/anchor.js new file mode 100644 index 000000000..446a3ce2b --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/jscripts/anchor.js @@ -0,0 +1,59 @@ +var action, element; + +function init() { + tinyMCEPopup.resizeToInnerSize(); + + var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id')); + var anchor = tinyMCE.getParentElement(inst.getFocusElement(), "a", "name"); + var img = inst.getFocusElement(); + action = 'insert'; + + if (anchor != null) { + element = anchor; + action = "update"; + } + + if (tinyMCE.getAttrib(img, "class") == "mceItemAnchor") { + element = img; + action = "update"; + } + + if (action == "update") + document.forms[0].anchorName.value = element.nodeName == "IMG" ? element.getAttribute("title") : element.getAttribute("name"); + + document.forms[0].insert.value = tinyMCE.getLang('lang_' + action, 'Insert', true); +} + +function insertAnchor() { + var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id')); + var name = document.forms[0].anchorName.value; + + tinyMCEPopup.execCommand("mceBeginUndoLevel"); + + if (action == "update") { + if (element.nodeName == "IMG") + element.setAttribute("title", name); + else + element.setAttribute("name", name); + } else { + var rng = inst.getRng(); + + if (rng.collapse) + rng.collapse(false); + + name = name.replace(/&/g, '&'); + name = name.replace(/\"/g, '"'); + name = name.replace(//g, '&gr;'); + + html = ''; + + tinyMCEPopup.execCommand("mceInsertContent", false, html); + tinyMCE.handleVisualAid(inst.getBody(), true, inst.visualAid, inst); + } + + tinyMCEPopup.execCommand("mceEndUndoLevel"); + + tinyMCE.triggerNodeChange(); + tinyMCEPopup.close(); +} diff --git a/webcit/tiny_mce/themes/advanced/jscripts/charmap.js b/webcit/tiny_mce/themes/advanced/jscripts/charmap.js new file mode 100644 index 000000000..2769af556 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/jscripts/charmap.js @@ -0,0 +1,324 @@ +function init() { + tinyMCEPopup.resizeToInnerSize(); +} + +var charmap = new Array(); + +// for mor details please see w3c.org +// now here is the complete list ;) + +charmap = [ + [' ', ' ', true, 'no-break space'], + ['&', '&', true, 'ampersand'], + ['"', '"', true, 'quotation mark'], +// finance + ['¢', '¢', true, 'cent sign'], + ['€', '€', true, 'euro sign'], + ['£', '£', true, 'pound sign'], + ['¥', '¥', true, 'yen sign'], +// signs + ['©', '©', true, 'copyright sign'], + ['®', '®', true, 'registered sign'], + ['™', '™', true, 'trade mark sign'], + ['‰', '‰', true, 'per mille sign'], + ['µ', 'µ', true, 'micro sign'], + ['·', '·', true, 'middle dot'], + ['•', '•', true, 'bullet'], + ['…', '…', true, 'three dot leader'], + ['′', '′', true, 'minutes / feet'], + ['″', '″', true, 'seconds / inches'], + ['§', '§', true, 'section sign'], + ['¶', '¶', true, 'paragraph sign'], + ['ß', 'ß', true, 'sharp s / ess-zed'], +// quotations + ['‹', '‹', true, 'single left-pointing angle quotation mark'], + ['›', '›', true, 'single right-pointing angle quotation mark'], + ['«', '«', true, 'left pointing guillemet'], + ['»', '»', true, 'right pointing guillemet'], + ['‘', '‘', true, 'left single quotation mark'], + ['’', '’', true, 'right single quotation mark'], + ['“', '“', true, 'left double quotation mark'], + ['”', '”', true, 'right double quotation mark'], + ['‚', '‚', true, 'single low-9 quotation mark'], + ['„', '„', true, 'double low-9 quotation mark'], + ['<', '<', true, 'less-than sign'], + ['>', '>', true, 'greater-than sign'], + ['≤', '≤', true, 'less-than or equal to'], + ['≥', '≥', true, 'greater-than or equal to'], + ['–', '–', true, 'en dash'], + ['—', '—', true, 'em dash'], + ['¯', '¯', true, 'macron'], + ['‾', '‾', true, 'overline'], + ['¤', '¤', true, 'currency sign'], + ['¦', '¦', true, 'broken bar'], + ['¨', '¨', true, 'diaeresis'], + ['¡', '¡', true, 'inverted exclamation mark'], + ['¿', '¿', true, 'turned question mark'], + ['ˆ', 'ˆ', true, 'circumflex accent'], + ['˜', '˜', true, 'small tilde'], + ['°', '°', true, 'degree sign'], + ['−', '−', true, 'minus sign'], + ['±', '±', true, 'plus-minus sign'], + ['÷', '÷', true, 'division sign'], + ['⁄', '⁄', true, 'fraction slash'], + ['×', '×', true, 'multiplication sign'], + ['¹', '¹', true, 'superscript one'], + ['²', '²', true, 'superscript two'], + ['³', '³', true, 'superscript three'], + ['¼', '¼', true, 'fraction one quarter'], + ['½', '½', true, 'fraction one half'], + ['¾', '¾', true, 'fraction three quarters'], +// math / logical + ['ƒ', 'ƒ', true, 'function / florin'], + ['∫', '∫', true, 'integral'], + ['∑', '∑', true, 'n-ary sumation'], + ['∞', '∞', true, 'infinity'], + ['√', '√', true, 'square root'], + ['∼', '∼', false,'similar to'], + ['≅', '≅', false,'approximately equal to'], + ['≈', '≈', true, 'almost equal to'], + ['≠', '≠', true, 'not equal to'], + ['≡', '≡', true, 'identical to'], + ['∈', '∈', false,'element of'], + ['∉', '∉', false,'not an element of'], + ['∋', '∋', false,'contains as member'], + ['∏', '∏', true, 'n-ary product'], + ['∧', '∧', false,'logical and'], + ['∨', '∨', false,'logical or'], + ['¬', '¬', true, 'not sign'], + ['∩', '∩', true, 'intersection'], + ['∪', '∪', false,'union'], + ['∂', '∂', true, 'partial differential'], + ['∀', '∀', false,'for all'], + ['∃', '∃', false,'there exists'], + ['∅', '∅', false,'diameter'], + ['∇', '∇', false,'backward difference'], + ['∗', '∗', false,'asterisk operator'], + ['∝', '∝', false,'proportional to'], + ['∠', '∠', false,'angle'], +// undefined + ['´', '´', true, 'acute accent'], + ['¸', '¸', true, 'cedilla'], + ['ª', 'ª', true, 'feminine ordinal indicator'], + ['º', 'º', true, 'masculine ordinal indicator'], + ['†', '†', true, 'dagger'], + ['‡', '‡', true, 'double dagger'], +// alphabetical special chars + ['À', 'À', true, 'A - grave'], + ['Á', 'Á', true, 'A - acute'], + ['Â', 'Â', true, 'A - circumflex'], + ['Ã', 'Ã', true, 'A - tilde'], + ['Ä', 'Ä', true, 'A - diaeresis'], + ['Å', 'Å', true, 'A - ring above'], + ['Æ', 'Æ', true, 'ligature AE'], + ['Ç', 'Ç', true, 'C - cedilla'], + ['È', 'È', true, 'E - grave'], + ['É', 'É', true, 'E - acute'], + ['Ê', 'Ê', true, 'E - circumflex'], + ['Ë', 'Ë', true, 'E - diaeresis'], + ['Ì', 'Ì', true, 'I - grave'], + ['Í', 'Í', true, 'I - acute'], + ['Î', 'Î', true, 'I - circumflex'], + ['Ï', 'Ï', true, 'I - diaeresis'], + ['Ð', 'Ð', true, 'ETH'], + ['Ñ', 'Ñ', true, 'N - tilde'], + ['Ò', 'Ò', true, 'O - grave'], + ['Ó', 'Ó', true, 'O - acute'], + ['Ô', 'Ô', true, 'O - circumflex'], + ['Õ', 'Õ', true, 'O - tilde'], + ['Ö', 'Ö', true, 'O - diaeresis'], + ['Ø', 'Ø', true, 'O - slash'], + ['Œ', 'Œ', true, 'ligature OE'], + ['Š', 'Š', true, 'S - caron'], + ['Ù', 'Ù', true, 'U - grave'], + ['Ú', 'Ú', true, 'U - acute'], + ['Û', 'Û', true, 'U - circumflex'], + ['Ü', 'Ü', true, 'U - diaeresis'], + ['Ý', 'Ý', true, 'Y - acute'], + ['Ÿ', 'Ÿ', true, 'Y - diaeresis'], + ['Þ', 'Þ', true, 'THORN'], + ['à', 'à', true, 'a - grave'], + ['á', 'á', true, 'a - acute'], + ['â', 'â', true, 'a - circumflex'], + ['ã', 'ã', true, 'a - tilde'], + ['ä', 'ä', true, 'a - diaeresis'], + ['å', 'å', true, 'a - ring above'], + ['æ', 'æ', true, 'ligature ae'], + ['ç', 'ç', true, 'c - cedilla'], + ['è', 'è', true, 'e - grave'], + ['é', 'é', true, 'e - acute'], + ['ê', 'ê', true, 'e - circumflex'], + ['ë', 'ë', true, 'e - diaeresis'], + ['ì', 'ì', true, 'i - grave'], + ['í', 'í', true, 'i - acute'], + ['î', 'î', true, 'i - circumflex'], + ['ï', 'ï', true, 'i - diaeresis'], + ['ð', 'ð', true, 'eth'], + ['ñ', 'ñ', true, 'n - tilde'], + ['ò', 'ò', true, 'o - grave'], + ['ó', 'ó', true, 'o - acute'], + ['ô', 'ô', true, 'o - circumflex'], + ['õ', 'õ', true, 'o - tilde'], + ['ö', 'ö', true, 'o - diaeresis'], + ['ø', 'ø', true, 'o slash'], + ['œ', 'œ', true, 'ligature oe'], + ['š', 'š', true, 's - caron'], + ['ù', 'ù', true, 'u - grave'], + ['ú', 'ú', true, 'u - acute'], + ['û', 'û', true, 'u - circumflex'], + ['ü', 'ü', true, 'u - diaeresis'], + ['ý', 'ý', true, 'y - acute'], + ['þ', 'þ', true, 'thorn'], + ['ÿ', 'ÿ', true, 'y - diaeresis'], +// ['Α', 'Α', true, 'Alpha'], + ['Β', 'Β', true, 'Beta'], + ['Γ', 'Γ', true, 'Gamma'], + ['Δ', 'Δ', true, 'Delta'], + ['Ε', 'Ε', true, 'Epsilon'], + ['Ζ', 'Ζ', true, 'Zeta'], + ['Η', 'Η', true, 'Eta'], + ['Θ', 'Θ', true, 'Theta'], + ['Ι', 'Ι', true, 'Iota'], + ['Κ', 'Κ', true, 'Kappa'], + ['Λ', 'Λ', true, 'Lambda'], + ['Μ', 'Μ', true, 'Mu'], + ['Ν', 'Ν', true, 'Nu'], + ['Ξ', 'Ξ', true, 'Xi'], + ['Ο', 'Ο', true, 'Omicron'], + ['Π', 'Π', true, 'Pi'], + ['Ρ', 'Ρ', true, 'Rho'], + ['Σ', 'Σ', true, 'Sigma'], + ['Τ', 'Τ', true, 'Tau'], + ['Υ', 'Υ', true, 'Upsilon'], + ['Φ', 'Φ', true, 'Phi'], + ['Χ', 'Χ', true, 'Chi'], + ['Ψ', 'Ψ', true, 'Psi'], + ['Ω', 'Ω', true, 'Omega'], + ['α', 'α', true, 'alpha'], + ['β', 'β', true, 'beta'], + ['γ', 'γ', true, 'gamma'], + ['δ', 'δ', true, 'delta'], + ['ε', 'ε', true, 'epsilon'], + ['ζ', 'ζ', true, 'zeta'], + ['η', 'η', true, 'eta'], + ['θ', 'θ', true, 'theta'], + ['ι', 'ι', true, 'iota'], + ['κ', 'κ', true, 'kappa'], + ['λ', 'λ', true, 'lambda'], + ['μ', 'μ', true, 'mu'], + ['ν', 'ν', true, 'nu'], + ['ξ', 'ξ', true, 'xi'], + ['ο', 'ο', true, 'omicron'], + ['π', 'π', true, 'pi'], + ['ρ', 'ρ', true, 'rho'], + ['ς', 'ς', true, 'final sigma'], + ['σ', 'σ', true, 'sigma'], + ['τ', 'τ', true, 'tau'], + ['υ', 'υ', true, 'upsilon'], + ['φ', 'φ', true, 'phi'], + ['χ', 'χ', true, 'chi'], + ['ψ', 'ψ', true, 'psi'], + ['ω', 'ω', true, 'omega'], +// symbols + ['ℵ', 'ℵ', false,'alef symbol'], + ['ϖ', 'ϖ', false,'pi symbol'], + ['ℜ', 'ℜ', false,'real part symbol'], + ['ϑ','ϑ', false,'theta symbol'], + ['ϒ', 'ϒ', false,'upsilon - hook symbol'], + ['℘', '℘', false,'Weierstrass p'], + ['ℑ', 'ℑ', false,'imaginary part'], +// arrows + ['←', '←', true, 'leftwards arrow'], + ['↑', '↑', true, 'upwards arrow'], + ['→', '→', true, 'rightwards arrow'], + ['↓', '↓', true, 'downwards arrow'], + ['↔', '↔', true, 'left right arrow'], + ['↵', '↵', false,'carriage return'], + ['⇐', '⇐', false,'leftwards double arrow'], + ['⇑', '⇑', false,'upwards double arrow'], + ['⇒', '⇒', false,'rightwards double arrow'], + ['⇓', '⇓', false,'downwards double arrow'], + ['⇔', '⇔', false,'left right double arrow'], + ['∴', '∴', false,'therefore'], + ['⊂', '⊂', false,'subset of'], + ['⊃', '⊃', false,'superset of'], + ['⊄', '⊄', false,'not a subset of'], + ['⊆', '⊆', false,'subset of or equal to'], + ['⊇', '⊇', false,'superset of or equal to'], + ['⊕', '⊕', false,'circled plus'], + ['⊗', '⊗', false,'circled times'], + ['⊥', '⊥', false,'perpendicular'], + ['⋅', '⋅', false,'dot operator'], + ['⌈', '⌈', false,'left ceiling'], + ['⌉', '⌉', false,'right ceiling'], + ['⌊', '⌊', false,'left floor'], + ['⌋', '⌋', false,'right floor'], + ['⟨', '〈', false,'left-pointing angle bracket'], + ['⟩', '〉', false,'right-pointing angle bracket'], + ['◊', '◊', true,'lozenge'], + ['♠', '♠', false,'black spade suit'], + ['♣', '♣', true, 'black club suit'], + ['♥', '♥', true, 'black heart suit'], + ['♦', '♦', true, 'black diamond suit'], + [' ', ' ', false,'en space'], + [' ', ' ', false,'em space'], + [' ', ' ', false,'thin space'], + ['‌', '‌', false,'zero width non-joiner'], + ['‍', '‍', false,'zero width joiner'], + ['‎', '‎', false,'left-to-right mark'], + ['‏', '‏', false,'right-to-left mark'], + ['­', '­', false,'soft hyphen'] +]; + +function renderCharMapHTML() { + var charsPerRow = 20, tdWidth=20, tdHeight=20; + var html = ''; + var cols=-1; + for (var i=0; i' + + charmap[i][1] + + ''; + if ((cols+1) % charsPerRow == 0) + html += ''; + } + } + if (cols % charsPerRow > 0) { + var padd = charsPerRow - (cols % charsPerRow); + for (var i=0; i '; + } + html += '
    '; + document.write(html); +} + +function insertChar(chr) { + tinyMCEPopup.execCommand('mceInsertContent', false, '\&#' + chr + ';'); + + // Refocus in window + if (tinyMCEPopup.isWindow) + window.focus(); +} + +function previewChar(codeA, codeB, codeN) { + var elmA = document.getElementById('codeA'); + var elmB = document.getElementById('codeB'); + var elmV = document.getElementById('codeV'); + var elmN = document.getElementById('codeN'); + + if (codeA=='#160;') { + elmV.innerHTML = '__'; + } else { + elmV.innerHTML = '&' + codeA; + } + + elmB.innerHTML = '&' + codeA; + elmA.innerHTML = '&' + codeB; + elmN.innerHTML = codeN; +} diff --git a/webcit/tiny_mce/themes/advanced/jscripts/color_picker.js b/webcit/tiny_mce/themes/advanced/jscripts/color_picker.js new file mode 100644 index 000000000..aab668e08 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/jscripts/color_picker.js @@ -0,0 +1,107 @@ +function init() { + if (tinyMCE.isMSIE) + tinyMCEPopup.resizeToInnerSize(); +} + +function selectColor() { + var color = document.getElementById("selectedColorBox").value; + + tinyMCEPopup.execCommand(tinyMCE.getWindowArg('command'), false, color); + tinyMCEPopup.close(); +} + +function showColor(color) { + document.getElementById("selectedColor").style.backgroundColor = color; + document.getElementById("selectedColorBox").value = color; +} + +var colors = new Array( + "#000000","#000033","#000066","#000099","#0000cc","#0000ff","#330000","#330033", + "#330066","#330099","#3300cc","#3300ff","#660000","#660033","#660066","#660099", + "#6600cc","#6600ff","#990000","#990033","#990066","#990099","#9900cc","#9900ff", + "#cc0000","#cc0033","#cc0066","#cc0099","#cc00cc","#cc00ff","#ff0000","#ff0033", + "#ff0066","#ff0099","#ff00cc","#ff00ff","#003300","#003333","#003366","#003399", + "#0033cc","#0033ff","#333300","#333333","#333366","#333399","#3333cc","#3333ff", + "#663300","#663333","#663366","#663399","#6633cc","#6633ff","#993300","#993333", + "#993366","#993399","#9933cc","#9933ff","#cc3300","#cc3333","#cc3366","#cc3399", + "#cc33cc","#cc33ff","#ff3300","#ff3333","#ff3366","#ff3399","#ff33cc","#ff33ff", + "#006600","#006633","#006666","#006699","#0066cc","#0066ff","#336600","#336633", + "#336666","#336699","#3366cc","#3366ff","#666600","#666633","#666666","#666699", + "#6666cc","#6666ff","#996600","#996633","#996666","#996699","#9966cc","#9966ff", + "#cc6600","#cc6633","#cc6666","#cc6699","#cc66cc","#cc66ff","#ff6600","#ff6633", + "#ff6666","#ff6699","#ff66cc","#ff66ff","#009900","#009933","#009966","#009999", + "#0099cc","#0099ff","#339900","#339933","#339966","#339999","#3399cc","#3399ff", + "#669900","#669933","#669966","#669999","#6699cc","#6699ff","#999900","#999933", + "#999966","#999999","#9999cc","#9999ff","#cc9900","#cc9933","#cc9966","#cc9999", + "#cc99cc","#cc99ff","#ff9900","#ff9933","#ff9966","#ff9999","#ff99cc","#ff99ff", + "#00cc00","#00cc33","#00cc66","#00cc99","#00cccc","#00ccff","#33cc00","#33cc33", + "#33cc66","#33cc99","#33cccc","#33ccff","#66cc00","#66cc33","#66cc66","#66cc99", + "#66cccc","#66ccff","#99cc00","#99cc33","#99cc66","#99cc99","#99cccc","#99ccff", + "#cccc00","#cccc33","#cccc66","#cccc99","#cccccc","#ccccff","#ffcc00","#ffcc33", + "#ffcc66","#ffcc99","#ffcccc","#ffccff","#00ff00","#00ff33","#00ff66","#00ff99", + "#00ffcc","#00ffff","#33ff00","#33ff33","#33ff66","#33ff99","#33ffcc","#33ffff", + "#66ff00","#66ff33","#66ff66","#66ff99","#66ffcc","#66ffff","#99ff00","#99ff33", + "#99ff66","#99ff99","#99ffcc","#99ffff","#ccff00","#ccff33","#ccff66","#ccff99", + "#ccffcc","#ccffff","#ffff00","#ffff33","#ffff66","#ffff99","#ffffcc","#ffffff" +); + +function convertRGBToHex(col) { + var re = new RegExp("rgb\\s*\\(\\s*([0-9]+).*,\\s*([0-9]+).*,\\s*([0-9]+).*\\)", "gi"); + + var rgb = col.replace(re, "$1,$2,$3").split(','); + if (rgb.length == 3) { + r = parseInt(rgb[0]).toString(16); + g = parseInt(rgb[1]).toString(16); + b = parseInt(rgb[2]).toString(16); + + r = r.length == 1 ? '0' + r : r; + g = g.length == 1 ? '0' + g : g; + b = b.length == 1 ? '0' + b : b; + + return "#" + r + g + b; + } + + return col; +} + +function convertHexToRGB(col) { + if (col.indexOf('#') != -1) { + col = col.replace(new RegExp('[^0-9A-F]', 'gi'), ''); + + r = parseInt(col.substring(0, 2), 16); + g = parseInt(col.substring(2, 4), 16); + b = parseInt(col.substring(4, 6), 16); + + return "rgb(" + r + "," + g + "," + b + ")"; + } + + return col; +} + +function renderColorMap() { + var html = ""; + var inputColor = convertRGBToHex(tinyMCE.getWindowArg('input_color')); + + html += '' + + ''; + for (var i=0; i' + + '' + + '' + colors[i] +  ''; + if ((i+1) % 18 == 0) + html += ''; + } + html += '' + + '
    ' + + '' + + '' + + '
    ' + + '' + + '' + + '' + + '
    ' + + '' + + '
    '; + + document.write(html); +} \ No newline at end of file diff --git a/webcit/tiny_mce/themes/advanced/jscripts/image.js b/webcit/tiny_mce/themes/advanced/jscripts/image.js new file mode 100644 index 000000000..ea9c348ea --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/jscripts/image.js @@ -0,0 +1,80 @@ +var url = tinyMCE.getParam("external_image_list_url"); +if (url != null) { + // Fix relative + if (url.charAt(0) != '/') + url = tinyMCE.documentBasePath + "/" + url; + + document.write(''); +} + +function insertImage() { + if (window.opener) { + var src = document.forms[0].src.value; + var alt = document.forms[0].alt.value; + var border = document.forms[0].border.value; + var vspace = document.forms[0].vspace.value; + var hspace = document.forms[0].hspace.value; + var width = document.forms[0].width.value; + var height = document.forms[0].height.value; + var align = document.forms[0].align.options[document.forms[0].align.selectedIndex].value; + + window.opener.tinyMCE.insertImage(src, alt, border, hspace, vspace, width, height, align); + top.close(); + } +} + +function init() { + tinyMCEPopup.resizeToInnerSize(); + + var formObj = document.forms[0]; + + for (var i=0; i 0) { + for (var i=0; i'); +} + +function init() { + tinyMCEPopup.resizeToInnerSize(); + + var formObj = document.forms[0]; + + for (var i=0; i 0) { + var formObj = document.forms[0]; + + for (var i=0; i', 'gi'),'\n'); + html = tinyMCE.regexpReplace(html, '
    ','
    \n','gi'); + html = tinyMCE.regexpReplace(html, '\n\n','\n','gi'); + return html; +} + +function onLoadInit() { + tinyMCEPopup.resizeToInnerSize(); + + document.forms[0].htmlSource.value = fixContent(tinyMCE.getContent(tinyMCE.getWindowArg('editor_id'))); + resizeInputs(); + setWrap('off'); +} + +function setWrap(val) { + // hard soft off + document.forms[0].htmlSource.wrap = val; +} + +function toggleWordWrap(elm) { + if (elm.checked) + setWrap('soft'); + else + setWrap('off'); +} + +var wHeight=0, wWidth=0, owHeight=0, owWidth=0; + +function resizeInputs() { + if (!tinyMCE.isMSIE) { + wHeight = self.innerHeight-80; + wWidth = self.innerWidth-16; + } else { + wHeight = document.body.clientHeight-80; + wWidth = document.body.clientWidth-16; + } + + document.forms[0].htmlSource.style.height = Math.abs(wHeight) + 'px'; + document.forms[0].htmlSource.style.width = Math.abs(wWidth) + 'px'; + +} + +function renderWordWrap() { + if (tinyMCE.isMSIE) + document.write(''); +} diff --git a/webcit/tiny_mce/themes/advanced/langs/CVS/Entries b/webcit/tiny_mce/themes/advanced/langs/CVS/Entries new file mode 100644 index 000000000..5f409584f --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/CVS/Entries @@ -0,0 +1,27 @@ +/ar.js/1.1/Tue Aug 30 18:35:56 2005// +/el.js/1.1/Sun Sep 11 12:53:00 2005// +/fa.js/1.1/Tue Aug 30 18:35:56 2005// +/fi.js/1.1/Sun Sep 11 12:53:00 2005// +/fr.js/1.1/Tue Aug 30 18:35:56 2005// +/fr_ca.js/1.1/Tue Aug 30 18:35:56 2005// +/it.js/1.1/Tue Aug 30 18:35:56 2005// +/ja.js/1.1/Tue Aug 30 18:35:56 2005// +/ko.js/1.1/Sun Sep 11 12:53:00 2005// +/pl.js/1.1/Tue Aug 30 18:35:56 2005// +/pt.js/1.1/Tue Aug 30 18:35:56 2005// +/pt_br.js/1.1/Tue Aug 30 18:35:56 2005// +/readme.txt/1.1/Tue Aug 30 18:35:56 2005// +/sv.js/1.1/Sun Sep 11 12:53:00 2005// +/tw.js/1.1/Sun Sep 11 12:53:00 2005// +/zh_cn.js/1.1/Sun Sep 11 12:53:00 2005// +/ca.js/1.2/Wed Sep 28 03:47:29 2005// +/cs.js/1.2/Wed Sep 28 03:47:29 2005// +/da.js/1.2/Wed Sep 28 03:47:29 2005// +/de.js/1.2/Wed Sep 28 03:47:29 2005// +/en.js/1.2/Wed Sep 28 03:47:29 2005// +/es.js/1.2/Wed Sep 28 03:47:29 2005// +/he.js/1.2/Wed Sep 28 03:47:29 2005// +/hu.js/1.2/Wed Sep 28 03:47:29 2005// +/nl.js/1.2/Wed Sep 28 03:47:29 2005// +/no.js/1.2/Wed Sep 28 03:47:29 2005// +D diff --git a/webcit/tiny_mce/themes/advanced/langs/CVS/Repository b/webcit/tiny_mce/themes/advanced/langs/CVS/Repository new file mode 100644 index 000000000..cf2746ac1 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/advanced/langs diff --git a/webcit/tiny_mce/themes/advanced/langs/CVS/Root b/webcit/tiny_mce/themes/advanced/langs/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/advanced/langs/ar.js b/webcit/tiny_mce/themes/advanced/langs/ar.js new file mode 100644 index 000000000..83c70621f --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/ar.js @@ -0,0 +1,63 @@ +// Arabic lang variables + +tinyMCE.addToLang('',{ +theme_style_select : 'تصاميم', +theme_code_desc : 'شفرة المصدر', +theme_code_title : 'شفرة المصدر', +theme_code_wordwrap : 'Word wrap', +theme_sub_desc : 'منخفض', +theme_sup_desc : 'مرتفع', +theme_hr_desc : 'إدراج خط فاصل', +theme_removeformat_desc : 'إزالة التنسيقات', +theme_custom1_desc : 'Your custom description here', +insert_image_border : 'سمك الحدود', +insert_image_dimensions : 'المواصفات', +insert_image_vspace : 'تباعد عمودي', +insert_image_hspace : 'تباعد أفقي', +insert_image_align : 'محاذاة', +insert_image_align_default : 'Default', +insert_image_align_baseline : 'على السطر', +insert_image_align_top : 'أعلى', +insert_image_align_middle : 'وسط', +insert_image_align_bottom : 'أسفل', +insert_image_align_texttop : 'أعلى النص', +insert_image_align_absmiddle : 'وسط السطر', +insert_image_align_absbottom : 'أسفل النص', +insert_image_align_left : 'يسار', +insert_image_align_right : 'يمين', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : 'Paragraph', +theme_div : 'Div', +theme_address : 'Address', +theme_pre : 'Preformatted', +theme_h1 : 'Heading 1', +theme_h2 : 'Heading 2', +theme_h3 : 'Heading 3', +theme_h4 : 'Heading 4', +theme_h5 : 'Heading 5', +theme_h6 : 'Heading 6', +theme_colorpicker_title : 'لون النص', +theme_colorpicker_apply : 'Apply', +theme_forecolor_desc : 'لون النص', +theme_backcolor_desc : 'Select background color', +theme_charmap_title : 'إدراج رمز..ِ', +theme_charmap_desc : 'إدراج رمز..ِ', +theme_visualaid_desc : 'Toggle guidelines/invisible elements', +insert_anchor_title : 'Insert/edit anchor', +insert_anchor_name : 'Anchor name', +theme_anchor_desc : 'Insert/edit anchor', +theme_insert_link_titlefield : 'Title', +theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +theme_path : 'Path', +cut_desc : 'Cut', +copy_desc : 'Copy', +paste_desc : 'Paste', +link_list : 'Link list', +image_list : 'Image list', +browse : 'Browse', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/ca.js b/webcit/tiny_mce/themes/advanced/langs/ca.js new file mode 100644 index 000000000..ebd5e15d3 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/ca.js @@ -0,0 +1,64 @@ +// CA lang variables by Marc Bria + +tinyMCE.addToLang('',{ +theme_style_select : 'Estils', +theme_code_desc : 'Editar codi HTML', +theme_code_title : 'Editor codi HTML', +theme_code_wordwrap : 'Ajustar salt de línea', +theme_sub_desc : 'Subíndex', +theme_sup_desc : 'Superíndex', +theme_hr_desc : 'Insertar un separador horitzontal', +theme_removeformat_desc : 'Eliminar format', +theme_custom1_desc : 'La teva descripció', +insert_image_border : 'Marc', +insert_image_dimensions : 'Dimensions', +insert_image_vspace : 'Espai vertical', +insert_image_hspace : 'Espai horizontal', +insert_image_align : 'Alineament', +insert_image_align_default : 'Per defecte', +insert_image_align_baseline : 'Línea base', +insert_image_align_top : 'Superior', +insert_image_align_middle : 'Centre', +insert_image_align_bottom : 'Inferior', +insert_image_align_texttop : 'Alinear text amunt', +insert_image_align_absmiddle : 'Centrat horitzontal', +insert_image_align_absbottom : 'Centrat a baix', +insert_image_align_left : 'Esquerra', +insert_image_align_right : 'Dreta', +insert_image_delta_height : 10, +theme_font_size : '-- Mida font --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : 'Paragraph', +theme_div : 'Div', +theme_address : 'Address', +theme_pre : 'Preformatejat', +theme_h1 : 'Capçalera 1', +theme_h2 : 'Capçalera 2', +theme_h3 : 'Capçalera 3', +theme_h4 : 'Capçalera 4', +theme_h5 : 'Capçalera 5', +theme_h6 : 'Capçalera 6', +theme_colorpicker_title : 'Selecciona el color', +theme_colorpicker_apply : 'Apply', +theme_forecolor_desc : 'Selecciona color frontal', +theme_backcolor_desc : 'Selecciona color de fons', +theme_charmap_title : 'Selecciona un caràcter especial', +theme_charmap_desc : 'Inserta un caràcter especial', +theme_visualaid_desc : 'Alterna líniesguia/elements invisibles', +insert_anchor_title : 'Inserta/edita àncora', +insert_anchor_name : 'Nom de l´àncora', +theme_anchor_desc : 'Inserta/edita un àncora', +theme_insert_link_titlefield : 'Títlo', +theme_clipboard_msg : 'Copiar/Tallar/Enganxar no és possible amb Mozilla i Firefox.\nVols més informació sobre aquest problema de seguretat?', +theme_path : 'Camí', +cut_desc : 'Retallar', +copy_desc : 'Copiar', +paste_desc : 'Enganxar', +link_list : 'Llistat d´enllaços', +image_list : 'Llistat d´imatges', +browse : 'Explorar', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/cs.js b/webcit/tiny_mce/themes/advanced/langs/cs.js new file mode 100644 index 000000000..15c4958e8 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/cs.js @@ -0,0 +1,70 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.2 2005/09/26 18:00:52 ajc Exp $ + */ + + +tinyMCE.addToLang('',{ +theme_style_select : 'Styly', +theme_code_desc : 'Zobrazit HTML', +theme_code_title : 'Editace HTML', +theme_code_wordwrap : 'Bez dělení slov', +theme_sub_desc : 'Dolní index', +theme_sup_desc : 'Horní index', +theme_hr_desc : 'Vložit vodorovný oddělovač', +theme_removeformat_desc : 'ZruÅ¡it formátování', +theme_custom1_desc : 'Libovolný popisek', +insert_image_border : 'Rámeček', +insert_image_dimensions : 'Rozměry', +insert_image_vspace : 'Vertikální okraj', +insert_image_hspace : 'Horizontální okraj', +insert_image_align : 'Zarovnání', +insert_image_align_default : 'Výchozí', +insert_image_align_baseline : 'Na účaří', +insert_image_align_top : 'Nahoru', +insert_image_align_middle : 'Na střed', +insert_image_align_bottom : 'Dolů', +insert_image_align_texttop : 'Nejvyšší bod textu', +insert_image_align_absmiddle : 'Střed řádku', +insert_image_align_absbottom : 'Spodek řádku', +insert_image_align_left : 'Vlevo', +insert_image_align_right : 'Vpravo', +theme_font_size : '-- Velikost textu --', +theme_fontdefault : '-- Písmo --', +theme_block : '-- Formát --', +theme_paragraph : 'Odstavec', +theme_div : 'Div', +theme_address : 'Adresa', +theme_pre : 'Předformát', +theme_h1 : 'Nadpis 1', +theme_h2 : 'Nadpis 2', +theme_h3 : 'Nadpis 3', +theme_h4 : 'Nadpis 4', +theme_h5 : 'Nadpis 5', +theme_h6 : 'Nadpis 6', +theme_colorpicker_title : 'Výběr barvy', +theme_colorpicker_apply : 'Vybrat', +theme_forecolor_desc : 'Barva popředí', +theme_backcolor_desc : 'Barva pozadí', +theme_charmap_title : 'Výběr znaku', +theme_charmap_desc : 'Vložit znak', +theme_visualaid_desc : 'Zapnout značky/neviditelné prvky', +insert_anchor_title : 'Vložení/editace záložky', +insert_anchor_name : 'Název', +theme_anchor_desc : 'Vložit/editovat záložku', +theme_insert_link_titlefield : 'Název', +theme_clipboard_msg : 'Funkce Kopírovat/vyjmout/vložit nejsou použitelné v Mozille a Firefoxu.\nChcete více informací o tomto problému?', +theme_path : 'Cesta', +cut_desc : 'Vyjmout', +copy_desc : 'Kopírovat', +paste_desc : 'Vložit', +link_list : 'Seznam', +image_list : 'Seznam', +browse : 'Procházet', +image_props_desc : 'Vlastnosti obrázku', +newdocument_desc : 'Nový dokument', +newdocument : 'Jste si opravdu jistý(á), že chcete vymazat veÅ¡kerý obsah?' +}); + diff --git a/webcit/tiny_mce/themes/advanced/langs/da.js b/webcit/tiny_mce/themes/advanced/langs/da.js new file mode 100644 index 000000000..c8e7091b6 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/da.js @@ -0,0 +1,76 @@ +// DK lang variables contributed by Jan Moelgaard + +tinyMCE.addToLang('',{ +theme_style_select : 'Stilelementer', +theme_code_desc : 'Rediger html-kode', +theme_code_title : 'HTML Kodeeditor', +theme_code_wordwrap : 'Ombrydning', +theme_sub_desc : 'Sænket skrift', +theme_sup_desc : 'Hævet skrift', +theme_hr_desc : 'Indsæt horisontal linje', +theme_removeformat_desc : 'Fjern formatering', +theme_custom1_desc : 'Indsæt din egen beskrivelse her', +insert_image_border : 'Kant', +insert_image_dimensions : 'Dimensioner', +insert_image_vspace : 'Flyt til venstre', +insert_image_hspace : 'Flyt til højre', +insert_image_align : 'Justering', +insert_image_align_default : 'Standard', +insert_image_align_baseline : 'Bundlinje', +insert_image_align_top : 'Top', +insert_image_align_middle : 'Midt i', +insert_image_align_bottom : 'I bunden', +insert_image_align_texttop : 'I toppen af teksten', +insert_image_align_absmiddle : 'Absolut midte', +insert_image_align_absbottom : 'Absolut bund', +insert_image_align_left : 'Venstre', +insert_image_align_right : 'Højre', +theme_font_size : '-- Font størrelse --', +theme_fontdefault : '-- Font gruppe --', +theme_block : '-- Format --', +theme_paragraph : 'Afsnit', +theme_div : 'Div', +theme_address : 'Addresse', +theme_pre : 'Præformateret', +theme_h1 : 'Overskrift 1', +theme_h2 : 'Overskrift 2', +theme_h3 : 'Overskrift 3', +theme_h4 : 'Overskrift 4', +theme_h5 : 'Overskrift 5', +theme_h6 : 'Overskrift 6', +theme_colorpicker_title : 'Vælg en farve', +theme_colorpicker_apply : 'Anvend', +theme_forecolor_desc : 'Vælg forgrundsfarve', +theme_backcolor_desc : 'Vælg baggrundsfarve', +theme_charmap_title : 'Vælg specialkarakter', +theme_charmap_desc : 'Indsæt specialkarakter', +theme_visualaid_desc : 'Slå linjer/usynlige elementer til og fra', +insert_anchor_title : 'Indsæt/rediger bogmærke', +insert_anchor_name : 'Bogmærkets navn', +theme_anchor_desc : 'Indsæt/rediger bogmærke', +theme_insert_link_titlefield : 'Title', +theme_clipboard_msg : 'Kopier/Klip/Indsæt virker ikke i Mozilla og Firefox.\nVil du vide mere om dette?', +theme_path : 'Sti', +cut_desc : 'Klip', +copy_desc : 'Kopier', +paste_desc : 'Indsæt', +link_list : 'Linkliste', +image_list : 'Billedliste', +browse : 'Gennemse', +image_props_desc : 'Billedegenskaber', +newdocument_desc : 'Nyt dokument', +class_name : 'Klasse', +newdocument : 'Er du sikker på, at du vil slette alt?', +about_title : 'About TinyMCE', +about : 'Om', +license : 'Licens', +plugins : 'Plugins', +plugin : 'Plugin', +author : 'Forfatter', +version : 'Version', +loaded_plugins : 'Indlæste plugins', +help : 'Hjælp', +not_set : '-- Ikke defineret --', +close : 'Luk', +toolbar_focus : 'Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/de.js b/webcit/tiny_mce/themes/advanced/langs/de.js new file mode 100644 index 000000000..b17ae130e --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/de.js @@ -0,0 +1,76 @@ +// DE lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '-- CSS-Stile --', +theme_code_desc : 'HTML-Quelltext editieren', +theme_code_title : 'HTML-Quelltexteditor', +theme_code_wordwrap : 'Zeilenumbruch', +theme_sub_desc : 'Tiefergestellt', +theme_sup_desc : 'Hochgestellt', +theme_hr_desc : 'Horizontalen Balken einfügen', +theme_removeformat_desc : 'Formatierung löschen', +theme_custom1_desc : 'Eigene Beschreibung', +insert_image_border : 'Rahmen', +insert_image_dimensions : 'Größe', +insert_image_vspace : 'Vertikaler Raum', +insert_image_hspace : 'Horizontaler Raum', +insert_image_align : 'Ausrichtung', +insert_image_align_default : '-- Nicht festgelegt --', +insert_image_align_baseline : 'Grundlinie', +insert_image_align_top : 'Oben', +insert_image_align_middle : 'Mitte', +insert_image_align_bottom : 'Unten', +insert_image_align_texttop : 'Mit dem Text', +insert_image_align_absmiddle : 'Absolute mittig', +insert_image_align_absbottom : 'Absolut unten', +insert_image_align_left : 'Links', +insert_image_align_right : 'Rechts', +theme_font_size : '-- Schriftgröße --', +theme_fontdefault : '-- Schriftfamilie --', +theme_block : '-- Format --', +theme_paragraph : 'Absatz', +theme_div : 'Block', +theme_address : 'Adresse', +theme_pre : 'Vorformatiert', +theme_h1 : 'Überschrift 1', +theme_h2 : 'Überschrift 2', +theme_h3 : 'Überschrift 3', +theme_h4 : 'Überschrift 4', +theme_h5 : 'Überschrift 5', +theme_h6 : 'Überschrift 6', +theme_colorpicker_title : 'Farbe auswählen', +theme_colorpicker_apply : 'Farbe festlegen', +theme_forecolor_desc : 'Schriftfarbe auswählen', +theme_backcolor_desc : 'Hintergrundfarbe auswählen', +theme_charmap_title : 'Sonderzeichen einfügen', +theme_charmap_desc : 'Sonderzeichen einfügen', +theme_visualaid_desc : 'Hilfslinen/Unsichtbare Elemente anzeigen', +insert_anchor_title : 'Anker einfügen/bearbeiten', +insert_anchor_name : 'Ankername', +theme_anchor_desc : 'Anker einfügen/bearbeiten', +theme_insert_link_titlefield : 'Titel', +theme_clipboard_msg : 'Zwischenablagefunktionen sind in Mozilla und Firefox nicht verfügbar.\nWünschen Sie hierzu weitere Informationen?', +theme_path : 'Pfad', +cut_desc : 'Ausschneiden', +copy_desc : 'Kopieren', +paste_desc : 'Einfügen', +link_list : 'Hyperlink-Liste', +image_list : 'Bild-Liste', +browse : 'Durchsuchen', +image_props_desc : 'Bildeigenschaften', +newdocument_desc : 'Neues Dokument', +class_name : 'CSS-Klasse', +newdocument : 'Sind Sie sicher, dass Sie alle Inhalte löschen wollen?', +about_title : 'Über TinyMCE', +about : 'Über', +license : 'Lizenz', +plugins : 'Plugins', +plugin : 'Plugin', +author : 'Autor', +version : 'Version', +loaded_plugins : 'Geladene Plugins', +help : 'Hilfe', +not_set : '-- Nicht festgelegt --', +close : 'Schließen', +toolbar_focus : 'Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/el.js b/webcit/tiny_mce/themes/advanced/langs/el.js new file mode 100644 index 000000000..7a02eec3a --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/el.js @@ -0,0 +1,64 @@ +// Greek lang variables by Jacaranda Bill + +tinyMCE.addToLang('',{ +theme_style_select : 'ÈÝìáôá', +theme_code_desc : 'Åðåîåñãáóßá HTML êþäéêá', +theme_code_title : 'ÅðåîåñãáóôÞò HTML', +theme_code_wordwrap : 'Word wrap', +theme_sub_desc : 'Äåßêôçò', +theme_sup_desc : 'ÅêèÝôçò', +theme_hr_desc : 'ÅéóáãùãÞ ïñéæüíôéáò ãñáììÞò', +theme_removeformat_desc : 'ÁðáëïéöÞ ìïñöïðïßçóçò', +theme_custom1_desc : 'ÐåñéãñáöÞ', +insert_image_border : 'Ðåñßãñáììá', +insert_image_dimensions : 'ÄéáóôÜóåéò', +insert_image_vspace : 'ÊÜè. ðåñéèþñéï', +insert_image_hspace : 'Ïñéæ. ðåñéèþñéï', +insert_image_align : 'Óôïß÷éóç', +insert_image_align_default : 'ÐñïêáèïñéóìÝíç', +insert_image_align_baseline : 'Óå åõèõãñÜììéóç ìå ôï êåßìåíï', +insert_image_align_top : 'ÐÜíù', +insert_image_align_middle : 'Óôï êÝíôñï', +insert_image_align_bottom : 'ÊÜôù', +insert_image_align_texttop : 'Ôï êåßìåíï ðÜíù', +insert_image_align_absmiddle : 'Áðüëõôá óôï êÝíôñï', +insert_image_align_absbottom : 'Áðüëõôá êÜôù', +insert_image_align_left : 'ÁñéóôåñÜ', +insert_image_align_right : 'ÄåîéÜ', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : 'ÐáñÜãñáöïò', +theme_div : 'Div', +theme_address : 'Äéåýèõíóç', +theme_pre : 'Preformatted', +theme_h1 : 'Åðéêåöáëßäá 1', +theme_h2 : 'Åðéêåöáëßäá 2', +theme_h3 : 'Åðéêåöáëßäá 3', +theme_h4 : 'Åðéêåöáëßäá 4', +theme_h5 : 'Åðéêåöáëßäá 5', +theme_h6 : 'Åðéêåöáëßäá 6', +theme_colorpicker_title : '×ñþìáôá', +theme_colorpicker_apply : 'ÅöáñìïãÞ', +theme_forecolor_desc : 'ÅðéëïãÞ ÷ñþìáôïò ãñáììáôïóåéñÜò', +theme_backcolor_desc : 'Select background color', +theme_charmap_title : 'ÅðéëïãÞ åéäéêïý ÷áñáêôÞñá', +theme_charmap_desc : 'ÅéóáãùãÞ åéäéêïý ÷áñáêôÞñá', +theme_visualaid_desc : 'ÅìöÜíéóç/Áðüêñõøç ãñáììþí', +insert_anchor_title : 'ÅéóáãùãÞ/Äéüñèùóç Üãêõñáò', +insert_anchor_name : 'Ïíïìáóßá Üãêõñáò', +theme_anchor_desc : 'ÅéóáãùãÞ/Äéüñèùóç Üãêõñáò', +theme_insert_link_titlefield : 'Ôßôëïò', +theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +theme_path : 'Path', +cut_desc : 'Cut', +copy_desc : 'Copy', +paste_desc : 'Paste', +link_list : 'Link list', +image_list : 'Image list', +browse : 'Browse', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +class_name : 'ÊëÜóç', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/en.js b/webcit/tiny_mce/themes/advanced/langs/en.js new file mode 100644 index 000000000..ca726768a --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/en.js @@ -0,0 +1,76 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '-- Styles --', +theme_code_desc : 'Edit HTML Source', +theme_code_title : 'HTML Source Editor', +theme_code_wordwrap : 'Word wrap', +theme_sub_desc : 'Subscript', +theme_sup_desc : 'Superscript', +theme_hr_desc : 'Insert horizontal ruler', +theme_removeformat_desc : 'Remove formatting', +theme_custom1_desc : 'Your custom description here', +insert_image_border : 'Border', +insert_image_dimensions : 'Dimensions', +insert_image_vspace : 'Vertical space', +insert_image_hspace : 'Horizontal space', +insert_image_align : 'Alignment', +insert_image_align_default : '-- Not set --', +insert_image_align_baseline : 'Baseline', +insert_image_align_top : 'Top', +insert_image_align_middle : 'Middle', +insert_image_align_bottom : 'Bottom', +insert_image_align_texttop : 'TextTop', +insert_image_align_absmiddle : 'Absolute Middle', +insert_image_align_absbottom : 'Absolute Bottom', +insert_image_align_left : 'Left', +insert_image_align_right : 'Right', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : 'Paragraph', +theme_div : 'Div', +theme_address : 'Address', +theme_pre : 'Preformatted', +theme_h1 : 'Heading 1', +theme_h2 : 'Heading 2', +theme_h3 : 'Heading 3', +theme_h4 : 'Heading 4', +theme_h5 : 'Heading 5', +theme_h6 : 'Heading 6', +theme_colorpicker_title : 'Select a color', +theme_colorpicker_apply : 'Apply', +theme_forecolor_desc : 'Select text color', +theme_backcolor_desc : 'Select background color', +theme_charmap_title : 'Select custom character', +theme_charmap_desc : 'Insert custom character', +theme_visualaid_desc : 'Toggle guidelines/invisible elements', +insert_anchor_title : 'Insert/edit anchor', +insert_anchor_name : 'Anchor name', +theme_anchor_desc : 'Insert/edit anchor', +theme_insert_link_titlefield : 'Title', +theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +theme_path : 'Path', +cut_desc : 'Cut', +copy_desc : 'Copy', +paste_desc : 'Paste', +link_list : 'Link list', +image_list : 'Image list', +browse : 'Browse', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +class_name : 'Class', +newdocument : 'Are you sure you want clear all contents?', +about_title : 'About TinyMCE', +about : 'About', +license : 'License', +plugins : 'Plugins', +plugin : 'Plugin', +author : 'Author', +version : 'Version', +loaded_plugins : 'Loaded plugins', +help : 'Help', +not_set : '-- Not set --', +close : 'Close', +toolbar_focus : 'Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/es.js b/webcit/tiny_mce/themes/advanced/langs/es.js new file mode 100644 index 000000000..9c62da331 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/es.js @@ -0,0 +1,64 @@ +// ES lang variables by Alvaro Velasco + +tinyMCE.addToLang('',{ +theme_style_select : 'Estilos', +theme_code_desc : 'Editar codigo HTML', +theme_code_title : 'Editor codigo HTML', +theme_code_wordwrap : 'Word wrap', +theme_sub_desc : 'Subindice', +theme_sup_desc : 'Superindice', +theme_hr_desc : 'Insertar un separador horizontal', +theme_removeformat_desc : 'Quitar formato', +theme_custom1_desc : 'Tu descricion', +insert_image_border : 'Borde', +insert_image_dimensions : 'Dimensiones', +insert_image_vspace : 'Espacio vertical', +insert_image_hspace : 'Espacio horizontal', +insert_image_align : 'Alineamiento', +insert_image_align_default : 'Por defecto', +insert_image_align_baseline : 'Baseline', +insert_image_align_top : 'Superior', +insert_image_align_middle : 'Centro', +insert_image_align_bottom : 'Inferior', +insert_image_align_texttop : 'Alinear texto arriba', +insert_image_align_absmiddle : 'Centrado horizontal', +insert_image_align_absbottom : 'Centrado abajo', +insert_image_align_left : 'Izquierda', +insert_image_align_right : 'Derecha', +insert_image_delta_height : 10, +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : 'Paragraph', +theme_div : 'Div', +theme_address : 'Address', +theme_pre : 'Preformatted', +theme_h1 : 'Heading 1', +theme_h2 : 'Heading 2', +theme_h3 : 'Heading 3', +theme_h4 : 'Heading 4', +theme_h5 : 'Heading 5', +theme_h6 : 'Heading 6', +theme_colorpicker_title : 'Select a color', +theme_colorpicker_apply : 'Apply', +theme_forecolor_desc : 'Select forecolor', +theme_backcolor_desc : 'Select background color', +theme_charmap_title : 'Select custom character', +theme_charmap_desc : 'Insert custom character', +theme_visualaid_desc : 'Toggle guidelines/invisible elements', +insert_anchor_title : 'Insert/edit anchor', +insert_anchor_name : 'Anchor name', +theme_anchor_desc : 'Insert/edit anchor', +theme_insert_link_titlefield : 'Title', +theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +theme_path : 'Path', +cut_desc : 'Cut', +copy_desc : 'Copy', +paste_desc : 'Paste', +link_list : 'Link list', +image_list : 'Image list', +browse : 'Browse', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/fa.js b/webcit/tiny_mce/themes/advanced/langs/fa.js new file mode 100644 index 000000000..2e01f436d --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/fa.js @@ -0,0 +1,65 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +dir : 'rtl', +theme_style_select : '????', +theme_code_desc : '?????? ????', +theme_code_title : 'HTML ???????? ????', +theme_code_wordwrap : '?? ???', +theme_sub_desc : '??? ????', +theme_sup_desc : '???? ????', +theme_hr_desc : '??? ?? ????', +theme_removeformat_desc : '??? ?? ??? ???? ????', +theme_custom1_desc : 'Your custom description here', +insert_image_border : '?????', +insert_image_dimensions : '?????', +insert_image_vspace : '????? ?????', +insert_image_hspace : '????? ????', +insert_image_align : '??? ????????', +insert_image_align_default : '??? ???', +insert_image_align_baseline : '?? ????', +insert_image_align_top : '????', +insert_image_align_middle : '???', +insert_image_align_bottom : '?????', +insert_image_align_texttop : '????? ???', +insert_image_align_absmiddle : '??? ????', +insert_image_align_absbottom : '????? ????', +insert_image_align_left : '??', +insert_image_align_right : '????', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : '????????', +theme_div : 'Div', +theme_address : '????', +theme_pre : '?? ??? ????? ???', +theme_h1 : '???? 1', +theme_h2 : '???? 2', +theme_h3 : '???? 3', +theme_h4 : '???? 4', +theme_h5 : '???? 5', +theme_h6 : '???? 6', +theme_colorpicker_title : '??? ?? ?????? ????', +theme_colorpicker_apply : '?????', +theme_forecolor_desc : '?????? ??? ???', +theme_backcolor_desc : '?????? ??? ?????', +theme_charmap_title : '?????? ??????? ????', +theme_charmap_desc : '??? ??????? ????', +theme_visualaid_desc : '????? ???? ???? ? ????? ??????', +insert_anchor_title : '??? ? ?????? Anchor', +insert_anchor_name : '??? Anchor', +theme_anchor_desc : '??? ? ?????? Anchor', +theme_insert_link_titlefield : '?????', +theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +theme_path : '????', +cut_desc : 'Cut', +copy_desc : 'Copy', +paste_desc : 'Paste', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/fi.js b/webcit/tiny_mce/themes/advanced/langs/fi.js new file mode 100644 index 000000000..d103b4dbe --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/fi.js @@ -0,0 +1,63 @@ +// FI lang variables by Urho Konttori from Absolutions + +tinyMCE.addToLang('',{ +theme_style_select : 'Tyylit', +theme_code_desc : 'Muokkaa HTML lähdekoodia', +theme_code_title : 'HTML Lähdekoodin muokkaus', +theme_code_wordwrap : 'Word wrap', +theme_sub_desc : 'Alamääre', +theme_sup_desc : 'Ylämääre', +theme_hr_desc : 'Lisää vaakaviiva', +theme_removeformat_desc : 'Poista muotoilu', +theme_custom1_desc : 'Kirjoita oma selityksesi tähän', +insert_image_border : 'Reuna', +insert_image_dimensions : 'Mitat', +insert_image_vspace : 'Pystyväli', +insert_image_hspace : 'Vaakaväli', +insert_image_align : 'Asettelu', +insert_image_align_default : 'Oletus', +insert_image_align_baseline : 'Perustasoon', +insert_image_align_top : 'Ylälaitaan', +insert_image_align_middle : 'Keskelle', +insert_image_align_bottom : 'Alalaitaan', +insert_image_align_texttop : 'Tekstin ylälaitaan', +insert_image_align_absmiddle : 'Absoluuttisen keskelle', +insert_image_align_absbottom : 'Absoluuttisen alas', +insert_image_align_left : 'Vasemmalle', +insert_image_align_right : 'Oikealle', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : 'Kappale', +theme_div : 'Div', +theme_address : 'Osoite', +theme_pre : 'Etukäteen muotoiltu', +theme_h1 : 'Otsikko 1', +theme_h2 : 'Otsikko 2', +theme_h3 : 'Otsikko 3', +theme_h4 : 'Otsikko 4', +theme_h5 : 'Otsikko 5', +theme_h6 : 'Otsikko 6', +theme_colorpicker_title : 'Valitse väri', +theme_colorpicker_apply : 'Aseta väri', +theme_forecolor_desc : 'Valitse etuväri', +theme_backcolor_desc : 'Select background color', +theme_charmap_title : 'Select custom character', +theme_charmap_desc : 'Insert custom character', +theme_visualaid_desc : 'Toggle guidelines/invisible elements', +insert_anchor_title : 'Insert/edit anchor', +insert_anchor_name : 'Anchor name', +theme_anchor_desc : 'Insert/edit anchor', +theme_insert_link_titlefield : 'Title', +theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +theme_path : 'Path', +cut_desc : 'Cut', +copy_desc : 'Copy', +paste_desc : 'Paste', +link_list : 'Link list', +image_list : 'Image list', +browse : 'Browse', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/fr.js b/webcit/tiny_mce/themes/advanced/langs/fr.js new file mode 100644 index 000000000..05739ed60 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/fr.js @@ -0,0 +1,65 @@ +// Canadian French lang variables by Virtuelcom +// Modify by Laurent Dran 13-02-2006 + +tinyMCE.addToLang('',{ +theme_style_select : 'Styles', +theme_code_desc : 'Modifier le code source HTML', +theme_code_title : 'Éditeur de code source HTML', +theme_code_wordwrap : 'Word wrap', +theme_sub_desc : 'Souscrit', +theme_sup_desc : 'Indice supérieur', +theme_hr_desc : 'Insérer un séparateur horizontal', +theme_removeformat_desc : 'Supprimer le formattage', +theme_custom1_desc : 'Votre description personnalisée ici', +insert_image_border : 'Bordure', +insert_image_dimensions : 'Dimensions', +insert_image_vspace : 'VSpace', +insert_image_hspace : 'HSpace', +insert_image_align : 'Alignement', +insert_image_align_default : 'Défaut', +insert_image_align_baseline : 'Baseline', +insert_image_align_top : 'Haut', +insert_image_align_middle : 'Milieu', +insert_image_align_bottom : 'Bas', +insert_image_align_texttop : 'TextTop', +insert_image_align_absmiddle : 'Milieu absolu', +insert_image_align_absbottom : 'Bas absolu', +insert_image_align_left : 'Gauche', +insert_image_align_right : 'Droit', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : 'Paragraphe', +theme_div : 'Div', +theme_address : 'Addresse', +theme_pre : 'Préformatté', +theme_h1 : 'Entête 1', +theme_h2 : 'Entête 2', +theme_h3 : 'Entête 3', +theme_h4 : 'Entête 4', +theme_h5 : 'Entête 5', +theme_h6 : 'Entête 6', +theme_colorpicker_title : 'Choisir une couleur', +theme_colorpicker_apply : 'Appliquer', +theme_forecolor_desc : 'Choisir la couleur d\'avant plan', +theme_backcolor_desc : 'Choisir la couleur de fond', +theme_charmap_title : 'Sélectionner un charactère spécial', +theme_charmap_desc : 'Insérer un charactère spécial', +theme_visualaid_desc : 'Active/Désactive les lignes guides et les éléments invisibles', +insert_anchor_title : 'Insérer/Modifier une ancre', +insert_anchor_name : 'Nom de l\'ancre', +theme_anchor_desc : 'Insérer/Modifier une ancre', +theme_insert_link_titlefield : 'Titre', +theme_clipboard_msg : 'Copier/Couper/Coller ne sont pas disponibles pour Mozilla et Firefox.\nVoulez vous plus d\'informations à ce sujet?', +theme_path : 'Chemin', +cut_desc : 'Couper', +copy_desc : 'Copier', +paste_desc : 'Coller', +link_list : 'Lien de la liste', +image_list : 'Image de la liste', +browse : 'Naviguer', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +class_name : 'Classe CSS', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/fr_ca.js b/webcit/tiny_mce/themes/advanced/langs/fr_ca.js new file mode 100644 index 000000000..2e15b5818 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/fr_ca.js @@ -0,0 +1,64 @@ +// Canadian French lang variables by Virtuelcom last modification: 2005-06-15 + +tinyMCE.addToLang('',{ +theme_style_select : '-- Styles --', +theme_code_desc : 'Modifier le code source HTML', +theme_code_title : 'Éditeur de code source HTML', +theme_code_wordwrap : 'Word wrap', +theme_sub_desc : 'Souscrit', +theme_sup_desc : 'Indice supérieur', +theme_hr_desc : 'Insérer un séparateur horizontal', +theme_removeformat_desc : 'Supprimer le formattage', +theme_custom1_desc : 'Votre description personnalisée ici', +insert_image_border : 'Bordure', +insert_image_dimensions : 'Dimensions', +insert_image_vspace : 'VSpace', +insert_image_hspace : 'HSpace', +insert_image_align : 'Alignement', +insert_image_align_default : 'Défaut', +insert_image_align_baseline : 'Baseline', +insert_image_align_top : 'Haut', +insert_image_align_middle : 'Milieu', +insert_image_align_bottom : 'Bas', +insert_image_align_texttop : 'TextTop', +insert_image_align_absmiddle : 'Milieu absolu', +insert_image_align_absbottom : 'Bas absolu', +insert_image_align_left : 'Gauche', +insert_image_align_right : 'Droit', +theme_font_size : 'Taille', +theme_fontdefault : '-- Police --', +theme_block : '-- Format --', +theme_paragraph : 'Paragraphe', +theme_div : 'Div', +theme_address : 'Addresse', +theme_pre : 'Préformatté', +theme_h1 : 'Entête 1', +theme_h2 : 'Entête 2', +theme_h3 : 'Entête 3', +theme_h4 : 'Entête 4', +theme_h5 : 'Entête 5', +theme_h6 : 'Entête 6', +theme_colorpicker_title : 'Choisir une couleur', +theme_colorpicker_apply : 'Appliquer', +theme_forecolor_desc : 'Choisir la couleur d\'avant plan', +theme_backcolor_desc : 'Choisir une couleur d\'arrière plan', +theme_charmap_title : 'Sélectionner un charactère spécial', +theme_charmap_desc : 'Insérer un charactère spécial', +theme_visualaid_desc : 'Active/Désactive les lignes guides et les éléments invisibles', +insert_anchor_title : 'Insérer/Modifier une ancre', +insert_anchor_name : 'Nom de l\'ancre', +theme_anchor_desc : 'Insérer / Modifier une ancre', +theme_insert_link_titlefield : 'Titre', +theme_clipboard_msg : 'Copier/Couper/Coller ne sont pas disponibles dans Mozilla et FireFox.\nDésirez-vous consulter de plus amples informations à ce sujet?', +theme_path : 'Chemin', +cut_desc : 'Couper', +copy_desc : 'Copier', +paste_desc : 'Coller', +link_list : 'Liste de liens', +image_list : 'Liste d\'images', +browse : 'Sélectionner', +image_props_desc : 'Propriétés de l\'image', +newdocument_desc : 'Nouveau Document', +class_name : 'Classe', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/he.js b/webcit/tiny_mce/themes/advanced/langs/he.js new file mode 100644 index 000000000..bec7d415e --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/he.js @@ -0,0 +1,75 @@ +// HE lang variables by Liron Newman, http://eesh.net + +tinyMCE.addToLang('',{ +theme_style_select : '-- ñéâðåðåú --', +theme_code_desc : 'òøåê àú ÷åã ä-HTML', +theme_code_title : 'òåøê ÷åã HTML', +theme_code_wordwrap : 'âìéùú ùåøåú', +theme_sub_desc : 'ëúá úçúé', +theme_sup_desc : 'ëúá òéìé', +theme_hr_desc : 'äëðñ ÷å àåô÷é', +theme_removeformat_desc : 'äñø òéöåá', +theme_custom1_desc : 'äúéàåø ùìê ëàï', +insert_image_border : 'âáåì', +insert_image_dimensions : 'îéîãéí', +insert_image_vspace : 'çìì àðëé', +insert_image_hspace : 'çìì àåô÷é', +insert_image_align : 'ééùåø', +insert_image_align_default : 'áøéøú îçãì', +insert_image_align_baseline : 'ì÷å äáñéñ', +insert_image_align_top : 'ìîòìä', +insert_image_align_middle : 'ìàîöò', +insert_image_align_bottom : 'ìîèä', +insert_image_align_texttop : 'ìøàù äè÷ñè', +insert_image_align_absmiddle : 'ìàîöò îåçìè', +insert_image_align_absbottom : 'ì÷öä úçúåï îåçìè', +insert_image_align_left : 'ìùîàì', +insert_image_align_right : 'ìéîéï', +theme_font_size : 'âåãì âåôï', +theme_fontdefault : '-- îùôçú âåôðéí --', +theme_block : '-- òéöåá --', +theme_paragraph : 'ôñ÷ä', +theme_div : '÷èò', +theme_address : 'ëúåáú', +theme_pre : 'îòåöá îøàù', +theme_h1 : 'ëåúøú 1', +theme_h2 : 'ëåúøú 2', +theme_h3 : 'ëåúøú 3', +theme_h4 : 'ëåúøú 4', +theme_h5 : 'ëåúøú 5', +theme_h6 : 'ëåúøú 6', +theme_colorpicker_title : 'áçø öáò', +theme_colorpicker_apply : 'äçì', +theme_forecolor_desc : 'áçø öáò è÷ñè', +theme_backcolor_desc : 'áçø öáò ø÷ò', +theme_charmap_title : 'áçø úå îéåçã', +theme_charmap_desc : 'äëðñ úå îéåçã', +theme_visualaid_desc : 'äçìó îöá ÷ååéí îðçéí/øëéáéí áìúé-ðøàéí', +insert_anchor_title : 'äëðñ/òøåê òåâï', +insert_anchor_name : 'ùí äòåâï', +theme_anchor_desc : 'äëðñ/òøåê òåâï', +theme_insert_link_titlefield : 'ëåúøú', +theme_clipboard_msg : 'ôòåìåú äòú÷ä/âæéøä/äãá÷ä àéðï ðúîëåú úçú Mozilla å-Firefox.\näàí áøöåðê ì÷áì îéãò ðåñó àåãåú ðåùà æä?', +theme_path : 'ðúéá', +cut_desc : 'âæåø', +copy_desc : 'äòú÷', +paste_desc : 'äãá÷', +link_list : 'øùéîú ÷éùåøéí', +image_list : 'øùéîú úîåðåú', +browse : 'ñééø', +image_props_desc : 'îàôééðé úîåðä', +newdocument_desc : 'îñîê çãù', +class_name : 'îçì÷ä', +newdocument : 'äàí àúä áèåç ùáøöåðê ìð÷åú àú ëì äúåëï?', +about_title : 'àåãåú TinyMCE', +about : 'àåãåú', +license : 'øéùéåï', +plugins : 'úåñôéí', +plugin : 'úåñó', +author : 'îçáø', +version : 'âøñä', +loaded_plugins : 'úåñôéí ôòéìéí', +help : 'òæøä', +not_set : '-- ìà îåâãø --', +close : 'ñâéøä' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/hu.js b/webcit/tiny_mce/themes/advanced/langs/hu.js new file mode 100644 index 000000000..49535b002 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/hu.js @@ -0,0 +1,75 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '-- Stílusok --', +theme_code_desc : 'HTML forrás szerkesztése', +theme_code_title : 'HTML forrás szerkesztõ', +theme_code_wordwrap : 'Sortördelés', +theme_sub_desc : 'Alsóindex', +theme_sup_desc : 'Felsõindex', +theme_hr_desc : 'Vizszíntes vonal beszúrása', +theme_removeformat_desc : 'Formázás eltávolítása', +theme_custom1_desc : 'Az egyéni leírásod jön ide', +insert_image_border : 'Keret', +insert_image_dimensions : 'Kiterjedés', +insert_image_vspace : 'Függõleges terület', +insert_image_hspace : 'Vizszintes terület', +insert_image_align : 'Elhelyezkedés', +insert_image_align_default : '-- Nincs beállítva --', +insert_image_align_baseline : 'Baseline', +insert_image_align_top : 'Felül', +insert_image_align_middle : 'Középen', +insert_image_align_bottom : 'Alul', +insert_image_align_texttop : 'Szövegfelett', +insert_image_align_absmiddle : 'Abszolút közép', +insert_image_align_absbottom : 'Abszolút alatt', +insert_image_align_left : 'Balra', +insert_image_align_right : 'Jobbra', +theme_font_size : '-- Betûméret --', +theme_fontdefault : '-- Betûcsalád --', +theme_block : '-- Formátum --', +theme_paragraph : 'Bekezdés', +theme_div : 'Div', +theme_address : 'Cím', +theme_pre : 'Elõreformázott', +theme_h1 : 'Fejléc 1', +theme_h2 : 'Fejléc 2', +theme_h3 : 'Fejléc 3', +theme_h4 : 'Fejléc 4', +theme_h5 : 'Fejléc 5', +theme_h6 : 'Fejléc 6', +theme_colorpicker_title : 'Színválasztás', +theme_colorpicker_apply : 'Alkalmaz', +theme_forecolor_desc : 'Szövegszín választás', +theme_backcolor_desc : 'Háttérszín választás', +theme_charmap_title : 'Egyéni karakter választás', +theme_charmap_desc : 'Egyéni karakter beszúrás', +theme_visualaid_desc : 'Sorjelölõk/láthatatlan elemek kapcsolása', +insert_anchor_title : 'Horgony nbeillesztése/szerkesztése', +insert_anchor_name : 'Horgony név', +theme_anchor_desc : 'Horgony nbeillesztése/szerkesztése', +theme_insert_link_titlefield : 'Cím', +theme_clipboard_msg : 'A Másolás/Kivágás/Beillesztés nem elérhetõ Mozillában and Firefox-ban.\nSzeretnél több információt errõl a problémáról?', +theme_path : 'Útvonal', +cut_desc : 'Kivágás', +copy_desc : 'Másolás', +paste_desc : 'Beillesztés', +link_list : 'Link lista', +image_list : 'Kép lista', +browse : 'Tallózás', +image_props_desc : 'Kép tulajdonságai', +newdocument_desc : 'Új dokumentum', +class_name : 'Osztály', +newdocument : 'Biztos hogy törölni akarod az összes tartalmat?', +about_title : 'TinyMCE névjegye', +about : 'Névjegy', +license : 'Licensz', +plugins : 'Bõvítmények', +plugin : 'Bõvítmény', +author : 'Szerzõ', +version : 'Verzió', +loaded_plugins : 'Betöltött bõvítmények', +help : 'Súgó', +not_set : '-- Nincs beállítva --', +close : 'Bezárás' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/it.js b/webcit/tiny_mce/themes/advanced/langs/it.js new file mode 100644 index 000000000..65faaa471 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/it.js @@ -0,0 +1,64 @@ +// Variabili di lingua IT - fabrix.xm@lombardiacom.it + +tinyMCE.addToLang('',{ +theme_style_select : 'Stili', +theme_code_desc : 'Edita il sorgente HTML', +theme_code_title : 'Editor Sorgente HTML', +theme_code_wordwrap : 'Word wrap', +theme_sub_desc : 'Pedice', +theme_sup_desc : 'Apice', +theme_hr_desc : 'Inserisce linea orizzontale', +theme_removeformat_desc : 'Rimuovi formattazione', +theme_custom1_desc : 'Scrivi qui la tua descrizione personalizzata', +insert_image_border : 'Bordo', +insert_image_dimensions : 'Dimensioni', +insert_image_vspace : 'Spazio verticale', +insert_image_hspace : 'Spazio orizzontale', +insert_image_align : 'Allineamento', +insert_image_align_default : 'Default', +insert_image_align_baseline : 'Baseline', +insert_image_align_top : 'Superiore', +insert_image_align_middle : 'Centrale', +insert_image_align_bottom : 'Inferiore', +insert_image_align_texttop : 'TextTop', +insert_image_align_absmiddle : 'Centro assoluto', +insert_image_align_absbottom : 'Inferiore assoluto', +insert_image_align_left : 'Sinistra', +insert_image_align_right : 'Destra', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : 'Paragrafo', +theme_div : 'Div', +theme_address : 'Indirizzo', +theme_pre : 'Preformattato', +theme_h1 : 'Intestazione 1', +theme_h2 : 'Intestazione 2', +theme_h3 : 'Intestazione 3', +theme_h4 : 'Intestazione 4', +theme_h5 : 'Intestazione 5', +theme_h6 : 'Intestazione 6', +theme_colorpicker_title : 'Seleziona un colore', +theme_colorpicker_apply : 'Appplica', +theme_forecolor_desc : 'Seleziona il colore', +theme_backcolor_desc : 'Select background color', +theme_charmap_title : 'Seleziona un carattere custom', +theme_charmap_desc : 'Inserisci un carattere custom', +theme_visualaid_desc : 'Mostra/nascondi linee guida e elementi invisibili', +insert_anchor_title : 'Inserisci/modifica àncora', +insert_anchor_name : 'Nome àncora', +theme_anchor_desc : 'Inserisci/modifica àncora', +theme_insert_link_titlefield : 'Titolo', +theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +theme_path : 'Path', +cut_desc : 'Cut', +copy_desc : 'Copy', +paste_desc : 'Paste', +link_list : 'Link list', +image_list : 'Image list', +browse : 'Browse', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +class_name : 'Classe', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/ja.js b/webcit/tiny_mce/themes/advanced/langs/ja.js new file mode 100644 index 000000000..08d0abfc5 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/ja.js @@ -0,0 +1,62 @@ +// JP lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '$B%9%?%$%k(B', +theme_paragraph : '$BJ8L.(B', +theme_address : '$B%"%I%l%9(B', +theme_pre : '$B@07A:Q$_(B', +theme_h1 : 'H1', +theme_h2 : 'H2', +theme_h3 : 'H3', +theme_h4 : 'H4', +theme_h5 : 'H5', +theme_h6 : 'H6', +theme_div : 'Div', +insert_anchor_title : '$B%"%s%+!<$NA^F~(B/$BJT=8(B', +insert_anchor_name : '$B%"%s%+!<$NL>A0(B', +theme_anchor_desc : '$B%"%s%+!<$NA^F~(B/$BJT=8(B', +theme_code_desc : 'HTML$B$ND>@\JT=8(B', +theme_code_title : 'HTML$B$NJT=8(B', +theme_code_wordwrap : 'Word wrap', +theme_hr_desc : '$B?eJ?@~(B', +theme_removeformat_desc : '$B@07A>pJs:o=|(B', +theme_visualaid_desc : '$BJd=u>pJs$N;k3P2=(B($B%H%0%k(B)', +theme_sub_desc : '$BE:;z2<(B', +theme_sup_desc : '$BE:;z>e(B', +theme_charmap_desc : '$BFCGr(B', +insert_image_hspace : '$B2#M>Gr(B', +insert_image_align : '$B0LCV9g$o$;(B', +insert_image_align_default : '$B0EL[(B', +insert_image_align_baseline : '$B4p=`@~(B', +insert_image_align_top : '$B>e(B', +insert_image_align_middle : '$BCf(B', +insert_image_align_bottom : '$B2<(B', +insert_image_align_texttop : '$BJ8;z$N>e(B', +insert_image_align_absmiddle : '$B@dBP$KCf(B', +insert_image_align_absbottom : '$B@dBP$K2<(B', +insert_image_align_left : '$B:8(B', +insert_image_align_right : '$B1&(B', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_colorpicker_title : '$B?\'$N;XDj(B', +theme_colorpicker_apply : '$BE,MQ(B', +theme_forecolor_desc : '$BA07J?\'(B', +theme_backcolor_desc : 'Select background color', +theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +theme_path : 'Path', +cut_desc : 'Cut', +copy_desc : 'Copy', +paste_desc : 'Paste', +link_list : 'Link list', +image_list : 'Image list', +browse : 'Browse', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +class_name : '$B%/%i%9(B', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/ko.js b/webcit/tiny_mce/themes/advanced/langs/ko.js new file mode 100644 index 000000000..cff48a8e6 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/ko.js @@ -0,0 +1,65 @@ +// KO lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '½ºÅ¸ÀÏ', +theme_code_desc : 'HTML ¼Ò½º °íÄ¡±â', +theme_code_title : 'HTML ¼Ò½º ÆíÁý±â', +theme_code_wordwrap : 'Word wrap', +theme_code_save : 'ÀúÀå', +theme_sub_desc : '¾Æ·¡Ã·ÀÚ', +theme_sup_desc : 'À§Ã·ÀÚ', +theme_hr_desc : '°¡·ÎÁÙ ³Ö±â', +theme_removeformat_desc : '¼Ó¼º Áö¿ì±â', +theme_custom1_desc : 'Your custom description here', +insert_image_border : 'Å׵θ®', +insert_image_dimensions : 'Å©±â', +insert_image_vspace : '¼¼·Î ¿©¹é', +insert_image_hspace : '°¡·Î ¿©¹é', +insert_image_align : 'Á¤·Ä', +insert_image_align_default : '±âº»°ª', +insert_image_align_baseline : 'Baseline', +insert_image_align_top : 'Top', +insert_image_align_middle : 'Middle', +insert_image_align_bottom : 'Bottom', +insert_image_align_texttop : 'TextTop', +insert_image_align_absmiddle : 'Absolute Middle', +insert_image_align_absbottom : 'Absolute Bottom', +insert_image_align_left : 'Left', +insert_image_align_right : 'Right', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : '´Ü¶ô', +theme_div : 'Div', +theme_address : 'ÁÖ¼Ò', +theme_pre : '¼­½Ä ÀÖÀ½', +theme_h1 : 'Á¦¸ñ 1', +theme_h2 : 'Á¦¸ñ 2', +theme_h3 : 'Á¦¸ñ 3', +theme_h4 : 'Á¦¸ñ 4', +theme_h5 : 'Á¦¸ñ 5', +theme_h6 : 'Á¦¸ñ 6', +theme_colorpicker_title : '»ö»ó ¼±ÅÃ', +theme_colorpicker_apply : 'Àû¿ë', +theme_forecolor_desc : '±ÛÀÚ »ö»ó', +theme_backcolor_desc : 'Select background color', +theme_charmap_title : 'Select custom character', +theme_charmap_desc : 'Insert custom character', +theme_visualaid_desc : 'Toggle guidelines/invisible elements', +insert_anchor_title : '¾ÞÄ¿ ³Ö±â/°íÄ¡±â', +insert_anchor_name : '¾ÞÄ¿ À̸§', +theme_anchor_desc : '¾ÞÄ¿ ³Ö±â/°íÄ¡±â', +theme_insert_link_titlefield : 'Á¦¸ñ', +theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +theme_path : 'Path', +cut_desc : 'Cut', +copy_desc : 'Copy', +paste_desc : 'Paste', +link_list : 'Link list', +image_list : 'Image list', +browse : 'Browse', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +class_name : 'Ŭ·¡½º', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/nl.js b/webcit/tiny_mce/themes/advanced/langs/nl.js new file mode 100644 index 000000000..f1585225c --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/nl.js @@ -0,0 +1,66 @@ +// NL lang variables + +tinyMCE.addToLang('',{ +theme_style_select : 'Stijlen', +theme_code_desc : 'Toon/bewerk HTML broncode', +theme_code_title : 'HTML broncode editor', +theme_code_wordwrap : 'Word wrap', +theme_sub_desc : 'Subscript', +theme_sup_desc : 'Superscript', +theme_hr_desc : 'Invoegen horizontale lijn', +theme_removeformat_desc : 'Verwijder opmaak', +theme_custom1_desc : 'Uw eigen omschrijving hier', +insert_image_border : 'Omranding (pixels)', +insert_image_dimensions : 'Afmetingen (Leeg: Originele afm.)', +insert_image_vspace : 'Verticale marge (pixels)', +insert_image_hspace : 'Horizontale marge (pixels)', +insert_image_align : 'Uitlijning', +insert_image_align_default : 'Standaard', +insert_image_align_baseline : 'Basislijn', +insert_image_align_top : 'Boven', +insert_image_align_middle : 'Midden', +insert_image_align_bottom : 'Onder', +insert_image_align_texttop : 'TextTop', +insert_image_align_absmiddle : 'Absoluut Midden', +insert_image_align_absbottom : 'Absoluut Onder', +insert_image_align_left : 'Links', +insert_image_align_right : 'Rechts', +insert_image_delta_height : 0, +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : 'Paragraaf', +theme_div : 'Div', +theme_address : 'Adres', +theme_pre : 'voorgeformatteerd', +theme_h1 : 'Titel 1', +theme_h2 : 'Titel 2', +theme_h3 : 'Titel 3', +theme_h4 : 'Titel 4', +theme_h5 : 'Titel 5', +theme_h6 : 'Titel 6', +theme_colorpicker_title : 'Kies een kleur', +theme_colorpicker_apply : 'Toepassen', +theme_forecolor_desc : 'Selecteer voorgrondkleur', +theme_backcolor_desc : 'Select background color', +theme_charmap_title : 'Kies een bijzonder karakter', +theme_charmap_desc : 'Voeg een bijzonder karakter in', +theme_preview_desc : 'Toon de pagina in een nieuw venster', +theme_visualaid_desc : 'Toon/verberg hulplijnen', +insert_anchor_title : 'Anker toevoegen/wijzigen', +insert_anchor_name : 'Anker naam', +theme_anchor_desc : 'Anker toevoegen/wijzigen', +theme_insert_link_titlefield : 'Titel', +theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +theme_path : 'Path', +cut_desc : 'Cut', +copy_desc : 'Copy', +paste_desc : 'Paste', +link_list : 'Link list', +image_list : 'Image list', +browse : 'Browse', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +class_name : 'CSS-Stijl', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/no.js b/webcit/tiny_mce/themes/advanced/langs/no.js new file mode 100644 index 000000000..2952dcbb9 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/no.js @@ -0,0 +1,77 @@ +// NO lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +theme_style_select : 'Stiler', +theme_code_desc : 'Redigere HTML Koden', +theme_code_title : 'HTML Kildekode Redigering', +theme_code_wordwrap : 'Word wrap', +theme_sub_desc : 'Nedsenkt skrift', +theme_sup_desc : 'Opphød skrift', +theme_hr_desc : 'Sett inn horisontal linje', +theme_removeformat_desc : 'Fjern formatering', +theme_custom1_desc : 'Din spesialfunksjons beskrivelse her', +insert_image_border : 'Ramme', +insert_image_dimensions : 'Dimensjoner', +insert_image_vspace : 'Vertikalt tomrom', +insert_image_hspace : 'Horisontalt tomrom', +insert_image_align : 'Justering', +insert_image_align_default : 'Intet', +insert_image_align_baseline : 'Bunnlinjen', +insert_image_align_top : 'Lengst opp', +insert_image_align_middle : 'Midten', +insert_image_align_bottom : 'Lengst ned', +insert_image_align_texttop : 'Tekstens topp', +insert_image_align_absmiddle : 'Absolutt midten', +insert_image_align_absbottom : 'Absolutt lengst ned', +insert_image_align_left : 'Venstre', +insert_image_align_right : 'Høyre', +insert_image_delta_width : 30, +insert_image_delta_height : 10, +theme_font_size : '-- Font størrelse --', +theme_fontdefault : '-- Font familie --', +theme_block : '-- Format --', +theme_paragraph : 'Paragraf', +theme_div : 'Div', +theme_address : 'Addresse', +theme_pre : 'Pre-formattert', +theme_h1 : 'Overskrift 1', +theme_h2 : 'Overskrift 2', +theme_h3 : 'Overskrift 3', +theme_h4 : 'Overskrift 4', +theme_h5 : 'Overskrift 5', +theme_h6 : 'Overskrift 6', +theme_colorpicker_title : 'Velg en farge', +theme_colorpicker_apply : 'Bruk', +theme_forecolor_desc : 'Velg forgrunnsfarge', +theme_backcolor_desc : 'Velg bakgrunnsfarge', +theme_charmap_title : 'Velg spesialtegn', +theme_charmap_desc : 'Sett inn spesialtegn', +theme_visualaid_desc : 'Slå av/på usynlige elementer', +insert_anchor_title : 'Opprette/endre anker', +insert_anchor_name : 'Ankernavn', +theme_anchor_desc : 'Opprett/endre anker', +theme_insert_link_titlefield : 'Tittel', +theme_clipboard_msg : 'Kopier/Klipp ut/Lim inn er ikke tilgjengelig i Mozilla/Firefox.\nVil du ha mere informasjon om dette?', +theme_path : 'Søkevei', +cut_desc : 'Klipp ut', +copy_desc : 'Kopier', +paste_desc : 'Lim inn', +link_list : 'Link liste', +image_list : 'Image liste', +browse : 'Bla gjennom', +image_props_desc : 'Image egenskaper', +newdocument_desc : 'Nytt dokument', +class_name : 'Stil', +newdocument : 'Er du sikker på at du vil tømme hele redigerings området?', +about_title : 'Om TinyMCE', +about : 'Om', +license : 'Lisens', +plugins : 'Innstikksprogrammer', +plugin : 'Innstikksprogram', +author : 'Utviklere', +version : 'Versjon', +loaded_plugins : 'Lastet innstikksprogram', +help : 'Hjelp', +not_set : '-- Ikke satt --', +close : 'Stopp' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/pl.js b/webcit/tiny_mce/themes/advanced/langs/pl.js new file mode 100644 index 000000000..89e20d97c --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/pl.js @@ -0,0 +1,64 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +theme_style_select : 'Styl', +theme_code_desc : 'Edytuj zródlo html', +theme_code_title : 'Edytor zródla html', +theme_code_wordwrap : 'Zwijanie wierszy', +theme_sub_desc : 'Nadpisywanie', +theme_sup_desc : 'Podpisywanie', +theme_hr_desc : 'Wstaw pozioma linie', +theme_removeformat_desc : 'Usun formatowanie', +theme_custom1_desc : 'Wstaw wlasny opis', +insert_image_border : 'Ramka', +insert_image_dimensions : 'Wymiary', +insert_image_vspace : 'VSpace', +insert_image_hspace : 'HSpace', +insert_image_align : 'Otaczanie', +insert_image_align_default : 'Domyslne', +insert_image_align_baseline : 'Glówne', +insert_image_align_top : 'Górne', +insert_image_align_middle : 'Srodkowe', +insert_image_align_bottom : 'Dolne', +insert_image_align_texttop : 'Tekst powyzej', +insert_image_align_absmiddle : 'Absolutny srodek', +insert_image_align_absbottom : 'Absolutny dól', +insert_image_align_left : 'Lewe', +insert_image_align_right : 'Prawe', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : '-- Paragraf --', +theme_div : 'Div', +theme_address : 'Adres', +theme_pre : 'Preformatowanie', +theme_h1 : 'Naglówek 1', +theme_h2 : 'Naglówek 2', +theme_h3 : 'Naglówek 3', +theme_h4 : 'Naglówek 4', +theme_h5 : 'Naglówek 5', +theme_h6 : 'Naglówek 6', +theme_colorpicker_title : 'Wybierz kolor', +theme_colorpicker_apply : 'Wybierz', +theme_forecolor_desc : 'Wybierz kolor tekstu', +theme_backcolor_desc : 'Wybierz kolor tla', +theme_charmap_title : 'Wybierz znak', +theme_charmap_desc : 'Wstaw znak', +theme_visualaid_desc : 'Toggle guidelines/invisible elements', +insert_anchor_title : 'Kotwica', +insert_anchor_name : 'Nazwa kotwicy', +theme_anchor_desc : 'Wstaw/Edytuj kotwice', +theme_insert_link_titlefield : 'Tytul', +theme_clipboard_msg : 'Kopiuj/Edytuj/Wklej nie jest dostepne w przegladarkach Mozilla and Firefox.\nPotrzebujesz wiecej informacji na ten temat?', +theme_path : 'Sciezka', +cut_desc : 'Wytnij', +copy_desc : 'Kopiuj', +paste_desc : 'Wklej', +link_list : 'Lista linków', +image_list : 'Lista obrazków', +browse : 'Przegladaj', +image_props_desc : 'Wlasciwosci obrazka', +newdocument_desc : 'New document', +class_name : 'Klasa', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/pt.js b/webcit/tiny_mce/themes/advanced/langs/pt.js new file mode 100644 index 000000000..3980d6c66 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/pt.js @@ -0,0 +1,65 @@ +// PT lang variables + +tinyMCE.addToLang('',{ +theme_style_select : 'Estilos CSS', +theme_code_desc : 'Editar Fonte HTML', +theme_code_title : 'Editor de fonte HTML', +theme_code_save : 'Guardar', +theme_code_wordwrap : 'Translinear palavras', +theme_sub_desc : 'Subscrito', +theme_sup_desc : 'Superscrito', +theme_hr_desc : 'Inserir linha horizontal', +theme_removeformat_desc : 'Remover formatação', +theme_custom1_desc : 'Descrição customizada aqui', +insert_image_border : 'Borda', +insert_image_dimensions : 'Dimensões', +insert_image_vspace : 'Espaçamento Vert.', +insert_image_hspace : 'Espaçamento Horiz.', +insert_image_align : 'Alinhamento', +insert_image_align_default : 'Por omissão', +insert_image_align_baseline : 'Linha de base', +insert_image_align_top : 'Topo', +insert_image_align_middle : 'Centrado', +insert_image_align_bottom : 'Fundo', +insert_image_align_texttop : 'Topo do Texto', +insert_image_align_absmiddle : 'Centrado absoluto', +insert_image_align_absbottom : 'Fundo absoluto', +insert_image_align_left : 'Esquerda', +insert_image_align_right : 'Direita', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : 'Parágrafo', +theme_div : 'Bloco HTML', +theme_address : 'Morada', +theme_pre : 'Pré formatado', +theme_h1 : 'Título 1', +theme_h2 : 'Título 2', +theme_h3 : 'Título 3', +theme_h4 : 'Título 4', +theme_h5 : 'Título 5', +theme_h6 : 'Título 6', +theme_colorpicker_title : 'Seleccione uma côr', +theme_colorpicker_apply : 'Aplicar', +theme_forecolor_desc : 'Seleccione côr da frente', +theme_backcolor_desc : 'Select background color', +theme_charmap_title : 'Seleccione símbolo customizado', +theme_charmap_desc : 'Inserir símbolo customizado', +theme_visualaid_desc : 'Ligar/Desligar guias/elementos invisíveis', +insert_anchor_title : 'Inserir/editar âncora', +insert_anchor_name : 'Nome da âncora', +theme_anchor_desc : 'Inserir/editar âncora', +theme_insert_link_titlefield : 'Título', +theme_clipboard_msg : 'Copiar/Cortar/Colar não está disponível em Mozilla e Firefox.\nPretende obter mais informação acerca deste assunto?', +theme_path : 'Path', +cut_desc : 'Cortar', +copy_desc : 'Copiar', +paste_desc : 'Colar', +link_list : 'Link list', +image_list : 'Image list', +browse : 'Browse', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +class_name : 'Classe de CSS', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/pt_br.js b/webcit/tiny_mce/themes/advanced/langs/pt_br.js new file mode 100644 index 000000000..52c24e031 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/pt_br.js @@ -0,0 +1,64 @@ +// pt_BR lang variables + +tinyMCE.addToLang('',{ +theme_style_select : 'Estilos', +theme_code_desc : 'Editar Código HTML', +theme_code_title : 'Editor de Código HTML', +theme_code_wordwrap : 'Quebrar Linhas', +theme_sub_desc : 'Subscrito', +theme_sup_desc : 'Subrescrito', +theme_hr_desc : 'Inserir linha horizontal', +theme_removeformat_desc : 'Remover formatação', +theme_custom1_desc : 'Sua descrição personalizada aqui', +insert_image_border : 'Borda', +insert_image_dimensions : 'Dimensões', +insert_image_vspace : 'Espaço Vertical', +insert_image_hspace : 'Espaço Horizontal', +insert_image_align : 'Alinhamento', +insert_image_align_default : 'Padrão', +insert_image_align_baseline : 'Linha base', +insert_image_align_top : 'Topo', +insert_image_align_middle : 'Centro', +insert_image_align_bottom : 'Fundo', +insert_image_align_texttop : 'Texto ao Topo', +insert_image_align_absmiddle : 'Centro Absoluto', +insert_image_align_absbottom : 'Fundo Absoluto', +insert_image_align_left : 'Esquerda', +insert_image_align_right : 'Direita', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : 'Parágrafo', +theme_div : 'Div', +theme_address : 'Endereço', +theme_pre : 'Pré-formatado', +theme_h1 : 'Cabeçalho 1', +theme_h2 : 'Cabeçalho 2', +theme_h3 : 'Cabeçalho 3', +theme_h4 : 'Cabeçalho 4', +theme_h5 : 'Cabeçalho 5', +theme_h6 : 'Cabeçalho 6', +theme_colorpicker_title : 'Selecionar cor', +theme_colorpicker_apply : 'Aplicar', +theme_forecolor_desc : 'Selecionar cor do texto', +theme_backcolor_desc : 'Selecionar cor de fundo', +theme_charmap_title : 'Selecionar caractere especial', +theme_charmap_desc : 'Inserir caractere especial', +theme_visualaid_desc : 'Tornar linhas visíveis/invisíveis', +insert_anchor_title : 'Inserir/editar âncora', +insert_anchor_name : 'Nome da âncora', +theme_anchor_desc : 'Inserir/editar âncora', +theme_insert_link_titlefield : 'Título', +theme_clipboard_msg : 'Copiar/Recortar/Colar não é permitido no Mozilla e Firefox.\nQuer mais informações sobre isso?', +theme_path : 'Caminho', +cut_desc : 'Recortar', +copy_desc : 'Copiar', +paste_desc : 'Colar', +link_list : 'Lista de Links', +image_list : 'Lista de Imagens', +browse : 'Navegar', +image_props_desc : 'Propriedades da Imagem', +newdocument_desc : 'New document', +class_name : 'Class', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/readme.txt b/webcit/tiny_mce/themes/advanced/langs/readme.txt new file mode 100644 index 000000000..ef48d2ba4 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/readme.txt @@ -0,0 +1,4 @@ +Theme specific language packs. + +The language pack codes are based on ISO-639-2 +http://www.loc.gov/standards/iso639-2/englangn.html diff --git a/webcit/tiny_mce/themes/advanced/langs/sv.js b/webcit/tiny_mce/themes/advanced/langs/sv.js new file mode 100644 index 000000000..fc25a7fc6 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/sv.js @@ -0,0 +1,77 @@ +// SE lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '-- Stilar --', +theme_code_desc : 'Editera HTML-koden', +theme_code_title : 'HTML-källkodseditor', +theme_code_wordwrap : 'Automatiskt radbyte', +theme_sub_desc : 'Nedsänkt text', +theme_sup_desc : 'Upphöjd text', +theme_hr_desc : 'Sätt in horisontell linje', +theme_removeformat_desc : 'Ta bort formatering', +theme_custom1_desc : 'Din specialbeskriving här', +insert_image_border : 'Ram', +insert_image_dimensions : 'Dimensioner', +insert_image_vspace : 'Vertikalt tomrum', +insert_image_hspace : 'Horisontellt tomrum', +insert_image_align : 'Justering', +insert_image_align_default : 'Ingen', +insert_image_align_baseline : 'Bottenlinjen', +insert_image_align_top : 'Längst upp', +insert_image_align_middle : 'Mitten', +insert_image_align_bottom : 'Längst ner', +insert_image_align_texttop : 'Textens top', +insert_image_align_absmiddle : 'Absoluta mitten', +insert_image_align_absbottom : 'Absolut längst ner', +insert_image_align_left : 'Vänster', +insert_image_align_right : 'Höger', +insert_image_delta_width : 30, +insert_image_delta_height : 10, +theme_font_size : '-- Fontstorlek --', +theme_fontdefault : '-- Font familj --', +theme_block : '-- Stycke --', +theme_paragraph : 'Paragraf', +theme_div : 'Div', +theme_address : 'Adress', +theme_pre : 'Förformatterad', +theme_h1 : 'Rubrik 1', +theme_h2 : 'Rubrik 2', +theme_h3 : 'Rubrik 3', +theme_h4 : 'Rubrik 4', +theme_h5 : 'Rubrik 5', +theme_h6 : 'Rubrik 6', +theme_colorpicker_title : 'Välj en färg', +theme_colorpicker_apply : 'Verkställ', +theme_forecolor_desc : 'Välj förgrundsfärg', +theme_backcolor_desc : 'Välj bakgrundsfärg', +theme_charmap_title : 'Välj specialtecken', +theme_charmap_desc : 'Sätt in specialtecken', +theme_visualaid_desc : 'Slå av/på osynliga element', +insert_anchor_title : 'Skapa/redigera ankare', +insert_anchor_name : 'Ankarnamn', +theme_anchor_desc : 'Skapa/redigera ankare', +theme_insert_link_titlefield : 'Titel', +theme_clipboard_msg : 'Klipput/Kopiera/Klistra fungerar inte Mozilla och Firefox. Vill du veta mer om detta?', +theme_path : 'Sökväg', +cut_desc : 'Klipp ut', +copy_desc : 'Kopiera', +paste_desc : 'Klistra in', +link_list : 'Länkar', +image_list : 'Bilder', +browse : 'Bläddra', +image_props_desc : 'Bild egenskaper', +newdocument_desc : 'Nytt dokument', +class_name : 'Stil', +newdocument : 'Är du säker på att du vill tömma hela redigerings ytan?', +about_title : 'Om TinyMCE', +about : 'Om', +license : 'Licens', +plugins : 'Insticksprogram', +plugin : 'Insticksprogram', +author : 'Utvecklare', +version : 'Version', +loaded_plugins : 'Laddade insticksprogram', +help : 'Hjälp', +not_set : '-- Inte satt --', +close : 'Stäng' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/tw.js b/webcit/tiny_mce/themes/advanced/langs/tw.js new file mode 100644 index 000000000..4c9ba4499 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/tw.js @@ -0,0 +1,91 @@ +// TW lang variables contributed by Jim Kou + +tinyMCE.addToLang('',{ +bold_desc : '²ÊÅé', +bold_img : "bold.gif", +bullist_desc : '²Å¸¹¶µ¥Ø', +cancel : '¨ú®ø', +cleanup_desc : '²M°£', +help_desc : '»²§U»¡©ú', +image_desc : '¹Ï¤ù', +indent_desc : 'ÁY±Æ', +insert : '·s¼W', +insert_anchor_name : '¼Ðµù¦WºÙ', +insert_anchor_title : '·s¼W¼Ðµù', +insert_image_align : '¹ï»ô', +insert_image_align_absbottom : '±j¨î»ô¤U', +insert_image_align_absmiddle : '±j¨î¸m¤¤', +insert_image_align_baseline : '°ò·Ç½u', +insert_image_align_bottom : '»ô¤U', +insert_image_align_default : '¼Ð·Ç', +insert_image_align_left : '»ô¥ª', +insert_image_align_middle : '¸m¤¤', +insert_image_align_right : '»ô¥k', +insert_image_align_texttop : '¤å¦r¤W¤è', +insert_image_align_top : '»ô¤W', +insert_image_alt : '¹Ï¤ù»¡©ú', +insert_image_border : '¥~®Ø', +insert_image_dimensions : '¤Ø¤o', +insert_image_hspace : '¤ô¥­¶¡»Ø', +insert_image_src : '¹Ï¤ù¨Ó·½', +insert_image_title : '·s¼W¹Ï¤ù', +insert_image_vspace : '««ª½¶¡»Ø', +insert_link_target : '¥Ø¼Ð', +insert_link_target_blank : 'Åã¥Ü©ó·sµøµ¡¤¤', +insert_link_target_same : 'Åã¥Ü©ó¦P¤@µøµ¡¤¤', +insert_link_title : '·s¼W¶W³sµ²', +insert_link_url : '¶W³sµ²', +italic_desc : '±×Åé', +italic_img : "italic.gif", +justifycenter_desc : '»ô¤¤', +justifyfull_desc : '¶ñº¡', +justifyleft_desc : '»ô¥ª', +justifyright_desc : '»ô¥k', +link_desc : '«Ø¥ß³sµ²', +numlist_desc : '¼Æ¦r¶µ¥Ø', +outdent_desc : '¥Y±Æ', +redo_desc : '­«°µ', +striketrough_desc : '§R°£½u', +theme_address : '¦a§}', +theme_anchor_desc : '¼Ðµù', +theme_charmap_desc : '¯S®í¦r¤¸', +theme_charmap_title : '¯S®í¦r¤¸²M³æ', +theme_code_desc : 'Åã¥Ü HTML ­ì©l½X', +theme_code_wordwrap : 'Word wrap', +theme_code_title : 'HTML ­ì©l½X', +theme_colorpicker_apply : 'Åܧó', +theme_colorpicker_title : 'ÃC¦â', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_forecolor_desc : '¦r«¬ÃC¦â', +theme_backcolor_desc : 'Select background color', +theme_h1 : '¼ÐÃD1', +theme_h2 : '¼ÐÃD2', +theme_h3 : '¼ÐÃD3', +theme_h4 : '¼ÐÃD4', +theme_h5 : '¼ÐÃD5', +theme_h6 : '¼ÐÃD6', +theme_hr_desc : '·s¼W¾î½u', +theme_paragraph : '¬q¸¨', +theme_pre : '¤º©w®æ¦¡', +theme_removeformat_desc : '²M°£®æ¦¡³]©w', +theme_style_select : '¼Ë¦¡', +theme_sub_desc : '¤U¼Ð', +theme_sup_desc : '¤W¼Ð', +theme_visualaid_desc : 'Åã¥Ü/ÁôÂëD¥i¨£ªº¤¸¯À', +underline_desc : '©³½u', +undo_desc : '´_­ì', +unlink_desc : '¨ú®ø³sµ²', +theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +theme_path : 'Path', +cut_desc : 'Cut', +copy_desc : 'Copy', +paste_desc : 'Paste', +link_list : 'Link list', +image_list : 'Image list', +browse : 'Browse', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/webcit/tiny_mce/themes/advanced/langs/zh_cn.js b/webcit/tiny_mce/themes/advanced/langs/zh_cn.js new file mode 100644 index 000000000..0233d234e --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/langs/zh_cn.js @@ -0,0 +1,65 @@ +// Simplified Chinese lang variables contributed by cube316 (cube316@gmail.com) +//Çë·ÃÎÊ http://www.cube316.net/ ÒÔ»ñÈ¡TinyMCEµÄÖÐÎÄÖ§³Ö + +tinyMCE.addToLang('',{ +theme_style_select : '¸ñʽ', +theme_code_desc : '±à¼­HTMLÔ´´úÂë', +theme_code_title : 'HTMLÔ´´úÂë±à¼­Æ÷', +theme_code_wordwrap : '×Ô¶¯»»ÐÐ', +theme_sub_desc : 'ϱê', +theme_sup_desc : 'Éϱê', +theme_hr_desc : '²åÈëˮƽÏß', +theme_removeformat_desc : 'ÒƳý¸ñʽ', +theme_custom1_desc : 'ÕâÀïÌîдÓû§×Ô¶¨ÒåµÄÃèÊö', +insert_image_border : '±ß¿ò', +insert_image_dimensions : 'άÊý', +insert_image_vspace : 'ˮƽ¼ä¾à', +insert_image_hspace : '´¹Ö±¼ä¾à', +insert_image_align : '¶ÔÆ뷽ʽ', +insert_image_align_default : 'ĬÈÏ', +insert_image_align_baseline : '»ùÏß', +insert_image_align_top : '¶¥¶Ë', +insert_image_align_middle : '¾ÓÖжÔÆë', +insert_image_align_bottom : 'µ×²¿', +insert_image_align_texttop : 'ÎÄ×ÖÉÏ·½', +insert_image_align_absmiddle : '¾ø¶Ô¾ÓÖÐ', +insert_image_align_absbottom : '¾ø¶Ôµ×²¿', +insert_image_align_left : '×ó¶ÔÆë', +insert_image_align_right : 'ÓÒ¶ÔÆë', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : '¶ÎÂä', +theme_div : '²ã', +theme_address : 'µØÖ·', +theme_pre : 'Ô¤¸ñʽ»¯µÄ', +theme_h1 : '±êÌâ 1', +theme_h2 : '±êÌâ 2', +theme_h3 : '±êÌâ 3', +theme_h4 : '±êÌâ 4', +theme_h5 : '±êÌâ 5', +theme_h6 : '±êÌâ 6', +theme_colorpicker_title : 'Ñ¡ÔñÑÕÉ«', +theme_colorpicker_apply : 'Ó¦ÓÃ', +theme_forecolor_desc : 'Ñ¡ÔñÎÄ×ÖÑÕÉ«', +theme_backcolor_desc : 'Ñ¡Ôñ±³¾°ÑÕÉ«', +theme_charmap_title : 'Ñ¡ÔñÌØÊâ·ûºÅ', +theme_charmap_desc : '²åÈëÌØÊâ·ûºÅ', +theme_visualaid_desc : '¿ª¹Ø²»¿É¼ûÔªËØ', +insert_anchor_title : '²åÈë/±à¼­ êµã', +insert_anchor_name : 'êµãÃû³Æ', +theme_anchor_desc : '²åÈë/±à¼­ êµã', +theme_insert_link_titlefield : '±êÌâ', +theme_clipboard_msg : '¼ôÇÐ/¸´ÖÆ/Õ³Ìù¹¦ÄÜÔÚMozillaºÍFirefoxÉÏÉв»¿ÉÓá£\nÄãÏëÁ˽â¹ØÓÚÕâ¸öÎÊÌâµÄ¸ü¶àÐÅÏ¢Âð£¿', +theme_path : '·¾¶', +cut_desc : '¼ôÇÐ', +copy_desc : '¸´ÖÆ', +paste_desc : 'Õ³Ìù', +link_list : 'Á´½ÓÁбí', +image_list : 'ͼÏñÁбí', +browse : 'ä¯ÀÀ', +image_props_desc : 'ͼÏñÊôÐÔ', +newdocument_desc : 'н¨Îĵµ', +class_name : 'Àà', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/webcit/tiny_mce/themes/advanced/link.htm b/webcit/tiny_mce/themes/advanced/link.htm new file mode 100644 index 000000000..a7137d5a7 --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/link.htm @@ -0,0 +1,91 @@ + + + {$lang_insert_link_title} + + + + + +
    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$lang_insert_link_title}
    {$lang_insert_link_url}: + + + + +
    {$lang_insert_link_target}:
    {$lang_theme_insert_link_titlefield}:
    {$lang_class_name}: +   
    +
    +
    + + diff --git a/webcit/tiny_mce/themes/advanced/source_editor.htm b/webcit/tiny_mce/themes/advanced/source_editor.htm new file mode 100644 index 000000000..7a96c263a --- /dev/null +++ b/webcit/tiny_mce/themes/advanced/source_editor.htm @@ -0,0 +1,29 @@ + + + + {$lang_theme_code_title} + + + + +
    +
    {$lang_theme_code_title}
    + +
    + +
    + + + +
    +
    + +
    + +
    + +
    +
    +
    + + diff --git a/webcit/tiny_mce/themes/simple/CVS/Entries b/webcit/tiny_mce/themes/simple/CVS/Entries new file mode 100644 index 000000000..97ccf5166 --- /dev/null +++ b/webcit/tiny_mce/themes/simple/CVS/Entries @@ -0,0 +1,4 @@ +D/css//// +D/images//// +/editor_template.js/1.1/Sun Sep 11 14:20:22 2005// +/editor_template_src.js/1.1/Sun Sep 11 14:20:22 2005// diff --git a/webcit/tiny_mce/themes/simple/CVS/Repository b/webcit/tiny_mce/themes/simple/CVS/Repository new file mode 100644 index 000000000..3c62fd1e6 --- /dev/null +++ b/webcit/tiny_mce/themes/simple/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/simple diff --git a/webcit/tiny_mce/themes/simple/CVS/Root b/webcit/tiny_mce/themes/simple/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/simple/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/simple/css/CVS/Entries b/webcit/tiny_mce/themes/simple/css/CVS/Entries new file mode 100644 index 000000000..ac879768e --- /dev/null +++ b/webcit/tiny_mce/themes/simple/css/CVS/Entries @@ -0,0 +1,4 @@ +/editor_content.css/1.1/Tue Aug 30 18:35:56 2005// +/editor_popup.css/1.1/Tue Aug 30 18:35:56 2005// +/editor_ui.css/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/themes/simple/css/CVS/Repository b/webcit/tiny_mce/themes/simple/css/CVS/Repository new file mode 100644 index 000000000..62ff27aca --- /dev/null +++ b/webcit/tiny_mce/themes/simple/css/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/simple/css diff --git a/webcit/tiny_mce/themes/simple/css/CVS/Root b/webcit/tiny_mce/themes/simple/css/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/simple/css/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/simple/css/editor_content.css b/webcit/tiny_mce/themes/simple/css/editor_content.css new file mode 100644 index 000000000..75290eed1 --- /dev/null +++ b/webcit/tiny_mce/themes/simple/css/editor_content.css @@ -0,0 +1,27 @@ +body { + background-color: #FFFFFF; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 10px; + scrollbar-3dlight-color: #F0F0EE; + scrollbar-arrow-color: #676662; + scrollbar-base-color: #F0F0EE; + scrollbar-darkshadow-color: #DDDDDD; + scrollbar-face-color: #E0E0DD; + scrollbar-highlight-color: #F0F0EE; + scrollbar-shadow-color: #F0F0EE; + scrollbar-track-color: #F5F5F5; +} + +td { + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 10px; +} + +pre { + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 10px; +} + +.mceVisualAid { + border: 1px dashed #BBBBBB; +} diff --git a/webcit/tiny_mce/themes/simple/css/editor_popup.css b/webcit/tiny_mce/themes/simple/css/editor_popup.css new file mode 100644 index 000000000..81a58d504 --- /dev/null +++ b/webcit/tiny_mce/themes/simple/css/editor_popup.css @@ -0,0 +1,41 @@ +body { + background-color: #F0F0EE; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 11px; + scrollbar-3dlight-color: #F0F0EE; + scrollbar-arrow-color: #676662; + scrollbar-base-color: #F0F0EE; + scrollbar-darkshadow-color: #DDDDDD; + scrollbar-face-color: #E0E0DD; + scrollbar-highlight-color: #F0F0EE; + scrollbar-shadow-color: #F0F0EE; + scrollbar-track-color: #F5F5F5; +} + +td { + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 11px; +} + +input { + background: #FFFFFF; + border: 1px solid #cccccc; +} + +td, input, select, textarea { + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 10px; +} + +input, select, textarea { + border: 1px solid #808080; +} + +.input_noborder { + border: 0px solid #808080; +} + +.title { + font-size: 12px; + font-weight: bold; +} \ No newline at end of file diff --git a/webcit/tiny_mce/themes/simple/css/editor_ui.css b/webcit/tiny_mce/themes/simple/css/editor_ui.css new file mode 100644 index 000000000..7f579810c --- /dev/null +++ b/webcit/tiny_mce/themes/simple/css/editor_ui.css @@ -0,0 +1,100 @@ +.mceButtonNormal, .mceButtonOver, .mceButtonDown, .mceSeparator, .mceButtonDisabled, .mceButtonSelected { + margin-top: 1px; + margin-left: 1px; +} + +.mceButtonNormal { + border-top: 1px solid; + border-left: 1px solid; + border-bottom: 1px solid; + border-right: 1px solid; + border-color: #F0F0EE; + cursor: arrow; +} + +.mceButtonOver { + border: 1px solid #0A246A; + cursor: arrow; + background-color: #B6BDD2; +} + +.mceButtonDown { + cursor: arrow; + border: 1px solid #0A246A; + background-color: #8592B5; +} + +.mceButtonSelected { + border: 1px solid; + border-color: #C0C0BB; + cursor: arrow; +} + +.mceButtonDisabled { + filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30); + -moz-opacity:0.3; + opacity: 0.3; + border-top: 1px solid; + border-left: 1px solid; + border-bottom: 1px solid; + border-right: 1px solid; + border-color: #F0F0EE; + cursor: arrow; +} + +.mceSeparator { + border-top: 1px solid buttonhighlight; + border-left: 1px solid buttonhighlight; + border-bottom: 1px solid buttonshadow; + border-right: 1px solid buttonshadow; + margin-right: 2px; + margin-left: 2px; +} + +.mceSeparatorLine { + margin:2px; + margin-left: 4px; + background-color: #F0F0EE; + border-top: 1px solid buttonshadow; + border-left: 1px solid buttonshadow; + border-bottom: 1px solid buttonhighlight; + border-right: 1px solid buttonhighlight; + width: 0px; + height: 15px; +} + +.mceSelectList { + font-family: "MS Sans Serif"; + font-size: 7pt; + font-weight: normal; + margin-top: 2px; +} + +.mceLabel, .mceLabelDisabled { + font-family: "MS Sans Serif"; + font-size: 9pt; +} + +.mceLabel { + color: #000000; +} + +.mceLabelDisabled { + cursor: text; + color: #999999; +} + +.mceEditor { + background: #F0F0EE; + border: 1px solid #cccccc; +} + +.mceEditorArea { + font-family: "MS Sans Serif"; + background: #FFFFFF; +} + +.mceToolbar { + background: #F0F0EE; + border-top: 1px solid #cccccc; +} \ No newline at end of file diff --git a/webcit/tiny_mce/themes/simple/editor_template.js b/webcit/tiny_mce/themes/simple/editor_template.js new file mode 100644 index 000000000..b0aa34d83 --- /dev/null +++ b/webcit/tiny_mce/themes/simple/editor_template.js @@ -0,0 +1,20 @@ +function TinyMCE_simple_getEditorTemplate(){var template=new Array();template['html']='\ +\ +\ +\ +
    \ +IFRAME\ +
    \ +\ +\ +\ +\ +\ +\ +\ +\ +\ +\ +\ +\ +
    ';template['delta_width']=0;template['delta_height']=-20;return template;}function TinyMCE_simple_handleNodeChange(editor_id,node){tinyMCE.switchClassSticky(editor_id+'_bold','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_italic','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_underline','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_strikethrough','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_bullist','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_numlist','mceButtonNormal');do{switch(node.nodeName.toLowerCase()){case "b":case "strong":tinyMCE.switchClassSticky(editor_id+'_bold','mceButtonSelected');break;case "i":case "em":tinyMCE.switchClassSticky(editor_id+'_italic','mceButtonSelected');break;case "u":tinyMCE.switchClassSticky(editor_id+'_underline','mceButtonSelected');break;case "strike":tinyMCE.switchClassSticky(editor_id+'_strikethrough','mceButtonSelected');break;case "ul":tinyMCE.switchClassSticky(editor_id+'_bullist','mceButtonSelected');break;case "ol":tinyMCE.switchClassSticky(editor_id+'_numlist','mceButtonSelected');break;}}while((node=node.parentNode));} \ No newline at end of file diff --git a/webcit/tiny_mce/themes/simple/editor_template_src.js b/webcit/tiny_mce/themes/simple/editor_template_src.js new file mode 100644 index 000000000..0efa179c0 --- /dev/null +++ b/webcit/tiny_mce/themes/simple/editor_template_src.js @@ -0,0 +1,70 @@ +function TinyMCE_simple_getEditorTemplate() { + var template = new Array(); + + template['html'] = '\ +\ +\ +\ +
    \ +IFRAME\ +
    \ +\ +\ +\ +\ +\ +\ +\ +\ +\ +\ +\ +\ +
    '; + + template['delta_width'] = 0; + template['delta_height'] = -20; + + return template; +} + +function TinyMCE_simple_handleNodeChange(editor_id, node) { + // Reset old states + tinyMCE.switchClassSticky(editor_id + '_bold', 'mceButtonNormal'); + tinyMCE.switchClassSticky(editor_id + '_italic', 'mceButtonNormal'); + tinyMCE.switchClassSticky(editor_id + '_underline', 'mceButtonNormal'); + tinyMCE.switchClassSticky(editor_id + '_strikethrough', 'mceButtonNormal'); + tinyMCE.switchClassSticky(editor_id + '_bullist', 'mceButtonNormal'); + tinyMCE.switchClassSticky(editor_id + '_numlist', 'mceButtonNormal'); + + // Handle elements + do { + switch (node.nodeName.toLowerCase()) { + case "b": + case "strong": + tinyMCE.switchClassSticky(editor_id + '_bold', 'mceButtonSelected'); + break; + + case "i": + case "em": + tinyMCE.switchClassSticky(editor_id + '_italic', 'mceButtonSelected'); + break; + + case "u": + tinyMCE.switchClassSticky(editor_id + '_underline', 'mceButtonSelected'); + break; + + case "strike": + tinyMCE.switchClassSticky(editor_id + '_strikethrough', 'mceButtonSelected'); + break; + + case "ul": + tinyMCE.switchClassSticky(editor_id + '_bullist', 'mceButtonSelected'); + break; + + case "ol": + tinyMCE.switchClassSticky(editor_id + '_numlist', 'mceButtonSelected'); + break; + } + } while ((node = node.parentNode)); +} diff --git a/webcit/tiny_mce/themes/simple/images/CVS/Entries b/webcit/tiny_mce/themes/simple/images/CVS/Entries new file mode 100644 index 000000000..9b8ef1200 --- /dev/null +++ b/webcit/tiny_mce/themes/simple/images/CVS/Entries @@ -0,0 +1,18 @@ +/bold.gif/1.1/Tue Aug 30 18:35:56 2005// +/bold_de_se.gif/1.1/Tue Aug 30 18:35:56 2005// +/bold_fr.gif/1.1/Tue Aug 30 18:35:56 2005// +/bold_ru.gif/1.1/Tue Aug 30 18:35:56 2005// +/bullist.gif/1.1/Tue Aug 30 18:35:56 2005// +/cleanup.gif/1.1/Tue Aug 30 18:35:56 2005// +/italic.gif/1.1/Tue Aug 30 18:35:56 2005// +/italic_de_se.gif/1.1/Tue Aug 30 18:35:56 2005// +/italic_ru.gif/1.1/Tue Aug 30 18:35:56 2005// +/numlist.gif/1.1/Tue Aug 30 18:35:56 2005// +/redo.gif/1.1/Tue Aug 30 18:35:56 2005// +/spacer.gif/1.1/Tue Aug 30 18:35:56 2005// +/strikethrough.gif/1.1/Tue Aug 30 18:35:56 2005// +/underline.gif/1.1/Tue Aug 30 18:35:56 2005// +/underline_fr.gif/1.1/Tue Aug 30 18:35:56 2005// +/underline_ru.gif/1.1/Tue Aug 30 18:35:56 2005// +/undo.gif/1.1/Tue Aug 30 18:35:56 2005// +D diff --git a/webcit/tiny_mce/themes/simple/images/CVS/Repository b/webcit/tiny_mce/themes/simple/images/CVS/Repository new file mode 100644 index 000000000..0429536cd --- /dev/null +++ b/webcit/tiny_mce/themes/simple/images/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/themes/simple/images diff --git a/webcit/tiny_mce/themes/simple/images/CVS/Root b/webcit/tiny_mce/themes/simple/images/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/themes/simple/images/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/themes/simple/images/bold.gif b/webcit/tiny_mce/themes/simple/images/bold.gif new file mode 100644 index 000000000..d6a9cc2cd Binary files /dev/null and b/webcit/tiny_mce/themes/simple/images/bold.gif differ diff --git a/webcit/tiny_mce/themes/simple/images/bold_de_se.gif b/webcit/tiny_mce/themes/simple/images/bold_de_se.gif new file mode 100644 index 000000000..9b129de25 Binary files /dev/null and b/webcit/tiny_mce/themes/simple/images/bold_de_se.gif differ diff --git a/webcit/tiny_mce/themes/simple/images/bold_fr.gif b/webcit/tiny_mce/themes/simple/images/bold_fr.gif new file mode 100644 index 000000000..281645451 Binary files /dev/null and b/webcit/tiny_mce/themes/simple/images/bold_fr.gif differ diff --git a/webcit/tiny_mce/themes/simple/images/bold_ru.gif b/webcit/tiny_mce/themes/simple/images/bold_ru.gif new file mode 100644 index 000000000..e000d461c Binary files /dev/null and b/webcit/tiny_mce/themes/simple/images/bold_ru.gif differ diff --git a/webcit/tiny_mce/themes/simple/images/bullist.gif b/webcit/tiny_mce/themes/simple/images/bullist.gif new file mode 100644 index 000000000..6e19467c7 Binary files /dev/null and b/webcit/tiny_mce/themes/simple/images/bullist.gif differ diff --git a/webcit/tiny_mce/themes/simple/images/cleanup.gif b/webcit/tiny_mce/themes/simple/images/cleanup.gif new file mode 100644 index 000000000..16491f6cf Binary files /dev/null and b/webcit/tiny_mce/themes/simple/images/cleanup.gif differ diff --git a/webcit/tiny_mce/themes/simple/images/italic.gif b/webcit/tiny_mce/themes/simple/images/italic.gif new file mode 100644 index 000000000..8bb330bd0 Binary files /dev/null and b/webcit/tiny_mce/themes/simple/images/italic.gif differ diff --git a/webcit/tiny_mce/themes/simple/images/italic_de_se.gif b/webcit/tiny_mce/themes/simple/images/italic_de_se.gif new file mode 100644 index 000000000..feb0309e7 Binary files /dev/null and b/webcit/tiny_mce/themes/simple/images/italic_de_se.gif differ diff --git a/webcit/tiny_mce/themes/simple/images/italic_ru.gif b/webcit/tiny_mce/themes/simple/images/italic_ru.gif new file mode 100644 index 000000000..a2bb69a72 Binary files /dev/null and b/webcit/tiny_mce/themes/simple/images/italic_ru.gif differ diff --git a/webcit/tiny_mce/themes/simple/images/numlist.gif b/webcit/tiny_mce/themes/simple/images/numlist.gif new file mode 100644 index 000000000..a2683522f Binary files /dev/null and b/webcit/tiny_mce/themes/simple/images/numlist.gif differ diff --git a/webcit/tiny_mce/themes/simple/images/redo.gif b/webcit/tiny_mce/themes/simple/images/redo.gif new file mode 100644 index 000000000..3af90697f Binary files /dev/null and b/webcit/tiny_mce/themes/simple/images/redo.gif differ diff --git a/webcit/tiny_mce/themes/simple/images/spacer.gif b/webcit/tiny_mce/themes/simple/images/spacer.gif new file mode 100644 index 000000000..388486517 Binary files /dev/null and b/webcit/tiny_mce/themes/simple/images/spacer.gif differ diff --git a/webcit/tiny_mce/themes/simple/images/strikethrough.gif b/webcit/tiny_mce/themes/simple/images/strikethrough.gif new file mode 100644 index 000000000..326463591 Binary files /dev/null and b/webcit/tiny_mce/themes/simple/images/strikethrough.gif differ diff --git a/webcit/tiny_mce/themes/simple/images/underline.gif b/webcit/tiny_mce/themes/simple/images/underline.gif new file mode 100644 index 000000000..1dfeb5f6d Binary files /dev/null and b/webcit/tiny_mce/themes/simple/images/underline.gif differ diff --git a/webcit/tiny_mce/themes/simple/images/underline_fr.gif b/webcit/tiny_mce/themes/simple/images/underline_fr.gif new file mode 100644 index 000000000..551d9148d Binary files /dev/null and b/webcit/tiny_mce/themes/simple/images/underline_fr.gif differ diff --git a/webcit/tiny_mce/themes/simple/images/underline_ru.gif b/webcit/tiny_mce/themes/simple/images/underline_ru.gif new file mode 100644 index 000000000..b78e2a498 Binary files /dev/null and b/webcit/tiny_mce/themes/simple/images/underline_ru.gif differ diff --git a/webcit/tiny_mce/themes/simple/images/undo.gif b/webcit/tiny_mce/themes/simple/images/undo.gif new file mode 100644 index 000000000..520796d69 Binary files /dev/null and b/webcit/tiny_mce/themes/simple/images/undo.gif differ diff --git a/webcit/tiny_mce/tiny_mce.js b/webcit/tiny_mce/tiny_mce.js new file mode 100644 index 000000000..41ab5f75c --- /dev/null +++ b/webcit/tiny_mce/tiny_mce.js @@ -0,0 +1,11 @@ +/** + * $RCSfile: tiny_mce.js,v $ + * $Revision: 1.2 $ + * $Date: 2005/09/26 18:00:52 $ + * + * @author Moxiecode + * @copyright Copyright © 2004, Moxiecode Systems AB, All rights reserved. + */ + function TinyMCE(){this.majorVersion="2";this.minorVersion="0RC3";this.releaseDate="2005-09-26";this.instances=new Array();this.stickyClassesLookup=new Array();this.windowArgs=new Array();this.loadedFiles=new Array();this.configs=new Array();this.currentConfig=0;this.eventHandlers=new Array();this.isMSIE=(navigator.appName=="Microsoft Internet Explorer");this.isMSIE5=this.isMSIE&&(navigator.userAgent.indexOf('MSIE 5')!=-1);this.isMSIE5_0=this.isMSIE&&(navigator.userAgent.indexOf('MSIE 5.0')!=-1);this.isGecko=navigator.userAgent.indexOf('Gecko')!=-1;this.isSafari=navigator.userAgent.indexOf('Safari')!=-1;this.isMac=navigator.userAgent.indexOf('Mac')!=-1;this.dialogCounter=0;this.idCounter=0;};TinyMCE.prototype.defParam=function(key,def_val){this.settings[key]=tinyMCE.getParam(key,def_val);};TinyMCE.prototype.init=function(settings){var theme;this.settings=settings;if(typeof(document.execCommand)=='undefined')return;if(!tinyMCE.baseURL){var elements=document.getElementsByTagName('script');for(var i=0;i');this.loadedFiles[this.loadedFiles.length]=url;};TinyMCE.prototype.loadCSS=function(url){for(var i=0;i');this.loadedFiles[this.loadedFiles.length]=url;};TinyMCE.prototype.importCSS=function(doc,css_file){if(css_file=='')return;if(tinyMCE.isMSIE)var styleSheet=doc.createStyleSheet(css_file);else{var elm=doc.createElement("link");elm.rel="stylesheet";elm.href=css_file;if(headArr=doc.getElementsByTagName("head"))headArr[0].appendChild(elm);}};TinyMCE.prototype.confirmAdd=function(e,settings){var elm=tinyMCE.isMSIE?event.srcElement:e.target;var elementId=elm.name?elm.name:elm.id;tinyMCE.settings=settings;if(!elm.getAttribute('mce_noask')&&confirm(tinyMCELang['lang_edit_confirm']))tinyMCE.addMCEControl(elm,elementId);elm.setAttribute('mce_noask','true');};TinyMCE.prototype.updateContent=function(form_element_name){var formElement=document.getElementById(form_element_name);for(var n in tinyMCE.instances){var inst=tinyMCE.instances[n];if(typeof(inst)=='function')continue;inst.switchSettings();if(inst.formElement==formElement){var doc=inst.getDoc();tinyMCE._setHTML(doc,inst.formElement.value);if(!tinyMCE.isMSIE)doc.body.innerHTML=tinyMCE._cleanupHTML(inst,doc,this.settings,doc.body,inst.visualAid);}}};TinyMCE.prototype.addMCEControl=function(replace_element,form_element_name,target_document){var id="mce_editor_"+tinyMCE.idCounter++;var inst=new TinyMCEControl(tinyMCE.settings);inst.editorId=id;this.instances[id]=inst;inst.onAdd(replace_element,form_element_name,target_document);};TinyMCE.prototype.triggerSave=function(skip_cleanup,skip_callback){for(var n in tinyMCE.instances){var inst=tinyMCE.instances[n];if(typeof(inst)=='function')continue;inst.switchSettings();tinyMCE.settings['preformatted']=false;if(typeof(skip_cleanup)=="undefined")skip_cleanup=false;if(typeof(skip_callback)=="undefined")skip_callback=false;tinyMCE._setHTML(inst.getDoc(),inst.getBody().innerHTML);if(inst.settings['cleanup']==false){tinyMCE.handleVisualAid(inst.getBody(),true,false,inst);tinyMCE._setEventsEnabled(inst.getBody(),false);}tinyMCE._customCleanup(inst,"submit_content_dom",inst.contentWindow.document.body);var htm=skip_cleanup?inst.getBody().innerHTML:tinyMCE._cleanupHTML(inst,inst.getDoc(),this.settings,inst.getBody(),this.visualAid,true);htm=tinyMCE._customCleanup(inst,"submit_content",htm);if(tinyMCE.settings["encoding"]=="xml"||tinyMCE.settings["encoding"]=="html")htm=tinyMCE.convertStringToXML(htm);if(!skip_callback&&tinyMCE.settings['save_callback']!="")var content=eval(tinyMCE.settings['save_callback']+"(inst.formTargetElementId,htm,inst.getBody());");if((typeof(content)!="undefined")&&content!=null)htm=content;htm=tinyMCE.regexpReplace(htm,"(","(","gi");htm=tinyMCE.regexpReplace(htm,")",")","gi");htm=tinyMCE.regexpReplace(htm,";",";","gi");htm=tinyMCE.regexpReplace(htm,""",""","gi");htm=tinyMCE.regexpReplace(htm,"^","^","gi");if(inst.formElement)inst.formElement.value=htm;}};TinyMCE.prototype._setEventsEnabled=function(node,state){var events=new Array('onfocus','onblur','onclick','ondblclick','onmousedown','onmouseup','onmouseover','onmousemove','onmouseout','onkeypress','onkeydown','onkeydown','onkeyup');var elms=node.getElementsByTagName("a");for(var i=0;i","gi");content=tinyMCE.regexpReplace(content,"\r","
    ","gi");content=tinyMCE.regexpReplace(content,"\n","
    ","gi");}content=content.replace(new RegExp('','gi'),'');content=content.replace(new RegExp('(.*?)','gi'),'$4');content=tinyMCE._customCleanup(inst,"insert_to_editor",content);if(tinyMCE.isMSIE){window.setInterval('try{tinyMCE.getCSSClasses(document.frames["'+editor_id+'"].document, "'+editor_id+'");}catch(e){}',500);if(tinyMCE.settings["force_br_newlines"])document.frames[editor_id].document.styleSheets[0].addRule("p","margin: 0px;");var body=document.frames[editor_id].document.body;tinyMCE.addEvent(body,"beforepaste",TinyMCE.prototype.eventPatch);tinyMCE.addEvent(body,"beforecut",TinyMCE.prototype.eventPatch);body.editorId=editor_id;}if(!tinyMCE.isMSIE){var contentElement=inst.getDoc().createElement("body");var doc=inst.getDoc();contentElement.innerHTML=content;if(tinyMCE.settings['force_p_newlines'])content=content.replace(new RegExp('<>','g'),"");if(tinyMCE.settings['cleanup_on_startup'])inst.getBody().innerHTML=tinyMCE._cleanupHTML(inst,doc,this.settings,contentElement);else{content=tinyMCE.regexpReplace(content,"","","gi");content=tinyMCE.regexpReplace(content,"","
    ","gi");content=tinyMCE.regexpReplace(content,"","","gi");inst.getBody().innerHTML=content;}inst.convertAllRelativeURLs();}else{if(tinyMCE.settings['cleanup_on_startup']){tinyMCE._setHTML(inst.getDoc(),content);eval('try {inst.getBody().innerHTML = tinyMCE._cleanupHTML(inst, inst.contentDocument, this.settings, inst.getBody());} catch(e) {}');}else tinyMCE._setHTML(inst.getDoc(),content);}var parentElm=document.getElementById(inst.editorId+'_parent');if(parentElm.lastChild.nodeName.toLowerCase()=="input")inst.formElement=parentElm.lastChild;else inst.formElement=parentElm.nextSibling;tinyMCE.handleVisualAid(inst.getBody(),true,tinyMCE.settings['visual'],inst);tinyMCE.executeCallback('setupcontent_callback','_setupContent',0,editor_id,inst.getBody(),inst.getDoc());if(!tinyMCE.isMSIE)TinyMCE.prototype.addEventHandlers(editor_id);if(tinyMCE.isMSIE)tinyMCE.addEvent(inst.getBody(),"blur",TinyMCE.prototype.eventPatch);tinyMCE.selectedInstance=inst;tinyMCE.selectedElement=inst.contentWindow.document.body;tinyMCE.triggerNodeChange(false,true);tinyMCE._customCleanup(inst,"insert_to_editor_dom",inst.getBody());tinyMCE._customCleanup(inst,"setup_content_dom",inst.getBody());tinyMCE._setEventsEnabled(inst.getBody(),true);inst.startContent=tinyMCE.trim(inst.getBody().innerHTML);inst.undoLevels[inst.undoLevels.length]=inst.startContent;};TinyMCE.prototype.cancelEvent=function(e){if(tinyMCE.isMSIE){e.returnValue=false;e.cancelBubble=true;}else e.preventDefault();};TinyMCE.prototype.removeTinyMCEFormElements=function(form_obj){for(var i=0;i");rng.collapse(false);rng.select();tinyMCE.execCommand("mceAddUndoLevel");tinyMCE.triggerNodeChange(false);return false;}}if(e.keyCode==8||e.keyCode==46){tinyMCE.selectedElement=e.target;tinyMCE.linkElement=tinyMCE.getParentElement(e.target,"a");tinyMCE.imgElement=tinyMCE.getParentElement(e.target,"img");tinyMCE.triggerNodeChange(false);}return false;break;case "keyup":case "keydown":if(e.target.editorId)tinyMCE.selectedInstance=tinyMCE.instances[e.target.editorId];else return;if(tinyMCE.selectedInstance)tinyMCE.selectedInstance.switchSettings();var inst=tinyMCE.selectedInstance;if(tinyMCE.isGecko&&tinyMCE.settings['force_p_newlines']&&(e.keyCode==8||e.keyCode==46)&&!e.shiftKey){if(tinyMCE.selectedInstance._handleBackSpace(e.type)){tinyMCE.execCommand("mceAddUndoLevel");e.preventDefault();return false;}}tinyMCE.selectedElement=null;tinyMCE.selectedNode=null;var elm=tinyMCE.selectedInstance.getFocusElement();tinyMCE.linkElement=tinyMCE.getParentElement(elm,"a");tinyMCE.imgElement=tinyMCE.getParentElement(elm,"img");tinyMCE.selectedElement=elm;if(tinyMCE.isGecko&&e.type=="keyup"&&e.keyCode==9)tinyMCE.handleVisualAid(tinyMCE.selectedInstance.getBody(),true,tinyMCE.settings['visual'],tinyMCE.selectedInstance);if(tinyMCE.isGecko&&tinyMCE.settings['document_base_url']!=""+document.location.href&&e.type=="keyup"&&e.ctrlKey&&e.keyCode==86)tinyMCE.selectedInstance.fixBrokenURLs();if(tinyMCE.isMSIE&&e.type=="keydown"&&e.keyCode==13)tinyMCE.enterKeyElement=tinyMCE.selectedInstance.getFocusElement();if(tinyMCE.isMSIE&&e.type=="keyup"&&e.keyCode==13){var elm=tinyMCE.enterKeyElement;if(elm){var re=new RegExp('^HR|IMG|BR$','g');var dre=new RegExp('^H[1-6]$','g');if(!elm.hasChildNodes()&&!re.test(elm.nodeName)){if(dre.test(elm.nodeName))elm.innerHTML="  ";else elm.innerHTML=" ";}}}var keys=tinyMCE.posKeyCodes;var posKey=false;for(var i=0;i0)return;if(val.indexOf('%')==-1)val+='px';break;case "vspace":case "hspace":elm.style.marginTop=val+"px";elm.style.marginBottom=val+"px";elm.removeAttribute(attrib);return;case "align":if(elm.nodeName=="IMG"){if(tinyMCE.isMSIE)elm.style.styleFloat=val;else elm.style.cssFloat=val;}else elm.style.textAlign=val;elm.removeAttribute(attrib);return;}if(val!=''){eval('elm.style.'+style+' = val;');elm.removeAttribute(attrib);}}}else{if(style=='')return;var val=eval('elm.style.'+style)==''?tinyMCE.getAttrib(elm,attrib):eval('elm.style.'+style);val=val==null?'':''+val;switch(attrib){case "background":if(val.indexOf('url')==-1&&val!='')val="url('"+val+"');";if(val!=''){elm.style.backgroundImage=val;elm.removeAttribute(attrib);}return;case "border":case "width":case "height":val=val.replace('px','');break;case "align":if(tinyMCE.getAttrib(elm,'align')==''){if(elm.nodeName=="IMG"){if(tinyMCE.isMSIE&&elm.style.styleFloat!=''){val=elm.style.styleFloat;style='styleFloat';}else if(tinyMCE.isGecko&&elm.style.cssFloat!=''){val=elm.style.cssFloat;style='cssFloat';}}}break;}if(val!=''){elm.removeAttribute(attrib);elm.setAttribute(attrib,val);eval('elm.style.'+style+' = "";');}}};TinyMCE.prototype._cleanupAttribute=function(valid_attributes,element_name,attribute_node,element_node){var attribName=attribute_node.nodeName.toLowerCase();var attribValue=attribute_node.nodeValue;var attribMustBeValue=null;var verified=false;if(attribName.indexOf('moz_')!=-1)return null;if(!tinyMCE.isMSIE&&(attribName=="mce_real_href"||attribName=="mce_real_src")){if(!tinyMCE.cleanup_on_save){var attrib=new Object();attrib.name=attribName;attrib.value=attribValue;return attrib;}else return null;}if(attribName=="mce_onclick")verified=true;if(tinyMCE.cleanup_verify_html&&!verified){for(var i=1;i'+output;}}var re=new RegExp("^(TABLE|TD|TR)$");if(re.test(node.nodeName)){if((node.nodeName!="TABLE"||tinyMCE.cleanup_inline_styles)&&(width=tinyMCE.getAttrib(node,"width"))!=''){node.style.width=width.indexOf('%')==-1?width:width+"px";node.removeAttribute("width");}if((node.nodeName=="TABLE"&&!tinyMCE.cleanup_inline_styles)&&node.style.width!=''){tinyMCE.setAttrib(node,"width",node.style.width.replace('px',''));node.style.width='';}if((height=tinyMCE.getAttrib(node,"height"))!=''){node.style.height=height.indexOf('%')==-1?height:height+"px";node.removeAttribute("height");}}if(tinyMCE.cleanup_inline_styles){var re=new RegExp("^(TABLE|TD|TR|IMG|HR)$");if(re.test(node.nodeName)){tinyMCE._moveStyle(node,'width','width');tinyMCE._moveStyle(node,'height','height');tinyMCE._moveStyle(node,'borderWidth','border');tinyMCE._moveStyle(node,'','vspace');tinyMCE._moveStyle(node,'','hspace');tinyMCE._moveStyle(node,'textAlign','align');tinyMCE._moveStyle(node,'backgroundColor','bgColor');tinyMCE._moveStyle(node,'borderColor','borderColor');tinyMCE._moveStyle(node,'backgroundImage','background');if(tinyMCE.isMSIE5)node.outerHTML=node.outerHTML;}else if(tinyMCE.isBlockElement(node))tinyMCE._moveStyle(node,'textAlign','align');if(node.nodeName=="FONT")tinyMCE._moveStyle(node,'color','color');}if(elementValidAttribs){for(var a=1;a0){for(var i=0;i0)){var attrib=tinyMCE._cleanupAttribute(elementValidAttribs,elementName,node.attributes[i],node);if(attrib&&attrib.value!="")elementAttribs+=" "+attrib.name+"="+'"'+this.convertStringToXML(""+attrib.value)+'"';}}}if(tinyMCE.isMSIE&&elementName=="table"&&node.getAttribute("summary")!=null&&elementAttribs.indexOf('summary')==-1){var summary=tinyMCE.getAttrib(node,'summary');if(summary!='')elementAttribs+=" summary="+'"'+this.convertStringToXML(summary)+'"';}if(tinyMCE.isMSIE&&elementName=="input"){if(node.type){if(!elementAttribs.match(/type=/g))elementAttribs+=" type="+'"'+node.type+'"';}if(node.value){if(!elementAttribs.match(/value=/g))elementAttribs+=" value="+'"'+node.value+'"';}}if((elementName=="p"||elementName=="td")&&(node.innerHTML==""||node.innerHTML==" "))return "<"+elementName+elementAttribs+">"+this.convertStringToXML(String.fromCharCode(160))+"";if(tinyMCE.isMSIE&&elementName=="script")return "<"+elementName+elementAttribs+">"+node.text+"";if(node.hasChildNodes()){if(elementName=="p"&&tinyMCE.cleanup_force_br_newlines)output+="";else output+="<"+elementName+elementAttribs+">";for(var i=0;i
    ";else output+="";}else{if(!nonEmptyTag){if(openTag)output+="<"+elementName+elementAttribs+">";else output+="<"+elementName+elementAttribs+" />";}}return output;case 3:if(node.parentNode.nodeName.toLowerCase()=="script")return node.nodeValue;return this.convertStringToXML(node.nodeValue);case 8:return "";default:return "[UNKNOWN NODETYPE "+node.nodeType+"]";}};TinyMCE.prototype.convertStringToXML=function(html_data){var output="";for(var i=0;i127)output+='&#'+chr+";";else output+=String.fromCharCode(chr);continue;}if(tinyMCE.settings['entity_encoding']=="raw"){output+=String.fromCharCode(chr);continue;}if(typeof(tinyMCE.cleanup_entities["c"+chr])!='undefined'&&tinyMCE.cleanup_entities["c"+chr]!='')output+='&'+tinyMCE.cleanup_entities["c"+chr]+';';else output+=''+String.fromCharCode(chr);}return output;};TinyMCE.prototype._getCleanupElementName=function(chunk){var pos;if(chunk.charAt(0)=='+')chunk=chunk.substring(1);if(chunk.charAt(0)=='-')chunk=chunk.substring(1);if((pos=chunk.indexOf('/'))!=-1)chunk=chunk.substring(0,pos);if((pos=chunk.indexOf('['))!=-1)chunk=chunk.substring(0,pos);return chunk;};TinyMCE.prototype._initCleanup=function(){var validElements=tinyMCE.settings["valid_elements"];validElements=validElements.split(',');var extendedValidElements=tinyMCE.settings["extended_valid_elements"];extendedValidElements=extendedValidElements.split(',');for(var i=0;i[ \n\r]*[ \n\r]*

    ','
    ','gi');element.innerHTML=tinyMCE.regexpReplace(element.innerHTML,'','','gi');}var html=this.cleanupNode(element);if(tinyMCE.settings['debug'])tinyMCE.debug("Cleanup process executed in: "+(new Date().getTime()-startTime)+" ms.");html=tinyMCE.regexpReplace(html,'


    ','
    ');html=tinyMCE.regexpReplace(html,'

     


     

    ','
    ');html=tinyMCE.regexpReplace(html,'\\s*
    \\s*',' ');html=html.replace(new RegExp('(.*?)','gi'),'$1');html=html.replace(new RegExp('(.*?)','gi'),'$4');if(!tinyMCE.isMSIE)html=html.replace(new RegExp('','g'),"");if(tinyMCE.settings['apply_source_formatting']){html=html.replace(new RegExp('<(p|div)([^>]*)>','g'),"\n<$1$2>\n");html=html.replace(new RegExp('<\/(p|div)([^>]*)>','g'),"\n\n");html=html.replace(new RegExp('
    ','g'),"
    \n");}if(tinyMCE.settings['force_br_newlines']){var re=new RegExp('

     

    ','g');html=html.replace(re,"
    ");}if(tinyMCE.settings['force_p_newlines']){var re=new RegExp('<>','g');html=html.replace(re,"");}if(tinyMCE.settings['remove_linebreaks'])html=html.replace(new RegExp('\r|\n','g'),' ');html=tinyMCE._customCleanup(inst,on_save?"get_from_editor":"insert_to_editor",html);var chk=tinyMCE.regexpReplace(html,"[ \t\r\n]","").toLowerCase();if(chk=="
    "||chk=="
    "||chk=="

     

    "||chk=="

     

    "||chk=="

    ")html="";if(tinyMCE.settings["preformatted"])return "
    "+html+"
    ";return html;};TinyMCE.prototype.insertLink=function(href,target,title,onclick,style_class){tinyMCE.execCommand('mceBeginUndoLevel');if(this.selectedInstance&&this.selectedElement&&this.selectedElement.nodeName.toLowerCase()=="img"){var doc=this.selectedInstance.getDoc();var linkElement=tinyMCE.getParentElement(this.selectedElement,"a");var newLink=false;if(!linkElement){linkElement=doc.createElement("a");newLink=true;}href=eval(tinyMCE.settings['urlconverter_callback']+"(href, linkElement);");tinyMCE.setAttrib(linkElement,'href',href);tinyMCE.setAttrib(linkElement,'target',target);tinyMCE.setAttrib(linkElement,'title',title);tinyMCE.setAttrib(linkElement,'onclick',onclick);tinyMCE.setAttrib(linkElement,'class',style_class);if(newLink){linkElement.appendChild(this.selectedElement.cloneNode(true));this.selectedElement.parentNode.replaceChild(linkElement,this.selectedElement);}return;}if(!this.linkElement&&this.selectedInstance){if(tinyMCE.isSafari){tinyMCE.execCommand("mceInsertContent",false,''+this.selectedInstance.getSelectedHTML()+'');}else this.selectedInstance.contentDocument.execCommand("createlink",false,"#mce_temp_url#");tinyMCE.linkElement=this.getElementByAttributeValue(this.selectedInstance.contentDocument.body,"a","href","#mce_temp_url#");var elementArray=this.getElementsByAttributeValue(this.selectedInstance.contentDocument.body,"a","href","#mce_temp_url#");for(var i=0;i';tinyMCE.execCommand("mceInsertContent",false,html);}else{if(!this.imgElement&&this.selectedInstance){if(tinyMCE.isSafari)tinyMCE.execCommand("mceInsertContent",false,'');else this.selectedInstance.contentDocument.execCommand("insertimage",false,"#mce_temp_url#");tinyMCE.imgElement=this.getElementByAttributeValue(this.selectedInstance.contentDocument.body,"img","src","#mce_temp_url#");}}if(this.imgElement){var needsRepaint=false;src=eval(tinyMCE.settings['urlconverter_callback']+"(src, tinyMCE.imgElement);");if(onmouseover&&onmouseover!="")onmouseover="this.src='"+eval(tinyMCE.settings['urlconverter_callback']+"(onmouseover, tinyMCE.imgElement);")+"';";if(onmouseout&&onmouseout!="")onmouseout="this.src='"+eval(tinyMCE.settings['urlconverter_callback']+"(onmouseout, tinyMCE.imgElement);")+"';";if(typeof(title)=="undefined")title=alt;if(width!=this.imgElement.getAttribute("width")||height!=this.imgElement.getAttribute("height")||align!=this.imgElement.getAttribute("align"))needsRepaint=true;tinyMCE.setAttrib(this.imgElement,'src',src);tinyMCE.setAttrib(this.imgElement,'mce_real_src',src);tinyMCE.setAttrib(this.imgElement,'alt',alt);tinyMCE.setAttrib(this.imgElement,'title',title);tinyMCE.setAttrib(this.imgElement,'align',align);tinyMCE.setAttrib(this.imgElement,'border',border,true);tinyMCE.setAttrib(this.imgElement,'hspace',hspace,true);tinyMCE.setAttrib(this.imgElement,'vspace',vspace,true);tinyMCE.setAttrib(this.imgElement,'width',width,true);tinyMCE.setAttrib(this.imgElement,'height',height,true);tinyMCE.setAttrib(this.imgElement,'onmouseover',onmouseover);tinyMCE.setAttrib(this.imgElement,'onmouseout',onmouseout);if(width&&width!="")this.imgElement.style.pixelWidth=width;if(height&&height!="")this.imgElement.style.pixelHeight=height;if(needsRepaint)tinyMCE.selectedInstance.repaint();}tinyMCE.execCommand('mceEndUndoLevel');};TinyMCE.prototype.getElementByAttributeValue=function(node,element_name,attrib,value){var elements=this.getElementsByAttributeValue(node,element_name,attrib,value);if(elements.length==0)return null;return elements[0];};TinyMCE.prototype.getElementsByAttributeValue=function(node,element_name,attrib,value){var elements=new Array();if(node&&node.nodeName.toLowerCase()==element_name){if(node.getAttribute(attrib)&&node.getAttribute(attrib).indexOf(value)!=-1)elements[elements.length]=node;}if(node.hasChildNodes){for(var x=0,n=node.childNodes.length;x=strTok2.length){for(var i=0;i=strTok2.length||strTok1[i]!=strTok2[i]){breakPoint=i+1;break;}}}if(strTok1.length=strTok1.length||strTok1[i]!=strTok2[i]){breakPoint=i+1;break;}}}if(breakPoint==1)return url_to_relative;for(var i=0;i<(strTok1.length-(breakPoint-1));i++)outputString+="../";for(var i=breakPoint-1;i=0;i--){if(baseURLParts[i].length==0)continue;newBaseURLParts[newBaseURLParts.length]=baseURLParts[i];}baseURLParts=newBaseURLParts.reverse();var newRelURLParts=new Array();var numBack=0;for(var i=relURLParts.length-1;i>=0;i--){if(relURLParts[i].length==0||relURLParts[i]==".")continue;if(relURLParts[i]=='..'){numBack++;continue;}if(numBack>0){numBack--;continue;}newRelURLParts[newRelURLParts.length]=relURLParts[i];}relURLParts=newRelURLParts.reverse();var len=baseURLParts.length-numBack;var absPath=(len<=0?"":"/")+baseURLParts.slice(0,len).join('/')+"/"+relURLParts.join('/');var start="",end="";if(baseURL['protocol'])start+=baseURL['protocol']+"://";if(baseURL['host'])start+=baseURL['host'];if(baseURL['port'])start+=":"+baseURL['port'];if(relURL['query'])end+="?"+relURL['query'];if(relURL['anchor'])end+="#"+relURL['anchor'];if(relative_url.charAt(relative_url.length-1)=="/")end+="/";return start+absPath+end;};TinyMCE.prototype.getParam=function(name,default_value,strip_whitespace,split_chr){var value=(typeof(this.settings[name])=="undefined")?default_value:this.settings[name];if(value=="true"||value=="false")return(value=="true");if(strip_whitespace)value=tinyMCE.regexpReplace(value,"[ \t\r\n]","");if(typeof(split_chr)!="undefined"&&split_chr!=null){value=value.split(split_chr);var outArray=new Array();for(var i=0;i0);if(tinyMCE.settings['custom_undo_redo']){undoIndex=inst.undoIndex;undoLevels=inst.undoLevels.length;}tinyMCE.executeCallback('handleNodeChangeCallback','_handleNodeChange',0,editorId,elm,undoIndex,undoLevels,inst.visualAid,anySelection);}}if(this.selectedInstance&&(typeof(focus)=="undefined"||focus))this.selectedInstance.contentWindow.focus();};TinyMCE.prototype._customCleanup=function(inst,type,content){var customCleanup=tinyMCE.settings['cleanup_callback'];if(customCleanup!=""&&eval("typeof("+customCleanup+")")!="undefined")content=eval(customCleanup+"(type, content, inst);");var plugins=tinyMCE.getParam('plugins','',true,',');for(var i=0;i0)className+=" ";className+=classNames[i];}return className;};TinyMCE.prototype.handleVisualAid=function(element,deep,state,inst){if(!element)return;var tableElement=null;switch(element.nodeName){case "TABLE":var oldW=element.style.width;var oldH=element.style.height;element.className=tinyMCE.getVisualAidClass(element.className,state&&element.getAttribute("border")==0);element.style.width=oldW;element.style.height=oldH;for(var y=0;y','gi'),'');html_content=html_content.replace(new RegExp('(.*?)','gi'),'$4');if(tinyMCE.isMSIE){var re=new RegExp('


    ','g');html_content=html_content.replace(re,"
    ");}try{doc.body.innerHTML=html_content;}catch(e){if(this.isMSIE)doc.body.createTextRange().pasteHTML(html_content);}if(tinyMCE.isMSIE&&tinyMCE.settings['fix_content_duplication']){var paras=doc.getElementsByTagName("P");for(var i=0;i<\/o:p>","
    ");html=tinyMCE.regexpReplace(html," <\/o:p>","");html=tinyMCE.regexpReplace(html,"","");html=tinyMCE.regexpReplace(html,"

    <\/p>","");html=tinyMCE.regexpReplace(html,"

    <\/p>\r\n

    <\/p>","");html=tinyMCE.regexpReplace(html,"

     <\/p>","
    ");html=tinyMCE.regexpReplace(html,"

    \s*(

    \s*)?","

    ");html=tinyMCE.regexpReplace(html,"<\/p>\s*(<\/p>\s*)?","

    ");}doc.body.innerHTML=html;}};TinyMCE.prototype.getImageSrc=function(str){var pos=-1;if(!str)return "";if((pos=str.indexOf('this.src='))!=-1){var src=str.substring(pos+10);src=src.substring(0,src.indexOf('\''));return src;}return "";};TinyMCE.prototype._getElementById=function(element_id){var elm=document.getElementById(element_id);if(!elm){for(var j=0;j0){for(var x=0;x0)tinyMCE.cssClasses=output;return output;};TinyMCE.prototype.regexpReplace=function(in_str,reg_exp,replace_str,opts){if(typeof(opts)=="undefined")opts='g';var re=new RegExp(reg_exp,opts);return in_str.replace(re,replace_str);};TinyMCE.prototype.trim=function(str){return str.replace(/^\s*|\s*$/g,"");};TinyMCE.prototype.cleanupEventStr=function(str){str=""+str;str=str.replace('function anonymous()\n{\n','');str=str.replace('\n}','');str=str.replace(/^return true;/gi,'');return str;};TinyMCE.prototype.getAbsPosition=function(node){var pos=new Object();pos.absLeft=pos.absTop=0;var parentNode=node;while(parentNode){pos.absLeft+=parentNode.offsetLeft;pos.absTop+=parentNode.offsetTop;parentNode=parentNode.offsetParent;}return pos;};TinyMCE.prototype.getControlHTML=function(control_name){var themePlugins=tinyMCE.getParam('plugins','',true,',');var templateFunction;for(var i=themePlugins.length;i>=0;i--){templateFunction='TinyMCE_'+themePlugins[i]+"_getControlHTML";if(eval("typeof("+templateFunction+")")!='undefined'){var html=eval(templateFunction+"('"+control_name+"');");if(html!="")return tinyMCE.replaceVar(html,"pluginurl",tinyMCE.baseURL+"/plugins/"+themePlugins[i]);}}return eval('TinyMCE_'+tinyMCE.settings['theme']+"_getControlHTML"+"('"+control_name+"');");};TinyMCE.prototype._themeExecCommand=function(editor_id,element,command,user_interface,value){var themePlugins=tinyMCE.getParam('plugins','',true,',');var templateFunction;for(var i=themePlugins.length;i>=0;i--){templateFunction='TinyMCE_'+themePlugins[i]+"_execCommand";if(eval("typeof("+templateFunction+")")!='undefined'){if(eval(templateFunction+"(editor_id, element, command, user_interface, value);"))return true;}}templateFunction='TinyMCE_'+tinyMCE.settings['theme']+"_execCommand";if(eval("typeof("+templateFunction+")")!='undefined')return eval(templateFunction+"(editor_id, element, command, user_interface, value);");return false;};TinyMCE.prototype._getThemeFunction=function(suffix,skip_plugins){if(skip_plugins)return 'TinyMCE_'+tinyMCE.settings['theme']+suffix;var themePlugins=tinyMCE.getParam('plugins','',true,',');var templateFunction;for(var i=themePlugins.length;i>=0;i--){templateFunction='TinyMCE_'+themePlugins[i]+suffix;if(eval("typeof("+templateFunction+")")!='undefined')return templateFunction;}return 'TinyMCE_'+tinyMCE.settings['theme']+suffix;};TinyMCE.prototype.isFunc=function(func_name){if(func_name==null||func_name=="")return false;return eval("typeof("+func_name+")")!="undefined";};TinyMCE.prototype.exec=function(func_name,args){var str=func_name+'(';for(var i=3;i';document.body.appendChild(debugDiv);elm=document.getElementById("tinymce_debug");}var args=this.debug.arguments;for(var i=0;i1&&tinyMCE.currentConfig!=this.settings['index']){tinyMCE.settings=this.settings;tinyMCE.currentConfig=this.settings['index'];}};TinyMCEControl.prototype.fixBrokenURLs=function(){var body=this.getBody();var elms=body.getElementsByTagName("img");for(var i=0;i0)rng.selectNodeContents(nodes[0]);else rng.selectNodeContents(node);}else rng.selectNode(node);if(collapse){if(!to_start&&node.nodeType==3){rng.setStart(node,node.nodeValue.length);rng.setEnd(node,node.nodeValue.length);}else rng.collapse(to_start);}sel.removeAllRanges();sel.addRange(rng);}this.scrollToNode(node);tinyMCE.selectedElement=null;if(node.nodeType==1)tinyMCE.selectedElement=node;};TinyMCEControl.prototype.scrollToNode=function(node){var pos=tinyMCE.getAbsPosition(node);var doc=this.getDoc();var scrollX=doc.body.scrollLeft+doc.documentElement.scrollLeft;var scrollY=doc.body.scrollTop+doc.documentElement.scrollTop;var height=tinyMCE.isMSIE?document.getElementById(this.editorId).style.pixelHeight:this.targetElement.clientHeight;if(!tinyMCE.settings['auto_resize']&&!(node.absTop>scrollY&&node.absTop<(scrollY-25+height)))this.contentWindow.scrollTo(pos.absLeft,pos.absTop-height+25);};TinyMCEControl.prototype.getBody=function(){return this.getDoc().body;};TinyMCEControl.prototype.getDoc=function(){return this.contentWindow.document;};TinyMCEControl.prototype.getWin=function(){return this.contentWindow;};TinyMCEControl.prototype.getSel=function(){if(tinyMCE.isMSIE)return this.getDoc().selection;var sel=this.contentWindow.getSelection();if(tinyMCE.isSafari&&!sel.getRangeAt){var newSel=new Object();var doc=this.getDoc();function getRangeAt(idx){var rng=new Object();rng.startContainer=this.focusNode;rng.endContainer=this.anchorNode;rng.commonAncestorContainer=this.focusNode;rng.createContextualFragment=function(html){if(html.charAt(0)=='<'){var elm=doc.createElement("div");elm.innerHTML=html;return elm.firstChild;}return doc.createTextNode("UNSUPPORTED, DUE TO LIMITATIONS IN SAFARI!");};rng.deleteContents=function(){doc.execCommand("Delete",false,"");};return rng;}newSel.focusNode=sel.baseNode;newSel.focusOffset=sel.baseOffset;newSel.anchorNode=sel.extentNode;newSel.anchorOffset=sel.extentOffset;newSel.getRangeAt=getRangeAt;newSel.text=""+sel;newSel.realSelection=sel;newSel.toString=function(){return this.text;};return newSel;}return sel;};TinyMCEControl.prototype.getRng=function(){var sel=this.getSel();if(sel==null)return null;if(tinyMCE.isMSIE)return sel.createRange();if(tinyMCE.isSafari){var rng=this.getDoc().createRange();var sel=this.getSel().realSelection;rng.setStart(sel.baseNode,sel.baseOffset);rng.setEnd(sel.extentNode,sel.extentOffset);return rng;}return this.getSel().getRangeAt(0);};TinyMCEControl.prototype._insertPara=function(e){function isEmpty(para){function isEmptyHTML(html){return html.replace(new RegExp('[ \t\r\n]+','g'),'').toLowerCase()=="";}if(para.getElementsByTagName("img").length>0)return false;if(para.getElementsByTagName("table").length>0)return false;if(para.getElementsByTagName("hr").length>0)return false;var nodes=tinyMCE.getNodeTree(para,new Array(),3);for(var i=0;i <"+blockName+"> ";paraAfter=body.childNodes[1];}this.selectNode(paraAfter,true,true);return true;}if(startChop.nodeName==blockName)rngBefore.setStart(startChop,0);else rngBefore.setStartBefore(startChop);rngBefore.setEnd(startNode,startOffset);paraBefore.appendChild(rngBefore.cloneContents());rngAfter.setEndAfter(endChop);rngAfter.setStart(endNode,endOffset);var contents=rngAfter.cloneContents();if(contents.firstChild&&contents.firstChild.nodeName==blockName){var nodes=contents.firstChild.childNodes;for(var i=0;i0)rng.pasteHTML('
    '+rng.htmlText+"
    ");tinyMCE.triggerNodeChange();return;}}}switch(command){case "mceRepaint":this.repaint();return true;case "mceStoreSelection":this.selectionBookmark=this.getBookmark();return true;case "mceRestoreSelection":this.moveToBookmark(this.selectionBookmark);return true;case "InsertUnorderedList":case "InsertOrderedList":var tag=(command=="InsertUnorderedList")?"ul":"ol";if(tinyMCE.isSafari)this.execCommand("mceInsertContent",false,"<"+tag+">
  •  
  • <"+tag+">");else this.getDoc().execCommand(command,user_interface,value);tinyMCE.triggerNodeChange();break;case "Strikethrough":if(tinyMCE.isSafari)this.execCommand("mceInsertContent",false,""+this.getSelectedHTML()+"");else this.getDoc().execCommand(command,user_interface,value);tinyMCE.triggerNodeChange();break;case "mceSelectNode":this.selectNode(value);tinyMCE.triggerNodeChange();tinyMCE.selectedNode=value;break;case "FormatBlock":if(value==null||value==""){var elm=tinyMCE.getParentElement(this.getFocusElement(),"p,div,h1,h2,h3,h4,h5,h6,pre,address");if(elm)this.execCommand("mceRemoveNode",false,elm);}else this.getDoc().execCommand("FormatBlock",false,value);tinyMCE.triggerNodeChange();break;case "mceRemoveNode":if(!value)value=tinyMCE.getParentElement(this.getFocusElement());if(tinyMCE.isMSIE){value.outerHTML=value.innerHTML;}else{var rng=value.ownerDocument.createRange();rng.setStartBefore(value);rng.setEndAfter(value);rng.deleteContents();rng.insertNode(rng.createContextualFragment(value.innerHTML));}tinyMCE.triggerNodeChange();break;case "mceSelectNodeDepth":var parentNode=this.getFocusElement();for(var i=0;parentNode;i++){if(parentNode.nodeName.toLowerCase()=="body")break;if(parentNode.nodeName.toLowerCase()=="#text"){i--;parentNode=parentNode.parentNode;continue;}if(i==value){this.selectNode(parentNode,false);tinyMCE.triggerNodeChange();tinyMCE.selectedNode=parentNode;return;}parentNode=parentNode.parentNode;}break;case "SetStyleInfo":var rng=this.getRng();var sel=this.getSel();var scmd=value['command'];var sname=value['name'];var svalue=value['value'];var wrapper=value['wrapper']?value['wrapper']:"span";var parentElm=null;var invalidRe=new RegExp("^BODY|HTML$","g");if(tinyMCE.isMSIE){if(rng.item)parentElm=rng.item(0);else{var pelm=rng.parentElement();var prng=doc.selection.createRange();prng.moveToElementText(pelm);if(rng.htmlText==prng.htmlText||rng.boundingWidth==0)parentElm=pelm;}}else{var felm=this.getFocusElement();if(sel.isCollapsed||(/td|tr|tbody|table/ig.test(felm.nodeName)&&sel.anchorNode==felm.parentNode))parentElm=felm;}if(parentElm&&!invalidRe.test(parentElm.nodeName)){if(scmd=="setstyle")eval("parentElm.style."+sname+" = svalue;");if(scmd=="setattrib")tinyMCE.setAttrib(parentElm,sname,svalue);if(scmd=="removeformat"){parentElm.style.cssText='';tinyMCE.setAttrib(parentElm,'class','');}var ch=tinyMCE.getNodeTree(parentElm,new Array(),1);for(var z=0;z=0;i--){var elm=nodes[i];var isNew=tinyMCE.getAttrib(elm,"mce_new")=="true";elm.removeAttribute("mce_new");if(elm.childNodes&&elm.childNodes.length==1&&elm.childNodes[0].nodeType==1){this._mergeElements(scmd,elm,elm.childNodes[0],isNew);continue;}if(elm.parentNode.childNodes.length==1&&!invalidRe.test(elm.nodeName)&&!invalidRe.test(elm.parentNode.nodeName)){this._mergeElements(scmd,elm.parentNode,elm,false);}}var nodes=doc.getElementsByTagName(wrapper);for(var i=nodes.length-1;i>=0;i--){var elm=nodes[i];var isEmpty=true;var tmp=doc.createElement("body");tmp.appendChild(elm.cloneNode(false));tmp.innerHTML=tmp.innerHTML.replace(new RegExp('style|class=""','gi'),'');if(new RegExp('','gi').test(tmp.innerHTML)){for(var x=0;x0){value=tinyMCE.replaceVar(value,"selection",selectedText);tinyMCE.execCommand('mceInsertContent',false,value);}tinyMCE.triggerNodeChange();break;case "mceSetAttribute":if(typeof(value)=='object'){var targetElms=(typeof(value['targets'])=="undefined")?"p,img,span,div,td,h1,h2,h3,h4,h5,h6,pre,address":value['targets'];var targetNode=tinyMCE.getParentElement(this.getFocusElement(),targetElms);if(targetNode){targetNode.setAttribute(value['name'],value['value']);tinyMCE.triggerNodeChange();}}break;case "mceSetCSSClass":this.execCommand("SetStyleInfo",false,{command:"setattrib",name:"class",value:value});break;case "mceInsertRawHTML":var key='tiny_mce_marker';this.execCommand('mceBeginUndoLevel');this.execCommand('mceInsertContent',false,key);var scrollX=this.getDoc().body.scrollLeft+this.getDoc().documentElement.scrollLeft;var scrollY=this.getDoc().body.scrollTop+this.getDoc().documentElement.scrollTop;var html=this.getBody().innerHTML;if((pos=html.indexOf(key))!=-1)this.getBody().innerHTML=html.substring(0,pos)+value+html.substring(pos+key.length);this.contentWindow.scrollTo(scrollX,scrollY);this.execCommand('mceEndUndoLevel');break;case "mceInsertContent":if(!tinyMCE.isMSIE){var sel=this.getSel();var rng=this.getRng();var isHTML=value.indexOf('<')!=-1;if(isHTML){if(tinyMCE.isSafari){var tmpRng=this.getDoc().createRange();tmpRng.setStart(this.getBody(),0);tmpRng.setEnd(this.getBody(),0);value=tmpRng.createContextualFragment(value);}else value=rng.createContextualFragment(value);}else{var el=document.createElement("div");el.innerHTML=value;value=el.firstChild.nodeValue;value=doc.createTextNode(value);}if(tinyMCE.isSafari&&!isHTML){this.execCommand('InsertText',false,value.nodeValue);tinyMCE.triggerNodeChange();return true;}else if(tinyMCE.isSafari&&isHTML){rng.deleteContents();rng.insertNode(value);tinyMCE.triggerNodeChange();return true;}rng.deleteContents();if(rng.startContainer.nodeType==3){var node=rng.startContainer.splitText(rng.startOffset);node.parentNode.insertBefore(value,node);}else rng.insertNode(value);if(!isHTML){sel.selectAllChildren(doc.body);sel.removeAllRanges();var rng=doc.createRange();rng.selectNode(value);rng.collapse(false);sel.addRange(rng);}else rng.collapse(false);}else{var rng=doc.selection.createRange();if(rng.item)rng.item(0).outerHTML=value;else rng.pasteHTML(value);}tinyMCE.triggerNodeChange();break;case "mceStartTyping":if(tinyMCE.settings['custom_undo_redo']&&this.typingUndoIndex==-1){this.typingUndoIndex=this.undoIndex;this.execCommand('mceAddUndoLevel');}break;case "mceEndTyping":if(tinyMCE.settings['custom_undo_redo']&&this.typingUndoIndex!=-1){this.execCommand('mceAddUndoLevel');this.typingUndoIndex=-1;}break;case "mceBeginUndoLevel":this.undoRedo=false;break;case "mceEndUndoLevel":this.undoRedo=true;this.execCommand('mceAddUndoLevel');break;case "mceAddUndoLevel":if(tinyMCE.settings['custom_undo_redo']&&this.undoRedo){if(this.typingUndoIndex!=-1){this.undoIndex=this.typingUndoIndex;}var newHTML=tinyMCE.trim(this.getBody().innerHTML);if(newHTML!=this.undoLevels[this.undoIndex]){tinyMCE.executeCallback('onchange_callback','_onchange',0,this);var customUndoLevels=tinyMCE.settings['custom_undo_redo_levels'];if(customUndoLevels!=-1&&this.undoLevels.length>customUndoLevels){for(var i=0;i0){this.undoIndex--;this.getBody().innerHTML=this.undoLevels[this.undoIndex];this.repaint();}tinyMCE.triggerNodeChange();}else this.getDoc().execCommand(command,user_interface,value);break;case "Redo":if(tinyMCE.settings['custom_undo_redo']){tinyMCE.execCommand("mceEndTyping");if(this.undoIndex<(this.undoLevels.length-1)){this.undoIndex++;this.getBody().innerHTML=this.undoLevels[this.undoIndex];this.repaint();}tinyMCE.triggerNodeChange();}else this.getDoc().execCommand(command,user_interface,value);break;case "mceToggleVisualAid":this.visualAid=!this.visualAid;tinyMCE.handleVisualAid(this.getBody(),true,this.visualAid,this);tinyMCE.triggerNodeChange();break;case "Indent":this.getDoc().execCommand(command,user_interface,value);tinyMCE.triggerNodeChange();if(tinyMCE.isMSIE){var n=tinyMCE.getParentElement(this.getFocusElement(),"blockquote");do{if(n&&n.nodeName=="BLOCKQUOTE"){n.removeAttribute("dir");n.removeAttribute("style");}}while(n=n.parentNode);}break;case "removeformat":var text=this.getSelectedText();if(tinyMCE.isMSIE){try{var rng=doc.selection.createRange();rng.execCommand("RemoveFormat",false,null);}catch(e){}this.execCommand("SetStyleInfo",false,{command:"removeformat"});}else{this.getDoc().execCommand(command,user_interface,value);this.execCommand("SetStyleInfo",false,{command:"removeformat"});}if(text.length==0)this.execCommand("mceSetCSSClass",false,"");tinyMCE.triggerNodeChange();break;default:this.getDoc().execCommand(command,user_interface,value);tinyMCE.triggerNodeChange();}if(command!="mceAddUndoLevel"&&command!="Undo"&&command!="Redo"&&command!="mceStartTyping"&&command!="mceEndTyping")tinyMCE.execCommand("mceAddUndoLevel");};TinyMCEControl.prototype.queryCommandValue=function(command){return this.getDoc().queryCommandValue(command);};TinyMCEControl.prototype.queryCommandState=function(command){return this.getDoc().queryCommandState(command);};TinyMCEControl.prototype.onAdd=function(replace_element,form_element_name,target_document){var targetDoc=target_document?target_document:document;this.targetDoc=targetDoc;tinyMCE.themeURL=tinyMCE.baseURL+"/themes/"+this.settings['theme'];this.settings['themeurl']=tinyMCE.themeURL;if(!replace_element){alert("Error: Could not find the target element.");return false;}var templateFunction=tinyMCE._getThemeFunction('_getInsertLinkTemplate');if(eval("typeof("+templateFunction+")")!='undefined')this.insertLinkTemplate=eval(templateFunction+'(this.settings);');var templateFunction=tinyMCE._getThemeFunction('_getInsertImageTemplate');if(eval("typeof("+templateFunction+")")!='undefined')this.insertImageTemplate=eval(templateFunction+'(this.settings);');var templateFunction=tinyMCE._getThemeFunction('_getEditorTemplate');if(eval("typeof("+templateFunction+")")=='undefined'){alert("Error: Could not find the template function: "+templateFunction);return false;}var editorTemplate=eval(templateFunction+'(this.settings, this.editorId);');var deltaWidth=editorTemplate['delta_width']?editorTemplate['delta_width']:0;var deltaHeight=editorTemplate['delta_height']?editorTemplate['delta_height']:0;var html=''+editorTemplate['html'];var templateFunction=tinyMCE._getThemeFunction('_handleNodeChange',true);if(eval("typeof("+templateFunction+")")!='undefined')this.settings['handleNodeChangeCallback']=templateFunction;html=tinyMCE.replaceVar(html,"editor_id",this.editorId);this.settings['default_document']=tinyMCE.baseURL+"/blank.htm";this.settings['old_width']=this.settings['width'];this.settings['old_height']=this.settings['height'];if(this.settings['width']==-1)this.settings['width']=replace_element.offsetWidth;if(this.settings['height']==-1)this.settings['height']=replace_element.offsetHeight;if(this.settings['width']==0)this.settings['width']=replace_element.style.width;if(this.settings['height']==0)this.settings['height']=replace_element.style.height;if(this.settings['width']==0)this.settings['width']=320;if(this.settings['height']==0)this.settings['height']=240;this.settings['area_width']=parseInt(this.settings['width']);this.settings['area_height']=parseInt(this.settings['height']);this.settings['area_width']+=deltaWidth;this.settings['area_height']+=deltaHeight;if((""+this.settings['width']).indexOf('%')!=-1)this.settings['area_width']="100%";if((""+this.settings['height']).indexOf('%')!=-1)this.settings['area_height']="100%";if((""+replace_element.style.width).indexOf('%')!=-1){this.settings['width']=replace_element.style.width;this.settings['area_width']="100%";}if((""+replace_element.style.height).indexOf('%')!=-1){this.settings['height']=replace_element.style.height;this.settings['area_height']="100%";}html=tinyMCE.applyTemplate(html);this.settings['width']=this.settings['old_width'];this.settings['height']=this.settings['old_height'];this.visualAid=this.settings['visual'];this.formTargetElementId=form_element_name;if(replace_element.nodeName=="TEXTAREA"||replace_element.nodeName=="INPUT")this.startContent=replace_element.value;else this.startContent=replace_element.innerHTML;if(replace_element.nodeName.toLowerCase()!="textarea"){this.oldTargetElement=replace_element.cloneNode(true);if(tinyMCE.settings['debug'])html+='';else html+='';html+='';if(!tinyMCE.isMSIE){var rng=replace_element.ownerDocument.createRange();rng.setStartBefore(replace_element);var fragment=rng.createContextualFragment(html);replace_element.parentNode.replaceChild(fragment,replace_element);}else replace_element.outerHTML=html;}else{html+='';this.oldTargetElement=replace_element;if(!tinyMCE.settings['debug'])this.oldTargetElement.style.display="none";if(!tinyMCE.isMSIE){var rng=replace_element.ownerDocument.createRange();rng.setStartBefore(replace_element);var fragment=rng.createContextualFragment(html);replace_element.parentNode.insertBefore(fragment,replace_element);}else replace_element.insertAdjacentHTML("beforeBegin",html);}var dynamicIFrame=false;var tElm=targetDoc.getElementById(this.editorId);if(!tinyMCE.isMSIE){if(tElm&&tElm.nodeName.toLowerCase()=="span"){tElm=tinyMCE._createIFrame(tElm);dynamicIFrame=true;}this.targetElement=tElm;this.iframeElement=tElm;this.contentDocument=tElm.contentDocument;this.contentWindow=tElm.contentWindow;}else{if(tElm&&tElm.nodeName.toLowerCase()=="span")tElm=tinyMCE._createIFrame(tElm);else tElm=targetDoc.frames[this.editorId];this.targetElement=tElm;this.iframeElement=targetDoc.getElementById(this.editorId);this.contentDocument=tElm.window.document;this.contentWindow=tElm.window;this.getDoc().designMode="on";}var doc=this.contentDocument;if(dynamicIFrame){var html='blank_page';try{this.getDoc().designMode="on";doc.open();doc.write(html);doc.close();}catch(e){this.getDoc().location.href=tinyMCE.baseURL+"/blank.htm";}}if(tinyMCE.isMSIE)window.setTimeout("TinyMCE.prototype.addEventHandlers('"+this.editorId+"');",1);tinyMCE.setupContent(this.editorId,true);return true;};TinyMCEControl.prototype.getFocusElement=function(){if(tinyMCE.isMSIE){var doc=this.getDoc();var rng=doc.selection.createRange();if(rng.collapse)rng.collapse(true);var elm=rng.item?rng.item(0):rng.parentElement();}else{var sel=this.getSel();var rng=this.getRng();var elm=rng.commonAncestorContainer;if(!rng.collapsed){if(rng.startContainer==rng.endContainer){if(rng.startOffset-rng.endOffset<2){if(rng.startContainer.hasChildNodes())elm=rng.startContainer.childNodes[rng.startOffset];}}}elm=tinyMCE.getParentElement(elm);}return elm;};var tinyMCE=new TinyMCE();var tinyMCELang=new Array(); \ No newline at end of file diff --git a/webcit/tiny_mce/tiny_mce_popup.js b/webcit/tiny_mce/tiny_mce_popup.js new file mode 100644 index 000000000..6d6ba4f9d --- /dev/null +++ b/webcit/tiny_mce/tiny_mce_popup.js @@ -0,0 +1,221 @@ +/** + * $RCSfile: tiny_mce_popup.js,v $ + * $Revision: 1.2 $ + * $Date: 2005/09/26 18:00:52 $ + * + * @author Moxiecode + * @copyright Copyright © 2004, Moxiecode Systems AB, All rights reserved. + */ + +var tinyMCE = null, tinyMCELang = null; + +function TinyMCEPopup() { +}; + +TinyMCEPopup.prototype.init = function() { + var win = window.opener ? window.opener : window.dialogArguments; + + if (!win) + win = top; + + window.opener = win; + this.windowOpener = win; + + // Setup parent references + tinyMCE = win.tinyMCE; + tinyMCELang = win.tinyMCELang; + + if (!tinyMCE) { + alert("tinyMCE object reference not found from popup."); + return; + } + + this.isWindow = tinyMCE.getWindowArg('mce_inside_iframe', false) == false; + this.storeSelection = tinyMCE.isMSIE && !this.isWindow && tinyMCE.getWindowArg('mce_store_selection', true); + + // Store selection + if (this.storeSelection) + tinyMCE.selectedInstance.execCommand('mceStoreSelection'); + + // Setup dir + if (tinyMCELang['lang_dir']) + document.dir = tinyMCELang['lang_dir']; + + // Setup title + var re = new RegExp('{|\\\$|}', 'g'); + var title = document.title.replace(re, ""); + if (typeof tinyMCELang[title] != "undefined") { + var divElm = document.createElement("div"); + divElm.innerHTML = tinyMCELang[title]; + document.title = divElm.innerHTML; + + if (tinyMCE.setWindowTitle != null) + tinyMCE.setWindowTitle(window, divElm.innerHTML); + } + + // Output Popup CSS class + document.write(''); + + tinyMCE.addEvent(window, "load", this.onLoad); +}; + +TinyMCEPopup.prototype.onLoad = function() { + var body = document.body; + + if (tinyMCE.getWindowArg('mce_replacevariables', true)) + body.innerHTML = tinyMCE.applyTemplate(body.innerHTML, tinyMCE.windowArgs); + + var dir = tinyMCE.selectedInstance.settings['directionality']; + if (dir == "rtl") { + var elms = document.forms[0].elements; + for (var i=0; i=0; i--) { + if (wrapper.hasChildNodes()) + wrapper.insertBefore(nodes[i].cloneNode(true), wrapper.firstChild); + else + wrapper.appendChild(nodes[i].cloneNode(true)); + + nodes[i].parentNode.removeChild(nodes[i]); + } + + // Add wrapper + doc.body.appendChild(wrapper); + + // Create iframe + iframe = document.createElement("iframe"); + iframe.id = "mcWinIframe"; + iframe.src = "about:blank"; + iframe.width = "100%"; + iframe.height = "100%"; + iframe.style.margin = '0px'; + + // Add iframe + doc.body.appendChild(iframe); + + // Measure iframe + iframe = document.getElementById('mcWinIframe'); + dx = tinyMCE.getWindowArg('mce_width') - iframe.clientWidth; + dy = tinyMCE.getWindowArg('mce_height') - iframe.clientHeight; + + // Resize window + // tinyMCE.debug(tinyMCE.getWindowArg('mce_width') + "," + tinyMCE.getWindowArg('mce_height') + " - " + dx + "," + dy); + window.resizeBy(dx, dy); + + // Hide iframe and show wrapper + body.style.margin = oldMargin; + iframe.style.display = 'none'; + wrapper.style.display = 'block'; + } +}; + +TinyMCEPopup.prototype.resizeToContent = function() { + var isMSIE = (navigator.appName == "Microsoft Internet Explorer"); + var isOpera = (navigator.userAgent.indexOf("Opera") != -1); + + if (isOpera) + return; + + if (isMSIE) { + try { window.resizeTo(10, 10); } catch (e) {} + + var elm = document.body; + var width = elm.offsetWidth; + var height = elm.offsetHeight; + var dx = (elm.scrollWidth - width) + 4; + var dy = elm.scrollHeight - height; + + try { window.resizeBy(dx, dy); } catch (e) {} + } else { + window.scrollBy(1000, 1000); + if (window.scrollX > 0 || window.scrollY > 0) { + window.resizeBy(window.innerWidth * 2, window.innerHeight * 2); + window.sizeToContent(); + window.scrollTo(0, 0); + var x = parseInt(screen.width / 2.0) - (window.outerWidth / 2.0); + var y = parseInt(screen.height / 2.0) - (window.outerHeight / 2.0); + window.moveTo(x, y); + } + } +}; + +TinyMCEPopup.prototype.getWindowArg = function(name, default_value) { + return tinyMCE.getWindowArg(name, default_value); +}; + +TinyMCEPopup.prototype.execCommand = function(command, user_interface, value) { + var inst = tinyMCE.selectedInstance; + + // Restore selection + if (this.storeSelection) { + inst.getWin().focus(); + inst.execCommand('mceRestoreSelection'); + } + + inst.execCommand(command, user_interface, value); + + // Store selection + if (this.storeSelection) + inst.execCommand('mceStoreSelection'); +}; + +TinyMCEPopup.prototype.close = function() { + tinyMCE.closeWindow(window); +}; + +TinyMCEPopup.prototype.pickColor = function(e, element_id) { + tinyMCE.selectedInstance.execCommand('mceColorPicker', true, { + element_id : element_id, + document : document, + window : window, + store_selection : false + }); +}; + +TinyMCEPopup.prototype.openBrowser = function(element_id, type, option) { + var cb = tinyMCE.getParam(option, tinyMCE.getParam("file_browser_callback")); + var url = document.getElementById(element_id).value; + + tinyMCE.setWindowArg("window", window); + tinyMCE.setWindowArg("document", document); + + // Call to external callback + if (eval('typeof(tinyMCEPopup.windowOpener.' + cb + ')') == "undefined") + alert("Callback function: " + cb + " could not be found."); + else + eval("tinyMCEPopup.windowOpener." + cb + "(element_id, url, type, window);"); +}; + +// Setup global instance +var tinyMCEPopup = new TinyMCEPopup(); + +tinyMCEPopup.init(); diff --git a/webcit/tiny_mce/tiny_mce_src.js b/webcit/tiny_mce/tiny_mce_src.js new file mode 100644 index 000000000..05017bd26 --- /dev/null +++ b/webcit/tiny_mce/tiny_mce_src.js @@ -0,0 +1,5364 @@ +/** + * $RCSfile: tiny_mce_src.js,v $ + * $Revision: 1.2 $ + * $Date: 2005/09/26 18:00:52 $ + * + * @author Moxiecode + * @copyright Copyright © 2004, Moxiecode Systems AB, All rights reserved. + */ + +function TinyMCE() { + this.majorVersion = "2"; + this.minorVersion = "0RC3"; + this.releaseDate = "2005-09-26"; + + this.instances = new Array(); + this.stickyClassesLookup = new Array(); + this.windowArgs = new Array(); + this.loadedFiles = new Array(); + this.configs = new Array(); + this.currentConfig = 0; + this.eventHandlers = new Array(); + + // Browser check + this.isMSIE = (navigator.appName == "Microsoft Internet Explorer"); + this.isMSIE5 = this.isMSIE && (navigator.userAgent.indexOf('MSIE 5') != -1); + this.isMSIE5_0 = this.isMSIE && (navigator.userAgent.indexOf('MSIE 5.0') != -1); + this.isGecko = navigator.userAgent.indexOf('Gecko') != -1; + this.isSafari = navigator.userAgent.indexOf('Safari') != -1; + this.isMac = navigator.userAgent.indexOf('Mac') != -1; + this.dialogCounter = 0; + + // TinyMCE editor id instance counter + this.idCounter = 0; +}; + +TinyMCE.prototype.defParam = function(key, def_val) { + this.settings[key] = tinyMCE.getParam(key, def_val); +}; + +TinyMCE.prototype.init = function(settings) { + var theme; + + this.settings = settings; + + // Check if valid browser has execcommand support + if (typeof(document.execCommand) == 'undefined') + return; + + // Get script base path + if (!tinyMCE.baseURL) { + var elements = document.getElementsByTagName('script'); + + for (var i=0; i'); + + this.loadedFiles[this.loadedFiles.length] = url; +}; + +TinyMCE.prototype.loadCSS = function(url) { + for (var i=0; i'); + + this.loadedFiles[this.loadedFiles.length] = url; +}; + +TinyMCE.prototype.importCSS = function(doc, css_file) { + if (css_file == '') + return; + + if (tinyMCE.isMSIE) + var styleSheet = doc.createStyleSheet(css_file); + else { + var elm = doc.createElement("link"); + + elm.rel = "stylesheet"; + elm.href = css_file; + + if (headArr = doc.getElementsByTagName("head")) + headArr[0].appendChild(elm); + } +}; + +TinyMCE.prototype.confirmAdd = function(e, settings) { + var elm = tinyMCE.isMSIE ? event.srcElement : e.target; + var elementId = elm.name ? elm.name : elm.id; + + tinyMCE.settings = settings; + + if (!elm.getAttribute('mce_noask') && confirm(tinyMCELang['lang_edit_confirm'])) + tinyMCE.addMCEControl(elm, elementId); + + elm.setAttribute('mce_noask', 'true'); +}; + +TinyMCE.prototype.updateContent = function(form_element_name) { + // Find MCE instance linked to given form element and copy it's value + var formElement = document.getElementById(form_element_name); + for (var n in tinyMCE.instances) { + var inst = tinyMCE.instances[n]; + if (typeof(inst) == 'function') + continue; + + inst.switchSettings(); + + if (inst.formElement == formElement) { + var doc = inst.getDoc(); + + tinyMCE._setHTML(doc, inst.formElement.value); + + if (!tinyMCE.isMSIE) + doc.body.innerHTML = tinyMCE._cleanupHTML(inst, doc, this.settings, doc.body, inst.visualAid); + } + } +}; + +TinyMCE.prototype.addMCEControl = function(replace_element, form_element_name, target_document) { + var id = "mce_editor_" + tinyMCE.idCounter++; + var inst = new TinyMCEControl(tinyMCE.settings); + + inst.editorId = id; + this.instances[id] = inst; + + inst.onAdd(replace_element, form_element_name, target_document); +}; + +TinyMCE.prototype.triggerSave = function(skip_cleanup, skip_callback) { + // Cleanup and set all form fields + for (var n in tinyMCE.instances) { + var inst = tinyMCE.instances[n]; + if (typeof(inst) == 'function') + continue; + + inst.switchSettings(); + + tinyMCE.settings['preformatted'] = false; + + // Default to false + if (typeof(skip_cleanup) == "undefined") + skip_cleanup = false; + + // Default to false + if (typeof(skip_callback) == "undefined") + skip_callback = false; + + tinyMCE._setHTML(inst.getDoc(), inst.getBody().innerHTML); + + // Remove visual aids when cleanup is disabled + if (inst.settings['cleanup'] == false) { + tinyMCE.handleVisualAid(inst.getBody(), true, false, inst); + tinyMCE._setEventsEnabled(inst.getBody(), false); + } + + tinyMCE._customCleanup(inst, "submit_content_dom", inst.contentWindow.document.body); + var htm = skip_cleanup ? inst.getBody().innerHTML : tinyMCE._cleanupHTML(inst, inst.getDoc(), this.settings, inst.getBody(), this.visualAid, true); + htm = tinyMCE._customCleanup(inst, "submit_content", htm); + + if (tinyMCE.settings["encoding"] == "xml" || tinyMCE.settings["encoding"] == "html") + htm = tinyMCE.convertStringToXML(htm); + + if (!skip_callback && tinyMCE.settings['save_callback'] != "") + var content = eval(tinyMCE.settings['save_callback'] + "(inst.formTargetElementId,htm,inst.getBody());"); + + // Use callback content if available + if ((typeof(content) != "undefined") && content != null) + htm = content; + + // Replace some weird entities (Bug: #1056343) + htm = tinyMCE.regexpReplace(htm, "(", "(", "gi"); + htm = tinyMCE.regexpReplace(htm, ")", ")", "gi"); + htm = tinyMCE.regexpReplace(htm, ";", ";", "gi"); + htm = tinyMCE.regexpReplace(htm, """, """, "gi"); + htm = tinyMCE.regexpReplace(htm, "^", "^", "gi"); + + if (inst.formElement) + inst.formElement.value = htm; + } +}; + +TinyMCE.prototype._setEventsEnabled = function(node, state) { + var events = new Array('onfocus','onblur','onclick','ondblclick', + 'onmousedown','onmouseup','onmouseover','onmousemove', + 'onmouseout','onkeypress','onkeydown','onkeydown','onkeyup'); + + var elms = node.getElementsByTagName("a"); + for (var i=0; i", "gi"); + content = tinyMCE.regexpReplace(content, "\r", "
    ", "gi"); + content = tinyMCE.regexpReplace(content, "\n", "
    ", "gi"); + } + + // Open closed anchors + content = content.replace(new RegExp('', 'gi'), ''); + content = content.replace(new RegExp('(.*?)', 'gi'), '$4'); + + // Call custom cleanup code + content = tinyMCE._customCleanup(inst, "insert_to_editor", content); + + if (tinyMCE.isMSIE) { + // Ugly!!! + window.setInterval('try{tinyMCE.getCSSClasses(document.frames["' + editor_id + '"].document, "' + editor_id + '");}catch(e){}', 500); + + if (tinyMCE.settings["force_br_newlines"]) + document.frames[editor_id].document.styleSheets[0].addRule("p", "margin: 0px;"); + + var body = document.frames[editor_id].document.body; + + tinyMCE.addEvent(body, "beforepaste", TinyMCE.prototype.eventPatch); + tinyMCE.addEvent(body, "beforecut", TinyMCE.prototype.eventPatch); + + body.editorId = editor_id; + } + + // Fix for bug #958637 + if (!tinyMCE.isMSIE) { + var contentElement = inst.getDoc().createElement("body"); + var doc = inst.getDoc(); + + contentElement.innerHTML = content; + + // Remove weridness! + if (tinyMCE.settings['force_p_newlines']) + content = content.replace(new RegExp('<>', 'g'), ""); + + if (tinyMCE.settings['cleanup_on_startup']) + inst.getBody().innerHTML = tinyMCE._cleanupHTML(inst, doc, this.settings, contentElement); + else { + // Convert all strong/em to b/i + content = tinyMCE.regexpReplace(content, "", "", "gi"); + content = tinyMCE.regexpReplace(content, "", "
    ", "gi"); + content = tinyMCE.regexpReplace(content, "", "", "gi"); + inst.getBody().innerHTML = content; + } + + inst.convertAllRelativeURLs(); + } else { + if (tinyMCE.settings['cleanup_on_startup']) { + tinyMCE._setHTML(inst.getDoc(), content); + + // Produces permission denied error in MSIE 5.5 + eval('try {inst.getBody().innerHTML = tinyMCE._cleanupHTML(inst, inst.contentDocument, this.settings, inst.getBody());} catch(e) {}'); + } else + tinyMCE._setHTML(inst.getDoc(), content); + } + + // Fix for bug #957681 + //inst.getDoc().designMode = inst.getDoc().designMode; + + // Setup element references + var parentElm = document.getElementById(inst.editorId + '_parent'); + if (parentElm.lastChild.nodeName.toLowerCase() == "input") + inst.formElement = parentElm.lastChild; + else + inst.formElement = parentElm.nextSibling; + + tinyMCE.handleVisualAid(inst.getBody(), true, tinyMCE.settings['visual'], inst); + tinyMCE.executeCallback('setupcontent_callback', '_setupContent', 0, editor_id, inst.getBody(), inst.getDoc()); + + // Re-add design mode on mozilla + if (!tinyMCE.isMSIE) + TinyMCE.prototype.addEventHandlers(editor_id); + + // Add blur handler + if (tinyMCE.isMSIE) + tinyMCE.addEvent(inst.getBody(), "blur", TinyMCE.prototype.eventPatch); + + // Trigger node change, this call locks buttons for tables and so forth + tinyMCE.selectedInstance = inst; + tinyMCE.selectedElement = inst.contentWindow.document.body; + tinyMCE.triggerNodeChange(false, true); + + // Call custom DOM cleanup + tinyMCE._customCleanup(inst, "insert_to_editor_dom", inst.getBody()); + tinyMCE._customCleanup(inst, "setup_content_dom", inst.getBody()); + tinyMCE._setEventsEnabled(inst.getBody(), true); + + inst.startContent = tinyMCE.trim(inst.getBody().innerHTML); + inst.undoLevels[inst.undoLevels.length] = inst.startContent; +}; + +TinyMCE.prototype.cancelEvent = function(e) { + if (tinyMCE.isMSIE) { + e.returnValue = false; + e.cancelBubble = true; + } else + e.preventDefault(); +}; + +TinyMCE.prototype.removeTinyMCEFormElements = function(form_obj) { + // Disable all UI form elements that TinyMCE created + for (var i=0; i"); + rng.collapse(false); + rng.select(); + + tinyMCE.execCommand("mceAddUndoLevel"); + tinyMCE.triggerNodeChange(false); + return false; + } + } + + // Backspace or delete + if (e.keyCode == 8 || e.keyCode == 46) { + tinyMCE.selectedElement = e.target; + tinyMCE.linkElement = tinyMCE.getParentElement(e.target, "a"); + tinyMCE.imgElement = tinyMCE.getParentElement(e.target, "img"); + tinyMCE.triggerNodeChange(false); + } + + return false; + break; + + case "keyup": + case "keydown": + if (e.target.editorId) + tinyMCE.selectedInstance = tinyMCE.instances[e.target.editorId]; + else + return; + + if (tinyMCE.selectedInstance) + tinyMCE.selectedInstance.switchSettings(); + + var inst = tinyMCE.selectedInstance; + + // Handle backspace + if (tinyMCE.isGecko && tinyMCE.settings['force_p_newlines'] && (e.keyCode == 8 || e.keyCode == 46) && !e.shiftKey) { + // Insert P element instead of BR + if (tinyMCE.selectedInstance._handleBackSpace(e.type)) { + // Cancel event + tinyMCE.execCommand("mceAddUndoLevel"); + e.preventDefault(); + return false; + } + } + + tinyMCE.selectedElement = null; + tinyMCE.selectedNode = null; + var elm = tinyMCE.selectedInstance.getFocusElement(); + tinyMCE.linkElement = tinyMCE.getParentElement(elm, "a"); + tinyMCE.imgElement = tinyMCE.getParentElement(elm, "img"); + tinyMCE.selectedElement = elm; + + // Update visualaids on tabs + if (tinyMCE.isGecko && e.type == "keyup" && e.keyCode == 9) + tinyMCE.handleVisualAid(tinyMCE.selectedInstance.getBody(), true, tinyMCE.settings['visual'], tinyMCE.selectedInstance); + + // Run image/link fix on Gecko if diffrent document base on paste + if (tinyMCE.isGecko && tinyMCE.settings['document_base_url'] != "" + document.location.href && e.type == "keyup" && e.ctrlKey && e.keyCode == 86) + tinyMCE.selectedInstance.fixBrokenURLs(); + + // Fix empty elements on return/enter, check where enter occured + if (tinyMCE.isMSIE && e.type == "keydown" && e.keyCode == 13) + tinyMCE.enterKeyElement = tinyMCE.selectedInstance.getFocusElement(); + + // Fix empty elements on return/enter + if (tinyMCE.isMSIE && e.type == "keyup" && e.keyCode == 13) { + var elm = tinyMCE.enterKeyElement; + if (elm) { + var re = new RegExp('^HR|IMG|BR$','g'); // Skip these + var dre = new RegExp('^H[1-6]$','g'); // Add double on these + + if (!elm.hasChildNodes() && !re.test(elm.nodeName)) { + if (dre.test(elm.nodeName)) + elm.innerHTML = "  "; + else + elm.innerHTML = " "; + } + } + } + + // Check if it's a position key + var keys = tinyMCE.posKeyCodes; + var posKey = false; + for (var i=0; i 0) + return; + + if (val.indexOf('%') == -1) + val += 'px'; + break; + + case "vspace": + case "hspace": + elm.style.marginTop = val + "px"; + elm.style.marginBottom = val + "px"; + elm.removeAttribute(attrib); + return; + + case "align": + if (elm.nodeName == "IMG") { + if (tinyMCE.isMSIE) + elm.style.styleFloat = val; + else + elm.style.cssFloat = val; + } else + elm.style.textAlign = val; + + elm.removeAttribute(attrib); + return; + } + + if (val != '') { + eval('elm.style.' + style + ' = val;'); + elm.removeAttribute(attrib); + } + } + } else { + if (style == '') + return; + + var val = eval('elm.style.' + style) == '' ? tinyMCE.getAttrib(elm, attrib) : eval('elm.style.' + style); + val = val == null ? '' : '' + val; + + switch (attrib) { + // Always move background to style + case "background": + if (val.indexOf('url') == -1 && val != '') + val = "url('" + val + "');"; + + if (val != '') { + elm.style.backgroundImage = val; + elm.removeAttribute(attrib); + } + return; + + case "border": + case "width": + case "height": + val = val.replace('px', ''); + break; + + case "align": + if (tinyMCE.getAttrib(elm, 'align') == '') { + if (elm.nodeName == "IMG") { + if (tinyMCE.isMSIE && elm.style.styleFloat != '') { + val = elm.style.styleFloat; + style = 'styleFloat'; + } else if (tinyMCE.isGecko && elm.style.cssFloat != '') { + val = elm.style.cssFloat; + style = 'cssFloat'; + } + } + } + break; + } + + if (val != '') { + elm.removeAttribute(attrib); + elm.setAttribute(attrib, val); + eval('elm.style.' + style + ' = "";'); + } + } +}; + +TinyMCE.prototype._cleanupAttribute = function(valid_attributes, element_name, attribute_node, element_node) { + var attribName = attribute_node.nodeName.toLowerCase(); + var attribValue = attribute_node.nodeValue; + var attribMustBeValue = null; + var verified = false; + + // Mozilla attibute, remove them + if (attribName.indexOf('moz_') != -1) + return null; + + // Mozilla fix for drag-drop/copy/paste images + if (!tinyMCE.isMSIE && (attribName == "mce_real_href" || attribName == "mce_real_src")) { + if (!tinyMCE.cleanup_on_save) { + var attrib = new Object(); + + attrib.name = attribName; + attrib.value = attribValue; + + return attrib; + } else + return null; + } + + // Auto verify + if (attribName == "mce_onclick") + verified = true; + + // Verify attrib + if (tinyMCE.cleanup_verify_html && !verified) { + for (var i=1; i' + output; + } + } + + // Remove deprecated attributes + var re = new RegExp("^(TABLE|TD|TR)$"); + if (re.test(node.nodeName)) { + // Move attrib to style + if ((node.nodeName != "TABLE" || tinyMCE.cleanup_inline_styles) && (width = tinyMCE.getAttrib(node, "width")) != '') { + node.style.width = width.indexOf('%') == -1 ? width : width + "px"; + node.removeAttribute("width"); + } + + // Is table and not inline + if ((node.nodeName == "TABLE" && !tinyMCE.cleanup_inline_styles) && node.style.width != '') { + tinyMCE.setAttrib(node, "width", node.style.width.replace('px','')); + node.style.width = ''; + } + + // Move attrib to style + if ((height = tinyMCE.getAttrib(node, "height")) != '') { + node.style.height = height.indexOf('%') == -1 ? height : height + "px"; + node.removeAttribute("height"); + } + } + + // Handle inline/outline styles + if (tinyMCE.cleanup_inline_styles) { + var re = new RegExp("^(TABLE|TD|TR|IMG|HR)$"); + if (re.test(node.nodeName)) { + tinyMCE._moveStyle(node, 'width', 'width'); + tinyMCE._moveStyle(node, 'height', 'height'); + tinyMCE._moveStyle(node, 'borderWidth', 'border'); + tinyMCE._moveStyle(node, '', 'vspace'); + tinyMCE._moveStyle(node, '', 'hspace'); + tinyMCE._moveStyle(node, 'textAlign', 'align'); + tinyMCE._moveStyle(node, 'backgroundColor', 'bgColor'); + tinyMCE._moveStyle(node, 'borderColor', 'borderColor'); + tinyMCE._moveStyle(node, 'backgroundImage', 'background'); + + // Refresh element in old MSIE + if (tinyMCE.isMSIE5) + node.outerHTML = node.outerHTML; + } else if (tinyMCE.isBlockElement(node)) + tinyMCE._moveStyle(node, 'textAlign', 'align'); + + if (node.nodeName == "FONT") + tinyMCE._moveStyle(node, 'color', 'color'); + } + + // Set attrib data + if (elementValidAttribs) { + for (var a=1; a 0) { + for (var i=0; i 0)) { + // tinyMCE.debug(node.attributes[i].nodeName + "=" + node.attributes[i].nodeValue); + var attrib = tinyMCE._cleanupAttribute(elementValidAttribs, elementName, node.attributes[i], node); + if (attrib && attrib.value != "") + elementAttribs += " " + attrib.name + "=" + '"' + this.convertStringToXML("" + attrib.value) + '"'; + } + } + } + + // MSIE table summary fix (MSIE 5.5) + if (tinyMCE.isMSIE && elementName == "table" && node.getAttribute("summary") != null && elementAttribs.indexOf('summary') == -1) { + var summary = tinyMCE.getAttrib(node, 'summary'); + if (summary != '') + elementAttribs += " summary=" + '"' + this.convertStringToXML(summary) + '"'; + } + + // MSIE form element issue + if (tinyMCE.isMSIE && elementName == "input") { + if (node.type) { + if (!elementAttribs.match(/ type=/g)) + elementAttribs += " type=" + '"' + node.type + '"'; + } + + if (node.value) { + if (!elementAttribs.match(/ value=/g)) + elementAttribs += " value=" + '"' + node.value + '"'; + } + } + + // Add nbsp to some elements + if ((elementName == "p" || elementName == "td") && (node.innerHTML == "" || node.innerHTML == " ")) + return "<" + elementName + elementAttribs + ">" + this.convertStringToXML(String.fromCharCode(160)) + ""; + + // Is MSIE script element + if (tinyMCE.isMSIE && elementName == "script") + return "<" + elementName + elementAttribs + ">" + node.text + ""; + + // Clean up children + if (node.hasChildNodes()) { + // Force BR + if (elementName == "p" && tinyMCE.cleanup_force_br_newlines) + output += ""; + else + output += "<" + elementName + elementAttribs + ">"; + + for (var i=0; i"; + } else { + if (!nonEmptyTag) { + if (openTag) + output += "<" + elementName + elementAttribs + ">"; + else + output += "<" + elementName + elementAttribs + " />"; + } + } + + return output; + + case 3: // Text + // Do not convert script elements + if (node.parentNode.nodeName.toLowerCase() == "script") + return node.nodeValue; + + return this.convertStringToXML(node.nodeValue); + + case 8: // Comment + return ""; + + default: // Unknown + return "[UNKNOWN NODETYPE " + node.nodeType + "]"; + } +}; + +TinyMCE.prototype.convertStringToXML = function(html_data) { + var output = ""; + + for (var i=0; i 127) + output += '&#' + chr + ";"; + else + output += String.fromCharCode(chr); + + continue; + } + + // Raw entities + if (tinyMCE.settings['entity_encoding'] == "raw") { + output += String.fromCharCode(chr); + continue; + } + + // Named entities + if (typeof(tinyMCE.cleanup_entities["c" + chr]) != 'undefined' && tinyMCE.cleanup_entities["c" + chr] != '') + output += '&' + tinyMCE.cleanup_entities["c" + chr] + ';'; + else + output += '' + String.fromCharCode(chr); + } + + return output; +}; + +TinyMCE.prototype._getCleanupElementName = function(chunk) { + var pos; + + if (chunk.charAt(0) == '+') + chunk = chunk.substring(1); + + if (chunk.charAt(0) == '-') + chunk = chunk.substring(1); + + if ((pos = chunk.indexOf('/')) != -1) + chunk = chunk.substring(0, pos); + + if ((pos = chunk.indexOf('[')) != -1) + chunk = chunk.substring(0, pos); + + return chunk; +}; + +TinyMCE.prototype._initCleanup = function() { + // Parse valid elements and attributes + var validElements = tinyMCE.settings["valid_elements"]; + validElements = validElements.split(','); + + // Handle extended valid elements + var extendedValidElements = tinyMCE.settings["extended_valid_elements"]; + extendedValidElements = extendedValidElements.split(','); + for (var i=0; i[ \n\r]*[ \n\r]*

    ', '
    ', 'gi'); + element.innerHTML = tinyMCE.regexpReplace(element.innerHTML, '', '', 'gi'); + } + + var html = this.cleanupNode(element); + + if (tinyMCE.settings['debug']) + tinyMCE.debug("Cleanup process executed in: " + (new Date().getTime()-startTime) + " ms."); + + // Remove pesky HR paragraphs + html = tinyMCE.regexpReplace(html, '


    ', '
    '); + html = tinyMCE.regexpReplace(html, '

     


     

    ', '
    '); + html = tinyMCE.regexpReplace(html, '\\s*
    \\s*', ' '); + + // Remove empty anchors + html = html.replace(new RegExp('(.*?)', 'gi'), '$1'); + + // Move contents behind anchors + html = html.replace(new RegExp('(.*?)', 'gi'), '$4'); + + // Remove some mozilla crap + if (!tinyMCE.isMSIE) + html = html.replace(new RegExp('', 'g'), ""); + + if (tinyMCE.settings['apply_source_formatting']) { + html = html.replace(new RegExp('<(p|div)([^>]*)>', 'g'), "\n<$1$2>\n"); + html = html.replace(new RegExp('<\/(p|div)([^>]*)>', 'g'), "\n\n"); + html = html.replace(new RegExp('
    ', 'g'), "
    \n"); + } + + if (tinyMCE.settings['force_br_newlines']) { + var re = new RegExp('

     

    ', 'g'); + html = html.replace(re, "
    "); + } + + if (tinyMCE.settings['force_p_newlines']) { + // Remove weridness! + var re = new RegExp('<>', 'g'); + html = html.replace(re, ""); + } + + if (tinyMCE.settings['remove_linebreaks']) + html = html.replace(new RegExp('\r|\n', 'g'), ' '); + + // Call custom cleanup code + html = tinyMCE._customCleanup(inst, on_save ? "get_from_editor" : "insert_to_editor", html); + + // Emtpy node, return empty + var chk = tinyMCE.regexpReplace(html, "[ \t\r\n]", "").toLowerCase(); + if (chk == "
    " || chk == "
    " || chk == "

     

    " || chk == "

     

    " || chk == "

    ") + html = ""; + + if (tinyMCE.settings["preformatted"]) + return "
    " + html + "
    "; + + return html; +}; + +TinyMCE.prototype.insertLink = function(href, target, title, onclick, style_class) { + tinyMCE.execCommand('mceBeginUndoLevel'); + + if (this.selectedInstance && this.selectedElement && this.selectedElement.nodeName.toLowerCase() == "img") { + var doc = this.selectedInstance.getDoc(); + var linkElement = tinyMCE.getParentElement(this.selectedElement, "a"); + var newLink = false; + + if (!linkElement) { + linkElement = doc.createElement("a"); + newLink = true; + } + + href = eval(tinyMCE.settings['urlconverter_callback'] + "(href, linkElement);"); + tinyMCE.setAttrib(linkElement, 'href', href); + tinyMCE.setAttrib(linkElement, 'target', target); + tinyMCE.setAttrib(linkElement, 'title', title); + tinyMCE.setAttrib(linkElement, 'onclick', onclick); + tinyMCE.setAttrib(linkElement, 'class', style_class); + + if (newLink) { + linkElement.appendChild(this.selectedElement.cloneNode(true)); + this.selectedElement.parentNode.replaceChild(linkElement, this.selectedElement); + } + + return; + } + + if (!this.linkElement && this.selectedInstance) { + if (tinyMCE.isSafari) { + tinyMCE.execCommand("mceInsertContent", false, '' + this.selectedInstance.getSelectedHTML() + ''); + } else + this.selectedInstance.contentDocument.execCommand("createlink", false, "#mce_temp_url#"); + + tinyMCE.linkElement = this.getElementByAttributeValue(this.selectedInstance.contentDocument.body, "a", "href", "#mce_temp_url#"); + + var elementArray = this.getElementsByAttributeValue(this.selectedInstance.contentDocument.body, "a", "href", "#mce_temp_url#"); + + for (var i=0; i'; + + tinyMCE.execCommand("mceInsertContent", false, html); + } else { + if (!this.imgElement && this.selectedInstance) { + if (tinyMCE.isSafari) + tinyMCE.execCommand("mceInsertContent", false, ''); + else + this.selectedInstance.contentDocument.execCommand("insertimage", false, "#mce_temp_url#"); + + tinyMCE.imgElement = this.getElementByAttributeValue(this.selectedInstance.contentDocument.body, "img", "src", "#mce_temp_url#"); + } + } + + if (this.imgElement) { + var needsRepaint = false; + + src = eval(tinyMCE.settings['urlconverter_callback'] + "(src, tinyMCE.imgElement);"); + + if (onmouseover && onmouseover != "") + onmouseover = "this.src='" + eval(tinyMCE.settings['urlconverter_callback'] + "(onmouseover, tinyMCE.imgElement);") + "';"; + + if (onmouseout && onmouseout != "") + onmouseout = "this.src='" + eval(tinyMCE.settings['urlconverter_callback'] + "(onmouseout, tinyMCE.imgElement);") + "';"; + + // Use alt as title if it's undefined + if (typeof(title) == "undefined") + title = alt; + + if (width != this.imgElement.getAttribute("width") || height != this.imgElement.getAttribute("height") || align != this.imgElement.getAttribute("align")) + needsRepaint = true; + + tinyMCE.setAttrib(this.imgElement, 'src', src); + tinyMCE.setAttrib(this.imgElement, 'mce_real_src', src); + tinyMCE.setAttrib(this.imgElement, 'alt', alt); + tinyMCE.setAttrib(this.imgElement, 'title', title); + tinyMCE.setAttrib(this.imgElement, 'align', align); + tinyMCE.setAttrib(this.imgElement, 'border', border, true); + tinyMCE.setAttrib(this.imgElement, 'hspace', hspace, true); + tinyMCE.setAttrib(this.imgElement, 'vspace', vspace, true); + tinyMCE.setAttrib(this.imgElement, 'width', width, true); + tinyMCE.setAttrib(this.imgElement, 'height', height, true); + tinyMCE.setAttrib(this.imgElement, 'onmouseover', onmouseover); + tinyMCE.setAttrib(this.imgElement, 'onmouseout', onmouseout); + + // Fix for bug #989846 - Image resize bug + if (width && width != "") + this.imgElement.style.pixelWidth = width; + + if (height && height != "") + this.imgElement.style.pixelHeight = height; + + if (needsRepaint) + tinyMCE.selectedInstance.repaint(); + } + + tinyMCE.execCommand('mceEndUndoLevel'); +}; + +TinyMCE.prototype.getElementByAttributeValue = function(node, element_name, attrib, value) { + var elements = this.getElementsByAttributeValue(node, element_name, attrib, value); + if (elements.length == 0) + return null; + + return elements[0]; +}; + +TinyMCE.prototype.getElementsByAttributeValue = function(node, element_name, attrib, value) { + var elements = new Array(); + + if (node && node.nodeName.toLowerCase() == element_name) { + if (node.getAttribute(attrib) && node.getAttribute(attrib).indexOf(value) != -1) + elements[elements.length] = node; + } + + if (node.hasChildNodes) { + for (var x=0, n=node.childNodes.length; x= strTok2.length) { + for (var i=0; i= strTok2.length || strTok1[i] != strTok2[i]) { + breakPoint = i + 1; + break; + } + } + } + + if (strTok1.length < strTok2.length) { + for (var i=0; i= strTok1.length || strTok1[i] != strTok2[i]) { + breakPoint = i + 1; + break; + } + } + } + + if (breakPoint == 1) + return url_to_relative; + + for (var i=0; i<(strTok1.length-(breakPoint-1)); i++) + outputString += "../"; + + for (var i=breakPoint-1; i=0; i--) { + if (baseURLParts[i].length == 0) + continue; + + newBaseURLParts[newBaseURLParts.length] = baseURLParts[i]; + } + baseURLParts = newBaseURLParts.reverse(); + + // Merge relURLParts chunks + var newRelURLParts = new Array(); + var numBack = 0; + for (var i=relURLParts.length-1; i>=0; i--) { + if (relURLParts[i].length == 0 || relURLParts[i] == ".") + continue; + + if (relURLParts[i] == '..') { + numBack++; + continue; + } + + if (numBack > 0) { + numBack--; + continue; + } + + newRelURLParts[newRelURLParts.length] = relURLParts[i]; + } + + relURLParts = newRelURLParts.reverse(); + + // Remove end from absolute path + var len = baseURLParts.length-numBack; + var absPath = (len <= 0 ? "" : "/") + baseURLParts.slice(0, len).join('/') + "/" + relURLParts.join('/'); + var start = "", end = ""; + + // Build start part + if (baseURL['protocol']) + start += baseURL['protocol'] + "://"; + + if (baseURL['host']) + start += baseURL['host']; + + if (baseURL['port']) + start += ":" + baseURL['port']; + + // Build end part + if (relURL['query']) + end += "?" + relURL['query']; + + if (relURL['anchor']) + end += "#" + relURL['anchor']; + + // Re-add trailing slash if it's removed + if (relative_url.charAt(relative_url.length-1) == "/") + end += "/"; + + return start + absPath + end; +}; + +TinyMCE.prototype.getParam = function(name, default_value, strip_whitespace, split_chr) { + var value = (typeof(this.settings[name]) == "undefined") ? default_value : this.settings[name]; + + // Fix bool values + if (value == "true" || value == "false") + return (value == "true"); + + if (strip_whitespace) + value = tinyMCE.regexpReplace(value, "[ \t\r\n]", ""); + + if (typeof(split_chr) != "undefined" && split_chr != null) { + value = value.split(split_chr); + var outArray = new Array(); + + for (var i=0; i 0); + + if (tinyMCE.settings['custom_undo_redo']) { + undoIndex = inst.undoIndex; + undoLevels = inst.undoLevels.length; + } + + tinyMCE.executeCallback('handleNodeChangeCallback', '_handleNodeChange', 0, editorId, elm, undoIndex, undoLevels, inst.visualAid, anySelection); + } + } + + if (this.selectedInstance && (typeof(focus) == "undefined" || focus)) + this.selectedInstance.contentWindow.focus(); +}; + +TinyMCE.prototype._customCleanup = function(inst, type, content) { + // Call custom cleanup + var customCleanup = tinyMCE.settings['cleanup_callback']; + if (customCleanup != "" && eval("typeof(" + customCleanup + ")") != "undefined") + content = eval(customCleanup + "(type, content, inst);"); + + // Trigger plugin cleanups + var plugins = tinyMCE.getParam('plugins', '', true, ','); + for (var i=0; i 0) + className += " "; + + className += classNames[i]; + } + + return className; +}; + +TinyMCE.prototype.handleVisualAid = function(element, deep, state, inst) { + if (!element) + return; + + var tableElement = null; + + switch (element.nodeName) { + case "TABLE": + var oldW = element.style.width; + var oldH = element.style.height; + + element.className = tinyMCE.getVisualAidClass(element.className, state && element.getAttribute("border") == 0); + + element.style.width = oldW; + element.style.height = oldH; + + for (var y=0; y', 'gi'), ''); + html_content = html_content.replace(new RegExp('(.*?)', 'gi'), '$4'); + + // Weird MSIE bug,


    breaks runtime? + if (tinyMCE.isMSIE) { + var re = new RegExp('


    ', 'g'); + html_content = html_content.replace(re, "
    "); + } + + // Try innerHTML if it fails use pasteHTML in MSIE + try { + doc.body.innerHTML = html_content; + } catch (e) { + if (this.isMSIE) + doc.body.createTextRange().pasteHTML(html_content); + } + + // Content duplication bug fix + if (tinyMCE.isMSIE && tinyMCE.settings['fix_content_duplication']) { + // Remove P elements in P elements + var paras = doc.getElementsByTagName("P"); + for (var i=0; i<\/o:p>", "
    "); + html = tinyMCE.regexpReplace(html, " <\/o:p>", ""); + html = tinyMCE.regexpReplace(html, "", ""); + html = tinyMCE.regexpReplace(html, "

    <\/p>", ""); + html = tinyMCE.regexpReplace(html, "

    <\/p>\r\n

    <\/p>", ""); + html = tinyMCE.regexpReplace(html, "

     <\/p>", "
    "); + html = tinyMCE.regexpReplace(html, "

    \s*(

    \s*)?", "

    "); + html = tinyMCE.regexpReplace(html, "<\/p>\s*(<\/p>\s*)?", "

    "); + } + + // Always set the htmlText output + doc.body.innerHTML = html; + } +}; + +TinyMCE.prototype.getImageSrc = function(str) { + var pos = -1; + + if (!str) + return ""; + + if ((pos = str.indexOf('this.src=')) != -1) { + var src = str.substring(pos + 10); + + src = src.substring(0, src.indexOf('\'')); + + return src; + } + + return ""; +}; + +TinyMCE.prototype._getElementById = function(element_id) { + var elm = document.getElementById(element_id); + if (!elm) { + // Check for element in forms + for (var j=0; j 0) { + for (var x=0; x 0) + tinyMCE.cssClasses = output; + + return output; +}; + +TinyMCE.prototype.regexpReplace = function(in_str, reg_exp, replace_str, opts) { + if (typeof(opts) == "undefined") + opts = 'g'; + + var re = new RegExp(reg_exp, opts); + return in_str.replace(re, replace_str); +}; + +TinyMCE.prototype.trim = function(str) { + return str.replace(/^\s*|\s*$/g, ""); +}; + +TinyMCE.prototype.cleanupEventStr = function(str) { + str = "" + str; + str = str.replace('function anonymous()\n{\n', ''); + str = str.replace('\n}', ''); + str = str.replace(/^return true;/gi, ''); + + return str; +}; + +TinyMCE.prototype.getAbsPosition = function(node) { + var pos = new Object(); + + pos.absLeft = pos.absTop = 0; + + var parentNode = node; + while (parentNode) { + pos.absLeft += parentNode.offsetLeft; + pos.absTop += parentNode.offsetTop; + + parentNode = parentNode.offsetParent; + } + + return pos; +}; + +TinyMCE.prototype.getControlHTML = function(control_name) { + var themePlugins = tinyMCE.getParam('plugins', '', true, ','); + var templateFunction; + + // Is it defined in any plugins + for (var i=themePlugins.length; i>=0; i--) { + templateFunction = 'TinyMCE_' + themePlugins[i] + "_getControlHTML"; + if (eval("typeof(" + templateFunction + ")") != 'undefined') { + var html = eval(templateFunction + "('" + control_name + "');"); + if (html != "") + return tinyMCE.replaceVar(html, "pluginurl", tinyMCE.baseURL + "/plugins/" + themePlugins[i]); + } + } + + return eval('TinyMCE_' + tinyMCE.settings['theme'] + "_getControlHTML" + "('" + control_name + "');"); +}; + +TinyMCE.prototype._themeExecCommand = function(editor_id, element, command, user_interface, value) { + var themePlugins = tinyMCE.getParam('plugins', '', true, ','); + var templateFunction; + + // Is it defined in any plugins + for (var i=themePlugins.length; i>=0; i--) { + templateFunction = 'TinyMCE_' + themePlugins[i] + "_execCommand"; + if (eval("typeof(" + templateFunction + ")") != 'undefined') { + if (eval(templateFunction + "(editor_id, element, command, user_interface, value);")) + return true; + } + } + + // Theme funtion + templateFunction = 'TinyMCE_' + tinyMCE.settings['theme'] + "_execCommand"; + if (eval("typeof(" + templateFunction + ")") != 'undefined') + return eval(templateFunction + "(editor_id, element, command, user_interface, value);"); + + // Pass to normal + return false; +}; + +TinyMCE.prototype._getThemeFunction = function(suffix, skip_plugins) { + if (skip_plugins) + return 'TinyMCE_' + tinyMCE.settings['theme'] + suffix; + + var themePlugins = tinyMCE.getParam('plugins', '', true, ','); + var templateFunction; + + // Is it defined in any plugins + for (var i=themePlugins.length; i>=0; i--) { + templateFunction = 'TinyMCE_' + themePlugins[i] + suffix; + if (eval("typeof(" + templateFunction + ")") != 'undefined') + return templateFunction; + } + + return 'TinyMCE_' + tinyMCE.settings['theme'] + suffix; +}; + + +TinyMCE.prototype.isFunc = function(func_name) { + if (func_name == null || func_name == "") + return false; + + return eval("typeof(" + func_name + ")") != "undefined"; +}; + +TinyMCE.prototype.exec = function(func_name, args) { + var str = func_name + '('; + + // Add all arguments + for (var i=3; i 1 && tinyMCE.currentConfig != this.settings['index']) { + tinyMCE.settings = this.settings; + tinyMCE.currentConfig = this.settings['index']; + } +}; + +TinyMCEControl.prototype.fixBrokenURLs = function() { + var body = this.getBody(); + + var elms = body.getElementsByTagName("img"); + for (var i=0; i 0) + rng.selectNodeContents(nodes[0]); + else + rng.selectNodeContents(node); + } else + rng.selectNode(node); + + if (collapse) { + // Special treatment of textnode collapse + if (!to_start && node.nodeType == 3) { + rng.setStart(node, node.nodeValue.length); + rng.setEnd(node, node.nodeValue.length); + } else + rng.collapse(to_start); + } + + sel.removeAllRanges(); + sel.addRange(rng); + } + + this.scrollToNode(node); + + // Set selected element + tinyMCE.selectedElement = null; + if (node.nodeType == 1) + tinyMCE.selectedElement = node; +}; + +TinyMCEControl.prototype.scrollToNode = function(node) { + // Scroll to node position + var pos = tinyMCE.getAbsPosition(node); + var doc = this.getDoc(); + var scrollX = doc.body.scrollLeft + doc.documentElement.scrollLeft; + var scrollY = doc.body.scrollTop + doc.documentElement.scrollTop; + var height = tinyMCE.isMSIE ? document.getElementById(this.editorId).style.pixelHeight : this.targetElement.clientHeight; + + // Only scroll if out of visible area + if (!tinyMCE.settings['auto_resize'] && !(node.absTop > scrollY && node.absTop < (scrollY - 25 + height))) + this.contentWindow.scrollTo(pos.absLeft, pos.absTop - height + 25); +}; + +TinyMCEControl.prototype.getBody = function() { + return this.getDoc().body; +}; + +TinyMCEControl.prototype.getDoc = function() { + return this.contentWindow.document; +}; + +TinyMCEControl.prototype.getWin = function() { + return this.contentWindow; +}; + +TinyMCEControl.prototype.getSel = function() { + if (tinyMCE.isMSIE) + return this.getDoc().selection; + + var sel = this.contentWindow.getSelection(); + + // Fake getRangeAt + if (tinyMCE.isSafari && !sel.getRangeAt) { + var newSel = new Object(); + var doc = this.getDoc(); + + function getRangeAt(idx) { + var rng = new Object(); + + rng.startContainer = this.focusNode; + rng.endContainer = this.anchorNode; + rng.commonAncestorContainer = this.focusNode; + rng.createContextualFragment = function (html) { + // Seems to be a tag + if (html.charAt(0) == '<') { + var elm = doc.createElement("div"); + + elm.innerHTML = html; + + return elm.firstChild; + } + + return doc.createTextNode("UNSUPPORTED, DUE TO LIMITATIONS IN SAFARI!"); + }; + + rng.deleteContents = function () { + doc.execCommand("Delete", false, ""); + }; + + return rng; + } + + // Patch selection + + newSel.focusNode = sel.baseNode; + newSel.focusOffset = sel.baseOffset; + newSel.anchorNode = sel.extentNode; + newSel.anchorOffset = sel.extentOffset; + newSel.getRangeAt = getRangeAt; + newSel.text = "" + sel; + newSel.realSelection = sel; + + newSel.toString = function () {return this.text;}; + + return newSel; + } + + return sel; +}; + +TinyMCEControl.prototype.getRng = function() { + var sel = this.getSel(); + if (sel == null) + return null; + + if (tinyMCE.isMSIE) + return sel.createRange(); + + if (tinyMCE.isSafari) { + var rng = this.getDoc().createRange(); + var sel = this.getSel().realSelection; + + rng.setStart(sel.baseNode, sel.baseOffset); + rng.setEnd(sel.extentNode, sel.extentOffset); + + return rng; + } + + return this.getSel().getRangeAt(0); +}; + +TinyMCEControl.prototype._insertPara = function(e) { + function isEmpty(para) { + function isEmptyHTML(html) { + return html.replace(new RegExp('[ \t\r\n]+', 'g'), '').toLowerCase() == ""; + } + + // Check for images + if (para.getElementsByTagName("img").length > 0) + return false; + + // Check for tables + if (para.getElementsByTagName("table").length > 0) + return false; + + // Check for HRs + if (para.getElementsByTagName("hr").length > 0) + return false; + + // Check all textnodes + var nodes = tinyMCE.getNodeTree(para, new Array(), 3); + for (var i=0; i <" + blockName + "> "; + paraAfter = body.childNodes[1]; + } + + this.selectNode(paraAfter, true, true); + + return true; + } + + // Place first part within new paragraph + if (startChop.nodeName == blockName) + rngBefore.setStart(startChop, 0); + else + rngBefore.setStartBefore(startChop); + rngBefore.setEnd(startNode, startOffset); + paraBefore.appendChild(rngBefore.cloneContents()); + + // Place secound part within new paragraph + rngAfter.setEndAfter(endChop); + rngAfter.setStart(endNode, endOffset); + var contents = rngAfter.cloneContents(); + if (contents.firstChild && contents.firstChild.nodeName == blockName) { + var nodes = contents.firstChild.childNodes; + for (var i=0; i 0) + rng.pasteHTML('
    ' + rng.htmlText + "
    "); + + tinyMCE.triggerNodeChange(); + return; + } + } + } + + switch (command) { + case "mceRepaint": + this.repaint(); + return true; + + case "mceStoreSelection": + this.selectionBookmark = this.getBookmark(); + return true; + + case "mceRestoreSelection": + this.moveToBookmark(this.selectionBookmark); + return true; + + case "InsertUnorderedList": + case "InsertOrderedList": + var tag = (command == "InsertUnorderedList") ? "ul" : "ol"; + + if (tinyMCE.isSafari) + this.execCommand("mceInsertContent", false, "<" + tag + ">
  •  
  • <" + tag + ">"); + else + this.getDoc().execCommand(command, user_interface, value); + + tinyMCE.triggerNodeChange(); + break; + + case "Strikethrough": + if (tinyMCE.isSafari) + this.execCommand("mceInsertContent", false, "" + this.getSelectedHTML() + ""); + else + this.getDoc().execCommand(command, user_interface, value); + + tinyMCE.triggerNodeChange(); + break; + + case "mceSelectNode": + this.selectNode(value); + tinyMCE.triggerNodeChange(); + tinyMCE.selectedNode = value; + break; + + case "FormatBlock": + if (value == null || value == "") { + var elm = tinyMCE.getParentElement(this.getFocusElement(), "p,div,h1,h2,h3,h4,h5,h6,pre,address"); + + if (elm) + this.execCommand("mceRemoveNode", false, elm); + } else + this.getDoc().execCommand("FormatBlock", false, value); + + tinyMCE.triggerNodeChange(); + + break; + + case "mceRemoveNode": + if (!value) + value = tinyMCE.getParentElement(this.getFocusElement()); + + if (tinyMCE.isMSIE) { + value.outerHTML = value.innerHTML; + } else { + var rng = value.ownerDocument.createRange(); + rng.setStartBefore(value); + rng.setEndAfter(value); + rng.deleteContents(); + rng.insertNode(rng.createContextualFragment(value.innerHTML)); + } + + tinyMCE.triggerNodeChange(); + + break; + + case "mceSelectNodeDepth": + var parentNode = this.getFocusElement(); + for (var i=0; parentNode; i++) { + if (parentNode.nodeName.toLowerCase() == "body") + break; + + if (parentNode.nodeName.toLowerCase() == "#text") { + i--; + parentNode = parentNode.parentNode; + continue; + } + + if (i == value) { + this.selectNode(parentNode, false); + tinyMCE.triggerNodeChange(); + tinyMCE.selectedNode = parentNode; + return; + } + + parentNode = parentNode.parentNode; + } + + break; + + case "SetStyleInfo": + var rng = this.getRng(); + var sel = this.getSel(); + var scmd = value['command']; + var sname = value['name']; + var svalue = value['value']; + var wrapper = value['wrapper'] ? value['wrapper'] : "span"; + var parentElm = null; + var invalidRe = new RegExp("^BODY|HTML$", "g"); + + // Whole element selected check + if (tinyMCE.isMSIE) { + // Control range + if (rng.item) + parentElm = rng.item(0); + else { + var pelm = rng.parentElement(); + var prng = doc.selection.createRange(); + prng.moveToElementText(pelm); + + if (rng.htmlText == prng.htmlText || rng.boundingWidth == 0) + parentElm = pelm; + } + } else { + var felm = this.getFocusElement(); + if (sel.isCollapsed || (/td|tr|tbody|table/ig.test(felm.nodeName) && sel.anchorNode == felm.parentNode)) + parentElm = felm; + } + + // Whole element selected + if (parentElm && !invalidRe.test(parentElm.nodeName)) { + if (scmd == "setstyle") + eval("parentElm.style." + sname + " = svalue;"); + + if (scmd == "setattrib") + tinyMCE.setAttrib(parentElm, sname, svalue); + + if (scmd == "removeformat") { + parentElm.style.cssText = ''; + tinyMCE.setAttrib(parentElm, 'class', ''); + } + + // Remove style/attribs from all children + var ch = tinyMCE.getNodeTree(parentElm, new Array(), 1); + for (var z=0; z=0; i--) { + var elm = nodes[i]; + var isNew = tinyMCE.getAttrib(elm, "mce_new") == "true"; + + elm.removeAttribute("mce_new"); + + // Is only child a element + if (elm.childNodes && elm.childNodes.length == 1 && elm.childNodes[0].nodeType == 1) { + //tinyMCE.debug("merge1" + isNew); + this._mergeElements(scmd, elm, elm.childNodes[0], isNew); + continue; + } + + // Is I the only child + if (elm.parentNode.childNodes.length == 1 && !invalidRe.test(elm.nodeName) && !invalidRe.test(elm.parentNode.nodeName)) { + //tinyMCE.debug("merge2" + isNew + "," + elm.nodeName + "," + elm.parentNode.nodeName); + this._mergeElements(scmd, elm.parentNode, elm, false); + } + } + + // Remove empty wrappers + var nodes = doc.getElementsByTagName(wrapper); + for (var i=nodes.length-1; i>=0; i--) { + var elm = nodes[i]; + var isEmpty = true; + + // Check if it has any attribs + var tmp = doc.createElement("body"); + tmp.appendChild(elm.cloneNode(false)); + + // Is empty span, remove it + tmp.innerHTML = tmp.innerHTML.replace(new RegExp('style|class=""', 'gi'), ''); + if (new RegExp('', 'gi').test(tmp.innerHTML)) { + for (var x=0; x 0) { + value = tinyMCE.replaceVar(value, "selection", selectedText); + tinyMCE.execCommand('mceInsertContent', false, value); + } + + tinyMCE.triggerNodeChange(); + break; + + case "mceSetAttribute": + if (typeof(value) == 'object') { + var targetElms = (typeof(value['targets']) == "undefined") ? "p,img,span,div,td,h1,h2,h3,h4,h5,h6,pre,address" : value['targets']; + var targetNode = tinyMCE.getParentElement(this.getFocusElement(), targetElms); + + if (targetNode) { + targetNode.setAttribute(value['name'], value['value']); + tinyMCE.triggerNodeChange(); + } + } + break; + + case "mceSetCSSClass": + this.execCommand("SetStyleInfo", false, {command : "setattrib", name : "class", value : value}); + break; + + case "mceInsertRawHTML": + var key = 'tiny_mce_marker'; + + this.execCommand('mceBeginUndoLevel'); + + // Insert marker key + this.execCommand('mceInsertContent', false, key); + + // Store away scroll pos + var scrollX = this.getDoc().body.scrollLeft + this.getDoc().documentElement.scrollLeft; + var scrollY = this.getDoc().body.scrollTop + this.getDoc().documentElement.scrollTop; + + // Find marker and replace with RAW HTML + var html = this.getBody().innerHTML; + if ((pos = html.indexOf(key)) != -1) + this.getBody().innerHTML = html.substring(0, pos) + value + html.substring(pos + key.length); + + // Restore scoll pos + this.contentWindow.scrollTo(scrollX, scrollY); + + this.execCommand('mceEndUndoLevel'); + + break; + + case "mceInsertContent": + if (!tinyMCE.isMSIE) { + var sel = this.getSel(); + var rng = this.getRng(); + var isHTML = value.indexOf('<') != -1; + + if (isHTML) { + if (tinyMCE.isSafari) { + var tmpRng = this.getDoc().createRange(); + + tmpRng.setStart(this.getBody(), 0); + tmpRng.setEnd(this.getBody(), 0); + + value = tmpRng.createContextualFragment(value); + } else + value = rng.createContextualFragment(value); + } else { + // Setup text node + var el = document.createElement("div"); + el.innerHTML = value; + value = el.firstChild.nodeValue; + value = doc.createTextNode(value); + } + + // Insert plain text in Safari + if (tinyMCE.isSafari && !isHTML) { + this.execCommand('InsertText', false, value.nodeValue); + tinyMCE.triggerNodeChange(); + return true; + } else if (tinyMCE.isSafari && isHTML) { + rng.deleteContents(); + rng.insertNode(value); + tinyMCE.triggerNodeChange(); + return true; + } + + rng.deleteContents(); + + // If target node is text do special treatment, (Mozilla 1.3 fix) + if (rng.startContainer.nodeType == 3) { + var node = rng.startContainer.splitText(rng.startOffset); + node.parentNode.insertBefore(value, node); + } else + rng.insertNode(value); + + if (!isHTML) { + // Removes weird selection trails + sel.selectAllChildren(doc.body); + sel.removeAllRanges(); + + // Move cursor to end of content + var rng = doc.createRange(); + + rng.selectNode(value); + rng.collapse(false); + + sel.addRange(rng); + } else + rng.collapse(false); + } else { + var rng = doc.selection.createRange(); + + if (rng.item) + rng.item(0).outerHTML = value; + else + rng.pasteHTML(value); + } + + tinyMCE.triggerNodeChange(); + break; + + case "mceStartTyping": + if (tinyMCE.settings['custom_undo_redo'] && this.typingUndoIndex == -1) { + this.typingUndoIndex = this.undoIndex; + this.execCommand('mceAddUndoLevel'); + //tinyMCE.debug("mceStartTyping"); + } + break; + + case "mceEndTyping": + if (tinyMCE.settings['custom_undo_redo'] && this.typingUndoIndex != -1) { + this.execCommand('mceAddUndoLevel'); + this.typingUndoIndex = -1; + //tinyMCE.debug("mceEndTyping"); + } + break; + + case "mceBeginUndoLevel": + this.undoRedo = false; + break; + + case "mceEndUndoLevel": + this.undoRedo = true; + this.execCommand('mceAddUndoLevel'); + break; + + case "mceAddUndoLevel": + if (tinyMCE.settings['custom_undo_redo'] && this.undoRedo) { + // tinyMCE.debug("add level"); + + if (this.typingUndoIndex != -1) { + this.undoIndex = this.typingUndoIndex; + // tinyMCE.debug("Override: " + this.undoIndex); + } + + var newHTML = tinyMCE.trim(this.getBody().innerHTML); + if (newHTML != this.undoLevels[this.undoIndex]) { + // tinyMCE.debug("[" + newHTML + "," + this.undoLevels[this.undoIndex] + "]"); + + tinyMCE.executeCallback('onchange_callback', '_onchange', 0, this); + + // Time to compress + var customUndoLevels = tinyMCE.settings['custom_undo_redo_levels']; + if (customUndoLevels != -1 && this.undoLevels.length > customUndoLevels) { + for (var i=0; i 0) { + this.undoIndex--; + this.getBody().innerHTML = this.undoLevels[this.undoIndex]; + this.repaint(); + } + + // tinyMCE.debug("Undo - undo levels:" + this.undoLevels.length + ", undo index: " + this.undoIndex); + tinyMCE.triggerNodeChange(); + } else + this.getDoc().execCommand(command, user_interface, value); + break; + + case "Redo": + if (tinyMCE.settings['custom_undo_redo']) { + tinyMCE.execCommand("mceEndTyping"); + + if (this.undoIndex < (this.undoLevels.length-1)) { + this.undoIndex++; + this.getBody().innerHTML = this.undoLevels[this.undoIndex]; + this.repaint(); + // tinyMCE.debug("Redo - undo levels:" + this.undoLevels.length + ", undo index: " + this.undoIndex); + } + + tinyMCE.triggerNodeChange(); + } else + this.getDoc().execCommand(command, user_interface, value); + break; + + case "mceToggleVisualAid": + this.visualAid = !this.visualAid; + tinyMCE.handleVisualAid(this.getBody(), true, this.visualAid, this); + tinyMCE.triggerNodeChange(); + break; + + case "Indent": + this.getDoc().execCommand(command, user_interface, value); + tinyMCE.triggerNodeChange(); + if (tinyMCE.isMSIE) { + var n = tinyMCE.getParentElement(this.getFocusElement(), "blockquote"); + do { + if (n && n.nodeName == "BLOCKQUOTE") { + n.removeAttribute("dir"); + n.removeAttribute("style"); + } + } while (n = n.parentNode); + } + break; + + case "removeformat": + var text = this.getSelectedText(); + + if (tinyMCE.isMSIE) { + try { + var rng = doc.selection.createRange(); + rng.execCommand("RemoveFormat", false, null); + } catch (e) { + // Do nothing + } + + this.execCommand("SetStyleInfo", false, {command : "removeformat"}); + } else { + this.getDoc().execCommand(command, user_interface, value); + + this.execCommand("SetStyleInfo", false, {command : "removeformat"}); + } + + // Remove class + if (text.length == 0) + this.execCommand("mceSetCSSClass", false, ""); + + tinyMCE.triggerNodeChange(); + break; + + default: + this.getDoc().execCommand(command, user_interface, value); + tinyMCE.triggerNodeChange(); + } + + // Add undo level after modification + if (command != "mceAddUndoLevel" && command != "Undo" && command != "Redo" && command != "mceStartTyping" && command != "mceEndTyping") + tinyMCE.execCommand("mceAddUndoLevel"); +}; + +TinyMCEControl.prototype.queryCommandValue = function(command) { + return this.getDoc().queryCommandValue(command); +}; + +TinyMCEControl.prototype.queryCommandState = function(command) { + return this.getDoc().queryCommandState(command); +}; + +TinyMCEControl.prototype.onAdd = function(replace_element, form_element_name, target_document) { + var targetDoc = target_document ? target_document : document; + + this.targetDoc = targetDoc; + + tinyMCE.themeURL = tinyMCE.baseURL + "/themes/" + this.settings['theme']; + this.settings['themeurl'] = tinyMCE.themeURL; + + if (!replace_element) { + alert("Error: Could not find the target element."); + return false; + } + + var templateFunction = tinyMCE._getThemeFunction('_getInsertLinkTemplate'); + if (eval("typeof(" + templateFunction + ")") != 'undefined') + this.insertLinkTemplate = eval(templateFunction + '(this.settings);'); + + var templateFunction = tinyMCE._getThemeFunction('_getInsertImageTemplate'); + if (eval("typeof(" + templateFunction + ")") != 'undefined') + this.insertImageTemplate = eval(templateFunction + '(this.settings);'); + + var templateFunction = tinyMCE._getThemeFunction('_getEditorTemplate'); + if (eval("typeof(" + templateFunction + ")") == 'undefined') { + alert("Error: Could not find the template function: " + templateFunction); + return false; + } + + var editorTemplate = eval(templateFunction + '(this.settings, this.editorId);'); + + var deltaWidth = editorTemplate['delta_width'] ? editorTemplate['delta_width'] : 0; + var deltaHeight = editorTemplate['delta_height'] ? editorTemplate['delta_height'] : 0; + var html = '' + editorTemplate['html']; + + var templateFunction = tinyMCE._getThemeFunction('_handleNodeChange', true); + if (eval("typeof(" + templateFunction + ")") != 'undefined') + this.settings['handleNodeChangeCallback'] = templateFunction; + + html = tinyMCE.replaceVar(html, "editor_id", this.editorId); + this.settings['default_document'] = tinyMCE.baseURL + "/blank.htm"; + + this.settings['old_width'] = this.settings['width']; + this.settings['old_height'] = this.settings['height']; + + // Set default width, height + if (this.settings['width'] == -1) + this.settings['width'] = replace_element.offsetWidth; + + if (this.settings['height'] == -1) + this.settings['height'] = replace_element.offsetHeight; + + // Try the style width + if (this.settings['width'] == 0) + this.settings['width'] = replace_element.style.width; + + // Try the style height + if (this.settings['height'] == 0) + this.settings['height'] = replace_element.style.height; + + // If no width/height then default to 320x240, better than nothing + if (this.settings['width'] == 0) + this.settings['width'] = 320; + + if (this.settings['height'] == 0) + this.settings['height'] = 240; + + this.settings['area_width'] = parseInt(this.settings['width']); + this.settings['area_height'] = parseInt(this.settings['height']); + this.settings['area_width'] += deltaWidth; + this.settings['area_height'] += deltaHeight; + + // Special % handling + if (("" + this.settings['width']).indexOf('%') != -1) + this.settings['area_width'] = "100%"; + + if (("" + this.settings['height']).indexOf('%') != -1) + this.settings['area_height'] = "100%"; + + if (("" + replace_element.style.width).indexOf('%') != -1) { + this.settings['width'] = replace_element.style.width; + this.settings['area_width'] = "100%"; + } + + if (("" + replace_element.style.height).indexOf('%') != -1) { + this.settings['height'] = replace_element.style.height; + this.settings['area_height'] = "100%"; + } + + html = tinyMCE.applyTemplate(html); + + this.settings['width'] = this.settings['old_width']; + this.settings['height'] = this.settings['old_height']; + + this.visualAid = this.settings['visual']; + this.formTargetElementId = form_element_name; + + // Get replace_element contents + if (replace_element.nodeName == "TEXTAREA" || replace_element.nodeName == "INPUT") + this.startContent = replace_element.value; + else + this.startContent = replace_element.innerHTML; + + // If not text area + if (replace_element.nodeName.toLowerCase() != "textarea") { + this.oldTargetElement = replace_element.cloneNode(true); + + // Debug mode + if (tinyMCE.settings['debug']) + html += ''; + else + html += ''; + + html += ''; + + // Output HTML and set editable + if (!tinyMCE.isMSIE) { + var rng = replace_element.ownerDocument.createRange(); + rng.setStartBefore(replace_element); + + var fragment = rng.createContextualFragment(html); + replace_element.parentNode.replaceChild(fragment, replace_element); + } else + replace_element.outerHTML = html; + } else { + html += ''; + + // Just hide the textarea element + this.oldTargetElement = replace_element; + + if (!tinyMCE.settings['debug']) + this.oldTargetElement.style.display = "none"; + + // Output HTML and set editable + if (!tinyMCE.isMSIE) { + var rng = replace_element.ownerDocument.createRange(); + rng.setStartBefore(replace_element); + + var fragment = rng.createContextualFragment(html); + replace_element.parentNode.insertBefore(fragment, replace_element); + } else + replace_element.insertAdjacentHTML("beforeBegin", html); + } + + // Setup iframe + var dynamicIFrame = false; + var tElm = targetDoc.getElementById(this.editorId); + + if (!tinyMCE.isMSIE) { + if (tElm && tElm.nodeName.toLowerCase() == "span") { + tElm = tinyMCE._createIFrame(tElm); + dynamicIFrame = true; + } + + this.targetElement = tElm; + this.iframeElement = tElm; + this.contentDocument = tElm.contentDocument; + this.contentWindow = tElm.contentWindow; + + //this.getDoc().designMode = "on"; + } else { + if (tElm && tElm.nodeName.toLowerCase() == "span") + tElm = tinyMCE._createIFrame(tElm); + else + tElm = targetDoc.frames[this.editorId]; + + this.targetElement = tElm; + this.iframeElement = targetDoc.getElementById(this.editorId); + this.contentDocument = tElm.window.document; + this.contentWindow = tElm.window; + this.getDoc().designMode = "on"; + } + + // Setup base HTML + var doc = this.contentDocument; + if (dynamicIFrame) { + var html = 'blank_page'; + + try { + this.getDoc().designMode = "on"; + doc.open(); + doc.write(html); + doc.close(); + } catch (e) { + // Failed Mozilla 1.3 + this.getDoc().location.href = tinyMCE.baseURL + "/blank.htm"; + } + } + + // This timeout is needed in MSIE 5.5 for some odd reason + // it seems that the document.frames isn't initialized yet? + if (tinyMCE.isMSIE) + window.setTimeout("TinyMCE.prototype.addEventHandlers('" + this.editorId + "');", 1); + + tinyMCE.setupContent(this.editorId, true); + + return true; +}; + +TinyMCEControl.prototype.getFocusElement = function() { + if (tinyMCE.isMSIE) { + var doc = this.getDoc(); + var rng = doc.selection.createRange(); + + if (rng.collapse) + rng.collapse(true); + + var elm = rng.item ? rng.item(0) : rng.parentElement(); + } else { + var sel = this.getSel(); + var rng = this.getRng(); + var elm = rng.commonAncestorContainer; + //var elm = (sel && sel.anchorNode) ? sel.anchorNode : null; + + // Handle selection a image or other control like element such as anchors + if (!rng.collapsed) { + // Is selection small + if (rng.startContainer == rng.endContainer) { + if (rng.startOffset - rng.endOffset < 2) { + if (rng.startContainer.hasChildNodes()) + elm = rng.startContainer.childNodes[rng.startOffset]; + } + } + } + + // Get the element parent of the node + elm = tinyMCE.getParentElement(elm); + + //if (tinyMCE.selectedElement != null && tinyMCE.selectedElement.nodeName.toLowerCase() == "img") + // elm = tinyMCE.selectedElement; + } + + return elm; +}; + +// Global instances +var tinyMCE = new TinyMCE(); +var tinyMCELang = new Array(); diff --git a/webcit/tiny_mce/utils/CVS/Entries b/webcit/tiny_mce/utils/CVS/Entries new file mode 100644 index 000000000..c35664c53 --- /dev/null +++ b/webcit/tiny_mce/utils/CVS/Entries @@ -0,0 +1,4 @@ +/form_utils.js/1.2/Wed Sep 28 03:47:29 2005// +/mctabs.js/1.2/Wed Sep 28 03:47:29 2005// +/validate.js/1.2/Wed Sep 28 03:47:29 2005// +D diff --git a/webcit/tiny_mce/utils/CVS/Repository b/webcit/tiny_mce/utils/CVS/Repository new file mode 100644 index 000000000..cee9249e3 --- /dev/null +++ b/webcit/tiny_mce/utils/CVS/Repository @@ -0,0 +1 @@ +webcit/tiny_mce/utils diff --git a/webcit/tiny_mce/utils/CVS/Root b/webcit/tiny_mce/utils/CVS/Root new file mode 100644 index 000000000..e3a1e4201 --- /dev/null +++ b/webcit/tiny_mce/utils/CVS/Root @@ -0,0 +1 @@ +/appl/cvs diff --git a/webcit/tiny_mce/utils/form_utils.js b/webcit/tiny_mce/utils/form_utils.js new file mode 100644 index 000000000..eba79a90b --- /dev/null +++ b/webcit/tiny_mce/utils/form_utils.js @@ -0,0 +1,203 @@ +/** + * $RCSfile: form_utils.js,v $ + * $Revision: 1.2 $ + * $Date: 2005/09/26 18:00:52 $ + * + * Various form utilitiy functions. + * + * @author Moxiecode + * @copyright Copyright © 2005, Moxiecode Systems AB, All rights reserved. + */ + +function renderColorPicker(id, target_form_element) { + var html = ""; + + html += ''; + html += ''; + + document.write(html); +} + +function pickColor(e, target_form_element) { + if ((e.keyCode == 32 || e.keyCode == 13) || e.type == "mousedown") + tinyMCEPopup.pickColor(e, target_form_element); +} + +function updateColor(img_id, form_element_id) { + document.getElementById(img_id).style.backgroundColor = document.forms[0].elements[form_element_id].value; +} + +function setBrowserDisabled(id, state) { + var img = document.getElementById(id); + var lnk = document.getElementById(id + "_link"); + + if (lnk) { + if (state) { + lnk.setAttribute("realhref", lnk.getAttribute("href")); + lnk.removeAttribute("href"); + tinyMCE.switchClass(img, 'mceButtonDisabled', true); + } else { + lnk.setAttribute("href", lnk.getAttribute("realhref")); + tinyMCE.switchClass(img, 'mceButtonNormal', false); + } + } +} + +function renderBrowser(id, target_form_element, type, prefix) { + var option = prefix + "_" + type + "_browser_callback"; + var cb = tinyMCE.getParam(option, tinyMCE.getParam("file_browser_callback")); + if (cb == null) + return; + + var html = ""; + + html += ''; + html += ''; + + document.write(html); +} + +function openBrower(img_id, target_form_element, type, option) { + var img = document.getElementById(img_id); + + if (img.className != "mceButtonDisabled") + tinyMCEPopup.openBrowser(target_form_element, type, option); +} + +function selectByValue(form_obj, field_name, value, add_custom) { + if (!form_obj || !form_obj.elements[field_name]) + return; + + var sel = form_obj.elements[field_name]; + + var found = false; + for (var i=0; i 0); +} + +function validateSelection(form_name, element_name) { + return (document.forms[form_name].elements[element_name].selectedIndex > 0); +} + +function validateCheckBox(form_name, element_name) { + return document.forms[form_name].elements[element_name].checked; +} + +function validateCleanString(form_name, element_name) { + return testRegExp(form_name, element_name, '^[A-Za-z0-9_]+$'); +} + +function validateEmail(form_name, element_name) { + return testRegExp(form_name, element_name, '^[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+@[-!#$%&\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$'); +} + +function validateAbsUrl(form_name, element_name) { + return testRegExp(form_name, element_name, '^(news|telnet|nttp|file|http|ftp|https)://[-A-Za-z0-9\\.]+$'); +} + +function validateNumber(form_name, element_name, allow_blank) { + return (!allow_blank && value == '') ? false : testRegExp(form_name, element_name, '^-?[0-9]*\\.?[0-9]*$'); +} + +function validateSize(form_name, element_name,) { + return testRegExp(form_name, element_name, '^[0-9]+(px|%)?$'); +} + +function validateID(form_name, element_name,) { + return testRegExp(form_name, element_name, '^[A-Za-z_]([A-Za-z0-9_])*$'); +}