# ~options.htm compose message file ||ifequal||sid||0|| auth_error('||auth_fail_reason||'); ||else||
||define||star||*||
$$st_opt_tab_gen$$
$$st_opt_tab_filt$$
||if(and(istrue(allow_spam),istrue(allow_friends)))||
$$st_opt_tab_spam$$
||endif|| ||if_not(newlook_ui)||
$$st_opt_tab_layout$$
||endif||
$$st_opt_tab_custom$$
$$st_opt_tab_extras$$
$$st_opt_tab_adv$$
||iftrue(developer_enable)||
DEVELOPER
||endif||

$$st_opt_lang$$||star||: | $$st_opt_lang_i$$
$$st_opt_reply$$ | ||iftrue(lock_name_auth)|| ||web_encode(pref_reply)|| ||else|| $$st_opt_reply_i$$ ||endif||
$$st_opt_tzone$$ | ||if(and(pref_no_auto_timezone,istrue(pref_no_auto_timezone)))|| $$st_opt_tzone_i1$$ ||else|| ||pref_timezone|| $$st_opt_tzone_i2$$ ||endif||
$$st_opt_sig$$||star||: |
||undef||done_some|| ||ifdef||session_last_sid||
$$st_opt_actv$$ $$st_opt_actv_i1$$ | ||datetime_long_gmt_lang(gmt_offset(session_last_time))|| $$st_opt_actv_i2$$ ||session_last_ip||
||define||done_some||true|| ||endif|| ||if(istrue(allow_pass))||
$$st_opt_pass$$ |
||define||done_some||true|| ||endif|| ||ifdef||done_some||
||endif|| ||undef||done_some||
$$st_opt_ximg$$ |
$$st_opt_snd$$ |
||if(istrue(new_calendar))||
$$st_opt_alert_cal$$ |
||endif||
$$st_opt_alert_eml$$ |
$$st_opt_resz$$ | $$st_opt_resz_i$$
$$st_opt_spell$$ | ||tcmd_setup_spellcheck_languages||

||if(not(istrue(consolidated_prefs_disable)))||
||endif||
||$((st_opt_refresh),star)||
#$$st_opt_spam_info1$$ $$st_opt_spam_info2$$ #$$st_opt_spam_info3$$
$$st_opt_spam_info4$$
# ||define||hide_filtering||true||

||iftrue(allow_fwd)||
$$st_opt_resp$$ $$st_opt_resp_i$$ | $$st_opt_configure$$
||define||hide_filtering||false|| ||endif|| ||if(and(istrue(allow_fwd),istrue(allow_fwdonly)))||
$$st_opt_fwd$$ $$st_opt_fwd_i$$ | $$st_opt_configure$$
||define||hide_filtering||false|| ||endif|| ||iftrue(allow_exceptions)||
$$st_opt_filt$$ $$st_opt_filt_i$$ | $$st_opt_configure$$
||define||hide_filtering||false|| ||endif|| ||iftrue(allow_friends)||
$$st_opt_white$$ $$st_opt_white_i$$ | $$st_opt_configure$$
||define||hide_filtering||false|| ||endif|| ||iftrue(allow_spam)||
$$st_opt_spam$$ $$st_opt_spam_i$$ | $$st_opt_configure$$
||define||hide_filtering||false|| ||endif|| ||iftrue(allow_friends)||
$$st_opt_chal$$ $$st_opt_chal_i$$ | $$st_opt_configure$$
||define||hide_filtering||false|| ||endif||
$$st_opt_fwdlate$$ $$st_opt_fwdlate_i$$ | $$st_opt_configure$$

||if(or(istrue(allow_spam),istrue(allow_friends)))|| $$st_opt_spam_info1$$ $$st_opt_spam_info2$$ ||endif||
$$st_opt_raw$$
#Access to raw user.cgi interface (temporary): dialog | popup window.
$$st_opt_imap_friends$$
\ # cf user_cgi_dlg
$$st_opt_layout$$

$$st_opt_win$$||star||: | $$st_opt_win_popup$$ $$st_opt_win_tabbed$$ $$st_opt_win_inline$$
$$st_opt_prv$$||star||: | $$st_opt_prv_wide$$ $$st_opt_prv_under$$ $$st_opt_prv_none$$
$$st_opt_mode$$||star||: |
| $$st_opt_mode_i$$ $$st_opt_mode_i2$$

