egroupware/admin/templates/default/mailaccount.xet

383 lines
16 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
<overlay>
<template id="admin.mailaccount.identity" template="" lang="" group="0" version="1.9.001">
<grid width="100%">
<columns>
<column width="113"/>
<column width="300"/>
<column/>
</columns>
<rows>
<row>
<description for="ident_id" value="Identity"/>
<select id="ident_id" no_lang="1" onchange="1"/>
<select id="acc_further_identities" class="emailadmin_no_user" onchange="1"/>
</row>
<row>
<description for="ident_name" value="Name"/>
<textbox id="ident_name" size="90" maxlength="128" span="all" blur="default your name and email"/>
</row>
<row>
<description for="ident_realname" value="Your name"/>
<hbox span="all">
<textbox id="ident_realname" size="90" maxlength="128"/>
<buttononly label="Placeholders" id="button[placeholders]" image="question-circle"
onclick="window.open(egw::link('/index.php','menuaction=addressbook.addressbook_merge.show_replacements&amp;nonavbar=1'),'_blank','dependent=yes,width=860,height=620,scrollbars=yes,status=yes'); return false;"/>
</hbox>
</row>
<row>
<description for="ident_org" value="Organisation"/>
<textbox id="ident_org" size="90" maxlength="128" span="all"/>
</row>
<row disabled="@select_ident_mail">
<description for="ident_email" value="EMail address"/>
<url-email id="ident_email" size="90" maxlength="128" span="all"/>
</row>
<row disabled="!@select_ident_mail">
<description for="ident_email_alias" value="EMail address"/>
<select id="ident_email_alias" span="all" class="et2_fullWidth"/>
</row>
<row>
<htmlarea expand_toolbar="false" height="237px" id="ident_signature" span="all"/>
</row>
</rows>
</grid>
</template>
<template id="admin.mailaccount.imap" template="" lang="" group="0" version="1.9.001">
<grid width="100%">
<columns>
<column width="115"/>
<column width="200"/>
<column width="60"/>
<column/>
</columns>
<rows>
<row class="emailadmin_no_single">
<description for="acc_imap_logintype" value="Type"/>
<select id="acc_imap_type"/>
<description for="acc_imap_logintype" value="Login" class="emailadmin_no_single"/>
<select class="emailadmin_no_single" statustext="How username get constructed" id="acc_imap_logintype"/>
</row>
<row class="@manual_class">
<description for="acc_imap_username" value="Username"/>
<textbox id="acc_imap_username" size="32" maxlength="128" autocomplete="off"/>
<description for="acc_domain" value="Domain" class="emailadmin_no_single"/>
<textbox id="acc_domain" size="32" maxlength="128" class="emailadmin_no_single"/>
</row>
<row>
<description for="acc_imap_password" value="Password"/>
<passwd id="acc_imap_password" size="32" maxlength="128" autocomplete="off"/>
<description id="acc_imap_account_id" class="emailadmin_diagnostic"/>
<description/>
</row>
<row class="@manual_class">
<description for="acc_imap_host" value="IMAP server"/>
<textbox blur="Hostname or IP" id="acc_imap_host" size="32" maxlength="128" span="all"/>
</row>
<row>
<description for="acc_imap_ssl" value="Secure connection"/>
<hbox>
<select class="emailadmin_ssl" id="acc_imap_ssl" needed="1"
onchange="app.admin.wizard_imap_ssl_onchange"/>
</hbox>
<description for="acc_imap_port" value="Port"/>
<textbox type="integer" id="acc_imap_port" needed="1" class="emailadmin_port"/>
</row>
<row class="emailadmin_no_single">
<groupbox span="all" class="emailadmin_imap_admin">
<caption label="IMAP administration"/>
<grid width="100%">
<columns>
<column width="100"/>
<column/>
</columns>
<rows>
<row>
<description for="acc_imap_admin_username" value="Admin user"/>
<textbox id="acc_imap_admin_username" size="32" maxlength="128" autocomplete="off"/>
</row>
<row>
<description for="acc_imap_admin_password" value="Password"/>
<passwd id="acc_imap_admin_password" size="32" maxlength="128" autocomplete="off"/>
</row>
<row>
<description/>
<checkbox id="acc_admin_use_without_pw" label="Use admin credentials to connect without a session-password, e.g. for SSO"/>
</row>
<row disabled="!@admin_actions">
<description value="Administration"/>
<toolbar id="admin_actions" default_execute="app.admin.account_edit_action"/>
</row>
</rows>
</grid>
</groupbox>
<description/>
<description/>
<description/>
<description/>
<description/>
<description/>
</row>
</rows>
</grid>
</template>
<template id="admin.mailaccount.folder" template="" lang="" group="0" version="1.9.002">
<grid width="100%">
<columns>
<column width="115"/>
<column/>
</columns>
<rows>
<row>
<description for="acc_folder_sent" value="Sent folder"/>
<taglist id="acc_folder_sent" empty_label="Select one ..." maxSelection="1" autocomplete_url=""/>
</row>
<row>
<description for="acc_folder_trash" value="Trash folder"/>
<taglist id="acc_folder_trash" empty_label="Select one ..." maxSelection="1" autocomplete_url=""/>
</row>
<row>
<description for="acc_folder_draft" value="Drafts folder"/>
<taglist id="acc_folder_draft" empty_label="Select one ..." maxSelection="1" autocomplete_url=""/>
</row>
<row>
<description for="acc_folder_template" value="Templates folder"/>
<taglist id="acc_folder_template" empty_label="Select one ..." maxSelection="1" autocomplete_url=""/>
</row>
<row>
<description for="acc_folder_junk" value="Junk folder"/>
<taglist id="acc_folder_junk" empty_label="Select one ..." maxSelection="1" autocomplete_url=""/>
</row>
<row>
<description for="acc_folder_ham" value="Ham folder"/>
<taglist id="acc_folder_ham" empty_label="Mails can be copied to that folder via context menu, if folder is configured." maxSelection="1" autocomplete_url=""/>
</row>
<row>
<description for="acc_folder_archive" value="Archive folder"/>
<taglist id="acc_folder_archive" empty_label="Select one ..." maxSelection="1" autocomplete_url=""/>
</row>
<row>
<description for="notify_folders" value="Notify about new mail in this folders"/>
<vbox>
<taglist id="notify_folders" empty_label="Select one ..." autocomplete_url="" onchange="app.admin.change_folders"/>
<checkbox id="notify_save_default" label="save as default"/>
<checkbox id="notify_use_default" label="use default"/>
</vbox>
</row>
</rows>
</grid>
</template>
<template id="admin.mailaccount.sieve" template="" lang="" group="0" version="1.9.001">
<grid width="100%">
<columns>
<column width="120"/>
<column/>
</columns>
<rows>
<row>
<description for="acc_sieve_enabled" value="Enable Sieve"/>
<select-bool id="acc_sieve_enabled" needed="1"/>
</row>
<row class="@manual_class">
<description for="acc_sieve_host" value="Sieve server"/>
<textbox blur="Hostname or IP" id="acc_sieve_host" onchange="app.admin.wizard_sieve_onchange" size="32" maxlength="128"/>
</row>
<row class="@manual_class">
<description for="acc_sieve_ssl" value="Secure connection"/>
<hbox>
<select class="emailadmin_ssl" id="acc_sieve_ssl" onchange="app.admin.wizard_sieve_ssl_onchange"/>
<textbox type="integer" label="Port" id="acc_sieve_port" onchange="app.admin.wizard_sieve_onchange" class="label-on-left"/>
</hbox>
</row>
<row height="150">
<description value="Vacation messages with start and end date require an admin account to be set!" span="all" class="emailadmin_no_single"/>
<description/>
<description/>
</row>
</rows>
</grid>
</template>
<template id="admin.mailaccount.smtp" template="" lang="" group="0" version="1.9.001">
<grid width="100%">
<columns>
<column width="115"/>
<column/>
</columns>
<rows>
<row class="emailadmin_no_single">
<description for="acc_smtp_type" value="Type"/>
<select id="acc_smtp_type" onchange="1"/>
</row>
<row class="emailadmin_no_single">
<description for="acc_smtp_auth_session" value="Authentication"/>
<checkbox label="Use username+password from current user" id="acc_smtp_auth_session"/>
</row>
<row class="@manual_class">
<description for="acc_smtp_username" value="Username"/>
<textbox blur="if authentication required" id="acc_smtp_username" size="32" maxlength="128" autocomplete="off"/>
</row>
<row class="@manual_class">
<description for="acc_smtp_password" value="Password"/>
<hbox>
<passwd id="acc_smtp_password" size="32" maxlength="128" autocomplete="off"/>
<description id="acc_smtp_account_id" class="emailadmin_diagnostic"/>
</hbox>
</row>
<row class="@manual_class">
<description for="acc_smtp_host" value="SMTP server"/>
<textbox blur="Hostname or IP" id="acc_smtp_host" needed="1" size="32" maxlength="128"/>
</row>
<row class="@manual_class">
<description for="acc_smtp_ssl" value="Secure connection"/>
<hbox>
<select class="emailadmin_ssl" id="acc_smtp_ssl" needed="1" onchange="app.admin.wizard_smtp_ssl_onchange"/>
<textbox type="integer" label="Port" id="acc_smtp_port" needed="1" class="label-on-left"/>
</hbox>
</row>
<row>
<description for="acc_spam_api" value="SpamTitan API URL"/>
<url id="acc_spam_api" blur="@spamtitan_blur" width="95%" maxlength="128"/>
</row>
<row>
<description for="acc_spam_password" value="API Token"/>
<passwd id="acc_spam_password" blur="@spamtitan_blur" width="95%" suggest="24"/>
</row>
</rows>
</grid>
</template>
<template id="admin.mailaccount.aliases" template="" lang="" group="0" version="1.9.001">
<grid width="100%">
<columns>
<column width="113"/>
<column width="400"/>
<column/>
</columns>
<rows>
<row>
<description for="mailLocalAddress" value="EMail address"/>
<url-email id="mailLocalAddress" size="32" maxlength="128"/>
<checkbox label="Email account active" id="accountStatus" selected_value="active"/>
</row>
<row>
<description for="mailAlternateAddress" value="Alternate email address"/>
<select-email id="mailAlternateAddress" autocomplete_url="" full_email="true" allowFreeEntries="true"/>
<description/>
</row>
<row disabled="@no_forward_available">
<description for="mailForwardingAddress" value="Forward email's to"/>
<select-email id="mailForwardingAddress" autocomplete_url="" full_email="true" allowFreeEntries="true"/>
<vbox>
<checkbox label="Forward only" id="deliveryMode" selected_value="forwardOnly" onchange="if (widget.getValue()) et2_dialog.alert('Forward only disables IMAP mailbox / storing of mails and just forwards them to given address.','Forward only');"/>
<checkbox label="Allow users to change forwards" id="acc_user_forward"/>
</vbox>
</row>
<row>
<description for="quotaLimit" value="Quota (MB)"/>
<hbox>
<textbox type="integer" id="quotaLimit"/>
<description value="Leave empty for no quota"/>
</hbox>
<textbox type="integer" label="Currently:" id="quotaUsed" readonly="true"/>
</row>
<row disabled="!@admin_actions">
<description value="Administration"/>
<toolbar id="admin_actions" colspan="2" default_execute="app.admin.account_edit_action"/>
</row>
</rows>
</grid>
</template>
<template id="admin.mailaccount.encryption" template="" lang="" group="0" version="17.1">
<grid width="100%" resize_ratio="0">
<columns>
<column width="120"/>
<column width="500"/>
</columns>
<rows>
<row>
<description value="S/MIME" span="all"/>
</row>
<!-- disabled, because not working/fully implemented
<row disabled="@hide_smime_upload">
<description value="Certificate"/>
<hbox>
<buttononly id="smimeGenerate" label="Generate Certificate" onclick="app.admin.smime_genCertificate" image="add" background_image="1"/>
</hbox>
</row>
-->
<row disabled="@hide_smime_upload" valign="top">
<description value="Upload your certificate .p12/.pfx file"/>
<vbox>
<file id="smimeKeyUpload" accept=".p12,.pfx"/>
<passwd id="smime_pkcs12_password" size="48" maxlength="128" blur="Password to unlock encrypted p12" autocomplete="off"/>
</vbox>
</row>
<row disabled="!@hide_smime_upload">
<description value="Current certificate"/>
<hbox>
<buttononly id="smime_export_p12" label="export certificate as p12" onclick="app.admin.smime_exportCert" image="export" background_image="1"/>
<buttononly id="smime_delete_p12" label="Delete certificate" onclick="app.admin.change_account" image="delete" background_image="1"/>
</hbox>
</row>
</rows>
</grid>
</template>
<template id="admin.mailaccount" template="" lang="" group="0" version="1.9.001">
<grid width="100%">
<columns>
<column width="120"/>
<column width="500"/>
<column/>
</columns>
<rows>
<row disabled="!@accounts" class="dialogHeader">
<description for="acc_id" value="Mail account"/>
<select id="acc_id" onchange="app.admin.change_account" class="et2_fullWidth" span="2"/>
<description/>
</row>
<row class="dialogHeader">
<description for="acc_name" value="Name of account"/>
<textbox id="acc_name" needed="1" size="80" class="et2_fullWidth"/>
<description align="right" value="$cont[acc_id]" class="emailadmin_diagnostic"/>
</row>
<row class="emailadmin_no_user dialogHeader2">
<description for="account_id" value="Valid for"/>
<hbox span="all">
<select-account account_type="both" id="account_id" placeholder="Everyone" multiple="true"/>
<checkbox label="account editable by user" id="acc_user_editable"/>
</hbox>
</row>
<row>
<tabbox id="tabs" span="all" tab_height="480">
<tabs>
<tab id="admin.mailaccount.identity" label="Identity+Signature" statustext="Identity&amp;Signature"/>
<tab id="admin.mailaccount.imap" label="IMAP" statustext="incoming mail"/>
<tab id="admin.mailaccount.folder" label="Folder" statustext="Folder"/>
<tab id="admin.mailaccount.sieve" label="Sieve" statustext="serverside filtering"/>
<tab id="admin.mailaccount.smtp" label="SMTP" statustext="outgoing mail"/>
<tab id="admin.mailaccount.aliases" label="Aliases+Forwards" statustext="Aliases, Forwarding, Quota, ..."/>
<tab id="admin.mailaccount.encryption" label="Encryption" statustext="Encryption settings"/>
</tabs>
<tabpanels>
<template id="admin.mailaccount.identity"/>
<template id="admin.mailaccount.imap"/>
<template id="admin.mailaccount.folder"/>
<template id="admin.mailaccount.sieve"/>
<template id="admin.mailaccount.smtp"/>
<template id="admin.mailaccount.aliases"/>
<template id="admin.mailaccount.encryption"/>
</tabpanels>
</tabbox>
</row>
</rows>
</grid>
<hbox class="dialogFooterToolbar">
<button label="Save" id="button[save]"/>
<button label="Apply" id="button[apply]" />
<button statustext="Use wizard to detect or verify configuration" label="Wizard" id="button[wizard]" image="magicwand" background_image="1"/>
<button label="Cancel" id="button[cancel]" onclick="window.close();"/>
<button align="right" label="Delete" id="button[delete]" onclick="et2_dialog.confirm(widget,'Delete this account','Delete')" hideOnReadonly="true"/>
<button align="right" label="Delete identity" id="button[delete_identity]" onclick="et2_dialog.confirm(widget,'Delete identity','Delete')" hideOnReadonly="true" image="delete" background_image="1"/>
</hbox>
</template>
</overlay>