|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
1 <html xmlns="http://www.w3.org/1999/xhtml"> |
2 <html xmlns="http://www.w3.org/1999/xhtml"> |
2 <head> |
3 <head> |
3 <title>{$lang_insert_link_title}</title> |
4 <title>{#advlink_dlg.title}</title> |
4 <script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script> |
5 <script type="text/javascript" src="../../tiny_mce_popup.js"></script> |
5 <script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script> |
6 <script type="text/javascript" src="../../utils/mctabs.js"></script> |
6 <script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script> |
7 <script type="text/javascript" src="../../utils/form_utils.js"></script> |
7 <script language="javascript" type="text/javascript" src="jscripts/functions.js"></script> |
8 <script type="text/javascript" src="../../utils/validate.js"></script> |
|
9 <script type="text/javascript" src="js/advlink.js"></script> |
8 <link href="css/advlink.css" rel="stylesheet" type="text/css" /> |
10 <link href="css/advlink.css" rel="stylesheet" type="text/css" /> |
9 <base target="_self" /> |
11 <base target="_self" /> |
10 </head> |
12 </head> |
11 <body id="advlink" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none"> |
13 <body id="advlink" style="display: none"> |
12 <form onsubmit="insertAction();return false;" action="#"> |
14 <form onsubmit="insertAction();return false;" action="#"> |
13 <div class="tabs"> |
15 <div class="tabs"> |
14 <ul> |
16 <ul> |
15 <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_advlink_general_tab}</a></span></li> |
17 <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> |
16 <li id="popup_tab"><span><a href="javascript:mcTabs.displayTab('popup_tab','popup_panel');" onmousedown="return false;">{$lang_advlink_popup_tab}</a></span></li> |
18 <li id="popup_tab"><span><a href="javascript:mcTabs.displayTab('popup_tab','popup_panel');" onmousedown="return false;">{#advlink_dlg.popup_tab}</a></span></li> |
17 <li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{$lang_advlink_events_tab}</a></span></li> |
19 <li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{#advlink_dlg.events_tab}</a></span></li> |
18 <li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{$lang_advlink_advanced_tab}</a></span></li> |
20 <li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#advlink_dlg.advanced_tab}</a></span></li> |
19 </ul> |
21 </ul> |
20 </div> |
22 </div> |
21 |
23 |
22 <div class="panel_wrapper"> |
24 <div class="panel_wrapper"> |
23 <div id="general_panel" class="panel current"> |
25 <div id="general_panel" class="panel current"> |
24 <fieldset> |
26 <fieldset> |
25 <legend>{$lang_advlink_general_props}</legend> |
27 <legend>{#advlink_dlg.general_props}</legend> |
26 |
28 |
27 <table border="0" cellpadding="4" cellspacing="0"> |
29 <table border="0" cellpadding="4" cellspacing="0"> |
28 <tr> |
30 <tr> |
29 <td nowrap="nowrap"><label id="hreflabel" for="href">{$lang_insert_link_url}</label></td> |
31 <td nowrap="nowrap"><label id="hreflabel" for="href">{#advlink_dlg.url}</label></td> |
30 <td><table border="0" cellspacing="0" cellpadding="0"> |
32 <td><table border="0" cellspacing="0" cellpadding="0"> |
31 <tr> |
33 <tr> |
32 <td><input id="href" name="href" type="text" value="" onchange="selectByValue(this.form,'linklisthref',this.value);" /></td> |
34 <td><input id="href" name="href" type="text" value="" onchange="selectByValue(this.form,'linklisthref',this.value);" /></td> |
33 <td id="hrefbrowsercontainer"> </td> |
35 <td id="hrefbrowsercontainer"> </td> |
34 </tr> |
36 </tr> |
35 </table></td> |
37 </table></td> |
36 </tr> |
38 </tr> |
37 <tr id="linklisthrefrow"> |
39 <tr id="linklisthrefrow"> |
38 <td class="column1"><label for="linklisthref">{$lang_link_list}</label></td> |
40 <td class="column1"><label for="linklisthref">{#advlink_dlg.list}</label></td> |
39 <td colspan="2" id="linklisthrefcontainer"> </td> |
41 <td colspan="2" id="linklisthrefcontainer"> </td> |
40 </tr> |
42 </tr> |
41 <tr> |
43 <tr> |
42 <td class="column1"><label for="anchorlist">{$lang_advlink_anchor_names}</label></td> |
44 <td class="column1"><label for="anchorlist">{#advlink_dlg.anchor_names}</label></td> |
43 <td colspan="2" id="anchorlistcontainer"> </td> |
45 <td colspan="2" id="anchorlistcontainer"> </td> |
44 </tr> |
46 </tr> |
45 <tr> |
47 <tr> |
46 <td><label id="targetlistlabel" for="targetlist">{$lang_insert_link_target}</label></td> |
48 <td><label id="targetlistlabel" for="targetlist">{#advlink_dlg.target}</label></td> |
47 <td id="targetlistcontainer"> </td> |
49 <td id="targetlistcontainer"> </td> |
48 </tr> |
50 </tr> |
49 <tr> |
51 <tr> |
50 <td nowrap="nowrap"><label id="titlelabel" for="title">{$lang_theme_insert_link_titlefield}</label></td> |
52 <td nowrap="nowrap"><label id="titlelabel" for="title">{#advlink_dlg.titlefield}</label></td> |
51 <td><input id="title" name="title" type="text" value="" /></td> |
53 <td><input id="title" name="title" type="text" value="" /></td> |
52 </tr> |
54 </tr> |
53 <tr> |
55 <tr> |
54 <td><label id="classlabel" for="classlist">{$lang_class_name}</label></td> |
56 <td><label id="classlabel" for="classlist">{#class_name}</label></td> |
55 <td> |
57 <td> |
56 <select id="classlist" name="classlist" onchange="changeClass();"> |
58 <select id="classlist" name="classlist" onchange="changeClass();"> |
57 <option value="" selected>{$lang_not_set}</option> |
59 <option value="" selected>{#not_set}</option> |
58 </select> |
60 </select> |
59 </td> |
61 </td> |
60 </tr> |
62 </tr> |
61 </table> |
63 </table> |
62 </fieldset> |
64 </fieldset> |
63 </div> |
65 </div> |
64 |
66 |
65 <div id="popup_panel" class="panel"> |
67 <div id="popup_panel" class="panel"> |
66 <fieldset> |
68 <fieldset> |
67 <legend>{$lang_advlink_popup_props}</legend> |
69 <legend>{#advlink_dlg.popup_props}</legend> |
68 |
70 |
69 <input type="checkbox" id="ispopup" name="ispopup" class="radio" onclick="setPopupControlsDisabled(!this.checked);buildOnClick();" /> |
71 <input type="checkbox" id="ispopup" name="ispopup" class="radio" onclick="setPopupControlsDisabled(!this.checked);buildOnClick();" /> |
70 <label id="ispopuplabel" for="ispopup">{$lang_advlink_popup}</label> |
72 <label id="ispopuplabel" for="ispopup">{#advlink_dlg.popup}</label> |
71 |
73 |
72 <table border="0" cellpadding="0" cellspacing="4"> |
74 <table border="0" cellpadding="0" cellspacing="4"> |
73 <tr> |
75 <tr> |
74 <td nowrap="nowrap"><label for="popupurl">{$lang_advlink_popup_url}</label> </td> |
76 <td nowrap="nowrap"><label for="popupurl">{#advlink_dlg.popup_url}</label> </td> |
75 <td> |
77 <td> |
76 <table border="0" cellspacing="0" cellpadding="0"> |
78 <table border="0" cellspacing="0" cellpadding="0"> |
77 <tr> |
79 <tr> |
78 <td><input type="text" name="popupurl" id="popupurl" value="" onchange="buildOnClick();" /></td> |
80 <td><input type="text" name="popupurl" id="popupurl" value="" onchange="buildOnClick();" /></td> |
79 <td id="popupurlbrowsercontainer"> </td> |
81 <td id="popupurlbrowsercontainer"> </td> |
80 </tr> |
82 </tr> |
81 </table> |
83 </table> |
82 </td> |
84 </td> |
83 </tr> |
85 </tr> |
84 <tr> |
86 <tr> |
85 <td nowrap="nowrap"><label for="popupname">{$lang_advlink_popup_name}</label> </td> |
87 <td nowrap="nowrap"><label for="popupname">{#advlink_dlg.popup_name}</label> </td> |
86 <td><input type="text" name="popupname" id="popupname" value="" onchange="buildOnClick();" /></td> |
88 <td><input type="text" name="popupname" id="popupname" value="" onchange="buildOnClick();" /></td> |
87 </tr> |
89 </tr> |
88 <tr> |
90 <tr> |
89 <td nowrap="nowrap"><label>{$lang_advlink_popup_size}</label> </td> |
91 <td nowrap="nowrap"><label>{#advlink_dlg.popup_size}</label> </td> |
90 <td nowrap="nowrap"> |
92 <td nowrap="nowrap"> |
91 <input type="text" id="popupwidth" name="popupwidth" value="" onchange="buildOnClick();" /> x |
93 <input type="text" id="popupwidth" name="popupwidth" value="" onchange="buildOnClick();" /> x |
92 <input type="text" id="popupheight" name="popupheight" value="" onchange="buildOnClick();" /> px |
94 <input type="text" id="popupheight" name="popupheight" value="" onchange="buildOnClick();" /> px |
93 </td> |
95 </td> |
94 </tr> |
96 </tr> |
95 <tr> |
97 <tr> |
96 <td nowrap="nowrap" id="labelleft"><label>{$lang_advlink_popup_position}</label> </td> |
98 <td nowrap="nowrap" id="labelleft"><label>{#advlink_dlg.popup_position}</label> </td> |
97 <td nowrap="nowrap"> |
99 <td nowrap="nowrap"> |
98 <input type="text" id="popupleft" name="popupleft" value="" onchange="buildOnClick();" /> / |
100 <input type="text" id="popupleft" name="popupleft" value="" onchange="buildOnClick();" /> / |
99 <input type="text" id="popuptop" name="popuptop" value="" onchange="buildOnClick();" /> (c /c = center) |
101 <input type="text" id="popuptop" name="popuptop" value="" onchange="buildOnClick();" /> (c /c = center) |
100 </td> |
102 </td> |
101 </tr> |
103 </tr> |
102 </table> |
104 </table> |
103 |
105 |
104 <fieldset> |
106 <fieldset> |
105 <legend>{$lang_advlink_popup_opts}</legend> |
107 <legend>{#advlink_dlg.popup_opts}</legend> |
106 |
108 |
107 <table border="0" cellpadding="0" cellspacing="4"> |
109 <table border="0" cellpadding="0" cellspacing="4"> |
108 <tr> |
110 <tr> |
109 <td><input type="checkbox" id="popuplocation" name="popuplocation" class="checkbox" onchange="buildOnClick();" /></td> |
111 <td><input type="checkbox" id="popuplocation" name="popuplocation" class="checkbox" onchange="buildOnClick();" /></td> |
110 <td nowrap="nowrap"><label id="popuplocationlabel" for="popuplocation">{$lang_advlink_popup_location}</label></td> |
112 <td nowrap="nowrap"><label id="popuplocationlabel" for="popuplocation">{#advlink_dlg.popup_location}</label></td> |
111 <td><input type="checkbox" id="popupscrollbars" name="popupscrollbars" class="checkbox" onchange="buildOnClick();" /></td> |
113 <td><input type="checkbox" id="popupscrollbars" name="popupscrollbars" class="checkbox" onchange="buildOnClick();" /></td> |
112 <td nowrap="nowrap"><label id="popupscrollbarslabel" for="popupscrollbars">{$lang_advlink_popup_scrollbars}</label></td> |
114 <td nowrap="nowrap"><label id="popupscrollbarslabel" for="popupscrollbars">{#advlink_dlg.popup_scrollbars}</label></td> |
113 </tr> |
115 </tr> |
114 <tr> |
116 <tr> |
115 <td><input type="checkbox" id="popupmenubar" name="popupmenubar" class="checkbox" onchange="buildOnClick();" /></td> |
117 <td><input type="checkbox" id="popupmenubar" name="popupmenubar" class="checkbox" onchange="buildOnClick();" /></td> |
116 <td nowrap="nowrap"><label id="popupmenubarlabel" for="popupmenubar">{$lang_advlink_popup_menubar}</label></td> |
118 <td nowrap="nowrap"><label id="popupmenubarlabel" for="popupmenubar">{#advlink_dlg.popup_menubar}</label></td> |
117 <td><input type="checkbox" id="popupresizable" name="popupresizable" class="checkbox" onchange="buildOnClick();" /></td> |
119 <td><input type="checkbox" id="popupresizable" name="popupresizable" class="checkbox" onchange="buildOnClick();" /></td> |
118 <td nowrap="nowrap"><label id="popupresizablelabel" for="popupresizable">{$lang_advlink_popup_resizable}</label></td> |
120 <td nowrap="nowrap"><label id="popupresizablelabel" for="popupresizable">{#advlink_dlg.popup_resizable}</label></td> |
119 </tr> |
121 </tr> |
120 <tr> |
122 <tr> |
121 <td><input type="checkbox" id="popuptoolbar" name="popuptoolbar" class="checkbox" onchange="buildOnClick();" /></td> |
123 <td><input type="checkbox" id="popuptoolbar" name="popuptoolbar" class="checkbox" onchange="buildOnClick();" /></td> |
122 <td nowrap="nowrap"><label id="popuptoolbarlabel" for="popuptoolbar">{$lang_advlink_popup_toolbar}</label></td> |
124 <td nowrap="nowrap"><label id="popuptoolbarlabel" for="popuptoolbar">{#advlink_dlg.popup_toolbar}</label></td> |
123 <td><input type="checkbox" id="popupdependent" name="popupdependent" class="checkbox" onchange="buildOnClick();" /></td> |
125 <td><input type="checkbox" id="popupdependent" name="popupdependent" class="checkbox" onchange="buildOnClick();" /></td> |
124 <td nowrap="nowrap"><label id="popupdependentlabel" for="popupdependent">{$lang_advlink_popup_dependent}</label></td> |
126 <td nowrap="nowrap"><label id="popupdependentlabel" for="popupdependent">{#advlink_dlg.popup_dependent}</label></td> |
125 </tr> |
127 </tr> |
126 <tr> |
128 <tr> |
127 <td><input type="checkbox" id="popupstatus" name="popupstatus" class="checkbox" onchange="buildOnClick();" /></td> |
129 <td><input type="checkbox" id="popupstatus" name="popupstatus" class="checkbox" onchange="buildOnClick();" /></td> |
128 <td nowrap="nowrap"><label id="popupstatuslabel" for="popupstatus">{$lang_advlink_popup_statusbar}</label></td> |
130 <td nowrap="nowrap"><label id="popupstatuslabel" for="popupstatus">{#advlink_dlg.popup_statusbar}</label></td> |
129 <td><input type="checkbox" id="popupreturn" name="popupreturn" class="checkbox" onchange="buildOnClick();" checked="checked" /></td> |
131 <td><input type="checkbox" id="popupreturn" name="popupreturn" class="checkbox" onchange="buildOnClick();" checked="checked" /></td> |
130 <td nowrap="nowrap"><label id="popupreturnlabel" for="popupreturn">{$lang_advlink_popup_return}</label></td> |
132 <td nowrap="nowrap"><label id="popupreturnlabel" for="popupreturn">{#advlink_dlg.popup_return}</label></td> |
131 </tr> |
133 </tr> |
132 </table> |
134 </table> |
133 </fieldset> |
135 </fieldset> |
134 </fieldset> |
136 </fieldset> |
135 </div> |
137 </div> |
136 |
138 |
137 <div id="advanced_panel" class="panel"> |
139 <div id="advanced_panel" class="panel"> |
138 <fieldset> |
140 <fieldset> |
139 <legend>{$lang_advlink_advanced_props}</legend> |
141 <legend>{#advlink_dlg.advanced_props}</legend> |
140 |
142 |
141 <table border="0" cellpadding="0" cellspacing="4"> |
143 <table border="0" cellpadding="0" cellspacing="4"> |
142 <tr> |
144 <tr> |
143 <td class="column1"><label id="idlabel" for="id">{$lang_advlink_id}</label></td> |
145 <td class="column1"><label id="idlabel" for="id">{#advlink_dlg.id}</label></td> |
144 <td><input id="id" name="id" type="text" value="" /></td> |
146 <td><input id="id" name="id" type="text" value="" /></td> |
145 </tr> |
147 </tr> |
146 |
148 |
147 <tr> |
149 <tr> |
148 <td><label id="stylelabel" for="style">{$lang_advlink_style}</label></td> |
150 <td><label id="stylelabel" for="style">{#advlink_dlg.style}</label></td> |
149 <td><input type="text" id="style" name="style" value="" /></td> |
151 <td><input type="text" id="style" name="style" value="" /></td> |
150 </tr> |
152 </tr> |
151 |
153 |
152 <tr> |
154 <tr> |
153 <td><label id="classeslabel" for="classes">{$lang_advlink_classes}</label></td> |
155 <td><label id="classeslabel" for="classes">{#advlink_dlg.classes}</label></td> |
154 <td><input type="text" id="classes" name="classes" value="" onchange="selectByValue(this.form,'classlist',this.value,true);" /></td> |
156 <td><input type="text" id="classes" name="classes" value="" onchange="selectByValue(this.form,'classlist',this.value,true);" /></td> |
155 </tr> |
157 </tr> |
156 |
158 |
157 <tr> |
159 <tr> |
158 <td><label id="targetlabel" for="target">{$lang_advlink_target_name}</label></td> |
160 <td><label id="targetlabel" for="target">{#advlink_dlg.target_name}</label></td> |
159 <td><input type="text" id="target" name="target" value="" onchange="selectByValue(this.form,'targetlist',this.value,true);" /></td> |
161 <td><input type="text" id="target" name="target" value="" onchange="selectByValue(this.form,'targetlist',this.value,true);" /></td> |
160 </tr> |
162 </tr> |
161 |
163 |
162 <tr> |
164 <tr> |
163 <td class="column1"><label id="dirlabel" for="dir">{$lang_advlink_langdir}</label></td> |
165 <td class="column1"><label id="dirlabel" for="dir">{#advlink_dlg.langdir}</label></td> |
164 <td> |
166 <td> |
165 <select id="dir" name="dir"> |
167 <select id="dir" name="dir"> |
166 <option value="">{$lang_not_set}</option> |
168 <option value="">{#not_set}</option> |
167 <option value="ltr">{$lang_advlink_ltr}</option> |
169 <option value="ltr">{#advlink_dlg.ltr}</option> |
168 <option value="rtl">{$lang_advlink_rtl}</option> |
170 <option value="rtl">{#advlink_dlg.rtl}</option> |
169 </select> |
171 </select> |
170 </td> |
172 </td> |
171 </tr> |
173 </tr> |
172 |
174 |
173 <tr> |
175 <tr> |
174 <td><label id="hreflanglabel" for="hreflang">{$lang_advlink_target_langcode}</label></td> |
176 <td><label id="hreflanglabel" for="hreflang">{#advlink_dlg.target_langcode}</label></td> |
175 <td><input type="text" id="hreflang" name="hreflang" value="" /></td> |
177 <td><input type="text" id="hreflang" name="hreflang" value="" /></td> |
176 </tr> |
178 </tr> |
177 |
179 |
178 <tr> |
180 <tr> |
179 <td class="column1"><label id="langlabel" for="lang">{$lang_advlink_langcode}</label></td> |
181 <td class="column1"><label id="langlabel" for="lang">{#advlink_dlg.langcode}</label></td> |
180 <td> |
182 <td> |
181 <input id="lang" name="lang" type="text" value="" /> |
183 <input id="lang" name="lang" type="text" value="" /> |
182 </td> |
184 </td> |
183 </tr> |
185 </tr> |
184 |
186 |
185 <tr> |
187 <tr> |
186 <td><label id="charsetlabel" for="charset">{$lang_advlink_encoding}</label></td> |
188 <td><label id="charsetlabel" for="charset">{#advlink_dlg.encoding}</label></td> |
187 <td><input type="text" id="charset" name="charset" value="" /></td> |
189 <td><input type="text" id="charset" name="charset" value="" /></td> |
188 </tr> |
190 </tr> |
189 |
191 |
190 <tr> |
192 <tr> |
191 <td><label id="typelabel" for="type">{$lang_advlink_mime}</label></td> |
193 <td><label id="typelabel" for="type">{#advlink_dlg.mime}</label></td> |
192 <td><input type="text" id="type" name="type" value="" /></td> |
194 <td><input type="text" id="type" name="type" value="" /></td> |
193 </tr> |
195 </tr> |
194 |
196 |
195 <tr> |
197 <tr> |
196 <td><label id="rellabel" for="rel">{$lang_advlink_rel}</label></td> |
198 <td><label id="rellabel" for="rel">{#advlink_dlg.rel}</label></td> |
197 <td><select id="rel" name="rel"> |
199 <td><select id="rel" name="rel"> |
198 <option value="">{$lang_not_set}</option> |
200 <option value="">{#not_set}</option> |
199 <option value="lightbox">Lightbox</option> |
201 <option value="lightbox">Lightbox</option> |
200 <option value="alternate">Alternate</option> |
202 <option value="alternate">Alternate</option> |
201 <option value="designates">Designates</option> |
203 <option value="designates">Designates</option> |
202 <option value="stylesheet">Stylesheet</option> |
204 <option value="stylesheet">Stylesheet</option> |
203 <option value="start">Start</option> |
205 <option value="start">Start</option> |