fcktemplates.xml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!--
  3. * FCKeditor - The text editor for Internet - http://www.fckeditor.net
  4. * Copyright (C) 2003-2010 Frederico Caldeira Knabben
  5. *
  6. * == BEGIN LICENSE ==
  7. *
  8. * Licensed under the terms of any of the following licenses at your
  9. * choice:
  10. *
  11. * - GNU General Public License Version 2 or later (the "GPL")
  12. * http://www.gnu.org/licenses/gpl.html
  13. *
  14. * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
  15. * http://www.gnu.org/licenses/lgpl.html
  16. *
  17. * - Mozilla Public License Version 1.1 or later (the "MPL")
  18. * http://www.mozilla.org/MPL/MPL-1.1.html
  19. *
  20. * == END LICENSE ==
  21. *
  22. * This is the sample templates definitions file. It makes the "templates"
  23. * command completely customizable.
  24. *
  25. * See FCKConfig.TemplatesXmlPath in the configuration file.
  26. -->
  27. <Templates imagesBasePath="fck_template/images/">
  28. <Template title="Image and Title" image="template1.gif">
  29. <Description>One main image with a title and text that surround the image.</Description>
  30. <Html>
  31. <![CDATA[
  32. <img style="MARGIN-RIGHT: 10px" height="100" alt="" width="100" align="left"/>
  33. <h3>Type the title here</h3>
  34. Type the text here
  35. ]]>
  36. </Html>
  37. </Template>
  38. <Template title="Strange Template" image="template2.gif">
  39. <Description>A template that defines two colums, each one with a title, and some text.</Description>
  40. <Html>
  41. <![CDATA[
  42. <table cellspacing="0" cellpadding="0" width="100%" border="0">
  43. <tbody>
  44. <tr>
  45. <td width="50%">
  46. <h3>Title 1</h3>
  47. </td>
  48. <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>
  49. <td width="50%">
  50. <h3>Title 2</h3>
  51. </td>
  52. </tr>
  53. <tr>
  54. <td>Text 1</td>
  55. <td>&nbsp;</td>
  56. <td>Text 2</td>
  57. </tr>
  58. </tbody>
  59. </table>
  60. More text goes here.
  61. ]]>
  62. </Html>
  63. </Template>
  64. <Template title="Text and Table" image="template3.gif">
  65. <Description>A title with some text and a table.</Description>
  66. <Html>
  67. <![CDATA[
  68. <table align="left" width="80%" border="0" cellspacing="0" cellpadding="0"><tr><td>
  69. <h3>Title goes here</h3>
  70. <p>
  71. <table style="FLOAT: right" cellspacing="0" cellpadding="0" width="150" border="1">
  72. <tbody>
  73. <tr>
  74. <td align="center" colspan="3"><strong>Table title</strong></td>
  75. </tr>
  76. <tr>
  77. <td>&nbsp;</td>
  78. <td>&nbsp;</td>
  79. <td>&nbsp;</td>
  80. </tr>
  81. <tr>
  82. <td>&nbsp;</td>
  83. <td>&nbsp;</td>
  84. <td>&nbsp;</td>
  85. </tr>
  86. <tr>
  87. <td>&nbsp;</td>
  88. <td>&nbsp;</td>
  89. <td>&nbsp;</td>
  90. </tr>
  91. <tr>
  92. <td>&nbsp;</td>
  93. <td>&nbsp;</td>
  94. <td>&nbsp;</td>
  95. </tr>
  96. </tbody>
  97. </table>
  98. Type the text here</p>
  99. </td></tr></table>
  100. ]]>
  101. </Html>
  102. </Template>
  103. </Templates>