# HTML structure for any standard form post based upload etc dialogs
#
# --------------------------------------------------------- # --------------------------------------------------------- ||if(equal(dlg_type,(contacts_import)))|| ||ifndef||dlg_tab|| ||define||dlg_tab||1|| ||endif||
# [[sid=||sid|| ||dlg_tab||,||import_type|| | ||import_result||]]

| $$st_ct_import_src$$ $$st_ct_import_tabvcf$$ $$st_ct_import_tabcsv$$ $$st_ct_import_tabweb$$ $$st_ct_import_tablist$$ | ||if(equal(dlg_tab,(1)))|| $$st_ct_import_vcf$$ $$st_ct_import_vcf_s1$$ ||ifndef||import_action|| $$st_ct_import_vcf_s2$$ $$st_ct_import_togroup$$ # in addressbook: # ||else|| $$st_ct_import_result$$ ||import_result|| ||if(greater_than(import_changes,(0)))|| ||if(equal(import_action,(test_import)))|| $$st_ct_import_nochange$$ $$st_ct_import_applyinfo$$ ||else|| $$st_ct_import_complete$$ ||endif|| ||else|| $$st_ct_import_none$$ ||endif|| ||endif|| ||endif|| ||if(equal(dlg_tab,(2)))|| $$st_ct_import_csv$$ $$st_ct_import_csv_s1$$ ||ifndef||import_action|| $$st_ct_import_csv_s2$$ $$st_ct_import_togroup$$ # in addressbook: # $$st_ct_import_csv_s3$$ ||else|| $$st_ct_import_result$$ ||import_result|| ||if(greater_than(import_changes,(0)))|| ||if(equal(import_action,(test_import)))|| $$st_ct_import_nochange$$ $$st_ct_import_applyinfo$$ ||else|| $$st_ct_import_complete$$ ||endif|| ||else|| $$st_ct_import_none$$ ||endif|| ||endif|| ||endif|| ||if(equal(dlg_tab,(3)))|| $$st_ct_import_web$$ $$st_ct_import_web_s1$$ ||ifndef||import_action|| $$st_ct_import_web_abk$$ $$st_ct_import_web_dsl$$ $$st_ct_import_web_s2$$ $$st_ct_import_togroup$$ # in addressbook: # ||else|| $$st_ct_import_result$$ ||import_result|| ||if(greater_than(import_changes,(0)))|| ||if(equal(import_action,(test_import)))|| $$st_ct_import_nochange$$ $$st_ct_import_applyinfo$$ ||else|| $$st_ct_import_complete$$ ||endif|| ||else|| $$st_ct_import_none$$ ||endif|| ||endif|| ||endif|| ||if(equal(dlg_tab,(4)))|| $$st_ct_import_list$$ $$st_ct_import_list_s1$$ ||ifndef||import_action|| $$st_ct_import_list_s2$$ $$st_ct_import_togroup$$ # in addressbook: # ||else|| $$st_ct_import_result$$ ||import_result|| ||if(greater_than(import_changes,(0)))|| ||if(equal(import_action,(test_import)))|| $$st_ct_import_nochange$$ $$st_ct_import_applyinfo$$ ||else|| $$st_ct_import_complete$$ ||endif|| ||else|| $$st_ct_import_none$$ ||endif|| ||endif|| ||endif|| ||if(or(equal(import_changes,(0)),equal(import_action,(apply_import))))|| ||else|| ||if(equal(import_action,(test_import)))|| ||else|| ||endif|| ||endif||

||endif|| # --------------------------------------------------------- # --------------------------------------------------------- ||if(equal(dlg_type,(contacts_export)))|| ||ifndef||dlg_tab|| ||define||dlg_tab||1|| ||endif||

| $$st_ct_export_src$$ $$st_ct_import_tabvcf$$ $$st_ct_import_tabcsv$$ $$st_ct_import_tablist$$ | ||if(equal(dlg_tab,(1)))|| $$st_ct_export_vcf$$ $$st_ct_export_vcf_s1$$ $$st_ct_export_all2$$ $$st_ct_export_grp$$ $$st_ct_export_sel$$ $$st_ct_export_vcf_s2$$ ||endif|| ||if(equal(dlg_tab,(2)))|| $$st_ct_export_csv$$ $$st_ct_export_csv_s1$$ $$st_ct_export_all2$$ $$st_ct_export_grp$$ $$st_ct_export_sel$$ $$st_ct_export_csv_s2$$ ||endif|| ||if(equal(dlg_tab,(3)))|| $$st_ct_export_list$$ $$st_ct_export_list_s1$$ $$st_ct_export_all2$$ $$st_ct_export_grp$$ $$st_ct_export_sel$$ $$st_ct_export_list_s2$$ ||endif|| ||if(or(equal(import_changes,(0)),equal(export_action,(apply_import))))|| ||else|| ||endif||

