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.

161 lines
5.9 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.row_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/row.js"></script>
  10. <link href="css/row.css" rel="stylesheet" type="text/css" />
  11. <base target="_self" />
  12. </head>
  13. <body id="tablerow" style="display: none">
  14. <form onsubmit="updateAction();return false;">
  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="rowtype">{#table_dlg.rowtype}</label></td>
  28. <td class="col2">
  29. <select id="rowtype" name="rowtype" class="mceFocus">
  30. <option value="thead">{#table_dlg.thead}</option>
  31. <option value="tbody">{#table_dlg.tbody}</option>
  32. <option value="tfoot">{#table_dlg.tfoot}</option>
  33. </select>
  34. </td>
  35. </tr>
  36. <tr>
  37. <td><label for="align">{#table_dlg.align}</label></td>
  38. <td class="col2">
  39. <select id="align" name="align">
  40. <option value="">{#not_set}</option>
  41. <option value="center">{#table_dlg.align_middle}</option>
  42. <option value="left">{#table_dlg.align_left}</option>
  43. <option value="right">{#table_dlg.align_right}</option>
  44. </select>
  45. </td>
  46. </tr>
  47. <tr>
  48. <td><label for="valign">{#table_dlg.valign}</label></td>
  49. <td class="col2">
  50. <select id="valign" name="valign">
  51. <option value="">{#not_set}</option>
  52. <option value="top">{#table_dlg.align_top}</option>
  53. <option value="middle">{#table_dlg.align_middle}</option>
  54. <option value="bottom">{#table_dlg.align_bottom}</option>
  55. </select>
  56. </td>
  57. </tr>
  58. <tr id="styleSelectRow">
  59. <td><label for="class">{#class_name}</label></td>
  60. <td class="col2">
  61. <select id="class" name="class" class="mceEditableSelect">
  62. <option value="" selected="selected">{#not_set}</option>
  63. </select>
  64. </td>
  65. </tr>
  66. <tr>
  67. <td><label for="height">{#table_dlg.height}</label></td>
  68. <td class="col2"><input name="height" type="text" id="height" value="" size="4" maxlength="4" onchange="changedSize();" /></td>
  69. </tr>
  70. </table>
  71. </fieldset>
  72. </div>
  73. <div id="advanced_panel" class="panel">
  74. <fieldset>
  75. <legend>{#table_dlg.advanced_props}</legend>
  76. <table border="0" cellpadding="0" cellspacing="4">
  77. <tr>
  78. <td class="column1"><label for="id">{#table_dlg.id}</label></td>
  79. <td><input id="id" name="id" type="text" value="" style="width: 200px" /></td>
  80. </tr>
  81. <tr>
  82. <td><label for="style">{#table_dlg.style}</label></td>
  83. <td><input type="text" id="style" name="style" value="" style="width: 200px;" onchange="changedStyle();" /></td>
  84. </tr>
  85. <tr>
  86. <td class="column1"><label for="dir">{#table_dlg.langdir}</label></td>
  87. <td>
  88. <select id="dir" name="dir" style="width: 200px">
  89. <option value="">{#not_set}</option>
  90. <option value="ltr">{#table_dlg.ltr}</option>
  91. <option value="rtl">{#table_dlg.rtl}</option>
  92. </select>
  93. </td>
  94. </tr>
  95. <tr>
  96. <td class="column1"><label for="lang">{#table_dlg.langcode}</label></td>
  97. <td>
  98. <input id="lang" name="lang" type="text" value="" style="width: 200px" />
  99. </td>
  100. </tr>
  101. <tr>
  102. <td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td>
  103. <td>
  104. <table border="0" cellpadding="0" cellspacing="0">
  105. <tr>
  106. <td><input id="backgroundimage" name="backgroundimage" type="text" value="" style="width: 200px" onchange="changedBackgroundImage();" /></td>
  107. <td id="backgroundimagebrowsercontainer">&nbsp;</td>
  108. </tr>
  109. </table>
  110. </td>
  111. </tr>
  112. <tr>
  113. <td class="column1"><label for="bgcolor">{#table_dlg.bgcolor}</label></td>
  114. <td>
  115. <table border="0" cellpadding="0" cellspacing="0">
  116. <tr>
  117. <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
  118. <td id="bgcolor_pickcontainer">&nbsp;</td>
  119. </tr>
  120. </table>
  121. </td>
  122. </tr>
  123. </table>
  124. </fieldset>
  125. </div>
  126. </div>
  127. <div class="mceActionPanel">
  128. <div>
  129. <select id="action" name="action">
  130. <option value="row">{#table_dlg.row_row}</option>
  131. <option value="odd">{#table_dlg.row_odd}</option>
  132. <option value="even">{#table_dlg.row_even}</option>
  133. <option value="all">{#table_dlg.row_all}</option>
  134. </select>
  135. </div>
  136. <div style="float: left">
  137. <div><input type="submit" id="insert" name="insert" value="{#update}" /></div>
  138. </div>
  139. <div style="float: right">
  140. <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
  141. </div>
  142. </div>
  143. </form>
  144. </body>
  145. </html>