[ Index ]
 

Code source de FCKeditor 2.4

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

title

Body

[fermer]

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

   1  <% 
   2   * FCKeditor - The text editor for Internet - http://www.fckeditor.net
   3   * Copyright (C) 2003-2007 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   * File Name: sampleposteddata.php
  22   *     This page lists the data posted by a form.
  23   * 
  24   * Version:  1.0 
  25   * Modified: 2005-07-01
  26   * 
  27   * File Authors: Soenke Freitag (www.afp-hosting.de)
  28   *         
  29  %>
  30  
  31  <html>
  32      <head>
  33          <title>FCKeditor - AFP Sample 1</title>
  34          <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  35          <meta name="robots" content="noindex, nofollow">
  36          <link href="../sample.css" rel="stylesheet" type="text/css" />
  37      </head>
  38      <body>
  39          <h1>FCKeditor - AFP - Sample 1</h1>
  40          This sample displays a normal HTML form with an FCKeditor with full features enabled.
  41          <hr>
  42          <form action="sampleposteddata.afp" method="post" target="_blank">
  43  <%
  44  
  45              sBasePath="../../../fckeditor/"        && Change this to your local path
  46  
  47              lcText=[This is some <strong>sample text</strong>. You are using ]
  48              lcText=lcText+[<a href='http://www.fckeditor.net/'>FCKeditor</a>.]
  49  
  50              oFCKeditor = CREATEOBJECT("FCKeditor")
  51              oFCKeditor.fckeditor("FCKeditor1")
  52              oFCKeditor.BasePath    = sBasePath 
  53              oFCKeditor.cValue    = lcText
  54  
  55              ? oFCKeditor.Create() 
  56  
  57  %>
  58              <br>
  59              <input type="submit" value="Submit">
  60          </form>
  61      </body>
  62  </html>


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