|
|
'0', 'text' => TEXT_NONE),
array('id' => '1', 'text' => TEXT_HTML_AREA));
echo TEXT_EDITOR_INFO . zen_draw_form('set_editor_form', FILENAME_MAIL, '', 'get') . ' ' . zen_draw_pull_down_menu('reset_editor', $editor_array, ($_SESSION['html_editor_preference_status'] == 'HTMLAREA' ? '1' : '0'), 'onChange="this.form.submit();"') .
zen_hide_session_id() .
zen_draw_hidden_field('action', 'set_editor') .
'';
?>
|
|
| |
| |
| |
|
'; ?>
|
|
', "@CRLF", $message_preview);
$message_preview = str_replace('', '@CRLF', $message_preview);
echo '' . str_replace('@CRLF', ' ', htmlspecialchars(stripslashes(strip_tags($message_preview))) ) . '';
?>
|
|
|
|
' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . ' ' . zen_image_submit('button_send_mail.gif', IMAGE_SEND_EMAIL); ?> |
|
|
|
|
|
|
|
|
|
|
|
|
|
Value = stripslashes($_POST['message_html']) ;
$oFCKeditor->CreateFCKeditor( 'message_html', '97%', '350' ) ; //instanceName, width, height (px or %)
} else { // using HTMLAREA or just raw "source"
if (EMAIL_USE_HTML == 'true') {
echo zen_draw_textarea_field('message_html', 'soft', '100%', '25', stripslashes($_POST['message_html']), 'id="message_html"');
}
} ?>
|
|
|
|
|
'', 'text' => "admin-attachments");
while ($file = $dir->read()) {
if (is_dir(DIR_WS_ADMIN_ATTACHMENTS . $file) && strtoupper($file) != 'CVS' && $file != "." && $file != "..") {
$dir_info[] = array('id' => $file . '/', 'text' => $file);
}
}
?>
|
' . stripslashes($_POST['upload_file']) . zen_draw_hidden_field('prev_upload_file', stripslashes( $_POST['upload_file']) ); ?>
|
|
'', 'text' => "(none)");
while ($file = $dir->read()) {
if (is_file(DIR_WS_ADMIN_ATTACHMENTS . $file) && strtoupper($file) != 'CVS' && $file != "." && $file != "..") {
$file_list[] = array('id' => $file , 'text' => $file);
}
}
?>
|
|
|
| ' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . ''; ?> |
|
|
|