1 <html xmlns=
"http://www.w3.org/1999/xhtml">
3 <title>{$lang_insert_link_title}
</title>
4 <script language=
"javascript" type=
"text/javascript" src=
"../../tiny_mce_popup.js"></script>
5 <script language=
"javascript" type=
"text/javascript" src=
"../../utils/mctabs.js"></script>
6 <script language=
"javascript" type=
"text/javascript" src=
"../../utils/form_utils.js"></script>
7 <script language=
"javascript" type=
"text/javascript" src=
"jscripts/link.js"></script>
8 <base target=
"_self" />
10 <body id=
"link" onload=
"tinyMCEPopup.executeOnLoad('init();');" style=
"display: none">
11 <form onsubmit=
"insertLink();return false;" action=
"#">
14 <li id=
"general_tab" class=
"current"><span><a href=
"javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown=
"return false;">{$lang_insert_link_title}
</a></span></li>
18 <div class=
"panel_wrapper">
19 <div id=
"general_panel" class=
"panel current">
21 <table border=
"0" cellpadding=
"4" cellspacing=
"0">
23 <td nowrap=
"nowrap"><label for=
"href">{$lang_insert_link_url}
</label></td>
24 <td><table border=
"0" cellspacing=
"0" cellpadding=
"0">
26 <td><input id=
"href" name=
"href" type=
"text" value=
"" style=
"width: 200px" /></td>
27 <td id=
"hrefbrowsercontainer"> </td>
32 <script language=
"javascript">
33 if (typeof(tinyMCELinkList
) != "undefined" && tinyMCELinkList
.length
> 0) {
36 html
+= '<tr><td><label for="link_list">{$lang_link_list}</label></td>';
37 html
+= '<td><select id="link_list" name="link_list" style="width: 200px" onchange="this.form.href.value=this.options[this.selectedIndex].value;">';
38 html
+= '<option value="">---</option>';
40 for (var i
=0; i
<tinyMCELinkList
.length
; i
++)
41 html
+= '<option value="' + tinyMCELinkList
[i
][1] + '">' + tinyMCELinkList
[i
][0] + '</option>';
43 html
+= '</select></td></tr>';
50 <td nowrap=
"nowrap"><label for=
"target">{$lang_insert_link_target}
</label></td>
51 <td><select id=
"target" name=
"target" style=
"width: 200px">
52 <option value=
"_self">{$lang_insert_link_target_same}
</option>
53 <option value=
"_blank">{$lang_insert_link_target_blank}
</option>
54 <script language=
"javascript">
56 var targets
= tinyMCE
.getParam('theme_advanced_link_targets', '').split(';');
58 for (var i
=0; i
<targets
.length
; i
++) {
64 key
= targets
[i
].split('=')[0];
65 value
= targets
[i
].split('=')[1];
67 html
+= '<option value="' + value
+ '">' + key
+ '</option>';
75 <td nowrap=
"nowrap"><label for=
"linktitle">{$lang_theme_insert_link_titlefield}
</label></td>
76 <td><input id=
"linktitle" name=
"linktitle" type=
"text" value=
"" style=
"width: 200px"></td>
78 <tr id=
"styleSelectRow">
79 <td><label for=
"styleSelect">{$lang_class_name}
</label></td>
81 <select id=
"styleSelect" name=
"styleSelect">
82 <option value=
"" selected
>{$lang_theme_style_select}
</option>
89 <div class=
"mceActionPanel">
90 <div style=
"float: left">
91 <input type=
"button" id=
"insert" name=
"insert" value=
"{$lang_insert}" onclick=
"insertLink();" />
94 <div style=
"float: right">
95 <input type=
"button" id=
"cancel" name=
"cancel" value=
"{$lang_cancel}" onclick=
"tinyMCEPopup.close();" />