summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt2
-rw-r--r--README.txt2
-rw-r--r--po/da.po242
-rw-r--r--po/de.po240
-rw-r--r--po/el.po266
-rw-r--r--po/hu.po48
-rw-r--r--po/tr.po52
-rw-r--r--wysiwyg_editor.info4
-rw-r--r--wysiwyg_editor.install85
-rw-r--r--wysiwyg_editor.js56
-rw-r--r--wysiwyg_editor.module324
-rw-r--r--wysiwyg_editor.plugins.inc4
12 files changed, 668 insertions, 657 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 5e3e08f..46c8bb2 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -6,6 +6,8 @@ Wysiwyg x.x-x.x, xxxx-xx-xx
Wysiwyg 5.x-0.x, xxxx-xx-xx
---------------------------
+#264411 by sun: Added TinyMCE data import upon installation.
+#264411 by sun: Renamed module to Wysiwyg Editor.
#118747 by nedjo, sun: Upgraded code for jQuery.
Initial fork of TinyMCE module (2008-05-30).
diff --git a/README.txt b/README.txt
index a6ef764..ff79e36 100644
--- a/README.txt
+++ b/README.txt
@@ -12,7 +12,7 @@ Currently supported editors:
For a full description visit the project page:
http://drupal.org/project/wysiwyg
Bug reports, feature suggestions and latest developments:
- http://drupal.org/project/wysiwyg (category "Wysiwyg Editor")
+ http://drupal.org/project/wysiwyg (component "Wysiwyg Editor")
-- REQUIREMENTS --
diff --git a/po/da.po b/po/da.po
index 589260f..8db14af 100644
--- a/po/da.po
+++ b/po/da.po
@@ -1,9 +1,9 @@
-# Danish translation of Drupal (tinymce.module)
+# Danish translation of Drupal (wysiwyg_editor.module)
# Copyright 2006 netbjarne <netbjarne@gmail.com>
# Copyright 2007 Morten Wulff <wulff@ratatosk.net>
msgid ""
msgstr ""
-"Project-Id-Version: Danish translation of Drupal (tinymce.module) $Id$\n"
+"Project-Id-Version: Danish translation of Drupal (wysiwyg_editor.module) $Id$\n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2007-12-16 19:47+0100\n"
"Last-Translator: Morten Wulff <wulff@ratatosk.net>\n"
@@ -15,422 +15,422 @@ msgstr ""
"X-Poedit-Language: Danish\n"
"X-Poedit-Country: DENMARK\n"
-#: tinymce.module:17
-#: tinymce.info:0
+#: wysiwyg_editor.module:17
+#: wysiwyg_editor.info:0
msgid "TinyMCE"
msgstr "TinyMCE"
-#: tinymce.module:19
+#: wysiwyg_editor.module:19
msgid "Configure the rich editor."
msgstr "Konfigurer editoren."
-#: tinymce.module:116
+#: wysiwyg_editor.module:116
msgid "enable rich-text"
msgstr "aktiver avanceret redigering"
-#: tinymce.module:117
+#: wysiwyg_editor.module:117
msgid "disable rich-text"
msgstr "deaktiver avanceret redigering"
-#: tinymce.module:169
+#: wysiwyg_editor.module:169
msgid "Your current web browser does not support WYSIWYG editing."
msgstr "Din browser understøtter ikke WYSIWYG redigering."
-#: tinymce.module:250
+#: wysiwyg_editor.module:250
msgid "TinyMCE rich-text settings"
msgstr "TinyMCE "
-#: tinymce.module:258
+#: wysiwyg_editor.module:258
#: ;701
msgid "Default state"
msgstr "Standardtilstand"
-#: tinymce.module:260
+#: wysiwyg_editor.module:260
#: ;703
msgid "disabled"
msgstr "deaktiveret"
-#: tinymce.module:260
+#: wysiwyg_editor.module:260
#: ;703
msgid "enabled"
msgstr "aktiveret"
-#: tinymce.module:261
+#: wysiwyg_editor.module:261
msgid "Should rich-text editing be enabled or disabled by default in textarea fields?"
msgstr "Skal avanceret redigering være aktiveret for tekstfelter?"
-#: tinymce.module:443
+#: wysiwyg_editor.module:443
msgid "administer"
msgstr "administrer"
-#: tinymce.module:444
+#: wysiwyg_editor.module:444
#: ;47;0
-msgid "tinymce"
+msgid "wysiwyg_editor"
msgstr "TinyMCE"
-#: tinymce.module:445
+#: wysiwyg_editor.module:445
msgid "Add new TinyMCE profile"
msgstr "Tilføj TinyMCE profil"
-#: tinymce.module:451
-msgid "Edit tinymce profile"
+#: wysiwyg_editor.module:451
+msgid "Edit wysiwyg_editor profile"
msgstr "Rediger TinyMCE profil"
-#: tinymce.module:457
+#: wysiwyg_editor.module:457
msgid "Deleted profile"
msgstr "Profil slettet"
-#: tinymce.module:461
+#: wysiwyg_editor.module:461
#: ;666
msgid "Create profile"
msgstr "Opret Profil"
-#: tinymce.module:462
+#: wysiwyg_editor.module:462
#: ;670
msgid "Update profile"
msgstr "Opdater profil"
-#: tinymce.module:465
+#: wysiwyg_editor.module:465
msgid "Your TinyMCE profile has been updated."
msgstr "TinyMCE profil opdateret."
-#: tinymce.module:465
+#: wysiwyg_editor.module:465
msgid "Your TinyMCE profile has been created."
msgstr "TinyMCE profil oprettet."
-#: tinymce.module:474
+#: wysiwyg_editor.module:474
msgid "TinyMCE settings"
msgstr "TinyMCE indstillinger"
-#: tinymce.module:478
-msgid "Could not find the TinyMCE engine installed at <strong>!tinymce-directory</strong>. Please <a href=\"http://tinymce.moxiecode.com/\">download TinyMCE</a>, uncompress it and copy the folder into !tinymce-path."
-msgstr "Kan ikke finde TinyMCE i kataloget <strong>!tinymce-directory</strong>. <a href=\"http://tinymce.moxiecode.com/\">Hent TinyMCE</a>, udpak den og kopier kataloget til !tinymce-path."
+#: wysiwyg_editor.module:478
+msgid "Could not find the TinyMCE engine installed at <strong>!wysiwyg_editor-directory</strong>. Please <a href=\"http://wysiwyg_editor.moxiecode.com/\">download TinyMCE</a>, uncompress it and copy the folder into !wysiwyg_editor-path."
+msgstr "Kan ikke finde TinyMCE i kataloget <strong>!wysiwyg_editor-directory</strong>. <a href=\"http://wysiwyg_editor.moxiecode.com/\">Hent TinyMCE</a>, udpak den og kopier kataloget til !wysiwyg_editor-path."
-#: tinymce.module:658
-msgid "You must <a href=\"!access-control-url\">assign</a> at least one role with the 'access tinymce' permission before creating a profile."
+#: wysiwyg_editor.module:658
+msgid "You must <a href=\"!access-control-url\">assign</a> at least one role with the 'access wysiwyg_editor' permission before creating a profile."
msgstr "Du skal <a href=\"!access-control-url\">give</a> mindst én rolle tilladelsen 'brug TinyMCE' før du kan oprette en profil."
-#: tinymce.module:661
-msgid "You will not be allowed to create a new profile since all user roles have already been assigned profiles. Either remove an existing tinymce profile from at least one role or assign another role the 'access tinymce' permission."
+#: wysiwyg_editor.module:661
+msgid "You will not be allowed to create a new profile since all user roles have already been assigned profiles. Either remove an existing wysiwyg_editor profile from at least one role or assign another role the 'access wysiwyg_editor' permission."
msgstr "Du kan ikke oprette en ny profil, da alle roller allerede har fået tildelt profiler. Fjern en eksisterende TinyMCE profil fra en rolle, eller giv endnu en rolle tilladelsen 'brug TinyMCE'."
-#: tinymce.module:664
-msgid "Not all user roles are shown since they already have tinymce profiles. You must first unassign profiles in order to add them to a new one."
+#: wysiwyg_editor.module:664
+msgid "Not all user roles are shown since they already have wysiwyg_editor profiles. You must first unassign profiles in order to add them to a new one."
msgstr "Ikke alle roller vises, da de allerede er tildelt TinyMCE profiler. Fratag en rolles profil, for at tildele en anden rolle profilen."
-#: tinymce.module:675
+#: wysiwyg_editor.module:675
msgid "Basic setup"
msgstr "Grundlæggende indstillinger"
-#: tinymce.module:682
+#: wysiwyg_editor.module:682
msgid "Profile name"
msgstr "Profilnavn"
-#: tinymce.module:686
-msgid "Enter a name for this profile. This name is only visible within the tinymce administration page."
+#: wysiwyg_editor.module:686
+msgid "Enter a name for this profile. This name is only visible within the wysiwyg_editor administration page."
msgstr "Indtast et profilnavn. Navnet er kun synligt på TinyMCE administrationssiden."
-#: tinymce.module:692
+#: wysiwyg_editor.module:692
msgid "Roles allowed to use this profile"
msgstr "Roller der kan benytte denne profil"
-#: tinymce.module:695
-msgid "Check at least one role. Only roles with 'access tinymce' permission will be shown here."
+#: wysiwyg_editor.module:695
+msgid "Check at least one role. Only roles with 'access wysiwyg_editor' permission will be shown here."
msgstr "Vælg mindst én rolle. Kun roller med tilladelsen 'brug TinyMCE' vises her."
-#: tinymce.module:704
+#: wysiwyg_editor.module:704
msgid "Default editor state for users in this profile. Users will be able to override this state if the next option is enabled."
msgstr "Standard TinyMCE tilstand for brugere med denne profil. Brugere har mulighed for at ændre denne tilstand, hvis næste valgmulighed er slået til."
-#: tinymce.module:709
+#: wysiwyg_editor.module:709
msgid "Allow users to choose default"
msgstr "Tillad bruger at vælge standardtilstand"
-#: tinymce.module:711
+#: wysiwyg_editor.module:711
#: ;719;743;877;901;909;917
msgid "false"
msgstr "falsk"
-#: tinymce.module:711
+#: wysiwyg_editor.module:711
#: ;719;743;877;901;909;917
msgid "true"
msgstr "sand"
-#: tinymce.module:712
+#: wysiwyg_editor.module:712
msgid "If allowed, users will be able to choose their own TinyMCE default state by visiting their profile page."
msgstr "Hvis tilladt, kan brugere selv vælge TinyMCE's standardtilstand på deres profilside."
-#: tinymce.module:717
+#: wysiwyg_editor.module:717
msgid "Show disable/enable rich text editor toggle"
msgstr "Vis omskifter for avanceret redigering"
-#: tinymce.module:720
+#: wysiwyg_editor.module:720
msgid "Whether or not to show the disable/enable rich text editor toggle below the textarea. If false, editor defaults to the global default or user default (see above)."
msgstr "Hvorvidt omskifteren for avanceret redigering skal vises under tekstfelter. Hvis slået fra, vil TinyMCE benytte sig af global eller brugervalgt indstilling (se ovenfor)."
-#: tinymce.module:733
+#: wysiwyg_editor.module:733
msgid "Language"
msgstr "Sprog"
-#: tinymce.module:736
+#: wysiwyg_editor.module:736
msgid "The language for the TinyMCE interface. Language codes based on the <a href=\"http://www.loc.gov/standards/iso639-2/englangn.html\">ISO-639-2</a> format."
msgstr "Sproget der anvendes i TinyMCE's brugerflade. Sprogkoder er baseret på <a href=\"http://www.loc.gov/standards/iso639-2/englangn.html\">ISO-639-2</a> format."
-#: tinymce.module:741
+#: wysiwyg_editor.module:741
msgid "Safari browser warning"
msgstr "Safari browser advarsel."
-#: tinymce.module:744
+#: wysiwyg_editor.module:744
msgid "TinyMCE support for the Safari web browser is experimental and a warning message is displayed when that browser is detected. You can disable this message here."
msgstr "TinyMCE's understøttelse af Safari browseren er eksperimentel, og der vises en advarsel hvis Safari browseren benyttes. Du kan deaktivere denne advarsel her."
-#: tinymce.module:749
+#: wysiwyg_editor.module:749
msgid "Visibility"
msgstr "Synlighed"
-#: tinymce.module:769
+#: wysiwyg_editor.module:769
msgid "Show on every page except the listed pages."
msgstr "Vis på alle sider undtaget de angivne."
-#: tinymce.module:769
+#: wysiwyg_editor.module:769
msgid "Show on only the listed pages."
msgstr "Vis kun på de angivne sider."
-#: tinymce.module:770
+#: wysiwyg_editor.module:770
msgid "Enter one page per line as Drupal paths. The '*' character is a wildcard. Example paths are '!blog' for the blog page and !blog-wildcard for every personal blog. !front is the front page."
msgstr "Indtast én side pr. linje som Drupal-stier. Brug '*'-tegnet som joker. Indtast f.eks. '!blog' for blogsiden og !blog-wildcard for alle personlige blogs. !front er forsiden."
-#: tinymce.module:773
+#: wysiwyg_editor.module:773
msgid "Show if the following PHP code returns <code>TRUE</code> (PHP-mode, experts only)."
msgstr "Vis hvis følgende PHP kode returnerer <code>SAND</code> (PHP tilstand, kun for eksperter)."
-#: tinymce.module:774
+#: wysiwyg_editor.module:774
msgid "If the PHP-mode is chosen, enter PHP code between !php. Note that executing incorrect PHP-code can break your Drupal site."
msgstr "Hvis PHP tilstanden er valgt, kan du indtaste PHP kode mellem !php. Bemærk at ugyldig PHP kode kan få dit Drupal-netsted til at holde op med at virke."
-#: tinymce.module:778
-msgid "Show tinymce on specific pages"
+#: wysiwyg_editor.module:778
+msgid "Show wysiwyg_editor on specific pages"
msgstr "Vis TinyMCE på specifikke sider"
-#: tinymce.module:784
+#: wysiwyg_editor.module:784
msgid "Pages"
msgstr "Sider"
-#: tinymce.module:792
+#: wysiwyg_editor.module:792
msgid "Buttons and plugins"
msgstr "Knapper og udvidelsesmoduler"
-#: tinymce.module:844
+#: wysiwyg_editor.module:844
msgid "Editor appearance"
msgstr "TinyMCE's fremtoning"
-#: tinymce.module:851
+#: wysiwyg_editor.module:851
msgid "Toolbar location"
msgstr "Værktøjslinjens placering"
-#: tinymce.module:853
+#: wysiwyg_editor.module:853
#: ;869
msgid "bottom"
msgstr "bund"
-#: tinymce.module:853
+#: wysiwyg_editor.module:853
#: ;869
msgid "top"
msgstr "top"
-#: tinymce.module:854
+#: wysiwyg_editor.module:854
msgid "Show toolbar at the top or bottom of the editor area?"
msgstr "Vis værktøjslinjen over eller under tekstområdet?"
-#: tinymce.module:859
+#: wysiwyg_editor.module:859
msgid "Toolbar alignment"
msgstr "Værktøjslinjens justering"
-#: tinymce.module:861
+#: wysiwyg_editor.module:861
msgid "center"
msgstr "centreret"
-#: tinymce.module:861
+#: wysiwyg_editor.module:861
msgid "left"
msgstr "venstre"
-#: tinymce.module:861
+#: wysiwyg_editor.module:861
msgid "right"
msgstr "højre"
-#: tinymce.module:862
+#: wysiwyg_editor.module:862
msgid "Align tool icons left, center, or right within the toolbar."
msgstr "Placer knapper til venstre, i midten eller til højre i værktøjslinjen."
-#: tinymce.module:867
+#: wysiwyg_editor.module:867
msgid "Path location"
msgstr "Placering af sti"
-#: tinymce.module:869
+#: wysiwyg_editor.module:869
msgid "none"
msgstr "ingen"
-#: tinymce.module:870
+#: wysiwyg_editor.module:870
msgid "Path to html elements (i.e. \"body>table>tr>td\"). Show at top, bottom, or not at all."
msgstr "Sti til HTML elementer (f.eks. \"body>table>tr>td\"). Vis for oven, for neden, eller slet ikke."
-#: tinymce.module:875
+#: wysiwyg_editor.module:875
msgid "Enable resizing button"
msgstr "Aktiver knap til ændring af størrelse"
-#: tinymce.module:878
+#: wysiwyg_editor.module:878
msgid " This option gives you the ability to enable/disable the resizing button. If enabled the <strong>Path location toolbar</strong> must be set to \"top\" or \"bottom\" in order to display the resize icon."
msgstr "Mulighed for at aktivere knap til ændring af størrelse. Hvis aktiveret, skal <strong>Placering af sti</strong> være \"for oven\" eller \"for neden\"."
-#: tinymce.module:883
+#: wysiwyg_editor.module:883
msgid "Block formats"
msgstr "Blokformater"
-#: tinymce.module:887
+#: wysiwyg_editor.module:887
msgid "Comma separated list of HTML block formats. You can only remove elements, not add."
msgstr "Komma separeret liste af HTML blokformater. Du kan kun fjerne elementer, ikke tilføje."
-#: tinymce.module:892
+#: wysiwyg_editor.module:892
msgid "Cleanup and output"
msgstr "Oprydning og uddata"
-#: tinymce.module:899
+#: wysiwyg_editor.module:899
msgid "Verify HTML"
msgstr "Kontroller HTML"
-#: tinymce.module:902
+#: wysiwyg_editor.module:902
msgid "Should the HTML contents be verified or not? Verifying will strip &lt;head&gt tags, so choose false if you will be editing full page HTML."
msgstr "Kontrol af HTML fjerner &lt;head&gt mærker, så deaktiver HTML kontrol, hvis du redigerer hele HTML sider."
-#: tinymce.module:907
+#: wysiwyg_editor.module:907
msgid "Preformatted"
msgstr "Preformatteret"
-#: tinymce.module:910
+#: wysiwyg_editor.module:910
msgid "If this option is set to true, the editor will insert TAB characters on tab and preserve other whitespace characters just like a PRE HTML element does."
msgstr "Hvis aktiveret, vil TinyMCE indsætte tabulator tegn og bevare andre mellemrum, som PRE HTML element gør det."
-#: tinymce.module:915
+#: wysiwyg_editor.module:915
msgid "Convert &lt;font&gt; tags to styles"
msgstr "Konverter &lt;font&gt; mærker til typografier"
-#: tinymce.module:918
+#: wysiwyg_editor.module:918
msgid "If you set this option to true, font size, font family, font color and font background color will be replaced by inline styles."
msgstr "Hvis aktiveret, vil font size, font family, font color og font background color blive erstattet med indlejrede typografier."
-#: tinymce.module:923
+#: wysiwyg_editor.module:923
msgid "Remove linebreaks"
msgstr "Fjern linjeskift"
-#: tinymce.module:926
+#: wysiwyg_editor.module:926
msgid "Set this option to false to prevent TinyMCE from removing linebreaks from existing nodes. True avoids conflicts with some filters."
msgstr "Sæt denne til falsk for at forhindre TinyMCE i at fjerne linjeskift fra eksisterende indholdselementer. Vælges sand undgås konflikt med visse filtre."
-#: tinymce.module:931
+#: wysiwyg_editor.module:931
msgid "Apply source formatting"
msgstr "Anvend kilde-formattering"
-#: tinymce.module:934
+#: wysiwyg_editor.module:934
msgid "This option makes TinyMCE apply source formatting. Set this to true for a cleaner HTML source. Choose false to avoid conflicts with some filters."
msgstr "Anvend kilde-formatering. Vælg sand for at få renere HTML. Vælg falsk for at undgå konflikt med visse filtre."
-#: tinymce.module:939
+#: wysiwyg_editor.module:939
msgid "CSS"
msgstr "CSS"
-#: tinymce.module:946
+#: wysiwyg_editor.module:946
msgid "Editor CSS"
msgstr "TinyMCE CSS"
-#: tinymce.module:948
+#: wysiwyg_editor.module:948
msgid "use theme css"
msgstr "brug tema CSS"
-#: tinymce.module:948
+#: wysiwyg_editor.module:948
msgid "define css"
msgstr "definer CSS"
-#: tinymce.module:948
+#: wysiwyg_editor.module:948
msgid "tinyMCE default"
msgstr "TinyMCE standard"
-#: tinymce.module:949
+#: wysiwyg_editor.module:949
msgid "Defines the CSS to be used in the editor area.<br />use theme css - load style.css from current site theme.<br/>define css - enter path for css file below.<br />tinyMCE default - uses default CSS from editor."
msgstr "Afgør hvilken CSS der benyttes i TinyMCE.<br />Brug tema CSS - hent style.css fra det nuværende tema.<br/>Definer CSS - indtast stien til css filen herunder.<br />TinyMCE standard - bruger standard CSS fra editoren."
-#: tinymce.module:954
+#: wysiwyg_editor.module:954
msgid "CSS path"
msgstr "CSS sti"
-#: tinymce.module:958
+#: wysiwyg_editor.module:958
msgid "Enter path to CSS file (<em>example: \"css/editor.css\"</em>) or a list of css files seperated by a comma (<em>example: /themes/garland/style.css,http://domain.com/customMCE.css</em>).<br />Macros: %h (host name: http://www.example.com/), %t (path to theme: theme/yourtheme/)<br />Be sure to select \"define css\" above."
msgstr "Indtast stien til CSS filen (f.eks. \"css/editor.css\") eller en liste af css filer adskilt af komma (f.eks. \"/themes/garland/style.css,http://domain.com/customMCE.css\").<br />Makroer: %h (værtsnavn: http://www.example.com/), %t (sti til tema: theme/yourtheme/)<br />Husk at vælge \"definer css\" herover."
-#: tinymce.module:963
+#: wysiwyg_editor.module:963
msgid "CSS classes"
msgstr "CSS klasser"
-#: tinymce.module:967
+#: wysiwyg_editor.module:967
msgid "Adds CSS classes to the \"styles\" droplist. Format is: &lt;title&gt;=&lt;class&gt;;<br/> Example: Header 1=header1;Header 2=header2;Header 3=header3 (note: no trailing ';')<br />Leave blank to automatically import list of CSS classes from style sheet."
msgstr "Tilføj CSS klasser til \"typografi\" rullelisten. Formatet er: &lt;navn&gt;=&lt;klasse&gt;;<br/>F.eks. Overskrift 1=overskrift1;Overskrift 2=overskrift2;Overskrift 3=overskrift3 (bemærk: intet afsluttende ';')<br />Lad feltet være tomt for automatisk at importerer CSS klasserne fra stilarket."
-#: tinymce.module:1049
+#: wysiwyg_editor.module:1049
msgid "Profile"
msgstr "Profil"
-#: tinymce.module:1049
+#: wysiwyg_editor.module:1049
msgid "Roles"
msgstr "Roller"
-#: tinymce.module:1049
+#: wysiwyg_editor.module:1049
msgid "Operations"
msgstr "Handlinger"
-#: tinymce.module:1051
+#: wysiwyg_editor.module:1051
msgid "edit"
msgstr "rediger"
-#: tinymce.module:1051
+#: wysiwyg_editor.module:1051
msgid "delete"
msgstr "slet"
-#: tinymce.module:1054
+#: wysiwyg_editor.module:1054
msgid "<p><a href=\"!create-profile-url\">Create new profile</a></p>"
msgstr "<p><a href=\"!create-profile-url\">Opret profil</a></p>"
-#: tinymce.module:1057
+#: wysiwyg_editor.module:1057
msgid "No profiles found. Click here to <a href=\"!create-profile-url\">create a new profile</a>."
msgstr "Ingen profiler fundet. <a href=\"!create-profile-url\">Opret profil</a>."
-#: tinymce.module:1088
+#: wysiwyg_editor.module:1088
msgid "You must give a profile name."
msgstr "Du skal angive et profilnavn."
-#: tinymce.module:1092
+#: wysiwyg_editor.module:1092
msgid "You must select at least one role."
msgstr "Du skal vælge mindst én rolle."
-#: tinymce.module:46
-msgid "administer tinymce"
+#: wysiwyg_editor.module:46
+msgid "administer wysiwyg_editor"
msgstr "administrer TinyMCE"
-#: tinymce.module:46
-msgid "access tinymce"
+#: wysiwyg_editor.module:46
+msgid "access wysiwyg_editor"
msgstr "tilgå TinyMCE"
-#: tinymce.module:47
+#: wysiwyg_editor.module:47
msgid "module"
msgstr "modul"
-#: tinymce.module:49
-msgid "/tinymce/jscripts/tiny_mce/plugins/imagemanager/"
-msgstr "/tinymce/jscripts/tiny_mce/plugins/imagemanager/"
+#: wysiwyg_editor.module:49
+msgid "/wysiwyg_editor/jscripts/tiny_mce/plugins/imagemanager/"
+msgstr "/wysiwyg_editor/jscripts/tiny_mce/plugins/imagemanager/"
-#: tinymce.module:50
-msgid "access tinymce imagemanager"
-msgstr "tilgå tinymce billedhåndtering"
+#: wysiwyg_editor.module:50
+msgid "access wysiwyg_editor imagemanager"
+msgstr "tilgå wysiwyg_editor billedhåndtering"
-#: tinymce.info:0
+#: wysiwyg_editor.info:0
msgid "The most popular WYSIWYG editor for advanced content editing."
msgstr "Den mest populære WYSIWYG-editor til avanceret redigering af indhold."
diff --git a/po/de.po b/po/de.po
index 389bfc8..f2fbf76 100644
--- a/po/de.po
+++ b/po/de.po
@@ -2,7 +2,7 @@
#
# LANGUAGE translation of Drupal (general)
# Copyright YEAR NAME <EMAIL@ADDRESS>
-# Generated from file: tinymce.module,v 1.90.4.23 2007/05/06 01:41:35 m3avrck
+# Generated from file: wysiwyg_editor.module,v 1.90.4.23 2007/05/06 01:41:35 m3avrck
#
msgid ""
msgstr ""
@@ -18,416 +18,416 @@ msgstr ""
"X-Poedit-Language: German\n"
"X-Poedit-Country: GERMANY\n"
-#: tinymce.module:17
-#: tinymce.info:0
+#: wysiwyg_editor.module:17
+#: wysiwyg_editor.info:0
msgid "TinyMCE"
msgstr "TinyMCE"
-#: tinymce.module:19
+#: wysiwyg_editor.module:19
msgid "Configure the rich editor."
msgstr "Den Rich-Editor konfigurieren."
-#: tinymce.module:116
+#: wysiwyg_editor.module:116
msgid "enable rich-text"
msgstr "Rich-Text aktivieren"
-#: tinymce.module:117
+#: wysiwyg_editor.module:117
msgid "disable rich-text"
msgstr "Rich-Text deaktivieren"
-#: tinymce.module:169
+#: wysiwyg_editor.module:169
msgid "Your current web browser does not support WYSIWYG editing."
msgstr "Der aktuelle Web-Browser unterstützt keine WYSIWYG Bearbeitung."
-#: tinymce.module:250
+#: wysiwyg_editor.module:250
msgid "TinyMCE rich-text settings"
msgstr "Einstellungen für TinyMCE Rich-Text"
-#: tinymce.module:258;701
+#: wysiwyg_editor.module:258;701
msgid "Default state"
msgstr "Standardstatus"
-#: tinymce.module:260;703
+#: wysiwyg_editor.module:260;703
msgid "disabled"
msgstr "Deaktiviert"
-#: tinymce.module:260;703
+#: wysiwyg_editor.module:260;703
msgid "enabled"
msgstr "Aktiviert"
-#: tinymce.module:261
+#: wysiwyg_editor.module:261
msgid "Should rich-text editing be enabled or disabled by default in textarea fields?"
msgstr "Sollte die Rich-Text-Bearbeitung in Textfeldern standardmässig aktiviert oder deaktiviert sein?"
-#: tinymce.module:443
+#: wysiwyg_editor.module:443
msgid "administer"
msgstr "Verwalten"
-#: tinymce.module:444;47;0
-msgid "tinymce"
-msgstr "tinymce"
+#: wysiwyg_editor.module:444;47;0
+msgid "wysiwyg_editor"
+msgstr "wysiwyg_editor"
-#: tinymce.module:445
+#: wysiwyg_editor.module:445
msgid "Add new TinyMCE profile"
msgstr "Neues TinyMCE Profil hinzufügen"
-#: tinymce.module:451
-msgid "Edit tinymce profile"
+#: wysiwyg_editor.module:451
+msgid "Edit wysiwyg_editor profile"
msgstr "TinyMCE Profil bearbeiten"
-#: tinymce.module:457
+#: wysiwyg_editor.module:457
msgid "Deleted profile"
msgstr "Profil gelöscht"
-#: tinymce.module:461;666
+#: wysiwyg_editor.module:461;666
msgid "Create profile"
msgstr "Profil erstellen"
-#: tinymce.module:462;670
+#: wysiwyg_editor.module:462;670
msgid "Update profile"
msgstr "Profil aktualisieren"
-#: tinymce.module:465
+#: wysiwyg_editor.module:465
msgid "Your TinyMCE profile has been updated."
msgstr "Das TinyMCE Profil wurde aktualisiert."
-#: tinymce.module:465
+#: wysiwyg_editor.module:465
msgid "Your TinyMCE profile has been created."
msgstr "Das TinyMCE Profil wurde erstellt."
-#: tinymce.module:474
+#: wysiwyg_editor.module:474
msgid "TinyMCE settings"
msgstr "TinyMCE Einstellungen"
-#: tinymce.module:478
-msgid "Could not find the TinyMCE engine installed at <strong>!tinymce-directory</strong>. Please <a href=\"http://tinymce.moxiecode.com/\">download TinyMCE</a>, uncompress it and copy the folder into !tinymce-path."
-msgstr "Die installierte TinyMCE-Engine konnte in <strong>!tinymce-directory</strong> nicht gefunden werden. Jetzt <a href=\"http://tinymce.moxiecode.com/\">TinyMCE herunterladen</a>, Dekomprimieren und in das Verzeichnis !tinymce-path kopieren."
+#: wysiwyg_editor.module:478
+msgid "Could not find the TinyMCE engine installed at <strong>!wysiwyg_editor-directory</strong>. Please <a href=\"http://wysiwyg_editor.moxiecode.com/\">download TinyMCE</a>, uncompress it and copy the folder into !wysiwyg_editor-path."
+msgstr "Die installierte TinyMCE-Engine konnte in <strong>!wysiwyg_editor-directory</strong> nicht gefunden werden. Jetzt <a href=\"http://wysiwyg_editor.moxiecode.com/\">TinyMCE herunterladen</a>, Dekomprimieren und in das Verzeichnis !wysiwyg_editor-path kopieren."
-#: tinymce.module:658
-msgid "You must <a href=\"!access-control-url\">assign</a> at least one role with the 'access tinymce' permission before creating a profile."
+#: wysiwyg_editor.module:658
+msgid "You must <a href=\"!access-control-url\">assign</a> at least one role with the 'access wysiwyg_editor' permission before creating a profile."
msgstr "Vor der Erstellung eines Profils muss mindestens einer Rolle die Berechtigung „Zugriff auf TinyMCE“ <a href=\"!access-control-url\">zugewiesen</a> werden."
-#: tinymce.module:661
-msgid "You will not be allowed to create a new profile since all user roles have already been assigned profiles. Either remove an existing tinymce profile from at least one role or assign another role the 'access tinymce' permission."
+#: wysiwyg_editor.module:661
+msgid "You will not be allowed to create a new profile since all user roles have already been assigned profiles. Either remove an existing wysiwyg_editor profile from at least one role or assign another role the 'access wysiwyg_editor' permission."
msgstr "Solange allen Benutzerrollen ein Profil zugewiesen ist können keine neuen Profile erstellt werden. Entweder wird ein vorhandenes TinyMCE Profil von einer Rolle entfernt oder eine andere Rolle mit der Berechtigung „Zugriff auf TinyMCE“ zugewiesen."
-#: tinymce.module:664
-msgid "Not all user roles are shown since they already have tinymce profiles. You must first unassign profiles in order to add them to a new one."
+#: wysiwyg_editor.module:664
+msgid "Not all user roles are shown since they already have wysiwyg_editor profiles. You must first unassign profiles in order to add them to a new one."
msgstr "Nicht alle Benutzerrollen werden angezeigt, wenn diese schon ein TinyMCE-Profil haben. Zuerst muss ein Profil entfernt werden, damit es zu einem Neuen hinzugefügt werden kann."
-#: tinymce.module:675
+#: wysiwyg_editor.module:675
msgid "Basic setup"
msgstr "Basis-Setup"
-#: tinymce.module:682
+#: wysiwyg_editor.module:682
msgid "Profile name"
msgstr "Profilname"
-#: tinymce.module:686
-msgid "Enter a name for this profile. This name is only visible within the tinymce administration page."
+#: wysiwyg_editor.module:686
+msgid "Enter a name for this profile. This name is only visible within the wysiwyg_editor administration page."
msgstr "Einen Namen für dieses Profil angeben. Dieser Name wird nur innerhalb der TinyMCE-Verwaltungsseite sichtbar."
-#: tinymce.module:692
+#: wysiwyg_editor.module:692
msgid "Roles allowed to use this profile"
msgstr "Rollen die das Profil verwenden können"
-#: tinymce.module:695
-msgid "Check at least one role. Only roles with 'access tinymce' permission will be shown here."
+#: wysiwyg_editor.module:695
+msgid "Check at least one role. Only roles with 'access wysiwyg_editor' permission will be shown here."
msgstr "Mindestens ein Rolle muss aktiviert werden. Nur Rollen mit der Berechtigung „Zugriff auf TinyMCE“ werden hier angezeigt."
-#: tinymce.module:704
+#: wysiwyg_editor.module:704
msgid "Default editor state for users in this profile. Users will be able to override this state if the next option is enabled."
msgstr "Standardstatus des Editors für Benutzer in diesem Profil. Benutzer können diese Einstellung überschreiben, wenn die nachfolgende Option aktiviert ist."
-#: tinymce.module:709
+#: wysiwyg_editor.module:709
msgid "Allow users to choose default"
msgstr "Benutzer können Standardeinstellung auswählen"
# Source should be NO
-#: tinymce.module:711;719;743;877;901;909;917
+#: wysiwyg_editor.module:711;719;743;877;901;909;917
msgid "false"
msgstr "unwahr"
# Source should be YES
-#: tinymce.module:711;719;743;877;901;909;917
+#: wysiwyg_editor.module:711;719;743;877;901;909;917
msgid "true"
msgstr "wahr"
# not litterally
-#: tinymce.module:712
+#: wysiwyg_editor.module:712
msgid "If allowed, users will be able to choose their own TinyMCE default state by visiting their profile page."
msgstr "Benutzer können ihren eigenen TinyMCE-Standardstatus auf ihrer Profilseite auswählen, sobald dies freigegeben ist."
-#: tinymce.module:717
+#: wysiwyg_editor.module:717
msgid "Show disable/enable rich text editor toggle"
msgstr "Ein-/Auschalter für Rich-Text-Editor anzeigen"
-#: tinymce.module:720
+#: wysiwyg_editor.module:720
msgid "Whether or not to show the disable/enable rich text editor toggle below the textarea. If false, editor defaults to the global default or user default (see above)."
msgstr "Soll der Umschalter zum aktivieren/deaktivieren des Rich-Text-Editors unterhalb eines Textfeldes angezeigt werden? Bei „unwahr“ wird sich der Editor auf den globalen Standard oder Benutzerstandard (siehe oberhalb) einstellen."
-#: tinymce.module:733
+#: wysiwyg_editor.module:733
msgid "Language"
msgstr "Sprache"
-#: tinymce.module:736
+#: wysiwyg_editor.module:736
msgid "The language for the TinyMCE interface. Language codes based on the <a href=\"http://www.loc.gov/standards/iso639-2/englangn.html\">ISO-639-2</a> format."
msgstr "Die Sprache für die TinyMCE Eingabemaske. Sprachcodes basieren auf dem <a href=\"http://www.loc.gov/standards/iso639-2/englangn.html\">ISO-639-2</a> Format."
-#: tinymce.module:741
+#: wysiwyg_editor.module:741
msgid "Safari browser warning"
msgstr "Warnung für Safari-Browser"
-#: tinymce.module:744
+#: wysiwyg_editor.module:744
msgid "TinyMCE support for the Safari web browser is experimental and a warning message is displayed when that browser is detected. You can disable this message here."
msgstr "Die TinyMCE-Unterstützung für den Safari Webbrowser ist experimentell und es wird eine Warnmeldung angezeigt, wenn dieser Browser erkannt wird. Diese Meldung kann hier deaktiviert werden."
-#: tinymce.module:749
+#: wysiwyg_editor.module:749
msgid "Visibility"
msgstr "Sichtbarkeit"
-#: tinymce.module:769
+#: wysiwyg_editor.module:769
msgid "Show on every page except the listed pages."
msgstr "Auf allen Seiten außer den aufgelisteten Seiten anzeigen."
-#: tinymce.module:769
+#: wysiwyg_editor.module:769
msgid "Show on only the listed pages."
msgstr "Nur auf den aufgelisteten Seiten anzeigen."
-#: tinymce.module:770
+#: wysiwyg_editor.module:770
msgid "Enter one page per line as Drupal paths. The '*' character is a wildcard. Example paths are '!blog' for the blog page and !blog-wildcard for every personal blog. !front is the front page."
msgstr "Geben Sie eine Seite pro Zeile als Drupal-Pfad an. Das ‚*‘-Zeichen ist ein Platzhalter. Beispielpfade sind !blog für die Blog-Seite und !blog-wildcard für jedes einzelne Blog. !front steht für die Startseite."
-#: tinymce.module:773
+#: wysiwyg_editor.module:773
msgid "Show if the following PHP code returns <code>TRUE</code> (PHP-mode, experts only)."
msgstr "Nur anzeigen, wenn der folgende PHP-Code <code>TRUE</code> zurückgibt (PHP-Modus für Experten)."
-#: tinymce.module:774
+#: wysiwyg_editor.module:774
msgid "If the PHP-mode is chosen, enter PHP code between !php. Note that executing incorrect PHP-code can break your Drupal site."
msgstr "Falls der PHP-Modus gewählt ist, geben Sie bitte PHP-Code zwischen !php ein. Beachten Sie, dass das Ausführen eines fehlerhaften PHP-Codes Ihre Drupal-Website zerstören kann."
-#: tinymce.module:778
-msgid "Show tinymce on specific pages"
+#: wysiwyg_editor.module:778
+msgid "Show wysiwyg_editor on specific pages"
msgstr "TinyMCE auf bestimmten Seiten anzeigen"
-#: tinymce.module:784
+#: wysiwyg_editor.module:784
msgid "Pages"
msgstr "Seiten"
-#: tinymce.module:792
+#: wysiwyg_editor.module:792
msgid "Buttons and plugins"
msgstr "Schaltflächen und Plugins"
-#: tinymce.module:844
+#: wysiwyg_editor.module:844
msgid "Editor appearance"
msgstr "Erscheinungsbild des Editors"
-#: tinymce.module:851
+#: wysiwyg_editor.module:851
msgid "Toolbar location"
msgstr "Position der Werkzeugleiste"
-#: tinymce.module:853;869
+#: wysiwyg_editor.module:853;869
msgid "bottom"
msgstr "unten"
-#: tinymce.module:853;869
+#: wysiwyg_editor.module:853;869
msgid "top"
msgstr "oben"
-#: tinymce.module:854
+#: wysiwyg_editor.module:854
msgid "Show toolbar at the top or bottom of the editor area?"
msgstr "Soll die Werkzeugleiste ober-/unterhalb des Editorfeldes angezeigt werden?"
-#: tinymce.module:859
+#: wysiwyg_editor.module:859
msgid "Toolbar alignment"
msgstr "Ausrichtung der Werkzeugleiste"
-#: tinymce.module:861
+#: wysiwyg_editor.module:861
msgid "center"
msgstr "mitte"
-#: tinymce.module:861
+#: wysiwyg_editor.module:861
msgid "left"
msgstr "links"
-#: tinymce.module:861
+#: wysiwyg_editor.module:861
msgid "right"
msgstr "rechts"
-#: tinymce.module:862
+#: wysiwyg_editor.module:862
msgid "Align tool icons left, center, or right within the toolbar."
msgstr "Die Werkzeugsymbole innerhalb der Werkzeugleiste links, mittig oder rechts ausrichten."
-#: tinymce.module:867
+#: wysiwyg_editor.module:867
msgid "Path location"
msgstr "Position der Pfad-Leiste"
-#: tinymce.module:869
+#: wysiwyg_editor.module:869
msgid "none"
msgstr "keine"
-#: tinymce.module:870
+#: wysiwyg_editor.module:870
msgid "Path to html elements (i.e. \"body>table>tr>td\"). Show at top, bottom, or not at all."
msgstr "Der Pfad zu den HTML Elementen (z.b. \"body>table>tr>td\"). Dieser kann oben, unten oder garnicht angezeigen werden."
-#: tinymce.module:875
+#: wysiwyg_editor.module:875
msgid "Enable resizing button"
msgstr "Schaltfläche zur Größenanpassung aktivieren"
# "Path location toolbar" not literally
-#: tinymce.module:878
+#: wysiwyg_editor.module:878
msgid " This option gives you the ability to enable/disable the resizing button. If enabled the <strong>Path location toolbar</strong> must be set to \"top\" or \"bottom\" in order to display the resize icon."
msgstr " Diese Option ermöglicht die Schaltfläche zur Größenanpassung zu aktivieren/deaktivieren. Ist diese aktiviert muss die <strong>Pfad-Leiste</strong> auf „oben“ oder „unten“ eingestellt werden, damit das Größenanpassungssymbol angezeigt wird."
-#: tinymce.module:883
+#: wysiwyg_editor.module:883
msgid "Block formats"
msgstr "Blockformate"
-#: tinymce.module:887
+#: wysiwyg_editor.module:887
msgid "Comma separated list of HTML block formats. You can only remove elements, not add."
msgstr "Eine kommagetrennte Liste von HTML Blockformaten. Elemente können nur entfernt, aber nicht hinzugefügt werden."
-#: tinymce.module:892
+#: wysiwyg_editor.module:892
msgid "Cleanup and output"
msgstr "Bereinigung und Ausgabe"
-#: tinymce.module:899
+#: wysiwyg_editor.module:899
msgid "Verify HTML"
msgstr "HTML prüfen"
-#: tinymce.module:902
+#: wysiwyg_editor.module:902
msgid "Should the HTML contents be verified or not? Verifying will strip &lt;head&gt tags, so choose false if you will be editing full page HTML."
msgstr "Sollen die HTML-Inhalte geprüft werden oder nicht? Diese Prüfung wird &lt;head&gt Tags entfernen. Stellen Sie es auf „unwahr“, wenn eine vollständige HTML Seite bearbeitet werden soll."
-#: tinymce.module:907
+#: wysiwyg_editor.module:907
msgid "Preformatted"
msgstr "Vorformattiert"
-#: tinymce.module:910
+#: wysiwyg_editor.module:910
msgid "If this option is set to true, the editor will insert TAB characters on tab and preserve other whitespace characters just like a PRE HTML element does."
msgstr "Sollte diese Option auf „wahr“ eingestellt sein, wird der Editor für Tabulatoren ein TAB Zeichen einfügen und andere Leerzeichen erhalten, wie ein PRE HTML Element dies macht."
-#: tinymce.module:915
+#: wysiwyg_editor.module:915
msgid "Convert &lt;font&gt; tags to styles"
msgstr "&lt;font&gt; Tags zu Styles konvertieren"
-#: tinymce.module:918
+#: wysiwyg_editor.module:918
msgid "If you set this option to true, font size, font family, font color and font background color will be replaced by inline styles."
msgstr "Sollte diese Option auf „wahr“ eingestellt sein, wird die Schriftgröße, Schriftfamilie, Schriftfarbe und Schrifthintergrundfarbe mit Inline-Styles ersetzt."
-#: tinymce.module:923
+#: wysiwyg_editor.module:923
msgid "Remove linebreaks"
msgstr "Zeilenumbrüche entfernen"
-#: tinymce.module:926
+#: wysiwyg_editor.module:926
msgid "Set this option to false to prevent TinyMCE from removing linebreaks from existing nodes. True avoids conflicts with some filters."
msgstr "Diese Option auf „unwahr“ einstellen, damit TinyMCE daran gehindert wird Zeilenumbrüche von vorhandenen Beiträgen zu entfernen. „Wahr“ verhindert Konflikte mit einigen Filtern."
-#: tinymce.module:931
+#: wysiwyg_editor.module:931
msgid "Apply source formatting"
msgstr "Quellcodeformatierung anwenden"
-#: tinymce.module:934
+#: wysiwyg_editor.module:934
msgid "This option makes TinyMCE apply source formatting. Set this to true for a cleaner HTML source. Choose false to avoid conflicts with some filters."
msgstr "Diese Option lässt TinyMCE den Quellcode formatieren. Für sauberen HTML Quellcode sollte es auf „wahr“ eingestellt werden. Um Konflike mit anderen Filtern zu verhindern sollte „unwahr“ eingestellt werden."
-#: tinymce.module:939
+#: wysiwyg_editor.module:939
msgid "CSS"
msgstr "CSS"
-#: tinymce.module:946
+#: wysiwyg_editor.module:946
msgid "Editor CSS"
msgstr "Editor CSS"
-#: tinymce.module:948
+#: wysiwyg_editor.module:948
msgid "use theme css"
msgstr "CSS des Themes verwenden"
-#: tinymce.module:948
+#: wysiwyg_editor.module:948
msgid "define css"
msgstr "CSS Datei angeben"
-#: tinymce.module:948
+#: wysiwyg_editor.module:948
msgid "tinyMCE default"
msgstr "TinyMCE Standard"
-#: tinymce.module:949
+#: wysiwyg_editor.module:949
msgid "Defines the CSS to be used in the editor area.<br />use theme css - load style.css from current site theme.<br/>define css - enter path for css file below.<br />tinyMCE default - uses default CSS from editor."
msgstr "Legt das im Editorfeld zu verwendende CSS fest.<br />CSS des Themes verwenden - Die style.css aus dem aktuellen Website-Theme laden.<br/>CSS Datei angeben - Nachfolgend einen Pfad zu einer CSS Datei eingeben.<br />TinyMCE Standard - Verwendet das Standard CSS des Editors."
-#: tinymce.module:954
+#: wysiwyg_editor.module:954
msgid "CSS path"
msgstr "CSS Verzeichnis"
-#: tinymce.module:958
+#: wysiwyg_editor.module:958
msgid "Enter path to CSS file (<em>example: \"css/editor.css\"</em>) or a list of css files seperated by a comma (<em>example: /themes/garland/style.css,http://domain.com/customMCE.css</em>).<br />Macros: %h (host name: http://www.example.com/), %t (path to theme: theme/yourtheme/)<br />Be sure to select \"define css\" above."
msgstr "Pfad zur CSS Datei angeben (<em>Beispiel: \"css/editor.css\"</em>) oder eine kommagetrennte Liste von CSS Dateien (<em>Beispiel: /themes/garland/style.css,http://domain.com/customMCE.css</em>).<br />Makros: %h (Hostname: http://www.example.com/), %t (Pfad zum Theme: theme/yourtheme/)<br />Oben muss „CSS Datei angeben“ ausgewählt sein."
-#: tinymce.module:963
+#: wysiwyg_editor.module:963
msgid "CSS classes"
msgstr "CSS Klassen"
-#: tinymce.module:967
+#: wysiwyg_editor.module:967
msgid "Adds CSS classes to the \"styles\" droplist. Format is: &lt;title&gt;=&lt;class&gt;;<br/> Example: Header 1=header1;Header 2=header2;Header 3=header3 (note: no trailing ';')<br />Leave blank to automatically import list of CSS classes from style sheet."
msgstr "Fügt CSS Klassen zu der „Styles“-Auswahlliste hinzu. Das Format lautet: &lt;title&gt;=&lt;class&gt;;<br/>Beispiel: Header 1=header1;Header 2=header2;Header 3=header3 (Hinweis: kein abschließendes ';')<br />Damit die Liste der CSS Klassen automatisch aus dem Stylesheet importiert wird muss das Feld leer gelassen werden."
-#: tinymce.module:1049
+#: wysiwyg_editor.module:1049
msgid "Profile"
msgstr "Profil"
-#: tinymce.module:1049
+#: wysiwyg_editor.module:1049
msgid "Roles"
msgstr "Rollen"
-#: tinymce.module:1049
+#: wysiwyg_editor.module:1049
msgid "Operations"
msgstr "Operationen"
-#: tinymce.module:1051
+#: wysiwyg_editor.module:1051
msgid "edit"
msgstr "Bearbeiten"
-#: tinymce.module:1051
+#: wysiwyg_editor.module:1051
msgid "delete"
msgstr "Löschen"
-#: tinymce.module:1054
+#: wysiwyg_editor.module:1054
msgid "<p><a href=\"!create-profile-url\">Create new profile</a></p>"
msgstr "<p><a href=\"!create-profile-url\">Neues Profil erstellen</a></p>"
-#: tinymce.module:1057
+#: wysiwyg_editor.module:1057
msgid "No profiles found. Click here to <a href=\"!create-profile-url\">create a new profile</a>."
msgstr "Keine Profile gefunden. Ein <a href=\"!create-profile-url\">neues Profil erstellen</a>."
-#: tinymce.module:1088
+#: wysiwyg_editor.module:1088
msgid "You must give a profile name."
msgstr "Ein gültiger Profilname muss angegeben werden."
-#: tinymce.module:1092
+#: wysiwyg_editor.module:1092
msgid "You must select at least one role."
msgstr "Es muss mindestens eine Rolle ausgewählt werden."
-#: tinymce.module:46
-msgid "administer tinymce"
+#: wysiwyg_editor.module:46
+msgid "administer wysiwyg_editor"
msgstr "TinyMCE verwalten"
-#: tinymce.module:46
-msgid "access tinymce"
+#: wysiwyg_editor.module:46
+msgid "access wysiwyg_editor"
msgstr "Zugriff auf TinyMCE"
-#: tinymce.module:47
+#: wysiwyg_editor.module:47
msgid "module"
msgstr "Modul"
-#: tinymce.module:49
-msgid "/tinymce/jscripts/tiny_mce/plugins/imagemanager/"
-msgstr "/tinymce/jscripts/tiny_mce/plugins/imagemanager/"
+#: wysiwyg_editor.module:49
+msgid "/wysiwyg_editor/jscripts/tiny_mce/plugins/imagemanager/"
+msgstr "/wysiwyg_editor/jscripts/tiny_mce/plugins/imagemanager/"
-#: tinymce.module:50
-msgid "access tinymce imagemanager"
+#: wysiwyg_editor.module:50
+msgid "access wysiwyg_editor imagemanager"
msgstr "Zugriff auf TinyMCE Bildverwalter"
-#: tinymce.info:0
+#: wysiwyg_editor.info:0
msgid "The most popular WYSIWYG editor for advanced content editing."
msgstr "Der populärste WYSIWYG Editor für erweiterte Inhaltsbearbeitung."
diff --git a/po/el.po b/po/el.po
index cddf131..f5e18a5 100644
--- a/po/el.po
+++ b/po/el.po
@@ -1,9 +1,9 @@
# translation of el.po to Greek
-# Greek translation of Drupal (tinymce.module)
+# Greek translation of Drupal (wysiwyg_editor.module)
# $Id$
# LANGUAGE translation of Drupal (general)
# Copyright YEAR NAME <EMAIL@ADDRESS>
-# Generated from file: tinymce.module,v 1.91 2007/02/22 22:41:06 nedjo
+# Generated from file: wysiwyg_editor.module,v 1.91 2007/02/22 22:41:06 nedjo
#
# Vasileios Lourdas <lourdas_v@yahoo.gr>, 2007.
# Vasileios Lourdas <vasilis@lourdas.name>, 2008.
@@ -20,415 +20,415 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: KBabel 1.11.4\n"
-#: tinymce.module:17 tinymce.info:0
+#: wysiwyg_editor.module:17 wysiwyg_editor.info:0
msgid "TinyMCE"
msgstr "TinyMCE"
-#: tinymce.module:19
+#: wysiwyg_editor.module:19
msgid "Configure the rich editor."
msgstr "Παραμετροποίηση του πλήρους συντάκτη κειμένου."
-#: tinymce.module:34
-msgid "<p style=\"font-size:x-small\">$Revision$ $Date$</p><p>TinyMCE adds what-you-see-is-what-you-get (WYSIWYG) html editing to textareas. This editor can be enabled/disabled without reloading the page by clicking a link below each textarea.</p><p>Profiles can be defined based on user roles. A TinyMCE profile can define which pages receive this TinyMCE capability, what buttons or themes are enabled for the editor, how the editor is displayed, and a few other editor functions.</p><p>Lastly, only users with the <code>access tinymce</code> <a href=\"!url\">permission</a> will be able to use TinyMCE.</p>"
-msgstr "<p style=\"font-size:x-small\">$Revision$ $Date$</p><p>Το TinyMCE προσθέτει δυνατότητα επεξεργασίας HTML τύπου what-you-see-is-what-you-get (WYSIWYG) στις περιοχές κειμένου. Ο επεξεργαστής μπορεί να ενεργοποιηθεί/απενεργοποιηθεί χωρίς την επαναφόρτωση της σελίδας κάνοντας κλικ σε ένα σύνδεσμο κάτω από κάθε περιοχή κειμένου.</p><p>Τα προφίλ ορίζονται βάσει των ρόλων των χρηστών. Ένα προφίλ TinyMCE μπορεί να ορίσει σε ποιες σελίδες θα υπάρχει η δυνατότητα TinyMCE, ποια κουμπιά ή θεματικές παραλλαγές θα είναι ενεργοποιημένες στον επεξεργαστή, πως θα εμφανίζεται ο επεξεργαστής και ορισμένες άλλες λειτουργίες.</p><p>Τέλος, μόνο χρήστες με την <a href=\"!url\">άδεια</a> <code>πρόσβαση στο tinymce</code> θα μπορούν να χρησιμοποιούν το TinyMCE.</p>"
+#: wysiwyg_editor.module:34
+msgid "<p style=\"font-size:x-small\">$Revision$ $Date$</p><p>TinyMCE adds what-you-see-is-what-you-get (WYSIWYG) html editing to textareas. This editor can be enabled/disabled without reloading the page by clicking a link below each textarea.</p><p>Profiles can be defined based on user roles. A TinyMCE profile can define which pages receive this TinyMCE capability, what buttons or themes are enabled for the editor, how the editor is displayed, and a few other editor functions.</p><p>Lastly, only users with the <code>access wysiwyg_editor</code> <a href=\"!url\">permission</a> will be able to use TinyMCE.</p>"
+msgstr "<p style=\"font-size:x-small\">$Revision$ $Date$</p><p>Το TinyMCE προσθέτει δυνατότητα επεξεργασίας HTML τύπου what-you-see-is-what-you-get (WYSIWYG) στις περιοχές κειμένου. Ο επεξεργαστής μπορεί να ενεργοποιηθεί/απενεργοποιηθεί χωρίς την επαναφόρτωση της σελίδας κάνοντας κλικ σε ένα σύνδεσμο κάτω από κάθε περιοχή κειμένου.</p><p>Τα προφίλ ορίζονται βάσει των ρόλων των χρηστών. Ένα προφίλ TinyMCE μπορεί να ορίσει σε ποιες σελίδες θα υπάρχει η δυνατότητα TinyMCE, ποια κουμπιά ή θεματικές παραλλαγές θα είναι ενεργοποιημένες στον επεξεργαστή, πως θα εμφανίζεται ο επεξεργαστής και ορισμένες άλλες λειτουργίες.</p><p>Τέλος, μόνο χρήστες με την <a href=\"!url\">άδεια</a> <code>πρόσβαση στο wysiwyg_editor</code> θα μπορούν να χρησιμοποιούν το TinyMCE.</p>"
-#: tinymce.module:113
+#: wysiwyg_editor.module:113
msgid "enable rich-text"
msgstr "ενεργοποίηση του πλήρους κειμένου"
-#: tinymce.module:114
+#: wysiwyg_editor.module:114
msgid "disable rich-text"
msgstr "απενεργοποίηση του πλήρους κειμένου"
-#: tinymce.module:166
+#: wysiwyg_editor.module:166
msgid "Your current web browser does not support WYSIWYG editing."
msgstr "Ο φυλλομετρητής σας δεν υποστηρίζει επεξεργασία WYSIWYG."
-#: tinymce.module:247
+#: wysiwyg_editor.module:247
msgid "TinyMCE rich-text settings"
msgstr "Ρυθμίσεις πλήρους-κειμένου TinyMCE"
-#: tinymce.module:255;698
+#: wysiwyg_editor.module:255;698
msgid "Default state"
msgstr "Εξ' ορισμού κατάσταση"
-#: tinymce.module:257;700
+#: wysiwyg_editor.module:257;700
msgid "disabled"
msgstr "απενεργοποιημένο"
-#: tinymce.module:257;700
+#: wysiwyg_editor.module:257;700
msgid "enabled"
msgstr "ενεργοποιημένο"
-#: tinymce.module:258
+#: wysiwyg_editor.module:258
msgid "Should rich-text editing be enabled or disabled by default in textarea fields?"
msgstr "Το πλήρες κείμενο στα πεδία περιοχής κειμένου θα πρέπει να είναι ενεργοποιημένο ή απενεργοποιημένο εξ' ορισμού;"
-#: tinymce.module:440
+#: wysiwyg_editor.module:440
msgid "administer"
msgstr "διαχείριση"
-#: tinymce.module:441;44;0
-msgid "tinymce"
-msgstr "tinymce"
+#: wysiwyg_editor.module:441;44;0
+msgid "wysiwyg_editor"
+msgstr "wysiwyg_editor"
-#: tinymce.module:442
+#: wysiwyg_editor.module:442
msgid "Add new TinyMCE profile"
msgstr "Προσθήκη νέου προφίλ TinyMCE"
-#: tinymce.module:448
-msgid "Edit tinymce profile"
-msgstr "Επεξεργασία προφίλ tinymce"
+#: wysiwyg_editor.module:448
+msgid "Edit wysiwyg_editor profile"
+msgstr "Επεξεργασία προφίλ wysiwyg_editor"
-#: tinymce.module:454
+#: wysiwyg_editor.module:454
msgid "Deleted profile"
msgstr "Το προφίλ διαγράφηκε"
-#: tinymce.module:458;663
+#: wysiwyg_editor.module:458;663
msgid "Create profile"
msgstr "Δημιουργία προφίλ"
-#: tinymce.module:459;667
+#: wysiwyg_editor.module:459;667
msgid "Update profile"
msgstr "Ενημέρωση προφίλ"
-#: tinymce.module:462
+#: wysiwyg_editor.module:462
msgid "Your TinyMCE profile has been updated."
msgstr "Το TinyMCE προφίλ σας έχει ενημερωθεί"
-#: tinymce.module:462
+#: wysiwyg_editor.module:462
msgid "Your TinyMCE profile has been created."
msgstr "Το TinyMCE προφίλ σας έχει δημιουργηθεί."
-#: tinymce.module:471
+#: wysiwyg_editor.module:471
msgid "TinyMCE settings"
msgstr "Ρυθμίσεις TinyMCE"
-#: tinymce.module:475
-msgid "Could not find the TinyMCE engine installed at <strong>!tinymce-directory</strong>. Please <a href=\"http://tinymce.moxiecode.com/\">download TinyMCE</a>, uncompress it and copy the folder into !tinymce-path."
-msgstr "Δε βρέθηκε εγκατεστημένη η μηχανή TinyMCE στον κατάλογο <strong>!tinymce-directory</strong>. Παρακαλώ <a href=\"http://tinymce.moxiecode.com/\">κατεβάστε το TinyMCE</a>, αποσυμπιέστε το και αντιγράψτε τον κατάλογό του στο !tinymce-path."
+#: wysiwyg_editor.module:475
+msgid "Could not find the TinyMCE engine installed at <strong>!wysiwyg_editor-directory</strong>. Please <a href=\"http://wysiwyg_editor.moxiecode.com/\">download TinyMCE</a>, uncompress it and copy the folder into !wysiwyg_editor-path."
+msgstr "Δε βρέθηκε εγκατεστημένη η μηχανή TinyMCE στον κατάλογο <strong>!wysiwyg_editor-directory</strong>. Παρακαλώ <a href=\"http://wysiwyg_editor.moxiecode.com/\">κατεβάστε το TinyMCE</a>, αποσυμπιέστε το και αντιγράψτε τον κατάλογό του στο !wysiwyg_editor-path."
-#: tinymce.module:655
-msgid "You must <a href=\"!access-control-url\">assign</a> at least one role with the 'access tinymce' permission before creating a profile."
-msgstr "Θα πρέπει να <a href=\"!access-control-url\">αποδώσετε</a> τουλάχιστον ένα ρόλο με το δικαίωμα 'πρόσβαση στο tinymce' προτού δημιουργήσετε προφίλ."
+#: wysiwyg_editor.module:655
+msgid "You must <a href=\"!access-control-url\">assign</a> at least one role with the 'access wysiwyg_editor' permission before creating a profile."
+msgstr "Θα πρέπει να <a href=\"!access-control-url\">αποδώσετε</a> τουλάχιστον ένα ρόλο με το δικαίωμα 'πρόσβαση στο wysiwyg_editor' προτού δημιουργήσετε προφίλ."
-#: tinymce.module:658
-msgid "You will not be allowed to create a new profile since all user roles have already been assigned profiles. Either remove an existing tinymce profile from at least one role or assign another role the 'access tinymce' permission."
-msgstr "Δεν μπορείτε να δημιουργήσετε νέο προφίλ, εφόσον σε όλους τους ρόλους χρηστών έχουν αποδωθεί προφίλ. Αφαιρέστε ένα υπάρχον προφίλ tinymce από ένα τουλάχιστον ρόλο ή αποδώστε το δικαίωμα 'πρόσβαση στο tinymce' σε άλλο ρόλο."
+#: wysiwyg_editor.module:658
+msgid "You will not be allowed to create a new profile since all user roles have already been assigned profiles. Either remove an existing wysiwyg_editor profile from at least one role or assign another role the 'access wysiwyg_editor' permission."
+msgstr "Δεν μπορείτε να δημιουργήσετε νέο προφίλ, εφόσον σε όλους τους ρόλους χρηστών έχουν αποδωθεί προφίλ. Αφαιρέστε ένα υπάρχον προφίλ wysiwyg_editor από ένα τουλάχιστον ρόλο ή αποδώστε το δικαίωμα 'πρόσβαση στο wysiwyg_editor' σε άλλο ρόλο."
-#: tinymce.module:661
-msgid "Not all user roles are shown since they already have tinymce profiles. You must first unassign profiles in order to add them to a new one."
-msgstr "Δεν εμφανίζονται όλοι οι ρόλοι χρηστών εφόσον τους έχει αποδοθεί ήδη προφίλ tinymce. Θα πρέπει πρώτα να αφαιρέσετε προφίλ προκειμένου να τους προσθέσετε ένα ακόμη."
+#: wysiwyg_editor.module:661
+msgid "Not all user roles are shown since they already have wysiwyg_editor profiles. You must first unassign profiles in order to add them to a new one."
+msgstr "Δεν εμφανίζονται όλοι οι ρόλοι χρηστών εφόσον τους έχει αποδοθεί ήδη προφίλ wysiwyg_editor. Θα πρέπει πρώτα να αφαιρέσετε προφίλ προκειμένου να τους προσθέσετε ένα ακόμη."
-#: tinymce.module:672
+#: wysiwyg_editor.module:672
msgid "Basic setup"
msgstr "Βασική διαμόρφωση"
-#: tinymce.module:679
+#: wysiwyg_editor.module:679
msgid "Profile name"
msgstr "Όνομα προφίλ"
-#: tinymce.module:683
-msgid "Enter a name for this profile. This name is only visible within the tinymce administration page."
-msgstr "Εισάγετε ένα όνομα για το προφίλ αυτό. Το όνομα αυτό θα εμφανίζεται μόνο στις σελίδες διαχείρισης του tinymce."
+#: wysiwyg_editor.module:683
+msgid "Enter a name for this profile. This name is only visible within the wysiwyg_editor administration page."
+msgstr "Εισάγετε ένα όνομα για το προφίλ αυτό. Το όνομα αυτό θα εμφανίζεται μόνο στις σελίδες διαχείρισης του wysiwyg_editor."
-#: tinymce.module:689
+#: wysiwyg_editor.module:689
msgid "Roles allowed to use this profile"
msgstr "Ρόλοι που τους επιτρέπεται να χρησιμοποιούν αυτό το προφίλ"
-#: tinymce.module:692
-msgid "Check at least one role. Only roles with 'access tinymce' permission will be shown here."
-msgstr "Επιλέξτε τουλάχιστον ένα ρόλο. Εδώ εμφανίζονται μόνο οι ρόλοι με το δικαίωμα 'πρόσβαση στο tinymce'."
+#: wysiwyg_editor.module:692
+msgid "Check at least one role. Only roles with 'access wysiwyg_editor' permission will be shown here."
+msgstr "Επιλέξτε τουλάχιστον ένα ρόλο. Εδώ εμφανίζονται μόνο οι ρόλοι με το δικαίωμα 'πρόσβαση στο wysiwyg_editor'."
-#: tinymce.module:701
+#: wysiwyg_editor.module:701
msgid "Default editor state for users in this profile. Users will be able to override this state if the next option is enabled."
msgstr "Εξ' ορισμού κατάσταση του συντάκτη για τους χρήστες σε αυτό το προφίλ. Οι χρήστες θα μπορούν να αλλάξουν την κατάσταση αυτή αν η επόμενη επιλογή είναι ενεργοποιημένη."
-#: tinymce.module:706
+#: wysiwyg_editor.module:706
msgid "Allow users to choose default"
msgstr "Να επιτρέπεται στους χρήστες να επιλέγουν το εξ' ορισμού"
-#: tinymce.module:708;716;740;874;898;906;914
+#: wysiwyg_editor.module:708;716;740;874;898;906;914
msgid "false"
msgstr "ψευδές"
-#: tinymce.module:708;716;740;874;898;906;914
+#: wysiwyg_editor.module:708;716;740;874;898;906;914
msgid "true"
msgstr "αληθές"
-#: tinymce.module:709
+#: wysiwyg_editor.module:709
msgid "If allowed, users will be able to choose their own TinyMCE default state by visiting their profile page."
msgstr "Αν επιτρέπεται, οι χρήστες θα μπορούν να επιλέξουν την εξ' ορισμού κατάσταση για το TinyMCE τους επισκεπτόμενοι τη σελίδα του προφίλ τους."
-#: tinymce.module:714
+#: wysiwyg_editor.module:714
msgid "Show disable/enable rich text editor toggle"
msgstr "Εμφάνιση του διακόπτη απενεργοποίηση/ενεργοποίηση του συντάκτη πλήρους κειμένου"
-#: tinymce.module:717
+#: wysiwyg_editor.module:717
msgid "Whether or not to show the disable/enable rich text editor toggle below the textarea. If false, editor defaults to the global default or user default (see above)."
msgstr "Εμφάνιση ή όχι του διακόπτη για την απενεργοποίηση/ενεργοποίηση του συντάκτη πλήρους κειμένου κάτω από την περιοχή κειμένου. Αν όχι, ο συντάκτης θα είναι με βάση την εξ' ορισμού καθολική ή από το χρήστη κατάσταση (δείτε παραπάνω)"
-#: tinymce.module:730
+#: wysiwyg_editor.module:730
msgid "Language"
msgstr "Γλώσσα"
-#: tinymce.module:733
+#: wysiwyg_editor.module:733
msgid "The language for the TinyMCE interface. Language codes based on the <a href=\"http://www.loc.gov/standards/iso639-2/englangn.html\">ISO-639-2</a> format."
msgstr "Η γλώσσα για τη διεπαφή του TinyMCE. Οι κωδικοί των γλωσσών βασίζονται στη μορφή <a href=\"http://www.loc.gov/standards/iso639-2/englangn.html\">ISO-639-2</a>."
-#: tinymce.module:738
+#: wysiwyg_editor.module:738
msgid "Safari browser warning"
msgstr "Προειδοποίηση για το φυλλομετρητή Safari"
-#: tinymce.module:741
+#: wysiwyg_editor.module:741
msgid "TinyMCE support for the Safari web browser is experimental and a warning message is displayed when that browser is detected. You can disable this message here."
msgstr "Η υποστήριξη του φυλλομετρητή Safari από το TinyMCE είναι σε πειραματικό στάδιο και όταν εντοπίζεται ο φυλλομετρητής αυτός θα εμφανίζεται μια προειδοποίηση. Μπορείτε εδώ να απενεργοποιήσετε το μήνυμα αυτό."
-#: tinymce.module:746
+#: wysiwyg_editor.module:746
msgid "Visibility"
msgstr "Ορατότητα"
-#: tinymce.module:766
+#: wysiwyg_editor.module:766
msgid "Show on every page except the listed pages."
msgstr "Εμφάνιση σε όλες τις σελίδες εκτός από τις παρακάτω."
-#: tinymce.module:766
+#: wysiwyg_editor.module:766
msgid "Show on only the listed pages."
msgstr "Εμφάνιση μόνο στις παρακάτω σελίδες."
-#: tinymce.module:767
+#: wysiwyg_editor.module:767
msgid "Enter one page per line as Drupal paths. The '*' character is a wildcard. Example paths are '!blog' for the blog page and !blog-wildcard for every personal blog. !front is the front page."
msgstr "Εισάγετε μια σελίδα ανά γραμμή ως διαδρομές του Drupal. Ο χαρακτήρας '*' είναι χαρακτήρας μπαλαντέρ. Παραδείγματα διαδρομών είναι το '!blog' για τις σελίδες ιστολογίου και το !blog-wildcard για κάθε προσωπικό ιστολόγιο. Το !front είναι για την κεντρική σελίδα."
-#: tinymce.module:770
+#: wysiwyg_editor.module:770
msgid "Show if the following PHP code returns <code>TRUE</code> (PHP-mode, experts only)."
msgstr "Εμφάνιση ανάλογα με το αν ο παρακάτω κώδικας PHP επιστρέψει <code>TRUE</code> (κατάσταση PHP, για τους ειδικούς μόνο)."
-#: tinymce.module:771
+#: wysiwyg_editor.module:771
msgid "If the PHP-mode is chosen, enter PHP code between !php. Note that executing incorrect PHP-code can break your Drupal site."
msgstr "Αν επιλεχθεί η κατάσταση PHP, εισάγετε τον κώδικα PHP ανάμεσα στα !php. Σημειώστε ότι η εκτέλεση λάθους κώδικα μπορεί να προκαλέσει ζημιά στο Drupal ιστοχώρο σας."
-#: tinymce.module:775
-msgid "Show tinymce on specific pages"
-msgstr "Εμφάνιση του tinymce σε συγκεκριμένες σελίδες"
+#: wysiwyg_editor.module:775
+msgid "Show wysiwyg_editor on specific pages"
+msgstr "Εμφάνιση του wysiwyg_editor σε συγκεκριμένες σελίδες"
-#: tinymce.module:781
+#: wysiwyg_editor.module:781
msgid "Pages"
msgstr "Σελίδες"
-#: tinymce.module:789
+#: wysiwyg_editor.module:789
msgid "Buttons and plugins"
msgstr "Κουμπιά και επιπλέον αρθρώματα"
-#: tinymce.module:841
+#: wysiwyg_editor.module:841
msgid "Editor appearance"
msgstr "Εμφάνιση συντάκτη κειμένου"
-#: tinymce.module:848
+#: wysiwyg_editor.module:848
msgid "Toolbar location"
msgstr "Τοποθεσία γραμμής εργαλείων"
-#: tinymce.module:850;866
+#: wysiwyg_editor.module:850;866
msgid "bottom"
msgstr "κάτω μέρος"
-#: tinymce.module:850;866
+#: wysiwyg_editor.module:850;866
msgid "top"
msgstr "πάνω μέρος"
-#: tinymce.module:851
+#: wysiwyg_editor.module:851
msgid "Show toolbar at the top or bottom of the editor area?"
msgstr "Να εμφανίζεται η γραμμή εργαλείων στο πάνω ή κάτω μέρος της περιοχής του συντάκτη;"
-#: tinymce.module:856
+#: wysiwyg_editor.module:856
msgid "Toolbar alignment"
msgstr "Στοίχιση γραμμής εργαλείων"
-#: tinymce.module:858
+#: wysiwyg_editor.module:858
msgid "center"
msgstr "κέντρο"
-#: tinymce.module:858
+#: wysiwyg_editor.module:858
msgid "left"
msgstr "αριστερά"
-#: tinymce.module:858
+#: wysiwyg_editor.module:858
msgid "right"
msgstr "δεξιά"
-#: tinymce.module:859
+#: wysiwyg_editor.module:859
msgid "Align tool icons left, center, or right within the toolbar."
msgstr "Στοίχιση των εικονιδίων των εργαλείων αριστερά, στο κέντρο ή δεξιά μέσα στη γραμμή εργαλείων."
-#: tinymce.module:864
+#: wysiwyg_editor.module:864
msgid "Path location"
msgstr "Τοποθεσία διαδρομής"
-#: tinymce.module:866
+#: wysiwyg_editor.module:866
msgid "none"
msgstr "κανένα"
-#: tinymce.module:867
+#: wysiwyg_editor.module:867
msgid "Path to html elements (i.e. \"body>table>tr>td\"). Show at top, bottom, or not at all."
msgstr "Η διαδρομή των στοιχείων html (πχ. \"body>table>tr>td\"). Να εμφανίζεται πάνω, κάτω ή καθόλου."
-#: tinymce.module:872
+#: wysiwyg_editor.module:872
msgid "Enable resizing button"
msgstr "Ενεργοποίηση πλήκτρου αλλαγής μεγέθους"
-#: tinymce.module:875
+#: wysiwyg_editor.module:875
msgid " This option gives you the ability to enable/disable the resizing button. If enabled the <strong>Path location toolbar</strong> must be set to \"top\" or \"bottom\" in order to display the resize icon."
msgstr "Η επιλογή αυτή δίνει τη δυνατότητα να ενεργοποιείτε/απενεργοποιείτε το πλήκτρο αλλαγής μεγέθους. Αν είναι ενεργοποιημένη, η <strong>γραμμή εργαλείων τοποθεσίας διαδρομής</strong> θα πρέπει να είναι \"πάνω\" ή \"κάτω\" για να εμφανίζεται το εικονίδιο αλλαγής μεγέθους."
-#: tinymce.module:880
+#: wysiwyg_editor.module:880
msgid "Block formats"
msgstr "Μορφές μπλοκ"
-#: tinymce.module:884
+#: wysiwyg_editor.module:884
msgid "Comma separated list of HTML block formats. You can only remove elements, not add."
msgstr "Λίστα μπλοκ μορφών HTML χωρισμένη με το κόμμα. Μπορείτε να αφαιρέσετε μόνο στοιχεία, όχι να προσθέσετε."
-#: tinymce.module:889
+#: wysiwyg_editor.module:889
msgid "Cleanup and output"
msgstr "Εκκαθάριση και έξοδος"
-#: tinymce.module:896
+#: wysiwyg_editor.module:896
msgid "Verify HTML"
msgstr "Επαλήθευση της HTML"
-#: tinymce.module:899
+#: wysiwyg_editor.module:899
msgid "Should the HTML contents be verified or not? Verifying will strip &lt;head&gt tags, so choose false if you will be editing full page HTML."
msgstr "Επαλήθευση ή όχι των στοιχείων της HTML; Η επαλήθευση θα αφαιρέσει τις σημάνσεις &lt;head&gt, οπότε επιλέξτε ψευδές αν θέλετε να επεξεργαστείτε πλήρεις σελίδες HTML."
-#: tinymce.module:904
+#: wysiwyg_editor.module:904
msgid "Preformatted"
msgstr "Προμορφοποιημένο"
-#: tinymce.module:907
+#: wysiwyg_editor.module:907
msgid "If this option is set to true, the editor will insert TAB characters on tab and preserve other whitespace characters just like a PRE HTML element does."
msgstr "Αν η επιλογή αυτή έχει ως τιμή αληθές, ο συντάκτης κειμένου θα εισάγει χαρακτήρες TAB και θα διατηρεί τους υπόλοιπους λευκούς χαρακτήρες (whitespaces), ακριβώς όπως κάνει και το στοιχείο PRE της HTML."
-#: tinymce.module:912
+#: wysiwyg_editor.module:912
msgid "Convert &lt;font&gt; tags to styles"
msgstr "Μετατροπή των σημάνσεων &lt;font&gt; σε στυλ"
-#: tinymce.module:915
+#: wysiwyg_editor.module:915
msgid "If you set this option to true, font size, font family, font color and font background color will be replaced by inline styles."
msgstr "Αν η επιλογή αυτή έχει ως τιμή αληθές, το μέγεθος, η οικογένεια, το χρώμα των γραμματοσειρών και το χρώμα του υπόβαθρου θα αντικαθίστανται από στυλ μέσα στο κείμενο (inline)."
-#: tinymce.module:920
+#: wysiwyg_editor.module:920
msgid "Remove linebreaks"
msgstr "Αφαίρεση των αλλαγών γραμμών"
-#: tinymce.module:923
+#: wysiwyg_editor.module:923
msgid "Set this option to false to prevent TinyMCE from removing linebreaks from existing nodes. True avoids conflicts with some filters."
msgstr "Θέστε την επιλογή αυτή σε ψευδές για να αποτρέψετε το TinyMCE να αφαιρεί τις αλλαγές γραμμών από τους υπάρχοντες κόμβους. Το αληθές αποφεύγει προβλήματα με ορισμένα φίλτρα."
-#: tinymce.module:928
+#: wysiwyg_editor.module:928
msgid "Apply source formatting"
msgstr "Εφαρμογή μορφοποίησης κώδικα"
-#: tinymce.module:931
+#: wysiwyg_editor.module:931
msgid "This option makes TinyMCE apply source formatting. Set this to true for a cleaner HTML source. Choose false to avoid conflicts with some filters."
msgstr "Η επιλογή αυτή ορίζει στο TinyMCE να εφαρμόζει μορφοποίηση κώδικα. Θέστε την επιλογή σε αληθές για ένα πιο ευανάγνωστο κώδικα HTML. Θέστε σε ψευδές για την αποφυγή προβλημάτων με ορισμένα φίλτρα."
-#: tinymce.module:936
+#: wysiwyg_editor.module:936
msgid "CSS"
msgstr "CSS"
-#: tinymce.module:943
+#: wysiwyg_editor.module:943
msgid "Editor CSS"
msgstr "Συντάκτης CSS"
-#: tinymce.module:945
+#: wysiwyg_editor.module:945
msgid "use theme css"
msgstr "χρησιμοποίηση css θεματικής παραλλαγής"
-#: tinymce.module:945
+#: wysiwyg_editor.module:945
msgid "define css"
msgstr "ορισμός css"
-#: tinymce.module:945
+#: wysiwyg_editor.module:945
msgid "tinyMCE default"
msgstr "προεπιλογή TinyMCE"
-#: tinymce.module:946
+#: wysiwyg_editor.module:946
msgid "Defines the CSS to be used in the editor area.<br />use theme css - load style.css from current site theme.<br/>define css - enter path for css file below.<br />tinyMCE default - uses default CSS from editor."
msgstr "Καθορίζει το CSS που θα χρησιμοποιηθεί στην περιοχή κειμένου του συντάκτη. <br />χρησιμοποίηση του θέματος css - χρησιμοποιεί το style.css από το τρέχων θέμα του ιστοχώρου. <br/>ορισμός του css - εισάγετε παρακάτω τη διαδρομή για το αρχείο του css<br />εξ' ορισμού του tinyMCE - χρησιμοποιεί το εξ' ορισμού CSS του συντάκτη κειμένου."
-#: tinymce.module:951
+#: wysiwyg_editor.module:951
msgid "CSS path"
msgstr "Διαδρομή CSS"
-#: tinymce.module:955
+#: wysiwyg_editor.module:955
msgid "Enter path to CSS file (<em>example: \"css/editor.css\"</em>) or a list of css files seperated by a comma (<em>example: /themes/garland/style.css,http://domain.com/customMCE.css</em>).<br />Macros: %h (host name: http://www.example.com/), %t (path to theme: theme/yourtheme/)<br />Be sure to select \"define css\" above."
msgstr "Εισάγετε τη διαδρομή για το αρχείο CSS (<em>παράδειγμα: \"css/editor.css\"</em>) ή μια λίστα αρχείων css χωρισμένα με το κόμμα (<em>παράδειγμα: /themes/garland/style.css,http://domain.com/customMCE.css</em>). <br />Μακροεντολές: %h (όνομα υπολογιστή: http://www.example.com/), %t (διαδρομή στο θέμα: theme/yourtheme/)<br />Σιγουρευτείτε να επιλέξετε το \"ορισμός του css\" παραπάνω."
-#: tinymce.module:960
+#: wysiwyg_editor.module:960
msgid "CSS classes"
msgstr "Κλάσεις CSS"
-#: tinymce.module:964
+#: wysiwyg_editor.module:964
msgid "Adds CSS classes to the \"styles\" droplist. Format is: &lt;title&gt;=&lt;class&gt;;<br/> Example: Header 1=header1;Header 2=header2;Header 3=header3 (note: no trailing ';')<br />Leave blank to automatically import list of CSS classes from style sheet."
msgstr "Προσθέτει κλάσεις css στη λίστα \"στυλ\". Η μορφοποίηση είναι &lt;τίτλος&gt;=&lt;κλάση&gt;;<br/> Παράδειγμα: Επικεφαλίδα 1=header1;Επικεφαλίδα 2=header2;Επικεφαλίδα 3=header3 (σημείωση: χωρίς το ';' στο τέλος)<br />Αφήστε το κενό για να εισαχθεί αυτόματα η λίστα των κλάσεων CSS από το αρχείο των στυλ."
-#: tinymce.module:1046
+#: wysiwyg_editor.module:1046
msgid "Profile"
msgstr "Προφίλ"
-#: tinymce.module:1046
+#: wysiwyg_editor.module:1046
msgid "Roles"
msgstr "Ρόλοι"
-#: tinymce.module:1046
+#: wysiwyg_editor.module:1046
msgid "Operations"
msgstr "Λειτουργίες"
-#: tinymce.module:1048
+#: wysiwyg_editor.module:1048
msgid "edit"
msgstr "επεξεργασία"
-#: tinymce.module:1048
+#: wysiwyg_editor.module:1048
msgid "delete"
msgstr "διαγραφή"
-#: tinymce.module:1051
+#: wysiwyg_editor.module:1051
msgid "<p><a href=\"!create-profile-url\">Create new profile</a></p>"
msgstr "<p><a href=\"!create-profile-url\">Δημιουργία νέου προφίλ</a></p>"
-#: tinymce.module:1054
+#: wysiwyg_editor.module:1054
msgid "No profiles found. Click here to <a href=\"!create-profile-url\">create a new profile</a>."
msgstr "Δε βρέθηκαν προφίλ. Κάντε κλικ εδώ για να <a href=\"!create-profile-url\">δημιουργήσετε ένα νέο προφίλ</a>."
-#: tinymce.module:1085
+#: wysiwyg_editor.module:1085
msgid "You must give a profile name."
msgstr "Πρέπει να εισάγετε ένα όνομα προφίλ."
-#: tinymce.module:1089
+#: wysiwyg_editor.module:1089
msgid "You must select at least one role."
msgstr "Πρέπει να επιλέξετε τουλάχιστον ένα ρόλο."
-#: tinymce.module:43
-msgid "administer tinymce"
-msgstr "διαχείριση του tinymce"
+#: wysiwyg_editor.module:43
+msgid "administer wysiwyg_editor"
+msgstr "διαχείριση του wysiwyg_editor"
-#: tinymce.module:43
-msgid "access tinymce"
-msgstr "πρόσβαση στο tinymce"
+#: wysiwyg_editor.module:43
+msgid "access wysiwyg_editor"
+msgstr "πρόσβαση στο wysiwyg_editor"
-#: tinymce.module:44
+#: wysiwyg_editor.module:44
msgid "module"
msgstr "άρθρωμα"
-#: tinymce.module:46
-msgid "/tinymce/jscripts/tiny_mce/plugins/imagemanager/"
-msgstr "/tinymce/jscripts/tiny_mce/plugins/imagemanager/"
+#: wysiwyg_editor.module:46
+msgid "/wysiwyg_editor/jscripts/tiny_mce/plugins/imagemanager/"
+msgstr "/wysiwyg_editor/jscripts/tiny_mce/plugins/imagemanager/"
-#: tinymce.module:47
-msgid "access tinymce imagemanager"
-msgstr "πρόσβαση στο διαχειριστή εικόνων tinymce"
+#: wysiwyg_editor.module:47
+msgid "access wysiwyg_editor imagemanager"
+msgstr "πρόσβαση στο διαχειριστή εικόνων wysiwyg_editor"
-#: tinymce.info:0
+#: wysiwyg_editor.info:0
msgid "The most popular WYSIWYG editor for advanced content editing."
msgstr "Ο δημοφιλέστερος WYSIWYG συντάκτης κειμένου για προχωρημένη επεξεργασία περιεχομένου."
diff --git a/po/hu.po b/po/hu.po
index 3cedd66..9448770 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -1,7 +1,7 @@
# Copyright YEAR NAME <EMAIL@ADDRESS>
# Generated from files:
-# tinymce.module,v 1.90.4.11 2006/12/31 10:48:37 thenicespider
-# tinymce.info,v 1.0 2006/12/24 17:51:48 Wendy
+# wysiwyg_editor.module,v 1.90.4.11 2006/12/31 10:48:37 thenicespider
+# wysiwyg_editor.info,v 1.0 2006/12/24 17:51:48 Wendy
#
msgid ""
msgstr ""
@@ -16,74 +16,74 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Poedit-Country: HUNGARY\n"
-#: tinymce.module:7
-#: tinymce.info:0
+#: wysiwyg_editor.module:7
+#: wysiwyg_editor.info:0
msgid "The most popular WYSIWYG editor for advance content."
msgstr "A legnépszerűbb WYSIWYG szerkesztő bonyolultabb tartalmakhoz."
-#: tinymce.module:14
+#: wysiwyg_editor.module:14
msgid "Enable WYSIWYG Editor to your site."
msgstr "WYSIWYG szerkesztő enegedélyezése a honlapon."
-#: tinymce.module:31
-#: tinymce.info:0
+#: wysiwyg_editor.module:31
+#: wysiwyg_editor.info:0
msgid "TinyMCE"
msgstr "TinyMCE"
-#: tinymce.module:32
+#: wysiwyg_editor.module:32
msgid "Tinymce settings."
msgstr "Tinymce beállítások."
-#: tinymce.module:48
+#: wysiwyg_editor.module:48
msgid "Basic settings"
msgstr "Alapbeállítások"
-#: tinymce.module:55
+#: wysiwyg_editor.module:55
msgid "Editor Mode"
msgstr "Szerkesztő mód"
-#: tinymce.module:57
+#: wysiwyg_editor.module:57
msgid "Full"
msgstr "Teljes"
-#: tinymce.module:57
+#: wysiwyg_editor.module:57
msgid "Compact"
msgstr "Tömörített"
-#: tinymce.module:57
+#: wysiwyg_editor.module:57
msgid "Simple"
msgstr "Egyszerű"
-#: tinymce.module:58
+#: wysiwyg_editor.module:58
msgid "FULL: enable all TinyMCE features. COMPACT: enable most used features. SIMPLE: just enable simple editor.<hr>"
msgstr "TELJES: az összes TinyMCE funkció engedélyezése. TÖMÖRÍTETT: a leggyakrabban használt funkció engedélyezése. EGYSZERŰ: egyszerű szerkesztő engedélyezése.<hr>"
-#: tinymce.module:63
+#: wysiwyg_editor.module:63
msgid "Enable TinyMCE for"
msgstr "TinyMCE engedélyezése"
-#: tinymce.module:65
+#: wysiwyg_editor.module:65
msgid "Edit-body only"
msgstr "Csak szövegtörzsnél"
-#: tinymce.module:65
+#: wysiwyg_editor.module:65
msgid "Edit-comment only"
msgstr "Csak hozzászólásnál"
-#: tinymce.module:65
+#: wysiwyg_editor.module:65
msgid "Both"
msgstr "Mindkettő"
-#: tinymce.module:66
+#: wysiwyg_editor.module:66
msgid "If you want TinyMCE available for textarea of edit-body and comment then you should select <b>Both</b> option."
msgstr "A szövegtörzs és hozzászólás mezők TinyMCE-vel szerkesztésének engedélyezéséhez a <b>Mindkettő</b> beállítást kell választani."
-#: tinymce.module:0
-#: tinymce.info:0
-msgid "tinymce"
-msgstr "tinymce"
+#: wysiwyg_editor.module:0
+#: wysiwyg_editor.info:0
+msgid "wysiwyg_editor"
+msgstr "wysiwyg_editor"
-#: tinymce.info:0
+#: wysiwyg_editor.info:0
msgid "5.x-1.x-dev"
msgstr "5.x-1.x-dev"
diff --git a/po/tr.po b/po/tr.po
index 88f6299..b80bfe2 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -1,10 +1,10 @@
# $Id$
#
-# LANGUAGE translation of Drupal (tinymce.module)
+# LANGUAGE translation of Drupal (wysiwyg_editor.module)
# Copyright YEAR NAME <EMAIL@ADDRESS>
# Generated from files:
-# tinymce.module,v 1.90.4.12 2007/01/30 06:58:37 thenicespider
-# tinymce.info,v 1.0 2006/12/24 17:51:48 Wendy
+# wysiwyg_editor.module,v 1.90.4.12 2007/01/30 06:58:37 thenicespider
+# wysiwyg_editor.info,v 1.0 2006/12/24 17:51:48 Wendy
#
msgid ""
msgstr ""
@@ -21,81 +21,81 @@ msgstr ""
"X-Poedit-Country: Turkey\n"
"X-Poedit-SourceCharset: utf-8\n"
-#: tinymce.module:7 tinymce.info:0
+#: wysiwyg_editor.module:7 wysiwyg_editor.info:0
msgid "The most popular WYSIWYG editor for advance content."
msgstr "Gelişmiş içerikler için en gözde görsel düzenleyici."
-#: tinymce.module:8
+#: wysiwyg_editor.module:8
msgid "<p><ul><li>Editor mode: full, compact and simple.</li></ul></p>"
msgstr "<p><ul><li>Düzenleyici kipi: Tam, sade ve basit.</li></ul></p>"
-#: tinymce.module:11
+#: wysiwyg_editor.module:11
msgid "Enable WYSIWYG Editor to your site."
msgstr "Sitenizde görsel düzenleyiciyi etkinleştirin."
-#: tinymce.module:28
-#: tinymce.info:0
+#: wysiwyg_editor.module:28
+#: wysiwyg_editor.info:0
msgid "TinyMCE"
msgstr "TinyMCE"
-#: tinymce.module:29
+#: wysiwyg_editor.module:29
msgid "Tinymce settings."
msgstr "Tinymce ayarları"
-#: tinymce.module:45
+#: wysiwyg_editor.module:45
msgid "Basic settings"
msgstr "Temel ayarlar"
-#: tinymce.module:52
+#: wysiwyg_editor.module:52
msgid "Editor Mode"
msgstr "Düzenleyici kipi"
-#: tinymce.module:54
+#: wysiwyg_editor.module:54
msgid "Full"
msgstr "Tam"
-#: tinymce.module:54
+#: wysiwyg_editor.module:54
msgid "Compact"
msgstr "Sade"
-#: tinymce.module:54
+#: wysiwyg_editor.module:54
msgid "Simple"
msgstr "Basit"
-#: tinymce.module:55
+#: wysiwyg_editor.module:55
msgid "FULL: enable all TinyMCE features. COMPACT: enable most used features. SIMPLE: just enable simple editor.<hr>"
msgstr "TAM: tüm TinyMCE özellekleri etkinleştirilir. SADE: en çok kullanılan özellikler etkinleştirilir. BASİT: sadece temel özellikler etkinleştirilir.<hr>"
-#: tinymce.module:60
+#: wysiwyg_editor.module:60
msgid "Enable TinyMCE for"
msgstr "TinyMCE etkin olsun"
-#: tinymce.module:62
+#: wysiwyg_editor.module:62
msgid "Edit-body only"
msgstr "Sadece gövde için (Edit-body)"
-#: tinymce.module:62
+#: wysiwyg_editor.module:62
msgid "Edit-comment only"
msgstr "Sadece yorum için (Edit-comment)"
-#: tinymce.module:62
+#: wysiwyg_editor.module:62
msgid "Both"
msgstr "Her ikisi için"
-#: tinymce.module:63
+#: wysiwyg_editor.module:63
msgid "If you want TinyMCE available for textarea of edit-body and comment then you should select <b>Both</b> option."
msgstr "Eğer TinyMCE'nin hem içerik gövdesinde hem de yorumlarda etkin olmasını istiyorsanız <b>Her ikisi için</b> seçeneğini seçin."
-#: tinymce.module:68
+#: wysiwyg_editor.module:68
msgid "Enable TinyMCE for this node types"
msgstr "TinyMCE eklentisini bu düğüm çeşitleri için etkinleştir"
-#: tinymce.module:70
+#: wysiwyg_editor.module:70
msgid "Node type in case-sensitive name, i.e: page,story,data_product,blog"
msgstr "İçerik türü, küçük büyük harf duyarlı. ör: page, story, data_product, blog"
-#: tinymce.module:0
-#: tinymce.info:0
-msgid "tinymce"
-msgstr "tinymce"
+#: wysiwyg_editor.module:0
+#: wysiwyg_editor.info:0
+msgid "wysiwyg_editor"
+msgstr "wysiwyg_editor"
diff --git a/wysiwyg_editor.info b/wysiwyg_editor.info
index 9d6620c..be62b8d 100644
--- a/wysiwyg_editor.info
+++ b/wysiwyg_editor.info
@@ -1,3 +1,3 @@
; $Id$
-name = TinyMCE
-description = The most popular WYSIWYG editor for advanced content editing.
+name = Wysiwyg Editor
+description = Allows users to edit contents with client-side editors.
diff --git a/wysiwyg_editor.install b/wysiwyg_editor.install
index 35a2bec..59afe3a 100644
--- a/wysiwyg_editor.install
+++ b/wysiwyg_editor.install
@@ -2,56 +2,67 @@
// $Id$
/**
- * Implementation of hook_install()
- *
- * This will automatically install the database tables for the TinyMCE module for both the MySQL and PostgreSQL databases.
- *
- * If you are using another database, you will have to install the tables by hand, using the queries below as a reference.
- *
- * Note that the curly braces around table names are a drupal-specific feature to allow for automatic database table prefixing,
- * and will need to be removed.
+ * Implementation of hook_install().
*/
-function tinymce_install() {
+function wysiwyg_editor_install() {
switch ($GLOBALS['db_type']) {
case 'mysql':
case 'mysqli':
- db_query("CREATE TABLE {tinymce_settings} (
- name varchar(128) NOT NULL default '',
- settings text,
- PRIMARY KEY (name)
- ) /*!40100 DEFAULT CHARACTER SET utf8 */;");
-
- db_query("CREATE TABLE {tinymce_role} (
- name varchar(128) NOT NULL default '',
- rid tinyint(3) unsigned NOT NULL default '0',
- PRIMARY KEY (name,rid)
- ) /*!40100 DEFAULT CHARACTER SET utf8 */;");
+ db_query("CREATE TABLE {wysiwyg_editor_profile} (
+ name varchar(128) NOT NULL default '',
+ settings text,
+ PRIMARY KEY (name)
+ ) /*!40100 DEFAULT CHARACTER SET utf8 */");
+ db_query("CREATE TABLE {wysiwyg_editor_role} (
+ name varchar(128) NOT NULL default '',
+ rid tinyint(3) unsigned NOT NULL default '0',
+ PRIMARY KEY (name,rid)
+ ) /*!40100 DEFAULT CHARACTER SET utf8 */");
break;
case 'pgsql':
- db_query("CREATE TABLE {tinymce_settings} (
- name varchar(128) NOT NULL default '',
- settings text,
- PRIMARY KEY (name)
- );");
-
- db_query("CREATE TABLE {tinymce_role} (
- name varchar(128) NOT NULL default '',
- rid smallint NOT NULL default '0',
- PRIMARY KEY (name,rid)
- );");
+ db_query("CREATE TABLE {wysiwyg_editor_profile} (
+ name varchar(128) NOT NULL default '',
+ settings text,
+ PRIMARY KEY (name)
+ )");
+ db_query("CREATE TABLE {wysiwyg_editor_role} (
+ name varchar(128) NOT NULL default '',
+ rid smallint NOT NULL default '0',
+ PRIMARY KEY (name,rid)
+ )");
break;
}
+ // Import data from old editor modules.
+ wysiwyg_editor_migrate_tinymce();
}
-function tinymce_update_1() {
- return _system_update_utf8(array('tinymce_settings', 'tinymce_role'));
+/**
+ * Implementation of hook_uninstall()
+ */
+function wysiwyg_editor_uninstall() {
+ db_query('DROP TABLE {wysiwyg_editor_profile}');
+ db_query('DROP TABLE {wysiwyg_editor_role}');
}
/**
- * Implementation of hook_uninstall()
+ * Migrate from TinyMCE.
*/
-function tinymce_uninstall() {
- db_query('DROP TABLE {tinymce_settings}');
- db_query('DROP TABLE {tinymce_role}');
+function wysiwyg_editor_migrate_tinymce() {
+ if (db_table_exists('tinymce_settings')) {
+ $schema = db_result(db_query("SELECT schema_version FROM {system} WHERE name = 'tinymce'"));
+ if ($schema >= 1) {
+ // Import TinyMCE settings.
+ db_query('INSERT INTO {wysiwyg_editor_profile} SELECT * FROM {tinymce_settings}');
+ // Import TinyMCE profile role assignments.
+ db_query('INSERT INTO {wysiwyg_editor_role} SELECT * FROM {tinymce_role}');
+
+ // Disable TinyMCE module.
+ module_disable(array('tinymce'));
+ }
+ else {
+ drupal_set_message(t('To migrate your existing TinyMCE settings to Wysiwyg Editor, please update TinyMCE module to the latest official release, and re-install Wysiwyg Editor module.'));
+ }
+ }
}
+
diff --git a/wysiwyg_editor.js b/wysiwyg_editor.js
index c457b8d..41d8376 100644
--- a/wysiwyg_editor.js
+++ b/wysiwyg_editor.js
@@ -1,65 +1,65 @@
// $Id$
/**
- * Initialize each tinyMCE configuration.
+ * Initialize each Wysiwyg Editor configuration.
*
* This function needs to be called before the page is fully loaded, as
* calling tinyMCE.init() after the page is loaded breaks in IE 6.
*/
-Drupal.tinymceInit = function () {
- for (var theme in Drupal.settings.tinymce.configs) {
+Drupal.wysiwygEditorInit = function () {
+ for (var theme in Drupal.settings.wysiwygEditor.configs) {
// Clone so we are not passing by reference. Otherwise the
// settings will get overwritten.
- var config = Drupal.tinymceCloneObject(Drupal.settings.tinymce.configs[theme]);
+ var config = Drupal.wysiwygEditorCloneObject(Drupal.settings.wysiwygEditor.configs[theme]);
tinyMCE.init(config);
}
}
/**
- * Attach tinyMCE to textareas.
+ * Attach Wysiwyg Editor to textareas.
*
* This function can be called to process AJAX-loaded content.
*/
-Drupal.tinymceAttach = function () {
- for (var theme in Drupal.settings.tinymce.configs) {
- var config = Drupal.tinymceCloneObject(Drupal.settings.tinymce.configs[theme]);
+Drupal.wysiwygEditorAttach = function () {
+ for (var theme in Drupal.settings.wysiwygEditor.configs) {
+ var config = Drupal.wysiwygEditorCloneObject(Drupal.settings.wysiwygEditor.configs[theme]);
// Set configuration options for this theme.
for (var setting in config) {
tinyMCE.settings[setting] = config[setting];
}
- $('textarea.tinymce-' + theme + ':not(.tinymce-processed)').each(function () {
+ $('textarea.wysiwyg-' + theme + ':not(.wysiwyg-processed)').each(function () {
// Show toggle link if set.
- if (Drupal.settings.tinymce.showToggle) {
- Drupal.tinymceAttachToggleLink(this, theme);
+ if (Drupal.settings.wysiwygEditor.showToggle) {
+ Drupal.wysiwygEditorAttachToggleLink(this, theme);
}
- // Attach tinyMCE control if default is on.
- if (Drupal.settings.tinymce.status) {
+ // Attach Wysiwyg Editor control if default is on.
+ if (Drupal.settings.wysiwygEditor.status) {
tinyMCE.execCommand('mceAddControl', true, this.id);
}
- $(this).addClass('tinymce-processed');
+ $(this).addClass('wysiwyg-processed');
});
}
}
/**
- * Toggle the tinyMCE control and related link text for a textarea.
+ * Toggle the Wysiwyg Editor control and related link text for a textarea.
*/
-Drupal.tinymceToggle = function (id, theme) {
+Drupal.wysiwygEditorToggle = function (id, theme) {
if (tinyMCE.getEditorId(id) == null) {
- var config = Drupal.tinymceCloneObject(Drupal.settings.tinymce.configs[theme]);
+ var config = Drupal.wysiwygEditorCloneObject(Drupal.settings.wysiwygEditor.configs[theme]);
// Set configuration options for this theme.
for (var setting in config) {
tinyMCE.settings[setting] = config[setting];
}
tinyMCE.addMCEControl($('#' + id).get(0), id);
$('#wysiwyg4' + id)
- .html(Drupal.settings.tinymce.disable)
+ .html(Drupal.settings.wysiwygEditor.disable)
.blur();
}
else {
tinyMCE.removeMCEControl(tinyMCE.getEditorId(id));
$('#wysiwyg4' + id)
- .html(Drupal.settings.tinymce.enable)
+ .html(Drupal.settings.wysiwygEditor.enable)
.blur();
}
}
@@ -67,16 +67,16 @@ Drupal.tinymceToggle = function (id, theme) {
/**
* Append toggle link to textarea.
*/
-Drupal.tinymceAttachToggleLink = function (elt, theme) {
+Drupal.wysiwygEditorAttachToggleLink = function (elt, theme) {
if (typeof(document.execCommand) == 'undefined') {
- $(elt).after('<div style="font-size:x-small">' + Drupal.settings.tinymce.noWysiwyg + '</div>');
+ $(elt).after('<div style="font-size:x-small">' + Drupal.settings.wysiwygEditor.noWysiwyg + '</div>');
}
else {
- var text = document.createTextNode(Drupal.settings.tinymce.status ? Drupal.settings.tinymce.disable : Drupal.settings.tinymce.enable);
+ var text = document.createTextNode(Drupal.settings.wysiwygEditor.status ? Drupal.settings.wysiwygEditor.disable : Drupal.settings.wysiwygEditor.enable);
var a = document.createElement('a');
$(a)
.click(function() {
- Drupal.tinymceToggle(elt.id, theme);
+ Drupal.wysiwygEditorToggle(elt.id, theme);
})
.attr('id', 'wysiwyg4' + elt.id)
.css('cursor', 'pointer')
@@ -87,11 +87,11 @@ Drupal.tinymceAttachToggleLink = function (elt, theme) {
}
}
-Drupal.tinymceCloneObject = function (obj) {
+Drupal.wysiwygEditorCloneObject = function (obj) {
var clone = {};
for (i in obj) {
if ((typeof obj[i] == 'object') || (typeof obj[i] == 'array')) {
- clone[i] = Drupal.tinymceCloneObject(obj[i]);
+ clone[i] = Drupal.wysiwygEditorCloneObject(obj[i]);
}
else {
clone[i] = obj[i];
@@ -104,10 +104,10 @@ Drupal.tinymceCloneObject = function (obj) {
* Global killswitch.
*/
if (Drupal.jsEnabled) {
- $(document).ready(Drupal.tinymceAttach);
+ $(document).ready(Drupal.wysiwygEditorAttach);
}
/**
- * Call tinyMCE initialization.
+ * Initialize Wysiwyg Editor.
*/
-Drupal.tinymceInit();
+Drupal.wysiwygEditorInit();
diff --git a/wysiwyg_editor.module b/wysiwyg_editor.module
index 23565d4..6a19731 100644
--- a/wysiwyg_editor.module
+++ b/wysiwyg_editor.module
@@ -1,25 +1,23 @@
<?php
// $Id$
-// A collaborative project by Matt Westgate <drupal at asitis dot org>,
-// Richard Bennett <richard.b@ at ritechnologies dot com> and Jeff Robbins <robbins at jjeff dot com>
/**
* @file
- * Integrate the TinyMCE editor (http://tinymce.moxiecode.com/) into Drupal.
+ * Integrate Wysiwyg editors into Drupal.
*/
/**
* Implementation of hook_menu().
*/
-function tinymce_menu($may_cache) {
+function wysiwyg_editor_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
- 'path' => 'admin/settings/tinymce',
- 'title' => t('TinyMCE'),
- 'callback' => 'tinymce_admin',
+ 'path' => 'admin/settings/wysiwyg/profile',
+ 'title' => t('Wysiwyg Editor'),
+ 'callback' => 'wysiwyg_editor_admin',
'description' => t('Configure the rich editor.'),
- 'access' => user_access('administer tinymce'),
+ 'access' => user_access('administer site configuration'),
);
}
return $items;
@@ -28,16 +26,16 @@ function tinymce_menu($may_cache) {
/**
* Implementation of hook_help().
*/
-function tinymce_help($section) {
+function wysiwyg_editor_help($section) {
switch ($section) {
- case 'admin/settings/tinymce#pages':
+ case 'admin/settings/wysiwyg/profile#pages':
return "node/*\nuser/*\ncomment/*";
- case 'admin/settings/tinymce':
- case 'admin/help#tinymce' :
+ case 'admin/settings/wysiwyg/profile':
+ case 'admin/help#wysiwyg_editor':
return t('<p style="font-size:x-small">$Revision$ $Date$</p>' .
- '<p>TinyMCE adds what-you-see-is-what-you-get (WYSIWYG) html editing to textareas. This editor can be enabled/disabled without reloading the page by clicking a link below each textarea.</p>
- <p>Profiles can be defined based on user roles. A TinyMCE profile can define which pages receive this TinyMCE capability, what buttons or themes are enabled for the editor, how the editor is displayed, and a few other editor functions.</p>
- <p>Lastly, only users with the <code>access tinymce</code> <a href="!url">permission</a> will be able to use TinyMCE.</p>', array('!url' => url('admin/user/access'))
+ '<p>Wysiwyg Editor adds what-you-see-is-what-you-get (WYSIWYG) html editing to textareas. This editor can be enabled/disabled without reloading the page by clicking a link below each textarea.</p>
+ <p>Profiles can be defined based on user roles. A Wysiwyg Editor profile can define which pages receive this Wysiwyg Editor capability, what buttons or themes are enabled for the editor, how the editor is displayed, and a few other editor functions.</p>
+ <p>Lastly, only users with the <code>access wysiwyg editor</code> <a href="!url">permission</a> will be able to use Wysiwyg Editor.</p>', array('!url' => url('admin/user/access'))
);
}
}
@@ -45,14 +43,14 @@ function tinymce_help($section) {
/**
* Implementation of hook_perm().
*/
-function tinymce_perm() {
- $array = array('administer tinymce', 'access tinymce');
- $tinymce_mod_path = drupal_get_path('module', 'tinymce');
+function wysiwyg_editor_perm() {
+ $array = array('access wysiwyg editor');
+ $wysiwyg_editor_mod_path = drupal_get_path('module', 'wysiwyg_editor');
- if (is_dir($tinymce_mod_path . '/tinymce/jscripts/tiny_mce/plugins/imagemanager/')) {
+ if (is_dir($wysiwyg_editor_mod_path . '/tinymce/jscripts/tiny_mce/plugins/imagemanager/')) {
$array[] = 'access tinymce imagemanager';
}
- if (is_dir($tinymce_mod_path . '/tinymce/jscripts/tiny_mce/plugins/filemanager/')) {
+ if (is_dir($wysiwyg_editor_mod_path . '/tinymce/jscripts/tiny_mce/plugins/filemanager/')) {
$array[] = 'access tinymce filemanager';
}
@@ -62,62 +60,62 @@ function tinymce_perm() {
/**
* Implementation of hook_elements().
*/
-function tinymce_elements() {
+function wysiwyg_editor_elements() {
$type = array();
- if (user_access('access tinymce')) {
- // Let TinyMCE potentially process each textarea.
- $type['textarea'] = array('#process' => array('tinymce_process_textarea' => array()), '#wysiwyg' => TRUE, '#wysiwyg_style' => 'advanced');
+ if (user_access('access wysiwyg editor')) {
+ // Let Wysiwyg Editor potentially process each textarea.
+ $type['textarea'] = array('#process' => array('wysiwyg_editor_process_textarea' => array()), '#wysiwyg' => TRUE, '#wysiwyg_style' => 'advanced');
}
return $type;
}
/**
- * Load tinymce files and send configuration data.
+ * Load Wysiwyg Editor files and send configuration data.
*/
-function tinymce_load() {
+function wysiwyg_editor_load() {
global $user;
static $loaded = FALSE;
- // We only load the TinyMCE js file once per page request.
+ // We only load the Wysiwyg Editor js file once per page request.
if (!$loaded) {
- $profile = tinymce_profile_load(tinymce_current_profile());
+ $profile = wysiwyg_editor_profile_load(wysiwyg_editor_current_profile());
$enable = t('enable rich-text');
$disable = t('disable rich-text');
- $status = tinymce_user_get_status($user, $profile);
+ $status = wysiwyg_editor_user_get_status($user, $profile);
$no_wysiwyg = t('Your current web browser does not support WYSIWYG editing.');
- $tinymce_mod_path = drupal_get_path('module', 'tinymce');
+ $wysiwyg_editor_mod_path = drupal_get_path('module', 'wysiwyg_editor');
- if (is_dir($tinymce_mod_path . '/tinymce/jscripts/tiny_mce/plugins/imagemanager/') && user_access('access tinymce imagemanager') ) {
+ if (is_dir($wysiwyg_editor_mod_path . '/tinymce/jscripts/tiny_mce/plugins/imagemanager/') && user_access('access tinymce imagemanager') ) {
// if tinymce imagemanager is installed
- drupal_add_js($tinymce_mod_path . '/tinymce/jscripts/tiny_mce/plugins/imagemanager/jscripts/mcimagemanager.js');
+ drupal_add_js($wysiwyg_editor_mod_path . '/tinymce/jscripts/tiny_mce/plugins/imagemanager/jscripts/mcimagemanager.js');
}
- if (is_dir($tinymce_mod_path . '/tinymce/jscripts/tiny_mce/plugins/filemanager/') && user_access('access tinymce filemanager') ) {
+ if (is_dir($wysiwyg_editor_mod_path . '/tinymce/jscripts/tiny_mce/plugins/filemanager/') && user_access('access tinymce filemanager') ) {
// if tinymce filemanager is installed
- drupal_add_js($tinymce_mod_path . '/tinymce/jscripts/tiny_mce/plugins/filemanager/jscripts/mcfilemanager.js');
+ drupal_add_js($wysiwyg_editor_mod_path . '/tinymce/jscripts/tiny_mce/plugins/filemanager/jscripts/mcfilemanager.js');
}
// TinyMCE Compressor >= 1.0.9
- if (file_exists($tinymce_mod_path . '/tinymce/jscripts/tiny_mce/tiny_mce_gzip.js')) {
- drupal_add_js($tinymce_mod_path . '/tinymce/jscripts/tiny_mce/tiny_mce_gzip.js');
+ if (file_exists($wysiwyg_editor_mod_path . '/tinymce/jscripts/tiny_mce/tiny_mce_gzip.js')) {
+ drupal_add_js($wysiwyg_editor_mod_path . '/tinymce/jscripts/tiny_mce/tiny_mce_gzip.js');
}
// TinyMCE Compressor < 1.0.9
- elseif (file_exists($tinymce_mod_path . '/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php')) {
- drupal_add_js($tinymce_mod_path . '/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php');
+ elseif (file_exists($wysiwyg_editor_mod_path . '/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php')) {
+ drupal_add_js($wysiwyg_editor_mod_path . '/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php');
}
else {
// For some crazy reason IE will only load this JS file if the absolute reference is given to it.
- drupal_add_js($tinymce_mod_path . '/tinymce/jscripts/tiny_mce/tiny_mce.js');
+ drupal_add_js($wysiwyg_editor_mod_path . '/tinymce/jscripts/tiny_mce/tiny_mce.js');
}
- // Add tinyme.js to the footer to ensure it's executed after the Drupal.settings array has been rendered and populated.
- drupal_add_js($tinymce_mod_path .'/tinymce.js', 'footer');
- drupal_add_js(array('tinymce' => array('configs' => array(), 'showToggle' => ($profile->settings['show_toggle'] == 'true'), 'disable' => $disable, 'enable' => $enable, 'noWysiwyg' => $no_wysiwyg, 'linkText' => $link_text, 'status' => $status)), 'setting');
+ // Add wysiwyg_editor.js to the footer to ensure it's executed after the Drupal.settings array has been rendered and populated.
+ drupal_add_js($wysiwyg_editor_mod_path .'/wysiwyg_editor.js', 'footer');
+ drupal_add_js(array('wysiwygEditor' => array('configs' => array(), 'showToggle' => ($profile->settings['show_toggle'] == 'true'), 'disable' => $disable, 'enable' => $enable, 'noWysiwyg' => $no_wysiwyg, 'linkText' => $link_text, 'status' => $status)), 'setting');
// We have to do this because of some unfocused CSS in certain themes. See http://drupal.org/node/18879 for details
drupal_set_html_head('<style type="text/css" media="all">.mceEditor img { display: inline; }</style>');
$loaded = TRUE;
@@ -125,31 +123,31 @@ function tinymce_load() {
}
/**
- * Process a textarea for tinyMCE.
+ * Process a textarea for Wysiwyg Editor.
*/
-function tinymce_process_textarea($element) {
- tinymce_filter_elements($element);
+function wysiwyg_editor_process_textarea($element) {
+ wysiwyg_editor_filter_elements($element);
if ($element['#wysiwyg']) {
- $profile = tinymce_profile_load(tinymce_current_profile());
- if (_tinymce_page_match($profile)) {
+ $profile = wysiwyg_editor_profile_load(wysiwyg_editor_current_profile());
+ if (_wysiwyg_editor_page_match($profile)) {
// Default to advanced theme if the requested one is not installed.
- $themes = _tinymce_get_themes();
+ $themes = _wysiwyg_editor_get_themes();
if (!isset($themes[$element['#wysiwyg_style']])) {
$element['#wysiwyg_style'] = 'advanced';
}
- tinymce_load();
- _tinymce_set_config($element['#wysiwyg_style']);
+ wysiwyg_editor_load();
+ _wysiwyg_editor_set_config($element['#wysiwyg_style']);
if (!isset($element['#attributes'])) {
$element['#attributes'] = array();
}
if (!isset($element['#attributes']['class'])) {
- $element['#attributes']['class'] = 'tinymce tinymce-'. $element['#wysiwyg_style'];
+ $element['#attributes']['class'] = 'wysiwyg wysiwyg-'. $element['#wysiwyg_style'];
}
else {
- $element['#attributes']['class'] .= ' tinymce tinymce-'. $element['#wysiwyg_style'];
+ $element['#attributes']['class'] .= ' wysiwyg wysiwyg-'. $element['#wysiwyg_style'];
}
// Set resizable to false to avoid drupal.js resizable function from
// taking control of the textarea
@@ -163,13 +161,13 @@ function tinymce_process_textarea($element) {
/**
* Register a theme.
*/
-function _tinymce_set_config($theme) {
+function _wysiwyg_editor_set_config($theme) {
static $themes = array();
// Only sent a theme's configuration data once.
if (!in_array($theme, $themes)) {
- $profile = tinymce_profile_load(tinymce_current_profile());
- $config = tinymce_config($profile, $theme);
- // Convert the config values into the form expected by tinyMCE.
+ $profile = wysiwyg_editor_profile_load(wysiwyg_editor_current_profile());
+ $config = wysiwyg_editor_config($profile, $theme);
+ // Convert the config values into the form expected by Wysiwyg Editor.
foreach ($config as $key => $value) {
switch($value) {
case 'true':
@@ -183,7 +181,7 @@ function _tinymce_set_config($theme) {
$config[$key] = implode(',', $config[$key]);
}
}
- drupal_add_js('Drupal.settings.tinymce.configs["'. $theme .'"] = '. drupal_to_js($config) .';', 'inline');
+ drupal_add_js('Drupal.settings.wysiwygEditor.configs["'. $theme .'"] = '. drupal_to_js($config) .';', 'inline');
$themes[] = $theme;
}
}
@@ -191,33 +189,33 @@ function _tinymce_set_config($theme) {
/**
* Implementation of hook_user().
*/
-function tinymce_user($type, &$edit, &$user, $category = NULL) {
- if ($type == 'form' && $category == 'account' && user_access('access tinymce')) {
- $profile = tinymce_user_get_profile($user);
+function wysiwyg_editor_user($type, &$edit, &$user, $category = NULL) {
+ if ($type == 'form' && $category == 'account' && user_access('access wysiwyg editor')) {
+ $profile = wysiwyg_editor_user_get_profile($user);
// because the settings are saved as strings we need to test for the string 'true'
if ($profile->settings['user_choose'] == 'true') {
- $form['tinymce'] = array(
+ $form['wysiwyg'] = array(
'#type' => 'fieldset',
- '#title' => t('TinyMCE rich-text settings'),
+ '#title' => t('Wysiwyg Editor rich-text settings'),
'#weight' => 10,
'#collapsible' => TRUE,
'#collapsed' => TRUE
);
- $form['tinymce']['tinymce_status'] = array(
+ $form['wysiwyg']['wysiwyg_status'] = array(
'#type' => 'select',
'#title' => t('Default state'),
- '#default_value' => isset($user->tinymce_status) ? $user->tinymce_status : (isset($profile->settings['default']) ? $profile->settings['default'] : 'false'),
+ '#default_value' => isset($user->wysiwyg_editor_status) ? $user->wysiwyg_editor_status : (isset($profile->settings['default']) ? $profile->settings['default'] : 'false'),
'#options' => array('false' => t('disabled'), 'true' => t('enabled')),
'#description' => t('Should rich-text editing be enabled or disabled by default in textarea fields?')
);
- return array('tinymce' => $form);
+ return array('wysiwyg_editor' => $form);
}
}
if ($type == 'validate') {
- return array('tinymce_status' => $edit['tinymce_status']);
+ return array('wysiwyg_editor_status' => $edit['wysiwyg_editor_status']);
}
}
@@ -227,14 +225,14 @@ function tinymce_user($type, &$edit, &$user, $category = NULL) {
* @param $element
* The textarea element to be filtered.
*/
-function tinymce_filter_elements(&$element) {
+function wysiwyg_editor_filter_elements(&$element) {
switch ($element['#name']) {
- // Disable tinymce for these textareas.
+ // Disable Wysiwyg Editor for these textareas.
case 'log': // book and page log
case 'img_assist_pages':
case 'caption': // signature
case 'pages':
- case 'access_pages': //TinyMCE profile settings.
+ case 'access_pages': //Wysiwyg Editor profile settings.
case 'user_mail_welcome_body': // user config settings
case 'user_mail_approval_body': // user config settings
case 'user_mail_pass_body': // user config settings
@@ -257,19 +255,19 @@ function tinymce_filter_elements(&$element) {
}
/**
- * Grab the themes available to TinyMCE.
+ * Grab the themes available to Wysiwyg Editor.
*
- * TinyMCE themes control the functionality and buttons that are available to a
- * user. Themes are only looked for within the default TinyMCE theme directory.
+ * Wysiwyg Editor themes control the functionality and buttons that are available to a
+ * user. Themes are only looked for within the default Wysiwyg Editor theme directory.
*
* @return
* An array of theme names.
*/
-function _tinymce_get_themes() {
+function _wysiwyg_editor_get_themes() {
static $themes = array();
if (!$themes) {
- $theme_loc = drupal_get_path('module', 'tinymce') .'/tinymce/jscripts/tiny_mce/themes/';
+ $theme_loc = drupal_get_path('module', 'wysiwyg_editor') .'/tinymce/jscripts/tiny_mce/themes/';
if (is_dir($theme_loc) && $dh = opendir($theme_loc)) {
while (($file = readdir($dh)) !== false) {
if (!in_array($file, array('.', '..', 'CVS')) && is_dir($theme_loc . $file)) {
@@ -293,13 +291,13 @@ function _tinymce_get_themes() {
* @return
* An array for each plugin.
*/
-function _tinymce_get_buttons($skip_metadata = TRUE) {
- include_once drupal_get_path('module', 'tinymce'). '/wysiwyg_editor.plugins.inc';
- $plugins = _tinymce_plugins();
+function _wysiwyg_editor_get_buttons($skip_metadata = TRUE) {
+ include_once drupal_get_path('module', 'wysiwyg_editor'). '/wysiwyg_editor.plugins.inc';
+ $plugins = _wysiwyg_editor_plugins();
if ($skip_metadata == FALSE && is_array($plugins)) {
foreach ($plugins as $name => $plugin) {
- $file = drupal_get_path('module', 'tinymce'). '/tinymce/jscripts/tiny_mce/plugins/'. $name .'/editor_plugin_src.js';
+ $file = drupal_get_path('module', 'wysiwyg_editor'). '/tinymce/jscripts/tiny_mce/plugins/'. $name .'/editor_plugin_src.js';
// Grab the plugin metadata by scanning the *.js file.
if (file_exists($file)) {
$lines = file($file);
@@ -339,64 +337,64 @@ function _tinymce_get_buttons($skip_metadata = TRUE) {
********************************************************************/
/**
- * Controller for tinymce administrative settings.
+ * Controller for Wysiwyg Editor administrative settings.
*/
-function tinymce_admin($arg = NULL) {
+function wysiwyg_editor_admin($arg = NULL) {
$edit = $_POST;
$op = isset($_POST['op']) ? $_POST['op'] : NULL;
- $op = $arg && !$op ? $arg : $op;
+ $op = ($arg && !$op ? $arg : $op);
switch ($op) {
case 'add':
$breadcrumb[] = array('path' => 'admin', 'title' => t('administer'));
- $breadcrumb[] = array('path' => 'admin/settings/tinymce', 'title' => t('tinymce'));
- $breadcrumb[] = array('path' => 'admin/settings/tinymce/add', 'title' => t('Add new TinyMCE profile'));
+ $breadcrumb[] = array('path' => 'admin/settings/wysiwyg/profile', 'title' => t('Wysiwyg Editor'));
+ $breadcrumb[] = array('path' => 'admin/settings/wysiwyg/profile/add', 'title' => t('Add new Wysiwyg Editor profile'));
menu_set_location($breadcrumb);
- $output = tinymce_profile_form($edit);
+ $output = wysiwyg_editor_profile_form($edit);
break;
case 'edit':
- drupal_set_title(t('Edit tinymce profile'));
- $output = tinymce_profile_form(tinymce_profile_load(urldecode(arg(4))));
+ drupal_set_title(t('Edit Wysiwyg Editor profile'));
+ $output = wysiwyg_editor_profile_form(wysiwyg_editor_profile_load(urldecode(arg(5))));
break;
case 'delete':
- tinymce_profile_delete(urldecode(arg(4)));
+ wysiwyg_editor_profile_delete(urldecode(arg(5)));
drupal_set_message(t('Deleted profile'));
- drupal_goto('admin/settings/tinymce');
+ drupal_goto('admin/settings/wysiwyg/profile');
break;
case t('Create profile');
case t('Update profile');
- if (tinymce_profile_validate($edit)) {
- tinymce_profile_save($edit);
- $edit['old_name'] ? drupal_set_message(t('Your TinyMCE profile has been updated.')) : drupal_set_message(t('Your TinyMCE profile has been created.'));
- drupal_goto('admin/settings/tinymce');
+ if (wysiwyg_editor_profile_validate($edit)) {
+ wysiwyg_editor_profile_save($edit);
+ $edit['old_name'] ? drupal_set_message(t('Your Wysiwyg Editor profile has been updated.')) : drupal_set_message(t('Your Wysiwyg Editor profile has been created.'));
+ drupal_goto('admin/settings/wysiwyg/profile');
}
else {
- $output = tinymce_profile_form($edit);
+ $output = wysiwyg_editor_profile_form($edit);
}
break;
default:
- drupal_set_title(t('TinyMCE settings'));
- //Check if TinyMCE is installed.
- $tinymce_loc = drupal_get_path('module', 'tinymce') .'/tinymce/';
+ drupal_set_title(t('Wysiwyg Editor settings'));
+ //Check if Wysiwyg Editor is installed.
+ $tinymce_loc = drupal_get_path('module', 'wysiwyg_editor') .'/tinymce/';
if (!is_dir($tinymce_loc)) {
- drupal_set_message(t('Could not find the TinyMCE engine installed at <strong>!tinymce-directory</strong>. Please <a href="http://tinymce.moxiecode.com/">download TinyMCE</a>, uncompress it and copy the folder into !tinymce-path.', array('!tinymce-path' => drupal_get_path('module', 'tinymce'), '!tinymce-directory' => $tinymce_loc)), 'error');
+ drupal_set_message(t('Could not find the TinyMCE engine installed at <strong>!tinymce-directory</strong>. Please <a href="http://tinymce.moxiecode.com/">download TinyMCE</a>, uncompress it and copy the folder into !tinymce-path.', array('!tinymce-path' => drupal_get_path('module', 'wysiwyg_editor'), '!tinymce-directory' => $tinymce_loc)), 'error');
}
- $output = tinymce_profile_overview();
+ $output = wysiwyg_editor_profile_overview();
}
return $output;
}
/**
- * Return an array of initial tinymce config options from the current role.
+ * Return an array of initial Wysiwyg Editor config options from the current role.
*/
-function tinymce_config($profile, $theme) {
+function wysiwyg_editor_config($profile, $theme) {
global $user;
// Drupal theme path.
@@ -405,7 +403,7 @@ function tinymce_config($profile, $theme) {
$settings = $profile->settings;
- // Build a default list of TinyMCE settings.
+ // Build a default list of Wysiwyg Editor settings.
$init = array();
$init['mode'] = 'none';
@@ -424,12 +422,12 @@ function tinymce_config($profile, $theme) {
$init['theme_advanced_resizing_use_cookie'] = 'false';
- $tinymce_mod_path = drupal_get_path('module', 'tinymce');
- if (is_dir($tinymce_mod_path . '/tinymce/jscripts/tiny_mce/plugins/imagemanager/') && user_access('access tinymce imagemanager')) {
+ $wysiwyg_editor_mod_path = drupal_get_path('module', 'wysiwyg_editor');
+ if (is_dir($wysiwyg_editor_mod_path . '/tinymce/jscripts/tiny_mce/plugins/imagemanager/') && user_access('access tinymce imagemanager')) {
// we probably need more security than this
$init['file_browser_callback'] = "mcImageManager.filebrowserCallBack";
}
- if (is_dir($tinymce_mod_path . '/tinymce/jscripts/tiny_mce/plugins/filemanager/') && user_access('access tinymce filemanager')) {
+ if (is_dir($wysiwyg_editor_mod_path . '/tinymce/jscripts/tiny_mce/plugins/filemanager/') && user_access('access tinymce filemanager')) {
// we probably need more security than this
$init['file_browser_callback'] = "mcImageManager.filebrowserCallBack";
}
@@ -461,13 +459,13 @@ function tinymce_config($profile, $theme) {
if (is_array($settings['buttons'])) {
// This gives us the $plugins variable.
- $plugins = _tinymce_get_buttons();
+ $plugins = _wysiwyg_editor_get_buttons();
// Find the enabled buttons and the mce row they belong on. Also map the
// plugin metadata for each button.
$plugin_tracker = array();
foreach ($plugins as $rname => $rplugin) { // Plugin name
- foreach ($rplugin as $mce_key => $mce_value) { // TinyMCE key
+ foreach ($rplugin as $mce_key => $mce_value) { // Wysiwyg Editor key
foreach ($mce_value as $k => $v) { // Buttons
if (isset($settings['buttons'][$rname .'-'. $v])) {
// Font isn't a true plugin, rather it's buttons made available by the advanced theme
@@ -482,7 +480,7 @@ function tinymce_config($profile, $theme) {
}
}
- // Add the rest of the TinyMCE config options to the $init array for each button.
+ // Add the rest of the Wysiwyg Editor config options to the $init array for each button.
if (is_array($plugin_tracker)) {
foreach ($plugin_tracker as $pname) {
if ($pname != 'default') $init['plugins'][] = $pname;
@@ -507,7 +505,7 @@ function tinymce_config($profile, $theme) {
// Shuffle buttons around so that row 1 always has the most buttons,
// followed by row 2, etc. Note: These rows need to be set to NULL otherwise
- // TinyMCE loads its own buttons inherited from the theme.
+ // Wysiwyg Editor loads its own buttons inherited from the theme.
if (!isset($init['theme_advanced_buttons1'])) $init['theme_advanced_buttons1'] = array();
if (!isset($init['theme_advanced_buttons2'])) $init['theme_advanced_buttons2'] = array();
if (!isset($init['theme_advanced_buttons3'])) $init['theme_advanced_buttons3'] = array();
@@ -546,36 +544,36 @@ function tinymce_config($profile, $theme) {
/**
* Remove a profile from the database.
*/
-function tinymce_profile_delete($name) {
- db_query("DELETE FROM {tinymce_settings} WHERE name = '%s'", $name);
- db_query("DELETE FROM {tinymce_role} WHERE name = '%s'", $name);
+function wysiwyg_editor_profile_delete($name) {
+ db_query("DELETE FROM {wysiwyg_editor_profile} WHERE name = '%s'", $name);
+ db_query("DELETE FROM {wysiwyg_editor_role} WHERE name = '%s'", $name);
}
/**
* Return an HTML form for profile configuration.
*/
-function tinymce_profile_form_build($edit) {
+function wysiwyg_editor_profile_form_build($edit) {
$edit = (object) $edit;
- // Only display the roles that currently don't have a tinymce profile. One
+ // Only display the roles that currently don't have a Wysiwyg Editor profile. One
// profile per role.
- $orig_roles = user_roles(FALSE, 'access tinymce');
+ $orig_roles = user_roles(FALSE, 'access wysiwyg editor');
$roles = $orig_roles;
if (arg(3) == 'add') {
- $result = db_query('SELECT DISTINCT(rid) FROM {tinymce_role}');
+ $result = db_query('SELECT DISTINCT(rid) FROM {wysiwyg_editor_role}');
while ($data = db_fetch_object($result)) {
if (!in_array($data->rid, array_keys((array) $edit->rids)) && !form_get_errors()) {
unset($roles[$data->rid]);
}
}
if (!$orig_roles) {
- drupal_set_message(t('You must <a href="!access-control-url">assign</a> at least one role with the \'access tinymce\' permission before creating a profile.', array('!access-control-url' => url('admin/user/access'))), 'error');
+ drupal_set_message(t('You must <a href="!access-control-url">assign</a> at least one role with the \'access wysiwyg editor\' permission before creating a profile.', array('!access-control-url' => url('admin/user/access'))), 'error');
}
else if (!$roles) {
- drupal_set_message(t('You will not be allowed to create a new profile since all user roles have already been assigned profiles. Either remove an existing tinymce profile from at least one role or assign another role the \'access tinymce\' permission.'), 'error');
+ drupal_set_message(t('You will not be allowed to create a new profile since all user roles have already been assigned profiles. Either remove an existing Wysiwyg Editor profile from at least one role or assign another role the \'access wysiwyg editor\' permission.'), 'error');
}
else if (count($orig_roles) != count($roles)) {
- drupal_set_message(t('Not all user roles are shown since they already have tinymce profiles. You must first unassign profiles in order to add them to a new one.'));
+ drupal_set_message(t('Not all user roles are shown since they already have Wysiwyg Editor profiles. You must first unassign profiles in order to add them to a new one.'));
}
$btn = t('Create profile');
}
@@ -597,7 +595,7 @@ function tinymce_profile_form_build($edit) {
'#default_value' => isset($edit->name) ? $edit->name : NULL,
'#size' => 40,
'#maxlength' => 128,
- '#description' => t('Enter a name for this profile. This name is only visible within the tinymce administration page.'),
+ '#description' => t('Enter a name for this profile. This name is only visible within the Wysiwyg Editor administration page.'),
'#required' => TRUE
);
@@ -606,7 +604,7 @@ function tinymce_profile_form_build($edit) {
'#title' => t('Roles allowed to use this profile'),
'#default_value' => isset($edit->rids) ? array_keys((array)$edit->rids) : NULL,
'#options' => $roles,
- '#description' => t('Check at least one role. Only roles with \'access tinymce\' permission will be shown here.'),
+ '#description' => t('Check at least one role. Only roles with \'access wysiwyg editor\' permission will be shown here.'),
'#required' => TRUE
);
@@ -623,7 +621,7 @@ function tinymce_profile_form_build($edit) {
'#title' => t('Allow users to choose default'),
'#default_value' => isset($edit->settings['user_choose']) ? $edit->settings['user_choose'] : 'false',
'#options' => array('false' => t('false'), 'true' => t('true')),
- '#description' => t('If allowed, users will be able to choose their own TinyMCE default state by visiting their profile page.'),
+ '#description' => t('If allowed, users will be able to choose their own Wysiwyg Editor default state by visiting their profile page.'),
);
$form['basic']['show_toggle'] = array(
@@ -634,7 +632,7 @@ function tinymce_profile_form_build($edit) {
'#description' => t('Whether or not to show the disable/enable rich text editor toggle below the textarea. If false, editor defaults to the global default or user default (see above).'),
);
- // This line upgrades previous versions of TinyMCE for user who previously selected a theme other than advanced.
+ // This line upgrades previous versions of Wysiwyg Editor for user who previously selected a theme other than advanced.
if (isset($edit->settings['theme']) && $edit->settings['theme'] != 'advanced')
$edit->settings['theme'] = 'advanced';
@@ -648,7 +646,7 @@ function tinymce_profile_form_build($edit) {
'#title' => t('Language'),
'#default_value' => isset($edit->settings['language']) ? $edit->settings['language'] : 'en',
'#options' => drupal_map_assoc(array('ar', 'ca', 'cs', 'cy', 'da', 'de', 'el', 'en', 'es', 'fa', 'fi', 'fr', 'fr_ca', 'he', 'hu', 'is', 'it', 'ja', 'ko', 'nb', 'nl', 'nn', 'pl', 'pt', 'pt_br', 'ru', 'ru_KOI8-R', 'ru_UTF-8', 'si', 'sk', 'sv', 'th', 'zh_cn', 'zh_tw', 'zh_tw_utf8')),
- '#description' => t('The language for the TinyMCE interface. Language codes based on the <a href="http://www.loc.gov/standards/iso639-2/englangn.html">ISO-639-2</a> format.')
+ '#description' => t('The language for the Wysiwyg Editor interface. Language codes based on the <a href="http://www.loc.gov/standards/iso639-2/englangn.html">ISO-639-2</a> format.')
);
$form['basic']['safari_message'] = array(
@@ -691,14 +689,14 @@ function tinymce_profile_form_build($edit) {
}
$form['visibility']['access'] = array(
'#type' => 'radios',
- '#title' => t('Show tinymce on specific pages'),
+ '#title' => t('Show Wysiwyg Editor on specific pages'),
'#default_value' => isset($edit->settings['access']) ? $edit->settings['access'] : 1,
'#options' => $options
);
$form['visibility']['access_pages'] = array(
'#type' => 'textarea',
'#title' => t('Pages'),
- '#default_value' => isset($edit->settings['access_pages']) ? $edit->settings['access_pages'] : tinymce_help('admin/settings/tinymce#pages'),
+ '#default_value' => isset($edit->settings['access_pages']) ? $edit->settings['access_pages'] : wysiwyg_editor_help('admin/settings/wysiwyg/profile#pages'),
'#description' => $description
);
}
@@ -709,24 +707,24 @@ function tinymce_profile_form_build($edit) {
'#collapsible' => TRUE,
'#collapsed' => TRUE,
'#tree' => TRUE,
- '#theme' => 'tinymce_admin_button_table'
+ '#theme' => 'wysiwyg_editor_admin_button_table'
);
- $metadata = _tinymce_get_buttons(FALSE);
+ $metadata = _wysiwyg_editor_get_buttons(FALSE);
// Generate the button list.
foreach ($metadata as $name => $meta) {
if (isset($meta['buttons']) && is_array($meta['buttons'])) {
foreach ($meta['buttons'] as $button) {
if ($name != 'default') {
- $img_src = drupal_get_path('module', 'tinymce') ."/tinymce/jscripts/tiny_mce/plugins/$name/images/$name.gif";
+ $img_src = drupal_get_path('module', 'wysiwyg_editor') ."/tinymce/jscripts/tiny_mce/plugins/$name/images/$name.gif";
//correct for plugins that have more than one button
if (!file_exists($img_src)) {
- $img_src = drupal_get_path('module', 'tinymce') ."/tinymce/jscripts/tiny_mce/plugins/$name/images/$button.gif";
+ $img_src = drupal_get_path('module', 'wysiwyg_editor') ."/tinymce/jscripts/tiny_mce/plugins/$name/images/$button.gif";
}
}
else {
- $img_src = drupal_get_path('module', 'tinymce') ."/tinymce/jscripts/tiny_mce/themes/advanced/images/$button.gif";
+ $img_src = drupal_get_path('module', 'wysiwyg_editor') ."/tinymce/jscripts/tiny_mce/themes/advanced/images/$button.gif";
}
$b = file_exists($img_src) ? '<img src="'. base_path() . $img_src .'" title="'. $button .'" style="border: 1px solid grey; vertical-align: middle;" />' : $button;
@@ -861,8 +859,8 @@ function tinymce_profile_form_build($edit) {
'#type' => 'select',
'#title' => t('Editor CSS'),
'#default_value' => isset($edit->settings['css_setting']) ? $edit->settings['css_setting'] : 'theme',
- '#options' => array('theme' => t('use theme css'), 'self' => t('define css'), 'none' => t('tinyMCE default')),
- '#description' => t('Defines the CSS to be used in the editor area.<br />use theme css - load style.css from current site theme.<br/>define css - enter path for css file below.<br />tinyMCE default - uses default CSS from editor.')
+ '#options' => array('theme' => t('use theme css'), 'self' => t('define css'), 'none' => t('TinyMCE default')),
+ '#description' => t('Defines the CSS to be used in the editor area.<br />use theme css - load style.css from current site theme.<br/>define css - enter path for css file below.<br />TinyMCE default - uses default CSS from editor.')
);
$form['css']['css_path'] = array(
@@ -894,17 +892,17 @@ function tinymce_profile_form_build($edit) {
/**
* Return an HTML form for profile configuration.
*/
-function tinymce_profile_form($edit) {
+function wysiwyg_editor_profile_form($edit) {
- $output .= drupal_get_form('tinymce_profile_form_build', $edit);
+ $output .= drupal_get_form('wysiwyg_editor_profile_form_build', $edit);
return $output;
}
/**
- * Layout for the buttons in the tinymce profile form
+ * Layout for the buttons in the Wysiwyg Editor profile form
*/
-function theme_tinymce_admin_button_table($form) {
+function theme_wysiwyg_editor_admin_button_table($form) {
$buttons = array();
// Flatten forms array
@@ -931,11 +929,11 @@ function theme_tinymce_admin_button_table($form) {
/**
* Return the name of the current user's default profile.
*/
-function tinymce_current_profile() {
+function wysiwyg_editor_current_profile() {
static $profile_name;
if (!$profile_name) {
global $user;
- $profile_name = db_result(db_query('SELECT s.name FROM {tinymce_settings} s INNER JOIN {tinymce_role} r ON r.name = s.name WHERE r.rid IN (%s)', implode(',', array_keys($user->roles))));
+ $profile_name = db_result(db_query('SELECT s.name FROM {wysiwyg_editor_profile} s INNER JOIN {wysiwyg_editor_role} r ON r.name = s.name WHERE r.rid IN (%s)', implode(',', array_keys($user->roles))));
}
return $profile_name;
}
@@ -943,15 +941,15 @@ function tinymce_current_profile() {
/**
* Load all profiles. Just load one profile if $name is passed in.
*/
-function tinymce_profile_load($name = '') {
+function wysiwyg_editor_profile_load($name = '') {
static $profiles = array();
if (!$profiles) {
$roles = user_roles();
- $result = db_query('SELECT * FROM {tinymce_settings}');
+ $result = db_query('SELECT * FROM {wysiwyg_editor_profile}');
while ($data = db_fetch_object($result)) {
$data->settings = unserialize($data->settings);
- $result2 = db_query("SELECT rid FROM {tinymce_role} WHERE name = '%s'", $data->name);
+ $result2 = db_query("SELECT rid FROM {wysiwyg_editor_role} WHERE name = '%s'", $data->name);
$role = array();
while ($r = db_fetch_object($result2)) {
$role[$r->rid] = $roles[$r->rid];
@@ -966,23 +964,23 @@ function tinymce_profile_load($name = '') {
}
/**
- * Controller for tinymce profiles.
+ * Controller for Wysiwyg Editor profiles.
*/
-function tinymce_profile_overview() {
+function wysiwyg_editor_profile_overview() {
$output = '';
- $profiles = tinymce_profile_load();
+ $profiles = wysiwyg_editor_profile_load();
if ($profiles) {
$roles = user_roles();
$header = array(t('Profile'), t('Roles'), t('Operations'));
foreach ($profiles as $p) {
- $rows[] = array(array('data' => $p->name, 'valign' => 'top'), array('data' => implode("<br />\n", $p->rids)), array('data' => l(t('edit'), 'admin/settings/tinymce/edit/'. urlencode($p->name)) .' '. l(t('delete'), 'admin/settings/tinymce/delete/'. urlencode($p->name)), 'valign' => 'top'));
+ $rows[] = array(array('data' => $p->name, 'valign' => 'top'), array('data' => implode("<br />\n", $p->rids)), array('data' => l(t('edit'), 'admin/settings/wysiwyg/profile/edit/'. urlencode($p->name)) .' '. l(t('delete'), 'admin/settings/wysiwyg/profile/delete/'. urlencode($p->name)), 'valign' => 'top'));
}
$output .= theme('table', $header, $rows);
- $output .= t('<p><a href="!create-profile-url">Create new profile</a></p>', array('!create-profile-url' => url('admin/settings/tinymce/add')));
+ $output .= t('<p><a href="!create-profile-url">Create new profile</a></p>', array('!create-profile-url' => url('admin/settings/wysiwyg/profile/add')));
}
else {
- drupal_set_message(t('No profiles found. Click here to <a href="!create-profile-url">create a new profile</a>.', array('!create-profile-url' => url('admin/settings/tinymce/add'))));
+ drupal_set_message(t('No profiles found. Click here to <a href="!create-profile-url">create a new profile</a>.', array('!create-profile-url' => url('admin/settings/wysiwyg/profile/add'))));
}
return $output;
@@ -991,25 +989,25 @@ function tinymce_profile_overview() {
/**
* Save a profile to the database.
*/
-function tinymce_profile_save($edit) {
- db_query("DELETE FROM {tinymce_settings} WHERE name = '%s' or name = '%s'", $edit['name'], $edit['old_name']);
- db_query("DELETE FROM {tinymce_role} WHERE name = '%s' or name = '%s'", $edit['name'], $edit['old_name']);
- db_query("INSERT INTO {tinymce_settings} (name, settings) VALUES ('%s', '%s')", $edit['name'], serialize($edit));
+function wysiwyg_editor_profile_save($edit) {
+ db_query("DELETE FROM {wysiwyg_editor_profile} WHERE name = '%s' or name = '%s'", $edit['name'], $edit['old_name']);
+ db_query("DELETE FROM {wysiwyg_editor_role} WHERE name = '%s' or name = '%s'", $edit['name'], $edit['old_name']);
+ db_query("INSERT INTO {wysiwyg_editor_profile} (name, settings) VALUES ('%s', '%s')", $edit['name'], serialize($edit));
foreach ($edit['rids'] as $rid => $value) {
- db_query("INSERT INTO {tinymce_role} (name, rid) VALUES ('%s', %d)", $edit['name'], $rid);
+ db_query("INSERT INTO {wysiwyg_editor_role} (name, rid) VALUES ('%s', %d)", $edit['name'], $rid);
}
- // if users can't set their own defaults, make sure to remove $user->tinymce_status so their default doesn't override the main default
+ // if users can't set their own defaults, make sure to remove $user->wysiwyg_editor_status so their default doesn't override the main default
if ($edit['user_choose'] == 'false') {
global $user;
- user_save($user, array('tinymce_status' => NULL));
+ user_save($user, array('wysiwyg_editor_status' => NULL));
}
}
/**
* Profile validation.
*/
-function tinymce_profile_validate($edit) {
+function wysiwyg_editor_profile_validate($edit) {
$errors = array();
if (!isset($edit['name'])) {
@@ -1028,15 +1026,15 @@ function tinymce_profile_validate($edit) {
}
/**
- * Determine if TinyMCE has permission to be used on the current page.
+ * Determine if Wysiwyg Editor has permission to be used on the current page.
*
* @return
* TRUE if can render, FALSE if not allowed.
*/
-function _tinymce_page_match($edit) {
+function _wysiwyg_editor_page_match($edit) {
$page_match = FALSE;
- // Kill TinyMCE if we're editing a textarea with PHP in it!
+ // Kill Wysiwyg Editor if we're editing a textarea with PHP in it!
// PHP input formats are #2 in the filters table.
if (is_numeric(arg(1)) && arg(2) == 'edit') {
$node = node_load(arg(1));
@@ -1064,21 +1062,21 @@ function _tinymce_page_match($edit) {
return $page_match;
}
-function tinymce_user_get_profile($account) {
- $profile_name = db_result(db_query('SELECT s.name FROM {tinymce_settings} s INNER JOIN {tinymce_role} r ON r.name = s.name WHERE r.rid IN (%s)', implode(',', array_keys($account->roles))));
+function wysiwyg_editor_user_get_profile($account) {
+ $profile_name = db_result(db_query('SELECT s.name FROM {wysiwyg_editor_profile} s INNER JOIN {wysiwyg_editor_role} r ON r.name = s.name WHERE r.rid IN (%s)', implode(',', array_keys($account->roles))));
if ($profile_name){
- return tinymce_profile_load($profile_name);
+ return wysiwyg_editor_profile_load($profile_name);
}
else {
return FALSE;
}
}
-function tinymce_user_get_status($user, $profile){
+function wysiwyg_editor_user_get_status($user, $profile){
$settings = $profile->settings;
if ($settings['user_choose']) {
- $status = isset($user->tinymce_status) ? $user->tinymce_status : (isset($settings['default']) ? $settings['default'] : 'false');
+ $status = isset($user->wysiwyg_editor_status) ? $user->wysiwyg_editor_status : (isset($settings['default']) ? $settings['default'] : 'false');
}
else {
$status = isset($settings['default']) ? $settings['default'] : 'false';
diff --git a/wysiwyg_editor.plugins.inc b/wysiwyg_editor.plugins.inc
index 893e13d..11f8265 100644
--- a/wysiwyg_editor.plugins.inc
+++ b/wysiwyg_editor.plugins.inc
@@ -7,7 +7,7 @@
* can be overridden by each Drupal theme.
*/
-function _tinymce_plugins() {
+function _wysiwyg_editor_plugins() {
/**
* A couple of notes about adding plugins.
@@ -88,7 +88,7 @@ $plugins['searchreplace'] = array();
$plugins['searchreplace']['theme_advanced_buttons2'] = array('search', 'replace');
-if (is_dir(drupal_get_path('module', 'tinymce') . '/tinymce/jscripts/tiny_mce/plugins/spellchecker/')) {
+if (is_dir(drupal_get_path('module', 'wysiwyg_editor') . '/tinymce/jscripts/tiny_mce/plugins/spellchecker/')) {
$plugins['spellchecker'] = array();
$plugins['spellchecker']['theme_advanced_buttons3'] = array('spellchecker');
}