Removing fck calls see #5875

1.10.x
Julio Montoya 13 years ago
parent 934d6df1e4
commit ceedff5d27
  1. 13
      main/exercice/hotspot_admin.inc.php

@ -827,18 +827,7 @@ if ($modifyAnswers) {
<td valign="top" align="left">
<input type="text" name="reponse[<?php echo $i; ?>]" value="<?php echo Security::remove_XSS($reponse[$i]); ?>" size="45" />
</td>
<?php
$oFCKeditor = new FCKeditor("comment[$i]");
$content = $comment[$i];
$oFCKeditor->ToolbarSet = 'TestProposedAnswer';
$oFCKeditor->Config['ToolbarStartExpanded'] = 'false';
$oFCKeditor->Width = '100%';
$oFCKeditor->Height = '100';
$oFCKeditor->Value = $content;
$return = $oFCKeditor->CreateHtml();
?>
<textarea name="<?php echo "comment[$i]"; ?>"><?php echo $content; ?></textarea>
<td>&nbsp;</td>
<td align="left" ><?php echo $return; ?></td>
<?php

Loading…
Cancel
Save