sample01.afp 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <%
  2. * FCKeditor - The text editor for Internet - http://www.fckeditor.net
  3. * Copyright (C) 2003-2009 Frederico Caldeira Knabben
  4. *
  5. * == BEGIN LICENSE ==
  6. *
  7. * Licensed under the terms of any of the following licenses at your
  8. * choice:
  9. *
  10. * - GNU General Public License Version 2 or later (the "GPL")
  11. * http://www.gnu.org/licenses/gpl.html
  12. *
  13. * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
  14. * http://www.gnu.org/licenses/lgpl.html
  15. *
  16. * - Mozilla Public License Version 1.1 or later (the "MPL")
  17. * http://www.mozilla.org/MPL/MPL-1.1.html
  18. *
  19. * == END LICENSE ==
  20. *
  21. * This page lists the data posted by a form.
  22. *
  23. %>
  24. <html>
  25. <head>
  26. <title>FCKeditor - AFP Sample 1</title>
  27. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  28. <meta name="robots" content="noindex, nofollow">
  29. <link href="../sample.css" rel="stylesheet" type="text/css" />
  30. </head>
  31. <body>
  32. <h1>FCKeditor - AFP - Sample 1</h1>
  33. This sample displays a normal HTML form with an FCKeditor with full features enabled.
  34. <hr>
  35. <form action="sampleposteddata.afp" method="post" target="_blank">
  36. <%
  37. sBasePath="../../../fckeditor/" && Change this to your local path
  38. lcText=[<p>This is some <strong>sample text</strong>. You are using ]
  39. lcText=lcText+[<a href='http://www.fckeditor.net/'>FCKeditor</a>.]
  40. oFCKeditor = CREATEOBJECT("FCKeditor")
  41. oFCKeditor.fckeditor("FCKeditor1")
  42. oFCKeditor.BasePath = sBasePath
  43. oFCKeditor.cValue = lcText
  44. ? oFCKeditor.Create()
  45. %>
  46. <br>
  47. <input type="submit" value="Submit">
  48. </form>
  49. </body>
  50. </html>