A QCodo powered CMS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

339 lines
15 KiB

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