2013-07-25 17:50:24 +02:00
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<template id="mail.sieve.edit" template="" lang="" group="0" version="1.9.001">
<grid width="100%">
<columns>
<column width="100%"/>
</columns>
<rows>
<row disabled="!@msg">
2014-02-14 16:46:55 +01:00
<description id="msg" class="message"/>
2013-07-25 17:50:24 +02:00
</row>
<row>
<groupbox>
<caption label="Condition"/>
<grid>
<columns>
<column/>
<column/>
</columns>
<rows>
<row class="th">
<description value="Match:"/>
<menulist>
<menupopup id="anyof"/>
</menulist>
</row>
<row class="sieveRowActive">
<description value="If from contains:(*)"/>
<textbox id="from"/>
</row>
<row>
<description value="If to contains:(*)"/>
<textbox id="to"/>
</row>
<row>
<description value="If subject contains:(*)"/>
<textbox id="subject"/>
</row>
<row>
<description value="If message size"/>
<hbox>
<menulist>
<menupopup id="gthan"/>
</menulist>
<textbox id="size"/>
<description value="kilobytes"/>
</hbox>
</row>
<row>
<description value="If mail header"/>
<hbox>
<textbox id="field"/>
<description value="Contains(*)"/>
<textbox id="field_val"/>
</hbox>
</row>
<row>
<description value="If mail body message type"/>
<hbox>
<menulist>
<menupopup id="bodytransform"/>
</menulist>
<description value="Contains(*)"/>
<textbox id="field_bodytransform"/>
</hbox>
</row>
<row>
<description value="If mail body content / attachment type"/>
<hbox>
<menulist>
<menupopup id="ctype"/>
</menulist>
<description value="/"/>
<textbox blur="for eg.: mpeg" id="field_ctype_val"/>
</hbox>
</row>
</rows>
</grid>
2014-03-13 14:16:09 +01:00
<description value='(*) wildcards (*,?) may be used. If you are trying to match * or ? itself, you must escape them with a backslash (\). If you check "Use regular expressions" you must use valid regular expressions. In order to escape of exclamation mark (!) at the begining not being used as "NOT", use regex and backslash (\) (e.g. \!)'/>
2013-07-25 17:50:24 +02:00
</groupbox>
</row>
<row>
<groupbox>
<caption label="Action"/>
<grid>
<columns>
<column/>
<column/>
</columns>
<rows>
<row>
2013-10-09 18:44:03 +02:00
<radio label="File into:" id="action" options="folder"/>
2013-07-25 17:50:24 +02:00
<hbox>
2015-01-19 13:12:18 +01:00
<taglist id="action_folder_text" width="40%" autocomplete_url="mail.mail_sieve.ajax_getFolders" autocomplete_params="" allowFreeEntries="false" maxSelection="1" onfocus="app.mail.sieve_focus_radioBtn" />
2013-07-25 17:50:24 +02:00
</hbox>
</row>
<row>
2013-10-09 18:44:03 +02:00
<radio label="Forward to address:" id="action" options="address"/>
2013-07-25 17:50:24 +02:00
<hbox>
2013-10-09 18:44:03 +02:00
<taglist-email allowFreeEntries="true" id="action_address_text" width="40%" maxSelection="1" onfocus="app.mail.sieve_focus_radioBtn" />
2013-07-25 17:50:24 +02:00
</hbox>
</row>
<row>
2013-10-09 18:44:03 +02:00
<radio label="Send a reject message:" id="action" options="reject"/>
<textbox multiline="true" id="action_reject_text" onfocus="app.mail.sieve_focus_radioBtn" />
2013-07-25 17:50:24 +02:00
</row>
<row>
2013-10-09 18:44:03 +02:00
<radio label="Discard message" id="action" options="discard"/>
2013-07-25 17:50:24 +02:00
<description/>
</row>
</rows>
</grid>
</groupbox>
</row>
<row>
<groupbox>
<caption label="Extended"/>
<grid>
<columns>
<column/>
</columns>
<rows>
<row>
<checkbox label="Check message against next rule also" id="continue"/>
</row>
<row>
<checkbox label="Keep a copy of the message in your inbox" id="keep"/>
</row>
<row>
<checkbox label="Use regular expressions (see wikipedia for information on POSIX regular expressions)" id="regexp"/>
</row>
</rows>
</grid>
</groupbox>
</row>
<row>
2014-04-03 13:19:41 +02:00
<hbox class="dialogFooterToolbar">
2013-07-25 17:50:24 +02:00
<button statustext="Saves this rule" label="Save" id="button[save]"/>
<button statustext="Applies the changes made" label="Apply" id="button[apply]"/>
2014-02-14 16:46:55 +01:00
<button label="Cancel" id="button[cancel]"/>
2013-07-25 17:50:24 +02:00
<hbox align="right">
2013-08-09 19:47:53 +02:00
<button label="Delete" id="button[delete]" />
2013-07-25 17:50:24 +02:00
</hbox>
</hbox>
</row>
</rows>
</grid>
</template>
2014-02-14 16:46:55 +01:00
</overlay>