muck-contents 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/controllers/muck/tiny_mce_controller.rb +16 -1
- data/app/helpers/tinymce_helper.rb +22 -3
- data/app/views/contents/_form.html.erb +3 -2
- data/app/views/tiny_mce/images.html.erb +1 -1
- data/app/views/tiny_mce/links.html.erb +320 -328
- data/config/muck_contents_routes.rb +1 -0
- data/locales/en.yml +2 -0
- data/muck-contents.gemspec +4 -6
- data/public/javascripts/tiny_mce/plugins/advlinktoo/editor_plugin.js +7 -7
- data/public/javascripts/tiny_mce/plugins/advlinktoo/editor_plugin_src.js +7 -7
- data/public/javascripts/tiny_mce/plugins/advlinktoo/js/{advlink.js → functions.js} +0 -23
- data/public/stylesheets/tinymce.css +1 -1
- data/test/rails_root/public/javascripts/tiny_mce/plugins/advlinktoo/editor_plugin.js +7 -7
- data/test/rails_root/public/javascripts/tiny_mce/plugins/advlinktoo/editor_plugin_src.js +7 -7
- data/test/rails_root/public/javascripts/tiny_mce/plugins/advlinktoo/js/{advlink.js → functions.js} +0 -23
- metadata +4 -6
- data/test/rails_root/public/javascripts/tiny_mce/plugins/advlinktoo/css/advlink.css +0 -8
- data/test/rails_root/public/javascripts/tiny_mce/plugins/advlinktoo/link.htm +0 -344
@@ -6,6 +6,7 @@ ActionController::Routing::Routes.draw do |map|
|
|
6
6
|
|
7
7
|
map.images_for_content '/images_for_content', :controller => 'muck/tiny_mce', :action => 'images_for_content'
|
8
8
|
map.files_for_content '/files_for_content', :controller => 'muck/tiny_mce', :action => 'files_for_content'
|
9
|
+
map.links_for_content '/links_for_content', :controller => 'muck/tiny_mce', :action => 'links_for_content'
|
9
10
|
|
10
11
|
# MuckContents.routes.each do |route|
|
11
12
|
# map.connect route[:uri], MuckContents.build_route_options(route)
|
data/locales/en.yml
CHANGED
@@ -27,6 +27,8 @@ en:
|
|
27
27
|
content_label: "Content"
|
28
28
|
title_label: "Title"
|
29
29
|
title_help: "The title controls the url and the page title displayed in the url bar"
|
30
|
+
tags_label: "Tags"
|
31
|
+
tags_help: "Add tags to help identify your content. Tags can also be used to generate lists of links for a menu."
|
30
32
|
content_help: "This is the content that will appear on the page."
|
31
33
|
problem_adding_content: "There was a problem adding the content"
|
32
34
|
problem_updating_content: "There was a problem updating the content"
|
data/muck-contents.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{muck-contents}
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.7"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Justin Ball", "Joel Duffin"]
|
12
|
-
s.date = %q{2009-11-
|
12
|
+
s.date = %q{2009-11-20}
|
13
13
|
s.email = %q{justin@tatemae.com}
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"README.rdoc"
|
@@ -383,7 +383,7 @@ Gem::Specification.new do |s|
|
|
383
383
|
"public/javascripts/tiny_mce/plugins/advlink/link.htm",
|
384
384
|
"public/javascripts/tiny_mce/plugins/advlinktoo/editor_plugin.js",
|
385
385
|
"public/javascripts/tiny_mce/plugins/advlinktoo/editor_plugin_src.js",
|
386
|
-
"public/javascripts/tiny_mce/plugins/advlinktoo/js/
|
386
|
+
"public/javascripts/tiny_mce/plugins/advlinktoo/js/functions.js",
|
387
387
|
"public/javascripts/tiny_mce/plugins/advlinktoo/langs/en_dlg.js",
|
388
388
|
"public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js",
|
389
389
|
"public/javascripts/tiny_mce/plugins/autoresize/editor_plugin_src.js",
|
@@ -1874,12 +1874,10 @@ Gem::Specification.new do |s|
|
|
1874
1874
|
"test/rails_root/public/javascripts/tiny_mce/plugins/advlink/langs/vi_dlg.js",
|
1875
1875
|
"test/rails_root/public/javascripts/tiny_mce/plugins/advlink/langs/zh_dlg.js",
|
1876
1876
|
"test/rails_root/public/javascripts/tiny_mce/plugins/advlink/link.htm",
|
1877
|
-
"test/rails_root/public/javascripts/tiny_mce/plugins/advlinktoo/css/advlink.css",
|
1878
1877
|
"test/rails_root/public/javascripts/tiny_mce/plugins/advlinktoo/editor_plugin.js",
|
1879
1878
|
"test/rails_root/public/javascripts/tiny_mce/plugins/advlinktoo/editor_plugin_src.js",
|
1880
|
-
"test/rails_root/public/javascripts/tiny_mce/plugins/advlinktoo/js/
|
1879
|
+
"test/rails_root/public/javascripts/tiny_mce/plugins/advlinktoo/js/functions.js",
|
1881
1880
|
"test/rails_root/public/javascripts/tiny_mce/plugins/advlinktoo/langs/en_dlg.js",
|
1882
|
-
"test/rails_root/public/javascripts/tiny_mce/plugins/advlinktoo/link.htm",
|
1883
1881
|
"test/rails_root/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js",
|
1884
1882
|
"test/rails_root/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin_src.js",
|
1885
1883
|
"test/rails_root/public/javascripts/tiny_mce/plugins/autosave/editor_plugin.js",
|
@@ -1,4 +1,5 @@
|
|
1
1
|
/**
|
2
|
+
* Modified version of advlink
|
2
3
|
* @author Tatemae
|
3
4
|
* @copyright Copyright © 2009, Tatemae, All rights reserved.
|
4
5
|
*/
|
@@ -13,9 +14,9 @@
|
|
13
14
|
if (se.isCollapsed() && !ed.dom.getParent(se.getNode(), 'A'))
|
14
15
|
return;
|
15
16
|
ed.windowManager.open({
|
16
|
-
file : '
|
17
|
-
width :
|
18
|
-
height :
|
17
|
+
file : jQuery('#tiny_mce_links_path').val(),
|
18
|
+
width : parseInt(jQuery('#tiny_mce_links_width').val()) + parseInt(ed.getLang('advlinktoo.delta_width', 0)),
|
19
|
+
height : parseInt(jQuery('#tiny_mce_links_height').val()) + parseInt(ed.getLang('advlinktoo.delta_height', 0)),
|
19
20
|
inline : 1
|
20
21
|
}, {
|
21
22
|
plugin_url : url
|
@@ -34,10 +35,9 @@
|
|
34
35
|
},
|
35
36
|
getInfo : function() {
|
36
37
|
return {
|
37
|
-
longname : 'Advanced
|
38
|
-
author : '
|
39
|
-
authorurl : 'http://
|
40
|
-
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlink',
|
38
|
+
longname : 'Advanced file',
|
39
|
+
author : 'Tatemae',
|
40
|
+
authorurl : 'http://Tatemae.com',
|
41
41
|
version : tinymce.majorVersion + "." + tinymce.minorVersion
|
42
42
|
};
|
43
43
|
}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
/**
|
2
|
+
* Modified version of advlink
|
2
3
|
* @author Tatemae
|
3
4
|
* @copyright Copyright � 2009, Tatemae, All rights reserved.
|
4
5
|
*/
|
@@ -13,9 +14,9 @@
|
|
13
14
|
if (se.isCollapsed() && !ed.dom.getParent(se.getNode(), 'A'))
|
14
15
|
return;
|
15
16
|
ed.windowManager.open({
|
16
|
-
file : '
|
17
|
-
width :
|
18
|
-
height :
|
17
|
+
file : jQuery('#tiny_mce_links_path').val(),
|
18
|
+
width : parseInt(jQuery('#tiny_mce_links_width').val()) + parseInt(ed.getLang('advlinktoo.delta_width', 0)),
|
19
|
+
height : parseInt(jQuery('#tiny_mce_links_height').val()) + parseInt(ed.getLang('advlinktoo.delta_height', 0)),
|
19
20
|
inline : 1
|
20
21
|
}, {
|
21
22
|
plugin_url : url
|
@@ -34,10 +35,9 @@
|
|
34
35
|
},
|
35
36
|
getInfo : function() {
|
36
37
|
return {
|
37
|
-
longname : 'Advanced
|
38
|
-
author : '
|
39
|
-
authorurl : 'http://
|
40
|
-
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlink',
|
38
|
+
longname : 'Advanced file',
|
39
|
+
author : 'Tatemae',
|
40
|
+
authorurl : 'http://Tatemae.com',
|
41
41
|
version : tinymce.majorVersion + "." + tinymce.minorVersion
|
42
42
|
};
|
43
43
|
}
|
@@ -1,26 +1,3 @@
|
|
1
|
-
/* Functions for the advlinktoo plugin popup */
|
2
|
-
jQuery(document).ready(function() {
|
3
|
-
var path = jQuery.getQueryString({id:"path"});
|
4
|
-
jQuery.getJSON(path, function(data){
|
5
|
-
if (data.length > 0){
|
6
|
-
var url_array = eval('(' + data + ')');
|
7
|
-
jQuery("#href").autocomplete(url_array, {
|
8
|
-
minChars: 0,
|
9
|
-
matchContains: true,
|
10
|
-
autoFill: true,
|
11
|
-
mustMatch: false,
|
12
|
-
matchCase: false,
|
13
|
-
formatItem: function(item){
|
14
|
-
return item.title;
|
15
|
-
},
|
16
|
-
formatResult: function(item){
|
17
|
-
return item.url_key;
|
18
|
-
}
|
19
|
-
});
|
20
|
-
}
|
21
|
-
});
|
22
|
-
});
|
23
|
-
|
24
1
|
tinyMCEPopup.requireLangPack();
|
25
2
|
|
26
3
|
var templates = {
|
@@ -8,7 +8,7 @@
|
|
8
8
|
#width,#height{vertical-align:middle;width:50px;text-align:center;}
|
9
9
|
#vspace,#hspace,#border{vertical-align:middle;width:30px;text-align:center;}
|
10
10
|
#class_list{width:180px;}
|
11
|
-
input{width:280px;}
|
11
|
+
input[type="text"],input[type="password"]{width:280px;}
|
12
12
|
input.submit{width:auto;margin:0;}
|
13
13
|
#constrain,#onmousemovecheck{width:auto;}
|
14
14
|
#id,#dir,#lang,#usemap,#longdesc{width:200px;}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
/**
|
2
|
+
* Modified version of advlink
|
2
3
|
* @author Tatemae
|
3
4
|
* @copyright Copyright © 2009, Tatemae, All rights reserved.
|
4
5
|
*/
|
@@ -13,9 +14,9 @@
|
|
13
14
|
if (se.isCollapsed() && !ed.dom.getParent(se.getNode(), 'A'))
|
14
15
|
return;
|
15
16
|
ed.windowManager.open({
|
16
|
-
file : '
|
17
|
-
width :
|
18
|
-
height :
|
17
|
+
file : jQuery('#tiny_mce_links_path').val(),
|
18
|
+
width : parseInt(jQuery('#tiny_mce_links_width').val()) + parseInt(ed.getLang('advlinktoo.delta_width', 0)),
|
19
|
+
height : parseInt(jQuery('#tiny_mce_links_height').val()) + parseInt(ed.getLang('advlinktoo.delta_height', 0)),
|
19
20
|
inline : 1
|
20
21
|
}, {
|
21
22
|
plugin_url : url
|
@@ -34,10 +35,9 @@
|
|
34
35
|
},
|
35
36
|
getInfo : function() {
|
36
37
|
return {
|
37
|
-
longname : 'Advanced
|
38
|
-
author : '
|
39
|
-
authorurl : 'http://
|
40
|
-
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlink',
|
38
|
+
longname : 'Advanced file',
|
39
|
+
author : 'Tatemae',
|
40
|
+
authorurl : 'http://Tatemae.com',
|
41
41
|
version : tinymce.majorVersion + "." + tinymce.minorVersion
|
42
42
|
};
|
43
43
|
}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
/**
|
2
|
+
* Modified version of advlink
|
2
3
|
* @author Tatemae
|
3
4
|
* @copyright Copyright � 2009, Tatemae, All rights reserved.
|
4
5
|
*/
|
@@ -13,9 +14,9 @@
|
|
13
14
|
if (se.isCollapsed() && !ed.dom.getParent(se.getNode(), 'A'))
|
14
15
|
return;
|
15
16
|
ed.windowManager.open({
|
16
|
-
file : '
|
17
|
-
width :
|
18
|
-
height :
|
17
|
+
file : jQuery('#tiny_mce_links_path').val(),
|
18
|
+
width : parseInt(jQuery('#tiny_mce_links_width').val()) + parseInt(ed.getLang('advlinktoo.delta_width', 0)),
|
19
|
+
height : parseInt(jQuery('#tiny_mce_links_height').val()) + parseInt(ed.getLang('advlinktoo.delta_height', 0)),
|
19
20
|
inline : 1
|
20
21
|
}, {
|
21
22
|
plugin_url : url
|
@@ -34,10 +35,9 @@
|
|
34
35
|
},
|
35
36
|
getInfo : function() {
|
36
37
|
return {
|
37
|
-
longname : 'Advanced
|
38
|
-
author : '
|
39
|
-
authorurl : 'http://
|
40
|
-
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlink',
|
38
|
+
longname : 'Advanced file',
|
39
|
+
author : 'Tatemae',
|
40
|
+
authorurl : 'http://Tatemae.com',
|
41
41
|
version : tinymce.majorVersion + "." + tinymce.minorVersion
|
42
42
|
};
|
43
43
|
}
|
data/test/rails_root/public/javascripts/tiny_mce/plugins/advlinktoo/js/{advlink.js → functions.js}
RENAMED
@@ -1,26 +1,3 @@
|
|
1
|
-
/* Functions for the advlinktoo plugin popup */
|
2
|
-
jQuery(document).ready(function() {
|
3
|
-
var path = jQuery.getQueryString({id:"path"});
|
4
|
-
jQuery.getJSON(path, function(data){
|
5
|
-
if (data.length > 0){
|
6
|
-
var url_array = eval('(' + data + ')');
|
7
|
-
jQuery("#href").autocomplete(url_array, {
|
8
|
-
minChars: 0,
|
9
|
-
matchContains: true,
|
10
|
-
autoFill: true,
|
11
|
-
mustMatch: false,
|
12
|
-
matchCase: false,
|
13
|
-
formatItem: function(item){
|
14
|
-
return item.title;
|
15
|
-
},
|
16
|
-
formatResult: function(item){
|
17
|
-
return item.url_key;
|
18
|
-
}
|
19
|
-
});
|
20
|
-
}
|
21
|
-
});
|
22
|
-
});
|
23
|
-
|
24
1
|
tinyMCEPopup.requireLangPack();
|
25
2
|
|
26
3
|
var templates = {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: muck-contents
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Ball
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2009-11-
|
13
|
+
date: 2009-11-20 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -480,7 +480,7 @@ files:
|
|
480
480
|
- public/javascripts/tiny_mce/plugins/advlink/link.htm
|
481
481
|
- public/javascripts/tiny_mce/plugins/advlinktoo/editor_plugin.js
|
482
482
|
- public/javascripts/tiny_mce/plugins/advlinktoo/editor_plugin_src.js
|
483
|
-
- public/javascripts/tiny_mce/plugins/advlinktoo/js/
|
483
|
+
- public/javascripts/tiny_mce/plugins/advlinktoo/js/functions.js
|
484
484
|
- public/javascripts/tiny_mce/plugins/advlinktoo/langs/en_dlg.js
|
485
485
|
- public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
|
486
486
|
- public/javascripts/tiny_mce/plugins/autoresize/editor_plugin_src.js
|
@@ -1971,12 +1971,10 @@ files:
|
|
1971
1971
|
- test/rails_root/public/javascripts/tiny_mce/plugins/advlink/langs/vi_dlg.js
|
1972
1972
|
- test/rails_root/public/javascripts/tiny_mce/plugins/advlink/langs/zh_dlg.js
|
1973
1973
|
- test/rails_root/public/javascripts/tiny_mce/plugins/advlink/link.htm
|
1974
|
-
- test/rails_root/public/javascripts/tiny_mce/plugins/advlinktoo/css/advlink.css
|
1975
1974
|
- test/rails_root/public/javascripts/tiny_mce/plugins/advlinktoo/editor_plugin.js
|
1976
1975
|
- test/rails_root/public/javascripts/tiny_mce/plugins/advlinktoo/editor_plugin_src.js
|
1977
|
-
- test/rails_root/public/javascripts/tiny_mce/plugins/advlinktoo/js/
|
1976
|
+
- test/rails_root/public/javascripts/tiny_mce/plugins/advlinktoo/js/functions.js
|
1978
1977
|
- test/rails_root/public/javascripts/tiny_mce/plugins/advlinktoo/langs/en_dlg.js
|
1979
|
-
- test/rails_root/public/javascripts/tiny_mce/plugins/advlinktoo/link.htm
|
1980
1978
|
- test/rails_root/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js
|
1981
1979
|
- test/rails_root/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin_src.js
|
1982
1980
|
- test/rails_root/public/javascripts/tiny_mce/plugins/autosave/editor_plugin.js
|
@@ -1,8 +0,0 @@
|
|
1
|
-
.mceLinkList, .mceAnchorList, #targetlist {width:280px;}
|
2
|
-
.mceActionPanel {margin-top:7px;}
|
3
|
-
.panel_wrapper div.current {height:320px;}
|
4
|
-
#classlist, #title, #href {width:280px;}
|
5
|
-
#popupurl, #popupname {width:200px;}
|
6
|
-
#popupwidth, #popupheight, #popupleft, #popuptop {width:30px;vertical-align:middle;text-align:center;}
|
7
|
-
#id, #style, #classes, #target, #dir, #hreflang, #lang, #charset, #type, #rel, #rev, #tabindex, #accesskey {width:200px;}
|
8
|
-
#events_panel input {width:200px;}
|
@@ -1,344 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
-
<head>
|
4
|
-
<title>{#advlink_dlg.title}</title>
|
5
|
-
<script language="javascript" type="text/javascript" src="../../../jquery.js"></script>
|
6
|
-
<script language="javascript" type="text/javascript" src="../../../jquery.queryString.js"></script>
|
7
|
-
<script language="javascript" type="text/javascript" src="../../../jquery-plugins/lib/jquery.ajaxQueue.js"></script>
|
8
|
-
<script language="javascript" type="text/javascript" src="../../../jquery-plugins/lib/jquery.bgiframe.min.js"></script>
|
9
|
-
<script language="javascript" type="text/javascript" src="../../../jquery-plugins/jquery.autocomplete.pack.js"></script>
|
10
|
-
<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
11
|
-
<script type="text/javascript" src="../../utils/mctabs.js"></script>
|
12
|
-
<script type="text/javascript" src="../../utils/form_utils.js"></script>
|
13
|
-
<script type="text/javascript" src="../../utils/validate.js"></script>
|
14
|
-
<script type="text/javascript" src="js/advlink.js"></script>
|
15
|
-
<link href="../../../../stylesheets/jquery-plugins/jquery.autocomplete.css" rel="stylesheet" type="text/css" />
|
16
|
-
<link href="css/advlink.css" rel="stylesheet" type="text/css" />
|
17
|
-
<base target="_self" />
|
18
|
-
</head>
|
19
|
-
<body id="advlink" style="display: none">
|
20
|
-
<form onsubmit="insertAction();return false;" action="#">
|
21
|
-
<div class="tabs">
|
22
|
-
<ul>
|
23
|
-
<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advlink_dlg.general_tab}</a></span></li>
|
24
|
-
<li id="popup_tab"><span><a href="javascript:mcTabs.displayTab('popup_tab','popup_panel');" onmousedown="return false;">{#advlink_dlg.popup_tab}</a></span></li>
|
25
|
-
<li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{#advlink_dlg.events_tab}</a></span></li>
|
26
|
-
<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#advlink_dlg.advanced_tab}</a></span></li>
|
27
|
-
</ul>
|
28
|
-
</div>
|
29
|
-
|
30
|
-
<div class="panel_wrapper">
|
31
|
-
<div id="general_panel" class="panel current">
|
32
|
-
<fieldset>
|
33
|
-
<legend>{#advlink_dlg.general_props}</legend>
|
34
|
-
<table border="0" cellpadding="4" cellspacing="0">
|
35
|
-
<tr>
|
36
|
-
<td nowrap="nowrap"><label id="hreflabel" for="href">{#advlink_dlg.url}</label></td>
|
37
|
-
<td><table border="0" cellspacing="0" cellpadding="0">
|
38
|
-
<tr>
|
39
|
-
<td><input id="href" name="href" type="text" class="mceFocus" value="" onchange="selectByValue(this.form,'linklisthref',this.value);" /></td>
|
40
|
-
<td id="hrefbrowsercontainer"> </td>
|
41
|
-
</tr>
|
42
|
-
</table></td>
|
43
|
-
</tr>
|
44
|
-
<tr id="linklisthrefrow">
|
45
|
-
<td class="column1"><label for="linklisthref">{#advlink_dlg.list}</label></td>
|
46
|
-
<td colspan="2" id="linklisthrefcontainer"> </td>
|
47
|
-
</tr>
|
48
|
-
<tr>
|
49
|
-
<td class="column1"><label for="anchorlist">{#advlink_dlg.anchor_names}</label></td>
|
50
|
-
<td colspan="2" id="anchorlistcontainer"> </td>
|
51
|
-
</tr>
|
52
|
-
<tr>
|
53
|
-
<td><label id="targetlistlabel" for="targetlist">{#advlink_dlg.target}</label></td>
|
54
|
-
<td id="targetlistcontainer"> </td>
|
55
|
-
</tr>
|
56
|
-
<tr>
|
57
|
-
<td nowrap="nowrap"><label id="titlelabel" for="title">{#advlink_dlg.titlefield}</label></td>
|
58
|
-
<td><input id="title" name="title" type="text" value="" /></td>
|
59
|
-
</tr>
|
60
|
-
<tr>
|
61
|
-
<td><label id="classlabel" for="classlist">{#class_name}</label></td>
|
62
|
-
<td>
|
63
|
-
<select id="classlist" name="classlist" onchange="changeClass();">
|
64
|
-
<option value="" selected>{#not_set}</option>
|
65
|
-
</select>
|
66
|
-
</td>
|
67
|
-
</tr>
|
68
|
-
</table>
|
69
|
-
</fieldset>
|
70
|
-
</div>
|
71
|
-
|
72
|
-
<div id="popup_panel" class="panel">
|
73
|
-
<fieldset>
|
74
|
-
<legend>{#advlink_dlg.popup_props}</legend>
|
75
|
-
|
76
|
-
<input type="checkbox" id="ispopup" name="ispopup" class="radio" onclick="setPopupControlsDisabled(!this.checked);buildOnClick();" />
|
77
|
-
<label id="ispopuplabel" for="ispopup">{#advlink_dlg.popup}</label>
|
78
|
-
|
79
|
-
<table border="0" cellpadding="0" cellspacing="4">
|
80
|
-
<tr>
|
81
|
-
<td nowrap="nowrap"><label for="popupurl">{#advlink_dlg.popup_url}</label> </td>
|
82
|
-
<td>
|
83
|
-
<table border="0" cellspacing="0" cellpadding="0">
|
84
|
-
<tr>
|
85
|
-
<td><input type="text" name="popupurl" id="popupurl" value="" onchange="buildOnClick();" /></td>
|
86
|
-
<td id="popupurlbrowsercontainer"> </td>
|
87
|
-
</tr>
|
88
|
-
</table>
|
89
|
-
</td>
|
90
|
-
</tr>
|
91
|
-
<tr>
|
92
|
-
<td nowrap="nowrap"><label for="popupname">{#advlink_dlg.popup_name}</label> </td>
|
93
|
-
<td><input type="text" name="popupname" id="popupname" value="" onchange="buildOnClick();" /></td>
|
94
|
-
</tr>
|
95
|
-
<tr>
|
96
|
-
<td nowrap="nowrap"><label>{#advlink_dlg.popup_size}</label> </td>
|
97
|
-
<td nowrap="nowrap">
|
98
|
-
<input type="text" id="popupwidth" name="popupwidth" value="" onchange="buildOnClick();" /> x
|
99
|
-
<input type="text" id="popupheight" name="popupheight" value="" onchange="buildOnClick();" /> px
|
100
|
-
</td>
|
101
|
-
</tr>
|
102
|
-
<tr>
|
103
|
-
<td nowrap="nowrap" id="labelleft"><label>{#advlink_dlg.popup_position}</label> </td>
|
104
|
-
<td nowrap="nowrap">
|
105
|
-
<input type="text" id="popupleft" name="popupleft" value="" onchange="buildOnClick();" /> /
|
106
|
-
<input type="text" id="popuptop" name="popuptop" value="" onchange="buildOnClick();" /> (c /c = center)
|
107
|
-
</td>
|
108
|
-
</tr>
|
109
|
-
</table>
|
110
|
-
|
111
|
-
<fieldset>
|
112
|
-
<legend>{#advlink_dlg.popup_opts}</legend>
|
113
|
-
|
114
|
-
<table border="0" cellpadding="0" cellspacing="4">
|
115
|
-
<tr>
|
116
|
-
<td><input type="checkbox" id="popuplocation" name="popuplocation" class="checkbox" onchange="buildOnClick();" /></td>
|
117
|
-
<td nowrap="nowrap"><label id="popuplocationlabel" for="popuplocation">{#advlink_dlg.popup_location}</label></td>
|
118
|
-
<td><input type="checkbox" id="popupscrollbars" name="popupscrollbars" class="checkbox" onchange="buildOnClick();" /></td>
|
119
|
-
<td nowrap="nowrap"><label id="popupscrollbarslabel" for="popupscrollbars">{#advlink_dlg.popup_scrollbars}</label></td>
|
120
|
-
</tr>
|
121
|
-
<tr>
|
122
|
-
<td><input type="checkbox" id="popupmenubar" name="popupmenubar" class="checkbox" onchange="buildOnClick();" /></td>
|
123
|
-
<td nowrap="nowrap"><label id="popupmenubarlabel" for="popupmenubar">{#advlink_dlg.popup_menubar}</label></td>
|
124
|
-
<td><input type="checkbox" id="popupresizable" name="popupresizable" class="checkbox" onchange="buildOnClick();" /></td>
|
125
|
-
<td nowrap="nowrap"><label id="popupresizablelabel" for="popupresizable">{#advlink_dlg.popup_resizable}</label></td>
|
126
|
-
</tr>
|
127
|
-
<tr>
|
128
|
-
<td><input type="checkbox" id="popuptoolbar" name="popuptoolbar" class="checkbox" onchange="buildOnClick();" /></td>
|
129
|
-
<td nowrap="nowrap"><label id="popuptoolbarlabel" for="popuptoolbar">{#advlink_dlg.popup_toolbar}</label></td>
|
130
|
-
<td><input type="checkbox" id="popupdependent" name="popupdependent" class="checkbox" onchange="buildOnClick();" /></td>
|
131
|
-
<td nowrap="nowrap"><label id="popupdependentlabel" for="popupdependent">{#advlink_dlg.popup_dependent}</label></td>
|
132
|
-
</tr>
|
133
|
-
<tr>
|
134
|
-
<td><input type="checkbox" id="popupstatus" name="popupstatus" class="checkbox" onchange="buildOnClick();" /></td>
|
135
|
-
<td nowrap="nowrap"><label id="popupstatuslabel" for="popupstatus">{#advlink_dlg.popup_statusbar}</label></td>
|
136
|
-
<td><input type="checkbox" id="popupreturn" name="popupreturn" class="checkbox" onchange="buildOnClick();" checked="checked" /></td>
|
137
|
-
<td nowrap="nowrap"><label id="popupreturnlabel" for="popupreturn">{#advlink_dlg.popup_return}</label></td>
|
138
|
-
</tr>
|
139
|
-
</table>
|
140
|
-
</fieldset>
|
141
|
-
</fieldset>
|
142
|
-
</div>
|
143
|
-
|
144
|
-
<div id="advanced_panel" class="panel">
|
145
|
-
<fieldset>
|
146
|
-
<legend>{#advlink_dlg.advanced_props}</legend>
|
147
|
-
|
148
|
-
<table border="0" cellpadding="0" cellspacing="4">
|
149
|
-
<tr>
|
150
|
-
<td class="column1"><label id="idlabel" for="id">{#advlink_dlg.id}</label></td>
|
151
|
-
<td><input id="id" name="id" type="text" value="" /></td>
|
152
|
-
</tr>
|
153
|
-
|
154
|
-
<tr>
|
155
|
-
<td><label id="stylelabel" for="style">{#advlink_dlg.style}</label></td>
|
156
|
-
<td><input type="text" id="style" name="style" value="" /></td>
|
157
|
-
</tr>
|
158
|
-
|
159
|
-
<tr>
|
160
|
-
<td><label id="classeslabel" for="classes">{#advlink_dlg.classes}</label></td>
|
161
|
-
<td><input type="text" id="classes" name="classes" value="" onchange="selectByValue(this.form,'classlist',this.value,true);" /></td>
|
162
|
-
</tr>
|
163
|
-
|
164
|
-
<tr>
|
165
|
-
<td><label id="targetlabel" for="target">{#advlink_dlg.target_name}</label></td>
|
166
|
-
<td><input type="text" id="target" name="target" value="" onchange="selectByValue(this.form,'targetlist',this.value,true);" /></td>
|
167
|
-
</tr>
|
168
|
-
|
169
|
-
<tr>
|
170
|
-
<td class="column1"><label id="dirlabel" for="dir">{#advlink_dlg.langdir}</label></td>
|
171
|
-
<td>
|
172
|
-
<select id="dir" name="dir">
|
173
|
-
<option value="">{#not_set}</option>
|
174
|
-
<option value="ltr">{#advlink_dlg.ltr}</option>
|
175
|
-
<option value="rtl">{#advlink_dlg.rtl}</option>
|
176
|
-
</select>
|
177
|
-
</td>
|
178
|
-
</tr>
|
179
|
-
|
180
|
-
<tr>
|
181
|
-
<td><label id="hreflanglabel" for="hreflang">{#advlink_dlg.target_langcode}</label></td>
|
182
|
-
<td><input type="text" id="hreflang" name="hreflang" value="" /></td>
|
183
|
-
</tr>
|
184
|
-
|
185
|
-
<tr>
|
186
|
-
<td class="column1"><label id="langlabel" for="lang">{#advlink_dlg.langcode}</label></td>
|
187
|
-
<td>
|
188
|
-
<input id="lang" name="lang" type="text" value="" />
|
189
|
-
</td>
|
190
|
-
</tr>
|
191
|
-
|
192
|
-
<tr>
|
193
|
-
<td><label id="charsetlabel" for="charset">{#advlink_dlg.encoding}</label></td>
|
194
|
-
<td><input type="text" id="charset" name="charset" value="" /></td>
|
195
|
-
</tr>
|
196
|
-
|
197
|
-
<tr>
|
198
|
-
<td><label id="typelabel" for="type">{#advlink_dlg.mime}</label></td>
|
199
|
-
<td><input type="text" id="type" name="type" value="" /></td>
|
200
|
-
</tr>
|
201
|
-
|
202
|
-
<tr>
|
203
|
-
<td><label id="rellabel" for="rel">{#advlink_dlg.rel}</label></td>
|
204
|
-
<td><select id="rel" name="rel">
|
205
|
-
<option value="">{#not_set}</option>
|
206
|
-
<option value="lightbox">Lightbox</option>
|
207
|
-
<option value="alternate">Alternate</option>
|
208
|
-
<option value="designates">Designates</option>
|
209
|
-
<option value="stylesheet">Stylesheet</option>
|
210
|
-
<option value="start">Start</option>
|
211
|
-
<option value="next">Next</option>
|
212
|
-
<option value="prev">Prev</option>
|
213
|
-
<option value="contents">Contents</option>
|
214
|
-
<option value="index">Index</option>
|
215
|
-
<option value="glossary">Glossary</option>
|
216
|
-
<option value="copyright">Copyright</option>
|
217
|
-
<option value="chapter">Chapter</option>
|
218
|
-
<option value="subsection">Subsection</option>
|
219
|
-
<option value="appendix">Appendix</option>
|
220
|
-
<option value="help">Help</option>
|
221
|
-
<option value="bookmark">Bookmark</option>
|
222
|
-
<option value="nofollow">No Follow</option>
|
223
|
-
<option value="tag">Tag</option>
|
224
|
-
</select>
|
225
|
-
</td>
|
226
|
-
</tr>
|
227
|
-
|
228
|
-
<tr>
|
229
|
-
<td><label id="revlabel" for="rev">{#advlink_dlg.rev}</label></td>
|
230
|
-
<td><select id="rev" name="rev">
|
231
|
-
<option value="">{#not_set}</option>
|
232
|
-
<option value="alternate">Alternate</option>
|
233
|
-
<option value="designates">Designates</option>
|
234
|
-
<option value="stylesheet">Stylesheet</option>
|
235
|
-
<option value="start">Start</option>
|
236
|
-
<option value="next">Next</option>
|
237
|
-
<option value="prev">Prev</option>
|
238
|
-
<option value="contents">Contents</option>
|
239
|
-
<option value="index">Index</option>
|
240
|
-
<option value="glossary">Glossary</option>
|
241
|
-
<option value="copyright">Copyright</option>
|
242
|
-
<option value="chapter">Chapter</option>
|
243
|
-
<option value="subsection">Subsection</option>
|
244
|
-
<option value="appendix">Appendix</option>
|
245
|
-
<option value="help">Help</option>
|
246
|
-
<option value="bookmark">Bookmark</option>
|
247
|
-
</select>
|
248
|
-
</td>
|
249
|
-
</tr>
|
250
|
-
|
251
|
-
<tr>
|
252
|
-
<td><label id="tabindexlabel" for="tabindex">{#advlink_dlg.tabindex}</label></td>
|
253
|
-
<td><input type="text" id="tabindex" name="tabindex" value="" /></td>
|
254
|
-
</tr>
|
255
|
-
|
256
|
-
<tr>
|
257
|
-
<td><label id="accesskeylabel" for="accesskey">{#advlink_dlg.accesskey}</label></td>
|
258
|
-
<td><input type="text" id="accesskey" name="accesskey" value="" /></td>
|
259
|
-
</tr>
|
260
|
-
</table>
|
261
|
-
</fieldset>
|
262
|
-
</div>
|
263
|
-
|
264
|
-
<div id="events_panel" class="panel">
|
265
|
-
<fieldset>
|
266
|
-
<legend>{#advlink_dlg.event_props}</legend>
|
267
|
-
|
268
|
-
<table border="0" cellpadding="0" cellspacing="4">
|
269
|
-
<tr>
|
270
|
-
<td class="column1"><label for="onfocus">onfocus</label></td>
|
271
|
-
<td><input id="onfocus" name="onfocus" type="text" value="" /></td>
|
272
|
-
</tr>
|
273
|
-
|
274
|
-
<tr>
|
275
|
-
<td class="column1"><label for="onblur">onblur</label></td>
|
276
|
-
<td><input id="onblur" name="onblur" type="text" value="" /></td>
|
277
|
-
</tr>
|
278
|
-
|
279
|
-
<tr>
|
280
|
-
<td class="column1"><label for="onclick">onclick</label></td>
|
281
|
-
<td><input id="onclick" name="onclick" type="text" value="" /></td>
|
282
|
-
</tr>
|
283
|
-
|
284
|
-
<tr>
|
285
|
-
<td class="column1"><label for="ondblclick">ondblclick</label></td>
|
286
|
-
<td><input id="ondblclick" name="ondblclick" type="text" value="" /></td>
|
287
|
-
</tr>
|
288
|
-
|
289
|
-
<tr>
|
290
|
-
<td class="column1"><label for="onmousedown">onmousedown</label></td>
|
291
|
-
<td><input id="onmousedown" name="onmousedown" type="text" value="" /></td>
|
292
|
-
</tr>
|
293
|
-
|
294
|
-
<tr>
|
295
|
-
<td class="column1"><label for="onmouseup">onmouseup</label></td>
|
296
|
-
<td><input id="onmouseup" name="onmouseup" type="text" value="" /></td>
|
297
|
-
</tr>
|
298
|
-
|
299
|
-
<tr>
|
300
|
-
<td class="column1"><label for="onmouseover">onmouseover</label></td>
|
301
|
-
<td><input id="onmouseover" name="onmouseover" type="text" value="" /></td>
|
302
|
-
</tr>
|
303
|
-
|
304
|
-
<tr>
|
305
|
-
<td class="column1"><label for="onmousemove">onmousemove</label></td>
|
306
|
-
<td><input id="onmousemove" name="onmousemove" type="text" value="" /></td>
|
307
|
-
</tr>
|
308
|
-
|
309
|
-
<tr>
|
310
|
-
<td class="column1"><label for="onmouseout">onmouseout</label></td>
|
311
|
-
<td><input id="onmouseout" name="onmouseout" type="text" value="" /></td>
|
312
|
-
</tr>
|
313
|
-
|
314
|
-
<tr>
|
315
|
-
<td class="column1"><label for="onkeypress">onkeypress</label></td>
|
316
|
-
<td><input id="onkeypress" name="onkeypress" type="text" value="" /></td>
|
317
|
-
</tr>
|
318
|
-
|
319
|
-
<tr>
|
320
|
-
<td class="column1"><label for="onkeydown">onkeydown</label></td>
|
321
|
-
<td><input id="onkeydown" name="onkeydown" type="text" value="" /></td>
|
322
|
-
</tr>
|
323
|
-
|
324
|
-
<tr>
|
325
|
-
<td class="column1"><label for="onkeyup">onkeyup</label></td>
|
326
|
-
<td><input id="onkeyup" name="onkeyup" type="text" value="" /></td>
|
327
|
-
</tr>
|
328
|
-
</table>
|
329
|
-
</fieldset>
|
330
|
-
</div>
|
331
|
-
</div>
|
332
|
-
|
333
|
-
<div class="mceActionPanel">
|
334
|
-
<div style="float: left">
|
335
|
-
<input type="submit" id="insert" name="insert" value="{#insert}" />
|
336
|
-
</div>
|
337
|
-
|
338
|
-
<div style="float: right">
|
339
|
-
<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
|
340
|
-
</div>
|
341
|
-
</div>
|
342
|
-
</form>
|
343
|
-
</body>
|
344
|
-
</html>
|