/components/com_jce/editor/tiny_mce/plugins/table/tmpl/advanced.php

https://bitbucket.org/pastor399/newcastleunifc · PHP · 143 lines · 131 code · 3 blank · 9 comment · 2 complexity · f218026196fe7264fa45e17fa10bcc80 MD5 · raw file

  1. <?php
  2. /**
  3. * @package JCE
  4. * @copyright Copyright (c) 2009-2013 Ryan Demmer. All rights reserved.
  5. * @license GNU/GPL 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
  6. * JCE is free software. This version may have been modified pursuant
  7. * to the GNU General Public License, and as distributed it includes or
  8. * is derivative of works licensed under the GNU General Public License or
  9. * other free or open source software licenses.
  10. */
  11. defined('_JEXEC') or die('RESTRICTED');
  12. ?>
  13. <h4><?php echo WFText::_('WF_TABLE_ADVANCED_PROPS'); ?></h4>
  14. <table border="0" cellpadding="0" cellspacing="4">
  15. <tr>
  16. <td><label for="classlist" class="hastip" title="<?php echo WFText::_('WF_LABEL_CLASS_LIST_DESC'); ?>"><?php echo WFText::_('WF_LABEL_CLASS_LIST'); ?></label></td>
  17. <td>
  18. <select id="classlist" onchange="TableDialog.setClasses(this.value);">
  19. <option value=""><?php echo WFText::_('WF_OPTION_NOT_SET'); ?></option>
  20. </select>
  21. </td>
  22. </tr>
  23. <tr>
  24. <td><label for="title" class="hastip" title="<?php echo WFText::_('WF_LABEL_CLASSES_DESC'); ?>"><?php echo WFText::_('WF_LABEL_CLASSES'); ?></label></td>
  25. <td><input id="classes" type="text" value="" /></td>
  26. </tr>
  27. <tr>
  28. <td class="column1"><label for="id">
  29. <?php echo WFText::_('WF_TABLE_ID'); ?></label></td>
  30. <td>
  31. <input id="id" type="text" value="" class="advfield" />
  32. </td>
  33. </tr>
  34. <tr>
  35. <td class="column1"><label for="summary">
  36. <?php echo WFText::_('WF_TABLE_SUMMARY'); ?></label></td>
  37. <td>
  38. <input id="summary" type="text" value=""
  39. class="advfield" />
  40. </td>
  41. </tr>
  42. <tr>
  43. <td><label for="style">
  44. <?php echo WFText::_('WF_TABLE_STYLE'); ?></label></td>
  45. <td>
  46. <input type="text" id="style" value=""
  47. class="advfield" onchange="TableDialog.changedStyle();" />
  48. </td>
  49. </tr>
  50. <tr>
  51. <td class="column1"><label id="langlabel" for="lang">
  52. <?php echo WFText::_('WF_TABLE_LANGCODE'); ?></label></td>
  53. <td>
  54. <input id="lang" type="text" value="" class="advfield" />
  55. </td>
  56. </tr>
  57. <tr>
  58. <td class="column1"><label for="backgroundimage">
  59. <?php echo WFText::_('WF_TABLE_BGIMAGE'); ?></label></td>
  60. <td>
  61. <table border="0" cellpadding="0" cellspacing="0">
  62. <tr>
  63. <td>
  64. <input id="backgroundimage" type="text"
  65. value="" class="advfield browser"
  66. onchange="TableDialog.changedBackgroundImage();" />
  67. </td>
  68. </tr>
  69. </table></td>
  70. </tr>
  71. <?php if ($this->plugin->getContext() == 'table') :
  72. ?>
  73. <tr>
  74. <td class="column1"><label for="tframe">
  75. <?php echo WFText::_('WF_TABLE_FRAME'); ?></label></td>
  76. <td>
  77. <select id="tframe" class="advfield">
  78. <option value="">{#not_set}</option>
  79. <option value="void"><?php echo WFText::_('WF_TABLE_RULES_VOID'); ?></option>
  80. <option value="above"><?php echo WFText::_('WF_TABLE_RULES_ABOVE'); ?></option>
  81. <option value="below"><?php echo WFText::_('WF_TABLE_RULES_BELOW'); ?></option>
  82. <option value="hsides"><?php echo WFText::_('WF_TABLE_RULES_HSIDES'); ?></option>
  83. <option value="lhs"><?php echo WFText::_('WF_TABLE_RULES_LHS'); ?></option>
  84. <option value="rhs"><?php echo WFText::_('WF_TABLE_RULES_RHS'); ?></option>
  85. <option value="vsides"><?php echo WFText::_('WF_TABLE_RULES_VSIDES'); ?></option>
  86. <option value="box"><?php echo WFText::_('WF_TABLE_RULES_BOX'); ?></option>
  87. <option value="border"><?php echo WFText::_('WF_TABLE_RULES_BORDER'); ?></option>
  88. </select></td>
  89. </tr>
  90. <tr>
  91. <td class="column1"><label for="rules">
  92. <?php echo WFText::_('WF_TABLE_RULES'); ?></label></td>
  93. <td>
  94. <select id="rules" class="advfield">
  95. <option value="">{#not_set}</option>
  96. <option value="none"><?php echo WFText::_('WF_TABLE_FRAME_NONE'); ?></option>
  97. <option value="groups"><?php echo WFText::_('WF_TABLE_FRAME_GROUPS'); ?></option>
  98. <option value="rows"><?php echo WFText::_('WF_TABLE_FRAME_ROWS'); ?></option>
  99. <option value="cols"><?php echo WFText::_('WF_TABLE_FRAME_COLS'); ?></option>
  100. <option value="all"><?php echo WFText::_('WF_TABLE_FRAME_ALL'); ?></option>
  101. </select></td>
  102. </tr>
  103. <?php endif; ?>
  104. <tr>
  105. <td class="column1"><label for="dir">
  106. <?php echo WFText::_('WF_TABLE_LANGDIR'); ?></label></td>
  107. <td>
  108. <select id="dir" class="advfield">
  109. <option value="">{#not_set}</option>
  110. <option value="ltr"><?php echo WFText::_('WF_TABLE_LTR'); ?></option>
  111. <option value="rtl"><?php echo WFText::_('WF_TABLE_RTL'); ?></option>
  112. </select></td>
  113. </tr>
  114. <tr>
  115. <td class="column1"><label for="bordercolor">
  116. <?php echo WFText::_('WF_TABLE_BORDERCOLOR'); ?></label></td>
  117. <td>
  118. <table border="0" cellpadding="0" cellspacing="0">
  119. <tr>
  120. <td>
  121. <input id="bordercolor" type="text" value=""
  122. size="9" class="color" onchange="TableDialog.changedColor();"/>
  123. </td>
  124. </tr>
  125. </table></td>
  126. </tr>
  127. <tr>
  128. <td class="column1"><label for="bgcolor">
  129. <?php echo WFText::_('WF_TABLE_BGCOLOR'); ?></label></td>
  130. <td>
  131. <table border="0" cellpadding="0" cellspacing="0">
  132. <tr>
  133. <td>
  134. <input id="bgcolor" type="text" value="" size="9"
  135. class="color" onchange="TableDialog.changedColor();" />
  136. </td>
  137. </tr>
  138. </table></td>
  139. </tr>
  140. </table>