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.

170 lines
7.0 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>{#xhtmlxtras_dlg.title_ins_element}</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/editable_selects.js"></script>
  9. <script type="text/javascript" src="js/element_common.js"></script>
  10. <script type="text/javascript" src="js/ins.js"></script>
  11. <link rel="stylesheet" type="text/css" href="css/popup.css" />
  12. <base target="_self" />
  13. </head>
  14. <body id="xhtmlxtrasins" style="display: none">
  15. <form onsubmit="insertIns();return false;" action="#">
  16. <div class="tabs">
  17. <ul>
  18. <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.general_tab}</a></span></li>
  19. <!-- <li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.events_tab}</a></span></li> -->
  20. </ul>
  21. </div>
  22. <div class="panel_wrapper">
  23. <div id="general_panel" class="panel current">
  24. <fieldset>
  25. <legend>{#xhtmlxtras_dlg.fieldset_general_tab}</legend>
  26. <table border="0" cellpadding="0" cellspacing="4">
  27. <tr>
  28. <td class="label"><label id="datetimelabel" for="datetime">{#xhtmlxtras_dlg.attribute_label_datetime}</label>:</td>
  29. <td>
  30. <table border="0" cellspacing="0" cellpadding="0">
  31. <tr>
  32. <td><input id="datetime" name="datetime" type="text" value="" maxlength="19" class="field mceFocus" /></td>
  33. <td><a href="javascript:insertDateTime('datetime');" onmousedown="return false;" class="browse"><span class="datetime" alt="{#xhtmlxtras_dlg.insert_date}" title="{#xhtmlxtras_dlg.insert_date}"></span></a></td>
  34. </tr>
  35. </table>
  36. </td>
  37. </tr>
  38. <tr>
  39. <td class="label"><label id="citelabel" for="cite">{#xhtmlxtras_dlg.attribute_label_cite}</label>:</td>
  40. <td><input id="cite" name="cite" type="text" value="" class="field" /></td>
  41. </tr>
  42. </table>
  43. </fieldset>
  44. <fieldset>
  45. <legend>{#xhtmlxtras_dlg.fieldset_attrib_tab}</legend>
  46. <table border="0" cellpadding="0" cellspacing="4">
  47. <tr>
  48. <td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td>
  49. <td><input id="title" name="title" type="text" value="" class="field" /></td>
  50. </tr>
  51. <tr>
  52. <td class="label"><label id="idlabel" for="id">{#xhtmlxtras_dlg.attribute_label_id}</label>:</td>
  53. <td><input id="id" name="id" type="text" value="" class="field" /></td>
  54. </tr>
  55. <tr>
  56. <td class="label"><label id="classlabel" for="class">{#xhtmlxtras_dlg.attribute_label_class}</label>:</td>
  57. <td>
  58. <select id="class" name="class" class="field mceEditableSelect">
  59. <option value="">{#not_set}</option>
  60. </select>
  61. </td>
  62. </tr>
  63. <tr>
  64. <td class="label"><label id="stylelabel" for="class">{#xhtmlxtras_dlg.attribute_label_style}</label>:</td>
  65. <td><input id="style" name="style" type="text" value="" class="field" /></td>
  66. </tr>
  67. <tr>
  68. <td class="label"><label id="dirlabel" for="dir">{#xhtmlxtras_dlg.attribute_label_langdir}</label>:</td>
  69. <td>
  70. <select id="dir" name="dir" class="field">
  71. <option value="">{#not_set}</option>
  72. <option value="ltr">{#xhtmlxtras_dlg.attribute_option_ltr}</option>
  73. <option value="rtl">{#xhtmlxtras_dlg.attribute_option_rtl}</option>
  74. </select>
  75. </td>
  76. </tr>
  77. <tr>
  78. <td class="label"><label id="langlabel" for="lang">{#xhtmlxtras_dlg.attribute_label_langcode}</label>:</td>
  79. <td>
  80. <input id="lang" name="lang" type="text" value="" class="field" />
  81. </td>
  82. </tr>
  83. </table>
  84. </fieldset>
  85. </div>
  86. <div id="events_panel" class="panel">
  87. <fieldset>
  88. <legend>{#xhtmlxtras_dlg.fieldset_events_tab}</legend>
  89. <table border="0" cellpadding="0" cellspacing="4">
  90. <tr>
  91. <td class="label"><label for="onfocus">onfocus</label>:</td>
  92. <td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td>
  93. </tr>
  94. <tr>
  95. <td class="label"><label for="onblur">onblur</label>:</td>
  96. <td><input id="onblur" name="onblur" type="text" value="" class="field" /></td>
  97. </tr>
  98. <tr>
  99. <td class="label"><label for="onclick">onclick</label>:</td>
  100. <td><input id="onclick" name="onclick" type="text" value="" class="field" /></td>
  101. </tr>
  102. <tr>
  103. <td class="label"><label for="ondblclick">ondblclick</label>:</td>
  104. <td><input id="ondblclick" name="ondblclick" type="text" value="" class="field" /></td>
  105. </tr>
  106. <tr>
  107. <td class="label"><label for="onmousedown">onmousedown</label>:</td>
  108. <td><input id="onmousedown" name="onmousedown" type="text" value="" class="field" /></td>
  109. </tr>
  110. <tr>
  111. <td class="label"><label for="onmouseup">onmouseup</label>:</td>
  112. <td><input id="onmouseup" name="onmouseup" type="text" value="" class="field" /></td>
  113. </tr>
  114. <tr>
  115. <td class="label"><label for="onmouseover">onmouseover</label>:</td>
  116. <td><input id="onmouseover" name="onmouseover" type="text" value="" class="field" /></td>
  117. </tr>
  118. <tr>
  119. <td class="label"><label for="onmousemove">onmousemove</label>:</td>
  120. <td><input id="onmousemove" name="onmousemove" type="text" value="" class="field" /></td>
  121. </tr>
  122. <tr>
  123. <td class="label"><label for="onmouseout">onmouseout</label>:</td>
  124. <td><input id="onmouseout" name="onmouseout" type="text" value="" class="field" /></td>
  125. </tr>
  126. <tr>
  127. <td class="label"><label for="onkeypress">onkeypress</label>:</td>
  128. <td><input id="onkeypress" name="onkeypress" type="text" value="" class="field" /></td>
  129. </tr>
  130. <tr>
  131. <td class="label"><label for="onkeydown">onkeydown</label>:</td>
  132. <td><input id="onkeydown" name="onkeydown" type="text" value="" class="field" /></td>
  133. </tr>
  134. <tr>
  135. <td class="label"><label for="onkeyup">onkeyup</label>:</td>
  136. <td><input id="onkeyup" name="onkeyup" type="text" value="" class="field" /></td>
  137. </tr>
  138. </table>
  139. </fieldset>
  140. </div>
  141. </div>
  142. <div class="mceActionPanel">
  143. <div style="float: left">
  144. <input type="submit" id="insert" name="insert" value="{#update}" />
  145. </div>
  146. <div style="float: left">
  147. <input type="button" id="remove" name="remove" class="button" value="{#xhtmlxtras_dlg.remove}" onclick="removeIns();" style="display: none;" />
  148. </div>
  149. <div style="float: right">
  150. <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
  151. </div>
  152. </div>
  153. </form>
  154. </body>
  155. </html>