Version: 1.8
Type: Full Script
Category: File Management
License: WebSite Only
Description: This code shows you how to insert Ektron’s WYSIWYG editor, eWebEditPro, into your own PHP Web page
<!-- Copyright 2000, Ektron Inc. Amherst NH Latest Revision: 12-Dec-00 --> <html> <head> <title>eWebEditPro</title> <?php include("../../../ewebeditpro.php"); ?> </head> <body> <script language="JavaScript1.2"> <!-- if (typeof eWebEditPro != "object") { var sMsg = "Failed to create the eWebEditPro JavaScript object."; sMsg += "nMost likely the path (eWebEditProPath) in file ewebeditpro.js is not correct."; alert(sMsg); } //--> </script> <font face="Arial" size="3"> This is a sample web page with:<br> <ul> <li>One eWebEditPro editor</li> </ul></font> <form name="frmMain"> <?php $WDDX = "<wddxPacket version='0.9'><header></header><data><recordset rowCount='1' fieldNames='FONT_FACE'><field name='FONT_FACE'><string>Verdana</string></field></recordset></data></wddxPacket>" ?> <?php echo eWebEditProEditor("MyContent2", 220, "75%", "This is <b>eWebEditPro</b>",$WDDX) ?> </body> </html>