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.

184 lines
6.8 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>{#table_dlg.cell_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/editable_selects.js"></script>
  9. <script type="text/javascript" src="js/cell.js"></script>
  10. <link href="css/cell.css" rel="stylesheet" type="text/css" />
  11. <base target="_self" />
  12. </head>
  13. <body id="tablecell" style="display: none">
  14. <form onsubmit="updateAction();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;">{#table_dlg.general_tab}</a></span></li>
  18. <li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#table_dlg.advanced_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>{#table_dlg.general_props}</legend>
  25. <table border="0" cellpadding="4" cellspacing="0">
  26. <tr>
  27. <td><label for="align">{#table_dlg.align}</label></td>
  28. <td>
  29. <select id="align" name="align" class="mceFocus">
  30. <option value="">{#not_set}</option>
  31. <option value="center">{#table_dlg.align_middle}</option>
  32. <option value="left">{#table_dlg.align_left}</option>
  33. <option value="right">{#table_dlg.align_right}</option>
  34. </select>
  35. </td>
  36. <td><label for="celltype">{#table_dlg.cell_type}</label></td>
  37. <td>
  38. <select id="celltype" name="celltype">
  39. <option value="td">{#table_dlg.td}</option>
  40. <option value="th">{#table_dlg.th}</option>
  41. </select>
  42. </td>
  43. </tr>
  44. <tr>
  45. <td><label for="valign">{#table_dlg.valign}</label></td>
  46. <td>
  47. <select id="valign" name="valign">
  48. <option value="">{#not_set}</option>
  49. <option value="top">{#table_dlg.align_top}</option>
  50. <option value="middle">{#table_dlg.align_middle}</option>
  51. <option value="bottom">{#table_dlg.align_bottom}</option>
  52. </select>
  53. </td>
  54. <td><label for="scope">{#table_dlg.scope}</label></td>
  55. <td>
  56. <select id="scope" name="scope">
  57. <option value="">{#not_set}</option>
  58. <option value="col">{#table.col}</option>
  59. <option value="row">{#table.row}</option>
  60. <option value="rowgroup">{#table_dlg.rowgroup}</option>
  61. <option value="colgroup">{#table_dlg.colgroup}</option>
  62. </select>
  63. </td>
  64. </tr>
  65. <tr>
  66. <td><label for="width">{#table_dlg.width}</label></td>
  67. <td><input id="width" name="width" type="text" value="" size="4" maxlength="4" onchange="changedSize();" /></td>
  68. <td><label for="height">{#table_dlg.height}</label></td>
  69. <td><input id="height" name="height" type="text" value="" size="4" maxlength="4" onchange="changedSize();" /></td>
  70. </tr>
  71. <tr id="styleSelectRow">
  72. <td><label for="class">{#class_name}</label></td>
  73. <td colspan="3">
  74. <select id="class" name="class" class="mceEditableSelect">
  75. <option value="" selected="selected">{#not_set}</option>
  76. </select>
  77. </td>
  78. </tr>
  79. </table>
  80. </fieldset>
  81. </div>
  82. <div id="advanced_panel" class="panel">
  83. <fieldset>
  84. <legend>{#table_dlg.advanced_props}</legend>
  85. <table border="0" cellpadding="0" cellspacing="4">
  86. <tr>
  87. <td class="column1"><label for="id">{#table_dlg.id}</label></td>
  88. <td><input id="id" name="id" type="text" value="" style="width: 200px" /></td>
  89. </tr>
  90. <tr>
  91. <td><label for="style">{#table_dlg.style}</label></td>
  92. <td><input type="text" id="style" name="style" value="" style="width: 200px;" onchange="changedStyle();" /></td>
  93. </tr>
  94. <tr>
  95. <td class="column1"><label for="dir">{#table_dlg.langdir}</label></td>
  96. <td>
  97. <select id="dir" name="dir" style="width: 200px">
  98. <option value="">{#not_set}</option>
  99. <option value="ltr">{#table_dlg.ltr}</option>
  100. <option value="rtl">{#table_dlg.rtl}</option>
  101. </select>
  102. </td>
  103. </tr>
  104. <tr>
  105. <td class="column1"><label for="lang">{#table_dlg.langcode}</label></td>
  106. <td>
  107. <input id="lang" name="lang" type="text" value="" style="width: 200px" />
  108. </td>
  109. </tr>
  110. <tr>
  111. <td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td>
  112. <td>
  113. <table border="0" cellpadding="0" cellspacing="0">
  114. <tr>
  115. <td><input id="backgroundimage" name="backgroundimage" type="text" value="" style="width: 200px" onchange="changedBackgroundImage();" /></td>
  116. <td id="backgroundimagebrowsercontainer">&nbsp;</td>
  117. </tr>
  118. </table>
  119. </td>
  120. </tr>
  121. <tr>
  122. <td class="column1"><label for="bordercolor">{#table_dlg.bordercolor}</label></td>
  123. <td>
  124. <table border="0" cellpadding="0" cellspacing="0">
  125. <tr>
  126. <td><input id="bordercolor" name="bordercolor" type="text" value="" size="9" onchange="updateColor('bordercolor_pick','bordercolor');changedColor();" /></td>
  127. <td id="bordercolor_pickcontainer">&nbsp;</td>
  128. </tr>
  129. </table>
  130. </td>
  131. </tr>
  132. <tr>
  133. <td class="column1"><label for="bgcolor">{#table_dlg.bgcolor}</label></td>
  134. <td>
  135. <table border="0" cellpadding="0" cellspacing="0">
  136. <tr>
  137. <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
  138. <td id="bgcolor_pickcontainer">&nbsp;</td>
  139. </tr>
  140. </table>
  141. </td>
  142. </tr>
  143. </table>
  144. </fieldset>
  145. </div>
  146. </div>
  147. <div class="mceActionPanel">
  148. <div>
  149. <select id="action" name="action">
  150. <option value="cell">{#table_dlg.cell_cell}</option>
  151. <option value="row">{#table_dlg.cell_row}</option>
  152. <option value="all">{#table_dlg.cell_all}</option>
  153. </select>
  154. </div>
  155. <div style="float: left">
  156. <div><input type="submit" id="insert" name="insert" value="{#update}" /></div>
  157. </div>
  158. <div style="float: right">
  159. <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
  160. </div>
  161. </div>
  162. </form>
  163. </body>
  164. </html>