Editor encapsulating all form fields in Content Area
I am using PowerStore 4.5 and have added some additional admin pages for updating other content using the admin template. The attached screen shots demonstrate my issue. Everything works great in Firefox, Chrome, Safari. Form updates, inserts, etc. However in IE 7, the editor grabs all of the form fields (before and after) and puts them inside of the editor. Any ideas?
Here is the code for the body:
<div class="WADAUpdateContainer">
<?php if ($totalRows_WADAgeneral > 0) { // Show if recordset not empty ?>
<form action="general_Update.php?generalid=<?php echo(rawurlencode($row_WADAgeneral['generalid'])); ?>" method="post" name="WADAUpdateForm" id="WADAUpdateForm">
<div class="WADAHeader">Updating General Content</div>
<div class="WADAHorizLine"><img src="../../WA_DataAssist/images/_tx_.gif" alt="" height="1" width="1" border="0" /></div>
<table class="WADADataTable" cellpadding="0" cellspacing="0" border="0">
<tr>
<th class="WADADataTableHeader"><span class="WADADataTableCell">
<input name="hiddenField" type="hidden" id="hiddenField" value="<?php echo(str_replace('"', '"', $row_WADAgeneral['generalid'])); ?>">
<input name="name" type="hidden" id="name" value="<?php echo(str_replace('"', '"', $row_WADAgeneral['name'])); ?>">
</span>Content Name:</th>
<td class="WADADataTableCell"><?php echo $row_WADAgeneral['name']; ?></td>
</tr>
<tr>
<td valign="top" class="WADADataTableHeader">Details:</td>
<td class="WADADataTableCell"><?php
// The initial value to be displayed in the editor.
$CKEditor_initialValue = "".$row_WADAgeneral['content']."";
$CKEditor = new CKEditor();
$CKEditor->basePath = "../../webassist/ckeditor/";
$CKEditor_config = array();
$CKEditor_config["wa_preset_name"] = "Advanced Manager Enabled (custom)";
$CKEditor_config["wa_preset_file"] = "(custom)";
$CKEditor_config["width"] = "700px";
$CKEditor_config["height"] = "200px";
$CKEditor_config["skin"] = "kama";
$CKEditor_config["docType"] = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">";
$CKEditor_config["dialog_startupFocusTab"] = false;
$CKEditor_config["fullPage"] = false;
$CKEditor_config["tabSpaces"] = 4;
$CKEditor_config["filebrowserBrowseUrl"] = "../../webassist/kfm/index.php?uicolor=".urlencode(isset($CKEditor_config["uiColor"])?str_replace("#","#",$CKEditor_config["uiColor"]):"#eee")."&theme=webassist_v2&startup_folder=cms_files";
$CKEditor_config["toolbar"] = array(
array( 'Source','-','Preview'),
array( 'Cut','Copy','Paste','PasteText','PasteFromWord','-','SpellChecker'),
array( 'Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'),
array( 'Image','Flash','Table','HorizontalRule','Smiley', 'SpecialChar','PageBreak'),
('/'),
array( 'Bold','Italic','Underline','Strike','-','Subscript','Superscript'),
array( 'NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'),
array( 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'),
array( 'Link','Unlink','Anchor'),
('/'),
array( 'Format','Font','FontSize'),
array( 'TextColor','BGColor'),
array( 'Maximize','ShowBlocks','-','Gallery'));
$CKEditor_config["scayt_autoStartup"] = true;
$CKEditor_config["contentsLangDirection"] = "ltr";
$CKEditor_config["entities"] = false;
$CKEditor_config["pasteFromWordRemoveFontStyles"] = false;
$CKEditor_config["pasteFromWordRemoveStyles"] = false;
$CKEditor_config["contentsCss"] = array("../../webassist/themes/". ($WAGLOBAL_Page_Theme) ."/css/configurable.css");
$CKEditor_config["bodyClass"] = "ps_pod1";
$CKEditor->editor("Content", $CKEditor_initialValue, $CKEditor_config);
?></td>
</tr>
</table>
<p> </p>
<div class="WADAHorizLine"><img src="../../WA_DataAssist/images/_tx_.gif" alt="" height="1" width="1" border="0" /></div>
<div class="WADAButtonRow">
<table class="WADADataNavButtons" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="WADADataNavButtonCell" nowrap="nowrap"><input type="Submit" name="Update" id="Update" value="Update"></td>
<td class="WADADataNavButtonCell" nowrap="nowrap"><span id="Cancel" class="WADATextButton"><a href="general_Results.php">Cancel</a></span></td>
</tr>
</table>
<input name="WADAUpdateRecordID" type="hidden" id="WADAUpdateRecordID" value="<?php echo(rawurlencode($row_WADAgeneral['generalid'])); ?>">
</div>
</form>
<?php } // Show if recordset not empty ?>
<?php if ($totalRows_WADAgeneral == 0) { // Show if recordset empty ?>
<div class="WADANoResults">
<div class="WADANoResultsMessage">No record found.</div>
</div>
<?php } // Show if recordset empty ?>
</div>