A tumblelog CMS built on AJAX, PHP and MySQL.

cite.htm 6.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <html xmlns="http://www.w3.org/1999/xhtml">
  2. <head>
  3. <title>{$lang_xhtmlxtras_title_cite_element}</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="../../utils/editable_selects.js"></script>
  8. <script language="javascript" type="text/javascript" src="jscripts/element_common.js"></script>
  9. <script language="javascript" type="text/javascript" src="jscripts/cite.js"></script>
  10. <link rel="stylesheet" type="text/css" href="css/popup.css" />
  11. <base target="_self" />
  12. </head>
  13. <body onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
  14. <form onsubmit="insertCite();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;">{$lang_xhtmlxtras_general_tab}</a></span></li>
  18. <!-- <li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{$lang_xhtmlxtras_events_tab}</a></span></li> -->
  19. </ul>
  20. </div>
  21. <div class="panel_wrapper">
  22. <div id="general_panel" class="panel current">
  23. <fieldset>
  24. <legend>{$lang_xhtmlxtras_fieldset_attrib_tab}</legend>
  25. <table border="0" cellpadding="0" cellspacing="4">
  26. <tr>
  27. <td class="label"><label id="titlelabel" for="title">{$lang_xhtmlxtras_attribute_label_title}</label>:</td>
  28. <td><input id="title" name="title" type="text" value="" class="field" /></td>
  29. </tr>
  30. <tr>
  31. <td class="label"><label id="idlabel" for="id">{$lang_xhtmlxtras_attribute_label_id}</label>:</td>
  32. <td><input id="id" name="id" type="text" value="" class="field" /></td>
  33. </tr>
  34. <tr>
  35. <td class="label"><label id="classlabel" for="class">{$lang_xhtmlxtras_attribute_label_class}</label>:</td>
  36. <td>
  37. <select id="class" name="class" class="field mceEditableSelect">
  38. <option value="">{$lang_xhtmlxtras_not_set}</option>
  39. </select>
  40. </td>
  41. </tr>
  42. <tr>
  43. <td class="label"><label id="stylelabel" for="class">{$lang_xhtmlxtras_attribute_label_style}</label>:</td>
  44. <td><input id="style" name="style" type="text" value="" class="field" /></td>
  45. </tr>
  46. <tr>
  47. <td class="label"><label id="dirlabel" for="dir">{$lang_xhtmlxtras_attribute_label_langdir}</label>:</td>
  48. <td>
  49. <select id="dir" name="dir" class="field">
  50. <option value="">{$lang_xhtmlxtras_not_set}</option>
  51. <option value="ltr">{$lang_xhtmlxtras_attribute_option_ltr}</option>
  52. <option value="rtl">{$lang_xhtmlxtras_attribute_option_rtl}</option>
  53. </select>
  54. </td>
  55. </tr>
  56. <tr>
  57. <td class="label"><label id="langlabel" for="lang">{$lang_xhtmlxtras_attribute_label_langcode}</label>:</td>
  58. <td>
  59. <input id="lang" name="lang" type="text" value="" class="field" />
  60. </td>
  61. </tr>
  62. </table>
  63. </fieldset>
  64. </div>
  65. <div id="events_panel" class="panel">
  66. <fieldset>
  67. <legend>{$lang_xhtmlxtras_fieldset_events_tab}</legend>
  68. <table border="0" cellpadding="0" cellspacing="4">
  69. <tr>
  70. <td class="label"><label for="onfocus">onfocus</label>:</td>
  71. <td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td>
  72. </tr>
  73. <tr>
  74. <td class="label"><label for="onblur">onblur</label>:</td>
  75. <td><input id="onblur" name="onblur" type="text" value="" class="field" /></td>
  76. </tr>
  77. <tr>
  78. <td class="label"><label for="onclick">onclick</label>:</td>
  79. <td><input id="onclick" name="onclick" type="text" value="" class="field" /></td>
  80. </tr>
  81. <tr>
  82. <td class="label"><label for="ondblclick">ondblclick</label>:</td>
  83. <td><input id="ondblclick" name="ondblclick" type="text" value="" class="field" /></td>
  84. </tr>
  85. <tr>
  86. <td class="label"><label for="onmousedown">onmousedown</label>:</td>
  87. <td><input id="onmousedown" name="onmousedown" type="text" value="" class="field" /></td>
  88. </tr>
  89. <tr>
  90. <td class="label"><label for="onmouseup">onmouseup</label>:</td>
  91. <td><input id="onmouseup" name="onmouseup" type="text" value="" class="field" /></td>
  92. </tr>
  93. <tr>
  94. <td class="label"><label for="onmouseover">onmouseover</label>:</td>
  95. <td><input id="onmouseover" name="onmouseover" type="text" value="" class="field" /></td>
  96. </tr>
  97. <tr>
  98. <td class="label"><label for="onmousemove">onmousemove</label>:</td>
  99. <td><input id="onmousemove" name="onmousemove" type="text" value="" class="field" /></td>
  100. </tr>
  101. <tr>
  102. <td class="label"><label for="onmouseout">onmouseout</label>:</td>
  103. <td><input id="onmouseout" name="onmouseout" type="text" value="" class="field" /></td>
  104. </tr>
  105. <tr>
  106. <td class="label"><label for="onkeypress">onkeypress</label>:</td>
  107. <td><input id="onkeypress" name="onkeypress" type="text" value="" class="field" /></td>
  108. </tr>
  109. <tr>
  110. <td class="label"><label for="onkeydown">onkeydown</label>:</td>
  111. <td><input id="onkeydown" name="onkeydown" type="text" value="" class="field" /></td>
  112. </tr>
  113. <tr>
  114. <td class="label"><label for="onkeyup">onkeyup</label>:</td>
  115. <td><input id="onkeyup" name="onkeyup" type="text" value="" class="field" /></td>
  116. </tr>
  117. </table>
  118. </fieldset>
  119. </div>
  120. </div>
  121. <div class="mceActionPanel">
  122. <div style="float: left">
  123. <input type="button" id="insert" name="insert" value="{$lang_update}" onclick="insertCite();" />
  124. </div>
  125. <div style="float: left">
  126. <input type="button" id="remove" name="remove" value="{$lang_xhtmlxtras_remove}" onclick="removeCite();" style="display: none;" />
  127. </div>
  128. <div style="float: right">
  129. <input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
  130. </div>
  131. </div>
  132. </form>
  133. </body>
  134. </html>