# 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$$
 
||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$$
 
||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||<< Previous|| ||define||btn_cancel||Cancel|| ||define||btn_next||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))||
Enter address details of your base email account
||else||
Enter address details of your other email account ||if(equal(ident_type,(acct)))|| (on this server) ||endif||
||endif|| #
Enter information about your other email address owned by you.
||if(blank(ident_replyto))|| ||endif|| ||if(blank(ident_sig))|| ||endif|| ||if(not(istrue(self)))|| ||if(not(blank(ident_id)))|| ||endif|| ||if(not(blank(ident_id)))|| ||else|| ||endif|| ||endif||
Name :
Email address : ||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||
Reply-to address :
Signature :
Disabled
Display icon # ||define||foreach||0,1,2,3,4,5|| ||ifndef||ident_icon|| ||define||ident_icon||0|| ||endif|| ||begin_list_foreach|| ||end_list_foreach||
||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||Save|| ||endif|| ||endif|| ||if(equal(dlg_step,(send)))||
Send mail for ||ident_email|| using? (SMTP server)
#
Send through local smtp server: ||base_smtpsvr|| (easier to setup)
Send through your domain's smtp server: ||if(not(blank(ident_smtpsvt)))|| ||ident_smtpsvr|| ||else|| ||guess_smtpsvr|| ||endif|| (recommended)
SMTP server: Port:
Username:
Password: ||if(blank(ident_smtpsvr))|| ||else|| Edit your password ||endif||
Require SSL
||if(not(blank(dlg_error)))||
||dlg_error||
||else||
||web_encode(dlg_ok)||
||endif||
||endif|| ||if(equal(dlg_step,(fetch)))||
Receive mail for ||ident_email|| using? (POP server)
#
Manually setup [[marijn@other.servername.com]] to forward mail to surgeweb if required.
Surgeweb will fetch mail from [[marijn@other.servername.com]] periodically
POP server: Port:
Username:
Password: ||if(blank(ident_popsvr))|| ||else|| Edit your password ||endif||
 Leave a copy
 Use SSL
||endif|| ||if(or(equal(dlg_step,(vfy_acct)),equal(dlg_step,(vfy_acct_ok))))||
Enter account password
#
Enter information about your other email address owned by you.
||if(equal(dlg_step,(vfy_acct)))|| ||endif|| ||if(not(blank(ident_replyto)))|| ||endif|| ||if(equal(dlg_seq,(new_acct)))|| ||endif||
Server:||base_imapsvr||
Username:||ident_email||
Password: ||if(blank(ident_id))|| ||else|| Edit your password ||endif||
Sending as||web_encode(ident_name)|| <||web_encode(ident_email)||>
Reply to:||web_encode(ident_replyto)||
Display icon can be changed by selecting "Edit Details"
||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||Save|| ||else|| ||define||btn_next||Verify|| ||endif|| ||else|| ||undef||btn_prev|| ||define||btn_next||Close|| ||undef||btn_cancel|| ||endif|| ||endif|| ||if(equal(dlg_step,(vfy_ident)))||
Verify your email address:
Before you can send mail as Marijn Weehuizen <||ident_email||>, we need to verify that this is your email address.
To perform the verification click "Send Verification". An email will be sent to ||ident_email|| with instructions on how to verify your address.
||endif|| ||if(equal(dlg_step,(vfy_ident2)))||
Confirm verification to add your email address:
An email with a verification code was sent to:
Marijn Weehuizen <||ident_email||>. ( Resend )
To add your address either:
Click the verification link in the email |
OR
|
Enter the confirmation code here:
||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))))||
Edit shared folder permissions :
Folder to share :
Share with user :
 
Currently shared with : ||begin_list_acl|| ||end_list_acl||
||acl_email|| Remove
||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||
||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))))||
Attach new inline image:
 
||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$$

Drag white handles to define crop size, and select final rescaled size if desired.



Image size: ||attach_mpr_sx||x||attach_mpr_sy|| (zoom:||attach_zoom||%)
Attachment size: ||div(attach_fsize,1000)||kb

||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))))||
Edit shared calendar permissions :
Calendar to share :
Share with user :
 
Currently shared with : ||define((cal_share_sel),cal_sel)|| ||begin_list_cal_share|| ||end_list_cal_share||
||web_encode(cal_email)|| Remove
||dlg_error||
# ||endif||
||iftrue(btn_cancel)||||endif|| # ||iftrue(btn_save)||||endif||
||endif||