[ Index ]
 

Code source de FCKeditor 2.4

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/_samples/lasso/ -> sample01.lasso (source)

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


Généré le : Sun Feb 25 15:28:05 2007 par Balluche grâce à PHPXref 0.7