summaryrefslogtreecommitdiff
path: root/site_media/js/tiny_mce/plugins/advhr
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2013-03-08 21:51:07 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2013-03-08 21:51:07 (GMT)
commitf0df4385f08b8891439476e3a0905bd43463830c (patch)
tree76dbb8fdd26fa6a3559b37fee4aa5534f311ba71 /site_media/js/tiny_mce/plugins/advhr
parent66de5f8ef5bc2c621f032e0cada559c085e69ea5 (diff)
removed unused tiny_mce
Diffstat (limited to 'site_media/js/tiny_mce/plugins/advhr')
-rw-r--r--site_media/js/tiny_mce/plugins/advhr/css/advhr.css5
-rw-r--r--site_media/js/tiny_mce/plugins/advhr/editor_plugin.js1
-rw-r--r--site_media/js/tiny_mce/plugins/advhr/editor_plugin_src.js57
-rw-r--r--site_media/js/tiny_mce/plugins/advhr/js/rule.js43
-rw-r--r--site_media/js/tiny_mce/plugins/advhr/langs/de_dlg.js1
-rw-r--r--site_media/js/tiny_mce/plugins/advhr/langs/en_dlg.js7
-rw-r--r--site_media/js/tiny_mce/plugins/advhr/rule.htm58
7 files changed, 0 insertions, 172 deletions
diff --git a/site_media/js/tiny_mce/plugins/advhr/css/advhr.css b/site_media/js/tiny_mce/plugins/advhr/css/advhr.css
deleted file mode 100644
index 0e22834..0000000
--- a/site_media/js/tiny_mce/plugins/advhr/css/advhr.css
+++ /dev/null
@@ -1,5 +0,0 @@
-input.radio {border:1px none #000; background:transparent; vertical-align:middle;}
-.panel_wrapper div.current {height:80px;}
-#width {width:50px; vertical-align:middle;}
-#width2 {width:50px; vertical-align:middle;}
-#size {width:100px;}
diff --git a/site_media/js/tiny_mce/plugins/advhr/editor_plugin.js b/site_media/js/tiny_mce/plugins/advhr/editor_plugin.js
deleted file mode 100644
index 4d3b062..0000000
--- a/site_media/js/tiny_mce/plugins/advhr/editor_plugin.js
+++ /dev/null
@@ -1 +0,0 @@
-(function(){tinymce.create("tinymce.plugins.AdvancedHRPlugin",{init:function(a,b){a.addCommand("mceAdvancedHr",function(){a.windowManager.open({file:b+"/rule.htm",width:250+parseInt(a.getLang("advhr.delta_width",0)),height:160+parseInt(a.getLang("advhr.delta_height",0)),inline:1},{plugin_url:b})});a.addButton("advhr",{title:"advhr.advhr_desc",cmd:"mceAdvancedHr"});a.onNodeChange.add(function(d,c,e){c.setActive("advhr",e.nodeName=="HR")});a.onClick.add(function(c,d){d=d.target;if(d.nodeName==="HR"){c.selection.select(d)}})},getInfo:function(){return{longname:"Advanced HR",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advhr",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("advhr",tinymce.plugins.AdvancedHRPlugin)})(); \ No newline at end of file
diff --git a/site_media/js/tiny_mce/plugins/advhr/editor_plugin_src.js b/site_media/js/tiny_mce/plugins/advhr/editor_plugin_src.js
deleted file mode 100644
index 0c652d3..0000000
--- a/site_media/js/tiny_mce/plugins/advhr/editor_plugin_src.js
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * editor_plugin_src.js
- *
- * Copyright 2009, Moxiecode Systems AB
- * Released under LGPL License.
- *
- * License: http://tinymce.moxiecode.com/license
- * Contributing: http://tinymce.moxiecode.com/contributing
- */
-
-(function() {
- tinymce.create('tinymce.plugins.AdvancedHRPlugin', {
- init : function(ed, url) {
- // Register commands
- ed.addCommand('mceAdvancedHr', function() {
- ed.windowManager.open({
- file : url + '/rule.htm',
- width : 250 + parseInt(ed.getLang('advhr.delta_width', 0)),
- height : 160 + parseInt(ed.getLang('advhr.delta_height', 0)),
- inline : 1
- }, {
- plugin_url : url
- });
- });
-
- // Register buttons
- ed.addButton('advhr', {
- title : 'advhr.advhr_desc',
- cmd : 'mceAdvancedHr'
- });
-
- ed.onNodeChange.add(function(ed, cm, n) {
- cm.setActive('advhr', n.nodeName == 'HR');
- });
-
- ed.onClick.add(function(ed, e) {
- e = e.target;
-
- if (e.nodeName === 'HR')
- ed.selection.select(e);
- });
- },
-
- getInfo : function() {
- return {
- longname : 'Advanced HR',
- author : 'Moxiecode Systems AB',
- authorurl : 'http://tinymce.moxiecode.com',
- infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advhr',
- version : tinymce.majorVersion + "." + tinymce.minorVersion
- };
- }
- });
-
- // Register plugin
- tinymce.PluginManager.add('advhr', tinymce.plugins.AdvancedHRPlugin);
-})(); \ No newline at end of file
diff --git a/site_media/js/tiny_mce/plugins/advhr/js/rule.js b/site_media/js/tiny_mce/plugins/advhr/js/rule.js
deleted file mode 100644
index b6cbd66..0000000
--- a/site_media/js/tiny_mce/plugins/advhr/js/rule.js
+++ /dev/null
@@ -1,43 +0,0 @@
-var AdvHRDialog = {
- init : function(ed) {
- var dom = ed.dom, f = document.forms[0], n = ed.selection.getNode(), w;
-
- w = dom.getAttrib(n, 'width');
- f.width.value = w ? parseInt(w) : (dom.getStyle('width') || '');
- f.size.value = dom.getAttrib(n, 'size') || parseInt(dom.getStyle('height')) || '';
- f.noshade.checked = !!dom.getAttrib(n, 'noshade') || !!dom.getStyle('border-width');
- selectByValue(f, 'width2', w.indexOf('%') != -1 ? '%' : 'px');
- },
-
- update : function() {
- var ed = tinyMCEPopup.editor, h, f = document.forms[0], st = '';
-
- h = '<hr';
-
- if (f.size.value) {
- h += ' size="' + f.size.value + '"';
- st += ' height:' + f.size.value + 'px;';
- }
-
- if (f.width.value) {
- h += ' width="' + f.width.value + (f.width2.value == '%' ? '%' : '') + '"';
- st += ' width:' + f.width.value + (f.width2.value == '%' ? '%' : 'px') + ';';
- }
-
- if (f.noshade.checked) {
- h += ' noshade="noshade"';
- st += ' border-width: 1px; border-style: solid; border-color: #CCCCCC; color: #ffffff;';
- }
-
- if (ed.settings.inline_styles)
- h += ' style="' + tinymce.trim(st) + '"';
-
- h += ' />';
-
- ed.execCommand("mceInsertContent", false, h);
- tinyMCEPopup.close();
- }
-};
-
-tinyMCEPopup.requireLangPack();
-tinyMCEPopup.onInit.add(AdvHRDialog.init, AdvHRDialog);
diff --git a/site_media/js/tiny_mce/plugins/advhr/langs/de_dlg.js b/site_media/js/tiny_mce/plugins/advhr/langs/de_dlg.js
deleted file mode 100644
index 46fac6d..0000000
--- a/site_media/js/tiny_mce/plugins/advhr/langs/de_dlg.js
+++ /dev/null
@@ -1 +0,0 @@
-tinyMCE.addI18n('de.advhr_dlg',{size:"H\u00f6he",noshade:"Kein Schatten",width:"Breite"}); \ No newline at end of file
diff --git a/site_media/js/tiny_mce/plugins/advhr/langs/en_dlg.js b/site_media/js/tiny_mce/plugins/advhr/langs/en_dlg.js
deleted file mode 100644
index ad6a7b6..0000000
--- a/site_media/js/tiny_mce/plugins/advhr/langs/en_dlg.js
+++ /dev/null
@@ -1,7 +0,0 @@
-tinyMCE.addI18n('en.advhr_dlg',{
-normal:"Normal",
-width:"Width",
-widthunits:"Units",
-size:"Height",
-noshade:"No shadow"
-}); \ No newline at end of file
diff --git a/site_media/js/tiny_mce/plugins/advhr/rule.htm b/site_media/js/tiny_mce/plugins/advhr/rule.htm
deleted file mode 100644
index 62ba733..0000000
--- a/site_media/js/tiny_mce/plugins/advhr/rule.htm
+++ /dev/null
@@ -1,58 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <title>{#advhr.advhr_desc}</title>
- <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
- <script type="text/javascript" src="js/rule.js"></script>
- <script type="text/javascript" src="../../utils/mctabs.js"></script>
- <script type="text/javascript" src="../../utils/form_utils.js"></script>
- <link href="css/advhr.css" rel="stylesheet" type="text/css" />
-</head>
-<body role="application">
-<form onsubmit="AdvHRDialog.update();return false;" action="#">
- <div class="tabs">
- <ul>
- <li id="general_tab" class="current" aria-controls="general_panel"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advhr.advhr_desc}</a></span></li>
- </ul>
- </div>
-
- <div class="panel_wrapper">
- <div id="general_panel" class="panel current">
- <table role="presentation" border="0" cellpadding="4" cellspacing="0">
- <tr role="group" aria-labelledby="width_label">
- <td><label id="width_label" for="width">{#advhr_dlg.width}</label></td>
- <td class="nowrap">
- <input id="width" name="width" type="text" value="" class="mceFocus" />
- <span style="display:none;" id="width_unit_label">{#advhr_dlg.widthunits}</span>
- <select name="width2" id="width2" aria-labelledby="width_unit_label">
- <option value="">px</option>
- <option value="%">%</option>
- </select>
- </td>
- </tr>
- <tr>
- <td><label for="size">{#advhr_dlg.size}</label></td>
- <td><select id="size" name="size">
- <option value="">{#advhr_dlg.normal}</option>
- <option value="1">1</option>
- <option value="2">2</option>
- <option value="3">3</option>
- <option value="4">4</option>
- <option value="5">5</option>
- </select></td>
- </tr>
- <tr>
- <td><label for="noshade">{#advhr_dlg.noshade}</label></td>
- <td><input type="checkbox" name="noshade" id="noshade" class="radio" /></td>
- </tr>
- </table>
- </div>
- </div>
-
- <div class="mceActionPanel">
- <input type="submit" id="insert" name="insert" value="{#insert}" />
- <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
- </div>
-</form>
-</body>
-</html>