mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Add support for choosing HTML editor mode in module config
This commit is contained in:
@@ -26,6 +26,7 @@ no_crlf=0
|
|||||||
sync_perms=0700
|
sync_perms=0700
|
||||||
show_mail=0
|
show_mail=0
|
||||||
html_edit=2
|
html_edit=2
|
||||||
|
html_edit_mode=advanced
|
||||||
check_mod=1
|
check_mod=1
|
||||||
spam_buttons=mail
|
spam_buttons=mail
|
||||||
show_delall=0
|
show_delall=0
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ delete_warn=Ask for confirmation before deleting?,10,y-Yes,n-No,For mbox files l
|
|||||||
view_html=Show message body as,4,0-Always plain text,1-Text if possible, HTML otherwise,2-HTML if possible, text otherwise,3-Convert HTML to plain text
|
view_html=Show message body as,4,0-Always plain text,1-Text if possible, HTML otherwise,2-HTML if possible, text otherwise,3-Convert HTML to plain text
|
||||||
view_images=Show inline images by default?,1,0-Yes, client fetched,3-Yes, server fetched,1-No external images,2-No
|
view_images=Show inline images by default?,1,0-Yes, client fetched,3-Yes, server fetched,1-No external images,2-No
|
||||||
html_edit=Use HTML editor for composing?,4,2-Always,1-When replying to HTML email,0-Never
|
html_edit=Use HTML editor for composing?,4,2-Always,1-When replying to HTML email,0-Never
|
||||||
|
html_edit_mode=HTML editor toolbar mode?,4,basic-Basic,simple-Simple,advanced-Advanced,expert-Expert
|
||||||
html_quote=HTML quoting mode,1,1-Message below <hr>,0-Message inside <blockquote>
|
html_quote=HTML quoting mode,1,1-Message below <hr>,0-Message inside <blockquote>
|
||||||
log_read=Record the reading of mail in the Webmin Actions Log?,1,1-Yes,0-No
|
log_read=Record the reading of mail in the Webmin Actions Log?,1,1-Yes,0-No
|
||||||
bcc_to=Bcc: sent messages to,0
|
bcc_to=Bcc: sent messages to,0
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
allowed=wrap_width,wrap_compose,perpage,show_to,top_buttons,arrows,show_delall,show_sent,fwd_mode,delete_warn,delete_warn_free,view_html,html_edit,html_quote,log_read,show_body,open_mode,link_mode,date_fmt,date_tz_def,date_tz
|
allowed=wrap_width,wrap_compose,perpage,show_to,top_buttons,arrows,show_delall,show_sent,fwd_mode,delete_warn,delete_warn_free,view_html,html_edit,html_edit_mode,html_quote,log_read,show_body,open_mode,link_mode,date_fmt,date_tz_def,date_tz
|
||||||
@@ -450,7 +450,7 @@ $quote = &iframe_quote($quote);
|
|||||||
# Get HTML editor and replies
|
# Get HTML editor and replies
|
||||||
my $html_editor = &html_editor(
|
my $html_editor = &html_editor(
|
||||||
{ textarea => 'body',
|
{ textarea => 'body',
|
||||||
type => 'advanced',
|
type => $config{'html_edit_mode'} || 'advanced',
|
||||||
quote => length($quote),
|
quote => length($quote),
|
||||||
after =>
|
after =>
|
||||||
{ editor => $quote }
|
{ editor => $quote }
|
||||||
|
|||||||
Reference in New Issue
Block a user