| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,338 @@ |
| 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 type="text/javascript" src="../../tiny_mce_popup.js"></script> |
|
| 6 |
+ <script type="text/javascript" src="../../utils/mctabs.js"></script> |
|
| 7 |
+ <script type="text/javascript" src="../../utils/form_utils.js"></script> |
|
| 8 |
+ <script type="text/javascript" src="../../utils/validate.js"></script> |
|
| 9 |
+ <script type="text/javascript" src="js/advlink.js"></script> |
|
| 10 |
+ <link href="css/advlink.css" rel="stylesheet" type="text/css" /> |
|
| 11 |
+</head> |
|
| 12 |
+<body id="advlink" style="display: none" role="application" onload="javascript:mcTabs.displayTab('general_tab','general_panel', true);" aria-labelledby="app_label">
|
|
| 13 |
+ <span class="mceVoiceLabel" id="app_label" style="display:none;">{#advlink_dlg.title}</span>
|
|
| 14 |
+ <form onsubmit="insertAction();return false;" action="#"> |
|
| 15 |
+ <div class="tabs" role="presentation"> |
|
| 16 |
+ <ul> |
|
| 17 |
+ <li id="general_tab" class="current" aria-controls="general_panel" ><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advlink_dlg.general_tab}</a></span></li>
|
|
| 18 |
+ <li id="popup_tab" aria-controls="popup_panel" ><span><a href="javascript:mcTabs.displayTab('popup_tab','popup_panel');" onmousedown="return false;">{#advlink_dlg.popup_tab}</a></span></li>
|
|
| 19 |
+ <li id="events_tab" aria-controls="events_panel"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{#advlink_dlg.events_tab}</a></span></li>
|
|
| 20 |
+ <li id="advanced_tab" aria-controls="advanced_panel"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#advlink_dlg.advanced_tab}</a></span></li>
|
|
| 21 |
+ </ul> |
|
| 22 |
+ </div> |
|
| 23 |
+ |
|
| 24 |
+ <div class="panel_wrapper" role="presentation"> |
|
| 25 |
+ <div id="general_panel" class="panel current"> |
|
| 26 |
+ <fieldset> |
|
| 27 |
+ <legend>{#advlink_dlg.general_props}</legend>
|
|
| 28 |
+ |
|
| 29 |
+ <table border="0" cellpadding="4" cellspacing="0" role="presentation"> |
|
| 30 |
+ <tr> |
|
| 31 |
+ <td class="nowrap"><label id="hreflabel" for="href">{#advlink_dlg.url}</label></td>
|
|
| 32 |
+ <td><table border="0" cellspacing="0" cellpadding="0"> |
|
| 33 |
+ <tr> |
|
| 34 |
+ <td><input id="href" name="href" type="text" class="mceFocus" value="" onchange="selectByValue(this.form,'linklisthref',this.value);" aria-required="true" /></td> |
|
| 35 |
+ <td id="hrefbrowsercontainer"> </td> |
|
| 36 |
+ </tr> |
|
| 37 |
+ </table></td> |
|
| 38 |
+ </tr> |
|
| 39 |
+ <tr id="linklisthrefrow"> |
|
| 40 |
+ <td class="column1"><label for="linklisthref">{#advlink_dlg.list}</label></td>
|
|
| 41 |
+ <td colspan="2" id="linklisthrefcontainer"><select id="linklisthref"><option value=""></option></select></td> |
|
| 42 |
+ </tr> |
|
| 43 |
+ <tr id="anchorlistrow"> |
|
| 44 |
+ <td class="column1"><label for="anchorlist">{#advlink_dlg.anchor_names}</label></td>
|
|
| 45 |
+ <td colspan="2" id="anchorlistcontainer"><select id="anchorlist"><option value=""></option></select></td> |
|
| 46 |
+ </tr> |
|
| 47 |
+ <tr> |
|
| 48 |
+ <td><label id="targetlistlabel" for="targetlist">{#advlink_dlg.target}</label></td>
|
|
| 49 |
+ <td id="targetlistcontainer"><select id="targetlist"><option value=""></option></select></td> |
|
| 50 |
+ </tr> |
|
| 51 |
+ <tr> |
|
| 52 |
+ <td class="nowrap"><label id="titlelabel" for="title">{#advlink_dlg.titlefield}</label></td>
|
|
| 53 |
+ <td><input id="title" name="title" type="text" value="" /></td> |
|
| 54 |
+ </tr> |
|
| 55 |
+ <tr> |
|
| 56 |
+ <td><label id="classlabel" for="classlist">{#class_name}</label></td>
|
|
| 57 |
+ <td> |
|
| 58 |
+ <select id="classlist" name="classlist" onchange="changeClass();"> |
|
| 59 |
+ <option value="" selected="selected">{#not_set}</option>
|
|
| 60 |
+ </select> |
|
| 61 |
+ </td> |
|
| 62 |
+ </tr> |
|
| 63 |
+ </table> |
|
| 64 |
+ </fieldset> |
|
| 65 |
+ </div> |
|
| 66 |
+ |
|
| 67 |
+ <div id="popup_panel" class="panel"> |
|
| 68 |
+ <fieldset> |
|
| 69 |
+ <legend>{#advlink_dlg.popup_props}</legend>
|
|
| 70 |
+ |
|
| 71 |
+ <input type="checkbox" id="ispopup" name="ispopup" class="radio" onclick="setPopupControlsDisabled(!this.checked);buildOnClick();" /> |
|
| 72 |
+ <label id="ispopuplabel" for="ispopup">{#advlink_dlg.popup}</label>
|
|
| 73 |
+ |
|
| 74 |
+ <table border="0" cellpadding="0" cellspacing="4" role="presentation" > |
|
| 75 |
+ <tr> |
|
| 76 |
+ <td class="nowrap"><label for="popupurl">{#advlink_dlg.popup_url}</label> </td>
|
|
| 77 |
+ <td> |
|
| 78 |
+ <table border="0" cellspacing="0" cellpadding="0"> |
|
| 79 |
+ <tr> |
|
| 80 |
+ <td><input type="text" name="popupurl" id="popupurl" value="" onchange="buildOnClick();" /></td> |
|
| 81 |
+ <td id="popupurlbrowsercontainer"> </td> |
|
| 82 |
+ </tr> |
|
| 83 |
+ </table> |
|
| 84 |
+ </td> |
|
| 85 |
+ </tr> |
|
| 86 |
+ <tr> |
|
| 87 |
+ <td class="nowrap"><label for="popupname">{#advlink_dlg.popup_name}</label> </td>
|
|
| 88 |
+ <td><input type="text" name="popupname" id="popupname" value="" onchange="buildOnClick();" /></td> |
|
| 89 |
+ </tr> |
|
| 90 |
+ <tr role="group" aria-labelledby="popup_size_label"> |
|
| 91 |
+ <td class="nowrap"><label id="popup_size_label">{#advlink_dlg.popup_size}</label> </td>
|
|
| 92 |
+ <td class="nowrap"> |
|
| 93 |
+ <span style="display:none" id="width_voiceLabel">{#advlink_dlg.width}</span>
|
|
| 94 |
+ <input type="text" id="popupwidth" name="popupwidth" value="" onchange="buildOnClick();" aria-labelledby="width_voiceLabel" /> x |
|
| 95 |
+ <span style="display:none" id="height_voiceLabel">{#advlink_dlg.height}</span>
|
|
| 96 |
+ <input type="text" id="popupheight" name="popupheight" value="" onchange="buildOnClick();" aria-labelledby="height_voiceLabel" /> px |
|
| 97 |
+ </td> |
|
| 98 |
+ </tr> |
|
| 99 |
+ <tr role="group" aria-labelledby="popup_position_label center_hint"> |
|
| 100 |
+ <td class="nowrap" id="labelleft"><label id="popup_position_label">{#advlink_dlg.popup_position}</label> </td>
|
|
| 101 |
+ <td class="nowrap"> |
|
| 102 |
+ <span style="display:none" id="x_voiceLabel">X</span> |
|
| 103 |
+ <input type="text" id="popupleft" name="popupleft" value="" onchange="buildOnClick();" aria-labelledby="x_voiceLabel" /> / |
|
| 104 |
+ <span style="display:none" id="y_voiceLabel">Y</span> |
|
| 105 |
+ <input type="text" id="popuptop" name="popuptop" value="" onchange="buildOnClick();" aria-labelledby="y_voiceLabel" /> <span id="center_hint">(c /c = center)</span> |
|
| 106 |
+ </td> |
|
| 107 |
+ </tr> |
|
| 108 |
+ </table> |
|
| 109 |
+ |
|
| 110 |
+ <fieldset> |
|
| 111 |
+ <legend>{#advlink_dlg.popup_opts}</legend>
|
|
| 112 |
+ |
|
| 113 |
+ <table border="0" cellpadding="0" cellspacing="4" role="presentation" > |
|
| 114 |
+ <tr> |
|
| 115 |
+ <td><input type="checkbox" id="popuplocation" name="popuplocation" class="checkbox" onchange="buildOnClick();" /></td> |
|
| 116 |
+ <td class="nowrap"><label id="popuplocationlabel" for="popuplocation">{#advlink_dlg.popup_location}</label></td>
|
|
| 117 |
+ <td><input type="checkbox" id="popupscrollbars" name="popupscrollbars" class="checkbox" onchange="buildOnClick();" /></td> |
|
| 118 |
+ <td class="nowrap"><label id="popupscrollbarslabel" for="popupscrollbars">{#advlink_dlg.popup_scrollbars}</label></td>
|
|
| 119 |
+ </tr> |
|
| 120 |
+ <tr> |
|
| 121 |
+ <td><input type="checkbox" id="popupmenubar" name="popupmenubar" class="checkbox" onchange="buildOnClick();" /></td> |
|
| 122 |
+ <td class="nowrap"><label id="popupmenubarlabel" for="popupmenubar">{#advlink_dlg.popup_menubar}</label></td>
|
|
| 123 |
+ <td><input type="checkbox" id="popupresizable" name="popupresizable" class="checkbox" onchange="buildOnClick();" /></td> |
|
| 124 |
+ <td class="nowrap"><label id="popupresizablelabel" for="popupresizable">{#advlink_dlg.popup_resizable}</label></td>
|
|
| 125 |
+ </tr> |
|
| 126 |
+ <tr> |
|
| 127 |
+ <td><input type="checkbox" id="popuptoolbar" name="popuptoolbar" class="checkbox" onchange="buildOnClick();" /></td> |
|
| 128 |
+ <td class="nowrap"><label id="popuptoolbarlabel" for="popuptoolbar">{#advlink_dlg.popup_toolbar}</label></td>
|
|
| 129 |
+ <td><input type="checkbox" id="popupdependent" name="popupdependent" class="checkbox" onchange="buildOnClick();" /></td> |
|
| 130 |
+ <td class="nowrap"><label id="popupdependentlabel" for="popupdependent">{#advlink_dlg.popup_dependent}</label></td>
|
|
| 131 |
+ </tr> |
|
| 132 |
+ <tr> |
|
| 133 |
+ <td><input type="checkbox" id="popupstatus" name="popupstatus" class="checkbox" onchange="buildOnClick();" /></td> |
|
| 134 |
+ <td class="nowrap"><label id="popupstatuslabel" for="popupstatus">{#advlink_dlg.popup_statusbar}</label></td>
|
|
| 135 |
+ <td><input type="checkbox" id="popupreturn" name="popupreturn" class="checkbox" onchange="buildOnClick();" checked="checked" /></td> |
|
| 136 |
+ <td class="nowrap"><label id="popupreturnlabel" for="popupreturn">{#advlink_dlg.popup_return}</label></td>
|
|
| 137 |
+ </tr> |
|
| 138 |
+ </table> |
|
| 139 |
+ </fieldset> |
|
| 140 |
+ </fieldset> |
|
| 141 |
+ </div> |
|
| 142 |
+ |
|
| 143 |
+ <div id="advanced_panel" class="panel"> |
|
| 144 |
+ <fieldset> |
|
| 145 |
+ <legend>{#advlink_dlg.advanced_props}</legend>
|
|
| 146 |
+ |
|
| 147 |
+ <table border="0" cellpadding="0" cellspacing="4" role="presentation" > |
|
| 148 |
+ <tr> |
|
| 149 |
+ <td class="column1"><label id="idlabel" for="id">{#advlink_dlg.id}</label></td>
|
|
| 150 |
+ <td><input id="id" name="id" type="text" value="" /></td> |
|
| 151 |
+ </tr> |
|
| 152 |
+ |
|
| 153 |
+ <tr> |
|
| 154 |
+ <td><label id="stylelabel" for="style">{#advlink_dlg.style}</label></td>
|
|
| 155 |
+ <td><input type="text" id="style" name="style" value="" /></td> |
|
| 156 |
+ </tr> |
|
| 157 |
+ |
|
| 158 |
+ <tr> |
|
| 159 |
+ <td><label id="classeslabel" for="classes">{#advlink_dlg.classes}</label></td>
|
|
| 160 |
+ <td><input type="text" id="classes" name="classes" value="" onchange="selectByValue(this.form,'classlist',this.value,true);" /></td> |
|
| 161 |
+ </tr> |
|
| 162 |
+ |
|
| 163 |
+ <tr> |
|
| 164 |
+ <td><label id="targetlabel" for="target">{#advlink_dlg.target_name}</label></td>
|
|
| 165 |
+ <td><input type="text" id="target" name="target" value="" onchange="selectByValue(this.form,'targetlist',this.value,true);" /></td> |
|
| 166 |
+ </tr> |
|
| 167 |
+ |
|
| 168 |
+ <tr> |
|
| 169 |
+ <td class="column1"><label id="dirlabel" for="dir">{#advlink_dlg.langdir}</label></td>
|
|
| 170 |
+ <td> |
|
| 171 |
+ <select id="dir" name="dir"> |
|
| 172 |
+ <option value="">{#not_set}</option>
|
|
| 173 |
+ <option value="ltr">{#advlink_dlg.ltr}</option>
|
|
| 174 |
+ <option value="rtl">{#advlink_dlg.rtl}</option>
|
|
| 175 |
+ </select> |
|
| 176 |
+ </td> |
|
| 177 |
+ </tr> |
|
| 178 |
+ |
|
| 179 |
+ <tr> |
|
| 180 |
+ <td><label id="hreflanglabel" for="hreflang">{#advlink_dlg.target_langcode}</label></td>
|
|
| 181 |
+ <td><input type="text" id="hreflang" name="hreflang" value="" /></td> |
|
| 182 |
+ </tr> |
|
| 183 |
+ |
|
| 184 |
+ <tr> |
|
| 185 |
+ <td class="column1"><label id="langlabel" for="lang">{#advlink_dlg.langcode}</label></td>
|
|
| 186 |
+ <td> |
|
| 187 |
+ <input id="lang" name="lang" type="text" value="" /> |
|
| 188 |
+ </td> |
|
| 189 |
+ </tr> |
|
| 190 |
+ |
|
| 191 |
+ <tr> |
|
| 192 |
+ <td><label id="charsetlabel" for="charset">{#advlink_dlg.encoding}</label></td>
|
|
| 193 |
+ <td><input type="text" id="charset" name="charset" value="" /></td> |
|
| 194 |
+ </tr> |
|
| 195 |
+ |
|
| 196 |
+ <tr> |
|
| 197 |
+ <td><label id="typelabel" for="type">{#advlink_dlg.mime}</label></td>
|
|
| 198 |
+ <td><input type="text" id="type" name="type" value="" /></td> |
|
| 199 |
+ </tr> |
|
| 200 |
+ |
|
| 201 |
+ <tr> |
|
| 202 |
+ <td><label id="rellabel" for="rel">{#advlink_dlg.rel}</label></td>
|
|
| 203 |
+ <td><select id="rel" name="rel"> |
|
| 204 |
+ <option value="">{#not_set}</option>
|
|
| 205 |
+ <option value="lightbox">Lightbox</option> |
|
| 206 |
+ <option value="alternate">Alternate</option> |
|
| 207 |
+ <option value="designates">Designates</option> |
|
| 208 |
+ <option value="stylesheet">Stylesheet</option> |
|
| 209 |
+ <option value="start">Start</option> |
|
| 210 |
+ <option value="next">Next</option> |
|
| 211 |
+ <option value="prev">Prev</option> |
|
| 212 |
+ <option value="contents">Contents</option> |
|
| 213 |
+ <option value="index">Index</option> |
|
| 214 |
+ <option value="glossary">Glossary</option> |
|
| 215 |
+ <option value="copyright">Copyright</option> |
|
| 216 |
+ <option value="chapter">Chapter</option> |
|
| 217 |
+ <option value="subsection">Subsection</option> |
|
| 218 |
+ <option value="appendix">Appendix</option> |
|
| 219 |
+ <option value="help">Help</option> |
|
| 220 |
+ <option value="bookmark">Bookmark</option> |
|
| 221 |
+ <option value="nofollow">No Follow</option> |
|
| 222 |
+ <option value="tag">Tag</option> |
|
| 223 |
+ </select> |
|
| 224 |
+ </td> |
|
| 225 |
+ </tr> |
|
| 226 |
+ |
|
| 227 |
+ <tr> |
|
| 228 |
+ <td><label id="revlabel" for="rev">{#advlink_dlg.rev}</label></td>
|
|
| 229 |
+ <td><select id="rev" name="rev"> |
|
| 230 |
+ <option value="">{#not_set}</option>
|
|
| 231 |
+ <option value="alternate">Alternate</option> |
|
| 232 |
+ <option value="designates">Designates</option> |
|
| 233 |
+ <option value="stylesheet">Stylesheet</option> |
|
| 234 |
+ <option value="start">Start</option> |
|
| 235 |
+ <option value="next">Next</option> |
|
| 236 |
+ <option value="prev">Prev</option> |
|
| 237 |
+ <option value="contents">Contents</option> |
|
| 238 |
+ <option value="index">Index</option> |
|
| 239 |
+ <option value="glossary">Glossary</option> |
|
| 240 |
+ <option value="copyright">Copyright</option> |
|
| 241 |
+ <option value="chapter">Chapter</option> |
|
| 242 |
+ <option value="subsection">Subsection</option> |
|
| 243 |
+ <option value="appendix">Appendix</option> |
|
| 244 |
+ <option value="help">Help</option> |
|
| 245 |
+ <option value="bookmark">Bookmark</option> |
|
| 246 |
+ </select> |
|
| 247 |
+ </td> |
|
| 248 |
+ </tr> |
|
| 249 |
+ |
|
| 250 |
+ <tr> |
|
| 251 |
+ <td><label id="tabindexlabel" for="tabindex">{#advlink_dlg.tabindex}</label></td>
|
|
| 252 |
+ <td><input type="text" id="tabindex" name="tabindex" value="" /></td> |
|
| 253 |
+ </tr> |
|
| 254 |
+ |
|
| 255 |
+ <tr> |
|
| 256 |
+ <td><label id="accesskeylabel" for="accesskey">{#advlink_dlg.accesskey}</label></td>
|
|
| 257 |
+ <td><input type="text" id="accesskey" name="accesskey" value="" /></td> |
|
| 258 |
+ </tr> |
|
| 259 |
+ </table> |
|
| 260 |
+ </fieldset> |
|
| 261 |
+ </div> |
|
| 262 |
+ |
|
| 263 |
+ <div id="events_panel" class="panel"> |
|
| 264 |
+ <fieldset> |
|
| 265 |
+ <legend>{#advlink_dlg.event_props}</legend>
|
|
| 266 |
+ |
|
| 267 |
+ <table border="0" cellpadding="0" cellspacing="4" role="presentation" > |
|
| 268 |
+ <tr> |
|
| 269 |
+ <td class="column1"><label for="onfocus">onfocus</label></td> |
|
| 270 |
+ <td><input id="onfocus" name="onfocus" type="text" value="" /></td> |
|
| 271 |
+ </tr> |
|
| 272 |
+ |
|
| 273 |
+ <tr> |
|
| 274 |
+ <td class="column1"><label for="onblur">onblur</label></td> |
|
| 275 |
+ <td><input id="onblur" name="onblur" type="text" value="" /></td> |
|
| 276 |
+ </tr> |
|
| 277 |
+ |
|
| 278 |
+ <tr> |
|
| 279 |
+ <td class="column1"><label for="onclick">onclick</label></td> |
|
| 280 |
+ <td><input id="onclick" name="onclick" type="text" value="" /></td> |
|
| 281 |
+ </tr> |
|
| 282 |
+ |
|
| 283 |
+ <tr> |
|
| 284 |
+ <td class="column1"><label for="ondblclick">ondblclick</label></td> |
|
| 285 |
+ <td><input id="ondblclick" name="ondblclick" type="text" value="" /></td> |
|
| 286 |
+ </tr> |
|
| 287 |
+ |
|
| 288 |
+ <tr> |
|
| 289 |
+ <td class="column1"><label for="onmousedown">onmousedown</label></td> |
|
| 290 |
+ <td><input id="onmousedown" name="onmousedown" type="text" value="" /></td> |
|
| 291 |
+ </tr> |
|
| 292 |
+ |
|
| 293 |
+ <tr> |
|
| 294 |
+ <td class="column1"><label for="onmouseup">onmouseup</label></td> |
|
| 295 |
+ <td><input id="onmouseup" name="onmouseup" type="text" value="" /></td> |
|
| 296 |
+ </tr> |
|
| 297 |
+ |
|
| 298 |
+ <tr> |
|
| 299 |
+ <td class="column1"><label for="onmouseover">onmouseover</label></td> |
|
| 300 |
+ <td><input id="onmouseover" name="onmouseover" type="text" value="" /></td> |
|
| 301 |
+ </tr> |
|
| 302 |
+ |
|
| 303 |
+ <tr> |
|
| 304 |
+ <td class="column1"><label for="onmousemove">onmousemove</label></td> |
|
| 305 |
+ <td><input id="onmousemove" name="onmousemove" type="text" value="" /></td> |
|
| 306 |
+ </tr> |
|
| 307 |
+ |
|
| 308 |
+ <tr> |
|
| 309 |
+ <td class="column1"><label for="onmouseout">onmouseout</label></td> |
|
| 310 |
+ <td><input id="onmouseout" name="onmouseout" type="text" value="" /></td> |
|
| 311 |
+ </tr> |
|
| 312 |
+ |
|
| 313 |
+ <tr> |
|
| 314 |
+ <td class="column1"><label for="onkeypress">onkeypress</label></td> |
|
| 315 |
+ <td><input id="onkeypress" name="onkeypress" type="text" value="" /></td> |
|
| 316 |
+ </tr> |
|
| 317 |
+ |
|
| 318 |
+ <tr> |
|
| 319 |
+ <td class="column1"><label for="onkeydown">onkeydown</label></td> |
|
| 320 |
+ <td><input id="onkeydown" name="onkeydown" type="text" value="" /></td> |
|
| 321 |
+ </tr> |
|
| 322 |
+ |
|
| 323 |
+ <tr> |
|
| 324 |
+ <td class="column1"><label for="onkeyup">onkeyup</label></td> |
|
| 325 |
+ <td><input id="onkeyup" name="onkeyup" type="text" value="" /></td> |
|
| 326 |
+ </tr> |
|
| 327 |
+ </table> |
|
| 328 |
+ </fieldset> |
|
| 329 |
+ </div> |
|
| 330 |
+ </div> |
|
| 331 |
+ |
|
| 332 |
+ <div class="mceActionPanel"> |
|
| 333 |
+ <input type="submit" id="insert" name="insert" value="{#insert}" />
|
|
| 334 |
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
|
|
| 335 |
+ </div> |
|
| 336 |
+ </form> |
|
| 337 |
+</body> |
|
| 338 |
+</html> |