sample01.lasso 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. [//lasso
  2. /*
  3. * FCKeditor - The text editor for Internet - http://www.fckeditor.net
  4. * Copyright (C) 2003-2009 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. * Sample page.
  23. */
  24. ]
  25. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  26. <html>
  27. <head>
  28. <title>FCKeditor - Sample</title>
  29. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  30. <meta name="robots" content="noindex, nofollow">
  31. <link href="../sample.css" rel="stylesheet" type="text/css" />
  32. </head>
  33. <body>
  34. <h1>FCKeditor - Lasso - Sample 1</h1>
  35. This sample displays a normal HTML form with an FCKeditor with full features
  36. enabled.
  37. <hr>
  38. <form action="sampleposteddata.lasso" method="post" target="_blank">
  39. [//lasso
  40. include('../../fckeditor.lasso');
  41. var('basepath') = response_filepath->split('_samples')->get(1);
  42. var('myeditor') = fck_editor(
  43. -instancename='FCKeditor1',
  44. -basepath=$basepath,
  45. -initialvalue='<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>'
  46. );
  47. $myeditor->create;
  48. ]
  49. <br>
  50. <input type="submit" value="Submit">
  51. </form>
  52. </body>
  53. </html>