||if(not(istrue(consolidated_prefs_disable)))||
||endif||
||$((st_opt_refresh),star)||
$$st_opt_cust$$
$$st_opt_cust_tb$$ $$st_opt_cust_tb_i$$
$$st_opt_cust_tb_msg$$

$$st_opt_cust_gr1$$\ | $$st_cmd_reply$$\ | $$st_cmd_replyall$$\ | $$st_cmd_forward$$\ | $$st_cmd_forwardatt$$\
$$st_opt_cust_gr2$$\ | ||web_encode($((st_cmd_movedone)))||\ | $$st_cmd_delmsg$$\ ||iftrue(allow_spam)||\ | $$st_cmd_spam$$ / $$st_cmd_block$$\ | $$st_cmd_notspam$$\ ||else||\ | \ | \ ||endif||\
$$st_opt_cust_gr3$$\ | $$st_cmd_moreactions$$\ | \ | \ | \
$$st_opt_cust_gr4$$\ | $$st_cmd_compose$$\ | $$st_cmd_cache$$\ | $$st_cmd_move$$\ | $$st_cmd_print$$\
\ ||ifndef||labels_disable|| | $$st_cmd_label$$\ ||endif|| | $$st_cmd_new_note$$\ | $$st_cmd_redirect$$\ ||ifdef||labels_disable|| | \ ||endif|| | ||iftrue(pref_devt_mode)|| $$st_cmd_test$$ ||else|| ||endif||\

$$st_opt_cust_fixed$$
||if(not(istrue(consolidated_prefs_disable)))||
||endif||
$$st_opt_cust_shortcuts$$ $$st_opt_cust_kb$$

$$st_opt_kbbox$$ |
$$st_opt_kbbox_sel1$$ | $$st_opt_kbbox_sel1_i$$
$$st_opt_kbbox_seln$$ | $$st_opt_kbbox_seln_i1$$
| $$st_opt_kbbox_seln_i2$$
| $$st_opt_kbbox_seln_i3$$
$$st_opt_kbbox_unsel$$ | $$st_opt_kbbox_unsel_i$$
$$st_opt_kbbox_open$$ | $$st_opt_kbbox_open_i$$
$$st_cmd_composenew$$ | N
$$st_cmd_reply$$ | R
$$st_cmd_replyall$$ | A
$$st_cmd_forward$$ | F
$$st_cmd_forwardatt$$ | G
$$st_opt_kbbox_open2$$ | $$st_opt_kbbox_open2_i1$$ $$st_opt_kbbox_open2_i2$$
$$st_cmd_delmsg2$$ | ||st_opt_key_delbksp||
$$st_opt_kbbox_move1$$ | M $$st_opt_kbbox_move1_i$$
$$st_opt_kbbox_move2$$ | = ||ifndef||labels_disable||
$$st_opt_kbbox_lbl$$ | L $$st_opt_kbbox_lbl_i$$
$$st_opt_kbbox_unlbl$$ | $$st_opt_key_sl$$ $$st_opt_kbbox_unlbl_i$$ ||endif||
$$st_opt_kbbox_search$$ | $$st_opt_key_search$$
$$st_opt_kbbox_cache1$$ | $$st_opt_key_cz$$
$$st_opt_kbbox_cache2$$ | $$st_opt_key_csz$$
$$st_opt_kbbox_nosel1$$
$$st_opt_kbbox_nosel2$$ | $$st_opt_key_optmsg$$
$$st_opt_kbbox_nosel3$$ | $$st_opt_key_optfld$$ $$st_opt_kbbox_nosel3b$$
$$st_opt_kbmsg$$ |
$$st_opt_kbmsg_close$$ | $$st_opt_key_esc$$
$$st_opt_kbedit$$ |
$$st_opt_kbedit_send$$ | $$st_opt_key_csenter$$
$$st_opt_kbedit_discard$$ | $$st_opt_key_esc$$

$$st_opt_extras$$

$$st_opt_legal$$ $$st_opt_legal_i$$ | $$st_opt_search$$

$$st_opt_notify$$ $$st_opt_notify_i$$ | $$st_opt_configure$$

$$st_opt_lists$$ $$st_opt_lists_i$$ | $$st_opt_configure$$

$$st_opt_import$$ $$st_opt_import_i$$ | $$st_opt_configure$$

$$st_opt_aliases$$ $$st_opt_aliases_i$$ | $$st_opt_configure$$

$$st_opt_cleanup$$ $$st_opt_cleanup_i$$ | $$st_opt_configure$$

$$st_opt_detach$$ $$st_opt_detach_i$$ | $$st_opt_configure$$