||endif|| # --------------------------------------------------------- # --------------------------------------------------------- ||if(equal(dlg_type,(identity_edit)))||
#
||define||btn_prev||<< $$st_dlg_prev$$|| ||define||btn_cancel||$$st_dlg_cancel$$|| ||define||btn_next||$$st_dlg_next$$ >>|| ||if(equal(dlg_step,(close)))||
||endif|| ||if(equal(ident_id,(1)))|| ||define||self||true|| ||endif|| ||if(or(equal(dlg_step,(edit)),equal(dlg_step,(new))))||
||if(istrue(self))||
$$st_dlgi_address_base$$
||else||
$$st_dlgi_address_other$$ ||if(equal(ident_type,(acct)))|| $$st_dlgi_thissvr$$ ||endif||
||endif|| #
Enter information about your other email address owned by you.

||iftrue(lock_name_auth)|| ||if(not(blank(ident_name)))||
$$st_dlgi_name$$ | ||web_encode(ident_name)||
||endif|| ||else||
$$st_dlgi_name$$ |
||endif||
$$st_dlgi_email$$ | ||define||email_editable||true|| ||if(and(equal(dlg_step,(edit)),not(blank(ident_email))))|| ||define||email_editable||false|| ||endif|| ||iftrue(email_editable)|| ||else|| ||ident_email|| ||endif||
||iftrue(lock_reply_to)|| ||else|| ||if(blank(ident_replyto))||
| $$st_dlgi_replyto_show$$
||endif||
$$st_dlgi_replyto$$ |
||endif|| ||if(blank(ident_sig))||
| $$st_dlgi_sig_show$$
||endif||
$$st_dlgi_sig$$ |
||if(not(istrue(self)))|| ||if(not(blank(ident_id)))||
$$st_dlgi_disabled$$ |
||endif|| ||if(not(blank(ident_id)))||
$$st_dlgi_icon$$ |
||define||foreach||0,1,2,3,4,5|| ||ifndef||ident_icon|| ||define||ident_icon||0|| ||endif|| ||begin_list_foreach|| ||end_list_foreach||
||else|| ||endif|| ||endif||

||if(not(blank(dlg_error)))||
||dlg_error||
||else||
||web_encode(dlg_ok)||
||endif||
||undef||btn_prev|| ||if(istrue(self))|| ||undef||btn_prev|| ||define||btn_next||$$st_dlg_save$$|| ||endif|| ||endif|| ||if(equal(dlg_step,(send)))||
||$((st_dgli_smtp_intro),ident_email)|| $$st_dlgi_smtp_info$$
$$st_dlgi_smtp_local$$ ||base_smtpsvr|| $$st_dlgi_smtp_easy$$
$$st_dlgi_smtp_domain$$ ||if(not(blank(ident_smtpsvt)))|| ||ident_smtpsvr|| ||else|| ||guess_smtpsvr|| ||endif|| $$st_dlgi_smtp_rec$$

$$st_dlgi_smtp_server$$ | $$st_dlgi_svr_port$$
$$st_dlgi_svr_user$$ |
$$st_dlgi_svr_pass$$ | ||if(blank(ident_smtpsvr))|| ||else|| $$st_dlgi_edit_pass$$ ||endif||
| $$st_dlgi_smpt_ssl$$

||if(not(blank(dlg_error)))||
||dlg_error||
||else||
||web_encode(dlg_ok)||
||endif||
||endif|| ||if(equal(dlg_step,(fetch)))||
||$((st_dlgi_pop_intro),ident_email)|| $$st_dlgi_pop_info$$
||$((st_dlgi_pop_info2),([[marijn@other.servername.com]]))||
||$((st_dlgi_pop_info3),([[marijn@other.servername.com]]))||

$$st_dlgi_pop_server$$ | $$st_dlgi_svr_port$$
$$st_dlgi_svr_user$$ |
$$st_dlgi_svr_pass$$ | ||if(blank(ident_popsvr))|| ||else|| $$st_dlgi_edit_pass$$ ||endif||
| $$st_dlgi_pop_leavecopy$$
| $$st_dlgi_pop_ssl$$

||endif|| ||if(or(equal(dlg_step,(vfy_acct)),equal(dlg_step,(vfy_acct_ok))))||
$$st_dlgi_vty_password$$
#
Enter information about your other email address owned by you.

$$st_dlgi_svr_server$$ | ||base_imapsvr||
$$st_dlgi_svr_user$$ | ||ident_email||
||if(equal(dlg_step,(vfy_acct)))||
$$st_dlgi_svr_pass$$ | ||if(blank(ident_id))|| ||else|| $$st_dlgi_edit_pass$$ ||endif||
||endif||
$$st_dlgi_sendas$$ | ||web_encode(ident_name)|| <||web_encode(ident_email)||>
||if(not(blank(ident_replyto)))||
$$st_dlgi_replyto$$ | ||web_encode(ident_replyto)||
||endif|| ||if(equal(dlg_seq,(new_acct)))||
$$st_dlgi_icon$$ | $$st_dlgi_icon_info$$
||endif||

