Proszę bardzo
Pierwsze pole FCKeditor
- BODY
Kod
echo "<tr>\n<td valign='top' width='100' class='tbl'>".$locale['425']."</td>\n";
echo "<td class='tbl'><textarea name='body' cols='95' rows='10' class='textbox' style='width:100%'>".$body."</textarea></td>\n";
echo "</tr>\n";
if (!$settings['tinymce_enabled']) {
echo "<tr>\n<td class='tbl'></td>\n<td class='tbl'>\n";
echo display_html("inputform", "body", true, true, true, IMAGES_N);
echo "</td>\n</tr>\n";
}
Zamieniłem na:
Kod
echo "<tr>\n<td valign='top' width='100' class='tbl'>".$locale['425']."</td>\n";
echo "<td class='tbl'><textarea name='body' cols='95' rows='10' class='textbox' style='width:100%'>".$body."</textarea></td>\n";
echo "</tr>\n";
if ($settings['tinymce_enabled'] == 1) {echo "
<script language='javascript' type='text/javascript' src='".INCLUDES."jscripts/fckeditor/fckeditor.js'></script>
<script type='text/javascript'>
var oFCKeditor = new FCKeditor('body');
oFCKeditor.ToolbarSet='Default';
oFCKeditor.BasePath='".INCLUDES."jscripts/fckeditor/';
oFCKeditor.ReplaceTextarea();
</script>\n ";
}
Drugie pole FCKeditor
- BODY2
Kod
echo "<tr>\n<td valign='top' width='100' class='tbl'>".$locale['426']."</td>\n";
echo "<td class='tbl'><textarea name='body2' cols='95' rows='10' class='textbox' style='width:100%'>".$body2."</textarea></td>\n";
echo "</tr>\n";
if (!$settings['tinymce_enabled']) {
echo "<tr>\n<td class='tbl'></td>\n<td class='tbl'>\n";
echo display_html("inputform", "body2", true, true, true, IMAGES_N);
echo "</td>\n</tr>\n";
}
Zamieniłem na
Kod
echo "<tr>\n<td valign='top' width='100' class='tbl'>".$locale['426']."</td>\n";
echo "<td class='tbl'><textarea name='body2' cols='95' rows='10' class='textbox' style='width:100%'>".$body2."</textarea></td>\n";
echo "</tr>\n";
if ($settings['tinymce_enabled'] == 1) {echo "
<script language='javascript' type='text/javascript' src='".INCLUDES."jscripts/fckeditor/fckeditor.js'></script>
<script type='text/javascript'>
var oFCKeditor = new FCKeditor('body2');
oFCKeditor.ToolbarSet='Default';
oFCKeditor.BasePath='".INCLUDES."jscripts/fckeditor/';
oFCKeditor.ReplaceTextarea();
</script>\n ";
}