$$st_opt_adv$$

$$st_opt_datetime$$ | $$st_opt_date$$ $$st_opt_time$$
$$st_opt_donemsg$$ | $$st_opt_donemsg_lst$$ $$st_opt_donemsg_msg$$
#
Message edit mode: | # Only html supported currently
$$st_opt_menusticky$$ | $$st_opt_menusticky_i$$
$$st_opt_sort$$ | $$st_opt_sort_i$$
$$st_opt_contact_sort$$ | $$st_opt_contact_sort_i$$
$$st_opt_autologout$$ | ||iftrue(autologout_enforced)|| $$st_opt_autologout_3$$ ||else|| ||endif|| ||$((st_opt_autologout_i),autologout_duration)||
||if(not(istrue(snippets_disable)))|| # ||if(istrue(snippets_enable))||
$$st_opt_snippets$$ | $$st_opt_snippets_wsl$$ $$st_opt_snippets_i$$
# ||else|| # # # ||endif|| ||else|| ||endif||
$$st_opt_rrcpt$$ | $$st_opt_rrcpt_i$$ $$st_opt_rrcpt_local$$ $$st_opt_rrcpt_whitelist$$ $$st_opt_rrcpt_unknown$$
$$st_opt_attach$$ |
$$st_opt_purge$$ |
||if(equal(https_required,(login_only)))||
$$st_opt_https$$ | $$st_opt_https_i$$
||else|| ||endif|| ||ifndef||context_disable||
$$st_opt_widehist$$ | $$st_opt_widehist_i$$
||endif|| ||if(not(istrue(consolidated_prefs_disable)))||
||endif||
||iftrue(lock_options_advanced)|| ||define||smarts_class||class="nosmart"|| ||else|| ||undef||smarts_class|| ||endif||
$$st_opt_nosmart1$$ $$st_opt_nosmart2$$
$$st_opt_nocompress$$ | $$st_opt_nocompress_i$$
$$st_opt_nocache$$ | $$st_opt_nocache_i$$
$$st_opt_noautoadd$$ | $$st_opt_noautoadd_i$$
$$st_opt_noshort$$ | $$st_opt_noshort_i$$
$$st_opt_norcpt$$ | $$st_opt_norcpt_i$$
$$st_opt_nofilter$$ | $$st_opt_nofilter_i$$
$$st_opt_nocolor$$ | $$st_opt_nocolor_i$$
$$st_opt_nozone$$ | $$st_opt_nozone_i$$
$$st_opt_nohide$$ | $$st_opt_nohide_i$$
$$st_opt_inline$$ | $$st_opt_inline_i$$
$$st_opt_nohtml$$||star||: | $$st_opt_nohtml_i$$
$$st_opt_clean_resend$$ | $$st_opt_clean_resend_i$$
$$st_opt_imap$$ | $$st_opt_imap_i$$
$$st_opt_show_inline$$ | $$st_opt_show_inline_i$$
$$st_opt_sendmode$$ | $$st_opt_sendmode_i$$
#
Folders to search : | # Recommended to use "Recent" so searches are responsive and you still find most messages
$$st_opt_reindex$$ |
| $$st_opt_reindex_i$$
$$st_opt_version$$ | ||surgemail_version||

||if(not(istrue(consolidated_prefs_disable)))||
||endif||
||$((st_opt_refresh),star)||
Developer only preferences

Enable development mode||star||: | Provides debug pane and is somewhat slower
Extension customisation||star||: | Makes troubleshooting easier
Disable 'new mail' checks||star||: | Disable newmail checks to make troubleshooting easier
Disable contact display: | Dont load any of the surgeweb contacts - for speed testing + trouble shooting only
Show unimplemented features||star||||star||: | Show buttons etc which are planned but not yet implemented
Default Colouring:||star|| | Temporary comparison
Running version: | ||surgemail_version||

||if(not(istrue(consolidated_prefs_disable)))||
||endif||
Warning: Changing any setting with ||star|| requires a full page refresh / relogin after saving.
Warning: Changing any setting with ||star||||star|| requires a full cache clear after saving.
Test area: a_parameter ||a_parameter||
Test
panel_show_old("options",options_resize); var opt={}; ||iftrue(hide_filtering)|| opt.hide_filtering=true; ||endif|| ||iftrue(lock_options_basic)|| opt.lock_options_basic=true; ||endif|| options_init(opt); var vtab = '||vtab||'; if (!vtab) vtab=1; vtab_init('o',vtab); ||endif||