||if(not(blank(dlg_error)))||
||dlg_error||
||else||
||web_encode(dlg_ok)||
||endif||
||if(equal(dlg_step,(vfy_acct)))|| ||if(equal(dlg_seq,(edit_acct)))|| ||define||btn_next||$$st_dlg_save$$|| ||else|| ||define||btn_next||$$st_dlg_verify$$|| ||endif|| ||else|| ||undef||btn_prev|| ||define||btn_next||$$st_dlg_close$$|| ||undef||btn_cancel|| ||endif|| ||endif|| ||if(equal(dlg_step,(vfy_ident)))||
$$st_dlgi_vfy_email$$
$$st_dlgi_vfy_before1$$ Marijn Weehuizen <||ident_email||>$$st_dlgi_vfy_before2$$
$$st_dlgi_vfy_action1$$ ||ident_email|| $$st_dlgi_vfy_action2$$
||endif|| ||if(equal(dlg_step,(vfy_ident2)))||
$$st_dlgi_vfy_confirm$$
$$st_dlgi_vfy_confirm2$$
Marijn Weehuizen <||ident_email||>. ( $$st_dlgi_vfy_resend$$ )
$$st_dlgi_vfy_actions$$

$$st_dlgi_vfy_click$$ | | >$$st_dlgi_vfy_or$$ | | $$st_dlgi_vfy_code$$

||endif||
||if(not(blank(btn_prev)))||||endif|| ||if(not(blank(btn_next)))||||endif|| ||if(not(blank(btn_cancel)))||||endif||
||endif|| # --------------------------------------------------------- # --------------------------------------------------------- ||if(equal(dlg_type,(config_acl)))||
||define||btn_cancel||true|| ||define||btn_save||true|| ||if(equal(dlg_step,(close)))||
||endif|| # ||if(or(equal(dlg_step,(edit)),equal(dlg_step,(new))))||
$$st_dlg_acl_info$$

$$st_dlg_acl_folder$$ |
$$st_dlg_acl_share$$ |
$$st_dlg_acl_shared$$ | ||begin_list_acl||
||acl_email|| |  | $$st_dlg_acl_remove$$
||end_list_acl||

||dlg_error||
# ||endif||
||iftrue(btn_cancel)||||endif|| # ||iftrue(btn_save)||||endif||
||endif|| # --------------------------------------------------------- # --------------------------------------------------------- ||if(equal(dlg_type,(attach_upload)))||
||define||btn_cancel||true|| ||define||btn_save||true|| ||if(equal(dlg_step,(close)))||
||endif|| # ||if(or(equal(dlg_step,(edit)),equal(dlg_step,(new))))||
$$st_attach_single_file$$
$$st_attach_flash_warn1$$ $$st_attach_flash_warn2$$

$$st_attach_txt_done$$ ||if(longer(attach_ids,0))|| ||tcmd_attach_get|| ||define((foreach),attach_ids)|| ||begin_list_foreach|| ||lookup(concat((attach_fname_),item))|| ||bytes_basic(lookup(concat((attach_fsize_),item)))|| ||end_list_foreach|| ||endif|| |  | $$st_attach_txt_new$$

$$st_attach_flash_dnd1$$ $$st_attach_flash_dnd2$$
||dlg_error||
# ||endif||
# ||iftrue(btn_cancel)||||endif|| ||iftrue(btn_save)||||endif||
#QQA
||endif|| # --------------------------------------------------------- # --------------------------------------------------------- ||if(equal(dlg_type,(image_attach)))||
||define||btn_cancel||true|| ||define||btn_save||true|| ||if(equal(dlg_step,(close)))||
||endif|| # ||if(or(equal(dlg_step,(edit)),equal(dlg_step,(new))))||
$$st_dlg_img_new$$

||if(not(blank(attach_img_url)))|| # ||endif|| |  | ||if(blank(attach_img_url))|| $$st_image_txt_new$$ $$st_image_txt_new2$$ # Normal attachment rather than inline ||undef||btn_save|| ||else|| $$st_image_txt_crop$$ $$st_dlg_img_drag$$ ||$((st_dlg_img_dim),attach_mpr_sx,attach_mpr_sy,attach_zoom)|| ||$((st_dlg_img_size),div(attach_fsize,1000))|| ||endif||

||dlg_error||
# ||endif||
||iftrue(btn_cancel)||||endif|| ||iftrue(btn_save)||||endif||
||endif|| # --------------------------------------------------------- # --------------------------------------------------------- ||if(equal(dlg_type,(config_cal)))||
||define||btn_cancel||true|| ||define||btn_save||true|| ||if(equal(dlg_step,(close)))||
||endif|| # ||if(or(equal(dlg_step,(edit)),equal(dlg_step,(new))))||
$$st_dlg_cal_edit$$

$$st_dlg_cal_calendar$$ |
$$st_dlg_cal_user$$ |
$$st_dlg_acl_shared$$ | ||define((cal_share_sel),cal_sel)|| ||begin_list_cal_share||
||web_encode(cal_email)|| |  | $$st_dlg_acl_remove$$
||end_list_cal_share||

||dlg_error||
# ||endif||
||iftrue(btn_cancel)||||endif|| # ||iftrue(btn_save)||||endif||
||endif||