aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/LocalFilesEditor/editarea/plugins/test
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/LocalFilesEditor/editarea/plugins/test')
-rw-r--r--plugins/LocalFilesEditor/editarea/plugins/test/css/test.css3
-rw-r--r--plugins/LocalFilesEditor/editarea/plugins/test/images/test.gifbin87 -> 0 bytes
-rw-r--r--plugins/LocalFilesEditor/editarea/plugins/test/langs/bg.js10
-rw-r--r--plugins/LocalFilesEditor/editarea/plugins/test/langs/cs.js4
-rw-r--r--plugins/LocalFilesEditor/editarea/plugins/test/langs/de.js4
-rw-r--r--plugins/LocalFilesEditor/editarea/plugins/test/langs/dk.js4
-rw-r--r--plugins/LocalFilesEditor/editarea/plugins/test/langs/en.js4
-rw-r--r--plugins/LocalFilesEditor/editarea/plugins/test/langs/eo.js4
-rw-r--r--plugins/LocalFilesEditor/editarea/plugins/test/langs/es.js4
-rw-r--r--plugins/LocalFilesEditor/editarea/plugins/test/langs/fr.js4
-rw-r--r--plugins/LocalFilesEditor/editarea/plugins/test/langs/hr.js4
-rw-r--r--plugins/LocalFilesEditor/editarea/plugins/test/langs/it.js4
-rw-r--r--plugins/LocalFilesEditor/editarea/plugins/test/langs/ja.js4
-rw-r--r--plugins/LocalFilesEditor/editarea/plugins/test/langs/mk.js4
-rw-r--r--plugins/LocalFilesEditor/editarea/plugins/test/langs/nl.js4
-rw-r--r--plugins/LocalFilesEditor/editarea/plugins/test/langs/pl.js4
-rw-r--r--plugins/LocalFilesEditor/editarea/plugins/test/langs/pt.js4
-rw-r--r--plugins/LocalFilesEditor/editarea/plugins/test/langs/ru.js4
-rw-r--r--plugins/LocalFilesEditor/editarea/plugins/test/langs/sk.js4
-rw-r--r--plugins/LocalFilesEditor/editarea/plugins/test/langs/zh.js4
-rw-r--r--plugins/LocalFilesEditor/editarea/plugins/test/test.js110
-rw-r--r--plugins/LocalFilesEditor/editarea/plugins/test/test2.js1
22 files changed, 0 insertions, 192 deletions
diff --git a/plugins/LocalFilesEditor/editarea/plugins/test/css/test.css b/plugins/LocalFilesEditor/editarea/plugins/test/css/test.css
deleted file mode 100644
index 01245eb4e..000000000
--- a/plugins/LocalFilesEditor/editarea/plugins/test/css/test.css
+++ /dev/null
@@ -1,3 +0,0 @@
-select#test_select{
- background-color: #FF0000;
-}
diff --git a/plugins/LocalFilesEditor/editarea/plugins/test/images/test.gif b/plugins/LocalFilesEditor/editarea/plugins/test/images/test.gif
deleted file mode 100644
index 1ab5da446..000000000
--- a/plugins/LocalFilesEditor/editarea/plugins/test/images/test.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/LocalFilesEditor/editarea/plugins/test/langs/bg.js b/plugins/LocalFilesEditor/editarea/plugins/test/langs/bg.js
deleted file mode 100644
index 56e049e05..000000000
--- a/plugins/LocalFilesEditor/editarea/plugins/test/langs/bg.js
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * Bulgarian translation
- * Author: Valentin Hristov
- * Company: SOFTKIT Bulgarian
- * Site: http://www.softkit-bg.com
- */
-editArea.add_lang("bg",{
-test_select: "избери таг",
-test_but: "тествай копието"
-});
diff --git a/plugins/LocalFilesEditor/editarea/plugins/test/langs/cs.js b/plugins/LocalFilesEditor/editarea/plugins/test/langs/cs.js
deleted file mode 100644
index 026ef04cb..000000000
--- a/plugins/LocalFilesEditor/editarea/plugins/test/langs/cs.js
+++ /dev/null
@@ -1,4 +0,0 @@
-editArea.add_lang("cs",{
-test_select: "select tag",
-test_but: "test button"
-});
diff --git a/plugins/LocalFilesEditor/editarea/plugins/test/langs/de.js b/plugins/LocalFilesEditor/editarea/plugins/test/langs/de.js
deleted file mode 100644
index bd0857ce5..000000000
--- a/plugins/LocalFilesEditor/editarea/plugins/test/langs/de.js
+++ /dev/null
@@ -1,4 +0,0 @@
-editArea.add_lang("de",{
-test_select: "Tag auswählen",
-test_but: "Test Button"
-});
diff --git a/plugins/LocalFilesEditor/editarea/plugins/test/langs/dk.js b/plugins/LocalFilesEditor/editarea/plugins/test/langs/dk.js
deleted file mode 100644
index e765cf931..000000000
--- a/plugins/LocalFilesEditor/editarea/plugins/test/langs/dk.js
+++ /dev/null
@@ -1,4 +0,0 @@
-editArea.add_lang("dk",{
-test_select: "select tag",
-test_but: "test button"
-});
diff --git a/plugins/LocalFilesEditor/editarea/plugins/test/langs/en.js b/plugins/LocalFilesEditor/editarea/plugins/test/langs/en.js
deleted file mode 100644
index 7d5d157ca..000000000
--- a/plugins/LocalFilesEditor/editarea/plugins/test/langs/en.js
+++ /dev/null
@@ -1,4 +0,0 @@
-editArea.add_lang("en",{
-test_select: "select tag",
-test_but: "test button"
-});
diff --git a/plugins/LocalFilesEditor/editarea/plugins/test/langs/eo.js b/plugins/LocalFilesEditor/editarea/plugins/test/langs/eo.js
deleted file mode 100644
index 8b4914fda..000000000
--- a/plugins/LocalFilesEditor/editarea/plugins/test/langs/eo.js
+++ /dev/null
@@ -1,4 +0,0 @@
-editArea.add_lang("eo",{
-test_select:"elekto de marko",
-test_but: "provo-butono"
-});
diff --git a/plugins/LocalFilesEditor/editarea/plugins/test/langs/es.js b/plugins/LocalFilesEditor/editarea/plugins/test/langs/es.js
deleted file mode 100644
index 73e30f1dd..000000000
--- a/plugins/LocalFilesEditor/editarea/plugins/test/langs/es.js
+++ /dev/null
@@ -1,4 +0,0 @@
-editArea.add_lang("es",{
-test_select: "select tag",
-test_but: "test button"
-});
diff --git a/plugins/LocalFilesEditor/editarea/plugins/test/langs/fr.js b/plugins/LocalFilesEditor/editarea/plugins/test/langs/fr.js
deleted file mode 100644
index ea08a93e6..000000000
--- a/plugins/LocalFilesEditor/editarea/plugins/test/langs/fr.js
+++ /dev/null
@@ -1,4 +0,0 @@
-editArea.add_lang("fr",{
-test_select:"choix balise",
-test_but: "bouton de test"
-});
diff --git a/plugins/LocalFilesEditor/editarea/plugins/test/langs/hr.js b/plugins/LocalFilesEditor/editarea/plugins/test/langs/hr.js
deleted file mode 100644
index fbffd9859..000000000
--- a/plugins/LocalFilesEditor/editarea/plugins/test/langs/hr.js
+++ /dev/null
@@ -1,4 +0,0 @@
-editArea.add_lang("hr",{
-test_select: "Odaberi tag",
-test_but: "Probna tipka"
-});
diff --git a/plugins/LocalFilesEditor/editarea/plugins/test/langs/it.js b/plugins/LocalFilesEditor/editarea/plugins/test/langs/it.js
deleted file mode 100644
index 90926feb1..000000000
--- a/plugins/LocalFilesEditor/editarea/plugins/test/langs/it.js
+++ /dev/null
@@ -1,4 +0,0 @@
-editArea.add_lang("it",{
-test_select: "seleziona tag",
-test_but: "pulsante di test"
-});
diff --git a/plugins/LocalFilesEditor/editarea/plugins/test/langs/ja.js b/plugins/LocalFilesEditor/editarea/plugins/test/langs/ja.js
deleted file mode 100644
index 2eb856cdb..000000000
--- a/plugins/LocalFilesEditor/editarea/plugins/test/langs/ja.js
+++ /dev/null
@@ -1,4 +0,0 @@
-editArea.add_lang("ja",{
-test_select: "select tag",
-test_but: "test button"
-});
diff --git a/plugins/LocalFilesEditor/editarea/plugins/test/langs/mk.js b/plugins/LocalFilesEditor/editarea/plugins/test/langs/mk.js
deleted file mode 100644
index 058ad4b8d..000000000
--- a/plugins/LocalFilesEditor/editarea/plugins/test/langs/mk.js
+++ /dev/null
@@ -1,4 +0,0 @@
-editArea.add_lang("mk",{
-test_select: "select tag",
-test_but: "test button"
-});
diff --git a/plugins/LocalFilesEditor/editarea/plugins/test/langs/nl.js b/plugins/LocalFilesEditor/editarea/plugins/test/langs/nl.js
deleted file mode 100644
index 3217c352d..000000000
--- a/plugins/LocalFilesEditor/editarea/plugins/test/langs/nl.js
+++ /dev/null
@@ -1,4 +0,0 @@
-editArea.add_lang("nl",{
-test_select: "select tag",
-test_but: "test button"
-});
diff --git a/plugins/LocalFilesEditor/editarea/plugins/test/langs/pl.js b/plugins/LocalFilesEditor/editarea/plugins/test/langs/pl.js
deleted file mode 100644
index 5c737329f..000000000
--- a/plugins/LocalFilesEditor/editarea/plugins/test/langs/pl.js
+++ /dev/null
@@ -1,4 +0,0 @@
-editArea.add_lang("pl",{
-test_select: "wybierz tag",
-test_but: "test"
-});
diff --git a/plugins/LocalFilesEditor/editarea/plugins/test/langs/pt.js b/plugins/LocalFilesEditor/editarea/plugins/test/langs/pt.js
deleted file mode 100644
index 7f8517211..000000000
--- a/plugins/LocalFilesEditor/editarea/plugins/test/langs/pt.js
+++ /dev/null
@@ -1,4 +0,0 @@
-editArea.add_lang("pt",{
-test_select: "select tag",
-test_but: "test button"
-});
diff --git a/plugins/LocalFilesEditor/editarea/plugins/test/langs/ru.js b/plugins/LocalFilesEditor/editarea/plugins/test/langs/ru.js
deleted file mode 100644
index 0aaf542af..000000000
--- a/plugins/LocalFilesEditor/editarea/plugins/test/langs/ru.js
+++ /dev/null
@@ -1,4 +0,0 @@
-editArea.add_lang("ru",{
-test_select: "выбрать тэг",
-test_but: "тестировать кнопку"
-});
diff --git a/plugins/LocalFilesEditor/editarea/plugins/test/langs/sk.js b/plugins/LocalFilesEditor/editarea/plugins/test/langs/sk.js
deleted file mode 100644
index fe0a72708..000000000
--- a/plugins/LocalFilesEditor/editarea/plugins/test/langs/sk.js
+++ /dev/null
@@ -1,4 +0,0 @@
-editArea.add_lang("sk",{
-test_select: "vyber tag",
-test_but: "testovacie tlačidlo"
-});
diff --git a/plugins/LocalFilesEditor/editarea/plugins/test/langs/zh.js b/plugins/LocalFilesEditor/editarea/plugins/test/langs/zh.js
deleted file mode 100644
index 798d1752c..000000000
--- a/plugins/LocalFilesEditor/editarea/plugins/test/langs/zh.js
+++ /dev/null
@@ -1,4 +0,0 @@
-editArea.add_lang("zh",{
-test_select: "选择标签",
-test_but: "测试按钮"
-});
diff --git a/plugins/LocalFilesEditor/editarea/plugins/test/test.js b/plugins/LocalFilesEditor/editarea/plugins/test/test.js
deleted file mode 100644
index 46e71efa0..000000000
--- a/plugins/LocalFilesEditor/editarea/plugins/test/test.js
+++ /dev/null
@@ -1,110 +0,0 @@
-/**
- * Plugin designed for test prupose. It add a button (that manage an alert) and a select (that allow to insert tags) in the toolbar.
- * This plugin also disable the "f" key in the editarea, and load a CSS and a JS file
- */
-var EditArea_test= {
- /**
- * Get called once this file is loaded (editArea still not initialized)
- *
- * @return nothing
- */
- init: function(){
- // alert("test init: "+ this._someInternalFunction(2, 3));
- editArea.load_css(this.baseURL+"css/test.css");
- editArea.load_script(this.baseURL+"test2.js");
- }
- /**
- * Returns the HTML code for a specific control string or false if this plugin doesn't have that control.
- * A control can be a button, select list or any other HTML item to present in the EditArea user interface.
- * Language variables such as {$lang_somekey} will also be replaced with contents from
- * the language packs.
- *
- * @param {string} ctrl_name: the name of the control to add
- * @return HTML code for a specific control or false.
- * @type string or boolean
- */
- ,get_control_html: function(ctrl_name){
- switch(ctrl_name){
- case "test_but":
- // Control id, button img, command
- return parent.editAreaLoader.get_button_html('test_but', 'test.gif', 'test_cmd', false, this.baseURL);
- case "test_select":
- html= "<select id='test_select' onchange='javascript:editArea.execCommand(\"test_select_change\")' fileSpecific='no'>"
- +" <option value='-1'>{$test_select}</option>"
- +" <option value='h1'>h1</option>"
- +" <option value='h2'>h2</option>"
- +" <option value='h3'>h3</option>"
- +" <option value='h4'>h4</option>"
- +" <option value='h5'>h5</option>"
- +" <option value='h6'>h6</option>"
- +" </select>";
- return html;
- }
- return false;
- }
- /**
- * Get called once EditArea is fully loaded and initialised
- *
- * @return nothing
- */
- ,onload: function(){
- alert("test load");
- }
-
- /**
- * Is called each time the user touch a keyboard key.
- *
- * @param (event) e: the keydown event
- * @return true - pass to next handler in chain, false - stop chain execution
- * @type boolean
- */
- ,onkeydown: function(e){
- var str= String.fromCharCode(e.keyCode);
- // desactivate the "f" character
- if(str.toLowerCase()=="f"){
- return true;
- }
- return false;
- }
-
- /**
- * Executes a specific command, this function handles plugin commands.
- *
- * @param {string} cmd: the name of the command being executed
- * @param {unknown} param: the parameter of the command
- * @return true - pass to next handler in chain, false - stop chain execution
- * @type boolean
- */
- ,execCommand: function(cmd, param){
- // Handle commands
- switch(cmd){
- case "test_select_change":
- var val= document.getElementById("test_select").value;
- if(val!=-1)
- parent.editAreaLoader.insertTags(editArea.id, "<"+val+">", "</"+val+">");
- document.getElementById("test_select").options[0].selected=true;
- return false;
- case "test_cmd":
- alert("user clicked on test_cmd");
- return false;
- }
- // Pass to next handler in chain
- return true;
- }
-
- /**
- * This is just an internal plugin method, prefix all internal methods with a _ character.
- * The prefix is needed so they doesn't collide with future EditArea callback functions.
- *
- * @param {string} a Some arg1.
- * @param {string} b Some arg2.
- * @return Some return.
- * @type unknown
- */
- ,_someInternalFunction : function(a, b) {
- return a+b;
- }
-};
-
-// Adds the plugin class to the list of available EditArea plugins
-editArea.add_plugin("test", EditArea_test);
diff --git a/plugins/LocalFilesEditor/editarea/plugins/test/test2.js b/plugins/LocalFilesEditor/editarea/plugins/test/test2.js
deleted file mode 100644
index 9a1ce5127..000000000
--- a/plugins/LocalFilesEditor/editarea/plugins/test/test2.js
+++ /dev/null
@@ -1 +0,0 @@
-alert("test2.js is loaded from test plugin");