forked from science-ation/science-ation
- tweak the editor a bit
This commit is contained in:
parent
0d6c0610c3
commit
8737163202
@ -226,18 +226,26 @@ case 'dialog_edit':
|
||||
<td class="label"><?=i18n("From Address")?>:</td>
|
||||
<td class="input"><input type="text" name="from" size="60" value="<?=$from?>" /></td>
|
||||
</tr><tr>
|
||||
<td class="label"><?=i18n("Email Body")?>:</td>
|
||||
<td class="input"><?
|
||||
require_once("../fckeditor/fckeditor.php");
|
||||
$oFCKeditor = new FCKeditor("bodyhtml") ;
|
||||
$oFCKeditor->BasePath = "../fckeditor/";
|
||||
$oFCKeditor->ToolbarSet = 'sfiab';
|
||||
$oFCKeditor->Value = $bodyhtml;
|
||||
$oFCKeditor->Width="100%";
|
||||
$oFCKeditor->Height=300;
|
||||
$oFCKeditor->Create();
|
||||
// echo "<textarea name=\"bodyhtml\" rows=6 cols=80>=$bodyhtml</textarea>"
|
||||
<td colspan="2" class="input">
|
||||
<table width="100%"><tr><td width="85%"><?
|
||||
require_once("../fckeditor/fckeditor.php");
|
||||
$oFCKeditor = new FCKeditor("bodyhtml") ;
|
||||
$oFCKeditor->BasePath = "../fckeditor/";
|
||||
$oFCKeditor->ToolbarSet = 'sfiab';
|
||||
$oFCKeditor->Value = $bodyhtml;
|
||||
$oFCKeditor->Width="100%";
|
||||
$oFCKeditor->Height=300;
|
||||
$oFCKeditor->Create();
|
||||
// echo "<textarea name=\"bodyhtml\" rows=6 cols=80>=$bodyhtml</textarea>"
|
||||
?>
|
||||
</td><td width="15%">
|
||||
<select name="insert_field" size="20" style="height:300" >
|
||||
<option value="FAIRNAME">[EMAIL]</option>
|
||||
<option value="FAIRNAME">[FAIRNAME]</option>
|
||||
<option value="FAIRNAME">[NAME]</option>
|
||||
<option value="FAIRNAME">[PASSWORD]</option>
|
||||
</select>
|
||||
</td></tr></table>
|
||||
|
||||
</td>
|
||||
</tr></table>
|
||||
|
Loading…
Reference in New Issue
Block a user