source: chrome/content/v_identity/vI_prefDialog.xul @ 9e9bab

Last change on this file since 9e9bab was 9e9bab, checked in by root <root@…>, 15 years ago

initial import v0.4.0

  • Property mode set to 100644
File size: 10.2 KB
Line 
1<?xml version="1.0"?>
2<!-- ***** BEGIN LICENSE BLOCK *****
3   - This program is free software; you can redistribute it and/or modify
4   - it under the terms of the GNU General Public License as published by
5   - the Free Software Foundation; either version 2 of the License, or
6   - (at your option) any later version.
7
8   - This program is distributed in the hope that it will be useful,
9   - but WITHOUT ANY WARRANTY; without even the implied warranty of
10   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11   - GNU General Public License for more details.
12
13   - You should have received a copy of the GNU General Public License
14   - along with this program; if not, write to the Free Software
15   - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
16
17   - The Original Code is the Virtual Identity Extension.
18
19   - The Initial Developer of the Original Code is Rene Ejury.
20   - Portions created by the Initial Developer are Copyright (C) 2007
21   - the Initial Developer. All Rights Reserved.
22
23   - Contributor(s):
24   - ***** END LICENSE BLOCK ***** -->
25
26<?xul-overlay href="chrome://messenger/content/msgFolderPickerOverlay.xul"?>
27
28<!DOCTYPE page [
29<!ENTITY % amCopiesDTD SYSTEM "chrome://messenger/locale/am-copies.dtd">
30%amCopiesDTD;
31<!ENTITY % versionDTD SYSTEM "chrome://v_identity/content/_version.dtd">
32%versionDTD;
33<!ENTITY % vIdentDTD SYSTEM "chrome://v_identity/locale/v_identity.dtd">
34%vIdentDTD;
35]>
36
37<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
38<?xml-stylesheet href="chrome://messenger/skin/prefPanels.css" type="text/css"?>
39<?xml-stylesheet href="chrome://messenger/skin/accountManage.css" type="text/css"?>
40<?xml-stylesheet href="chrome://v_identity/skin/v_identity.css" type="text/css"?>
41
42<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
43        onload="vI_prefDialog.init();"
44        buttons="accept,cancel"
45        ondialogaccept="vI_prefDialog.savePrefs();"
46        persist="screenX screenY"
47        title="&vident.prefs.dlgTitle.label;">
48
49<script type="application/x-javascript"
50            src="chrome://v_identity/content/vI_prefDialog.js" />
51
52 <stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties"/>
53
54<broadcaster id="VIdent_broadcaster_doFcc"/>
55
56<textbox hidden="true" id="VIdent_identity.fccFolder"
57                prefstring="fcc_folder"/>
58<textbox hidden="true" id="VIdent_identity.fccFolderPickerMode"
59                prefstring="fcc_folder_picker_mode"/>
60
61<label class="v_identity_logo"
62    value="&vident.compose.vidLogo.label; &vident.version;" align="right" flex="1"/>
63
64<tabbox>
65    <tabs>
66        <tab label="&vident.prefs.commonTab.label;" />
67        <tab label="&vident.prefs.vIdentityTab.label;" />
68        <tab id="smartReplyTab" label="&vident.prefs.smartReplyTab.label;" />
69        <tab label="&vident.prefs.notificationTab.label;" />
70    </tabs>
71    <tabpanels>
72    <tabpanel orient="vertical" label="&vident.prefs.commonTab.header;">
73        <dialogheader title="&vident.prefs.commonTab.header;"/>
74        <groupbox>
75        <caption label="&vident.prefs.commonTab.caption;"/>
76            <label id="version-warning"
77                value="&vident.prefs.versionWarning.label;" hidden="true"/>
78            <checkbox id="VIdent_identity.smart_draft" label="&vident.prefs.smartDraft.label;"
79                prefstring="smart_draft"/>
80            <checkbox id="VIdent_identity.smart_reply" label="&vident.prefs.smartReply.label;"
81                prefstring="smart_reply"
82                oncommand="vI_prefDialog.base.smartReplyConstraint(this);"
83                />
84            <checkbox id="VIdent_identity.smart_reply_for_newsgroups" label="&vident.prefs.smartReplyNewsgroups.label;"
85                prefstring="smart_reply_for_newsgroups" />
86            <checkbox id="VIdent_identity.show_smtp" label="&vident.prefs.SMTP.label;"
87                prefstring="show_smtp" />
88        </groupbox>
89    </tabpanel>
90    <tabpanel orient="vertical" label="&vident.prefs.vIdentityTab.header;">
91        <dialogheader title="&vident.prefs.vIdentityTab.header;"/>
92        <tabbox>
93        <tabs>
94            <tab label="&vident.prefs.vIdentityTab.valueTab.label;" />
95            <tab label="&vident.prefs.vIdentityTab.fccTab.label;" />
96        </tabs>
97        <tabpanels>
98            <tabpanel orient="vertical">
99            <groupbox>
100            <caption label="&vident.prefs.vIdentityTab.valueTab.caption;"/>
101            <description width="500px">&vident.prefs.vIdentityTab.valueTab.desc;</description>
102            <checkbox id="VIdent_identity.copySMIMESettings" label="&vident.prefs.SMIME.label;"
103                prefstring="copySMIMESettings"/>
104            <checkbox id="VIdent_identity.copyEnigmailSettings" label="&vident.prefs.PGP.label;"
105                prefstring="copyEnigmailSettings"/>
106            <checkbox id="VIdent_identity.copyAttachVCardSettings" label="&vident.prefs.VCard.label;"
107                prefstring="copyAttachVCardSettings"/>
108            </groupbox>
109            </tabpanel>
110            <tabpanel orient="vertical">
111        <groupbox>
112        <caption label="&vident.prefs.vIdentityTab.fccTab.caption;"/>
113        <hbox align="center">
114            <checkbox id="VIdent_identity.doFcc" label="&fccMailFolder.label;"
115                accesskey="&fccMailFolder.accesskey;"
116                oncommand="setupFccItems();" prefstring="doFcc"/>
117        </hbox>
118        <radiogroup id="VIdent_doFcc">
119        <grid class="specialFolderPickerGrid">
120            <columns>
121                <column flex="1"/>
122                <column flex="2"/>
123            </columns>
124            <rows>
125                <radio id="VIdent_fcc_Settings_Of_Account"
126                    value="3" label="&vident.prefs.vidFccAccount.label;"
127                    oncommand="setPickersState('msgFccFolderPicker', 'msgFccAccountPicker', event)"
128                    observes="VIdent_broadcaster_doFcc"/>
129                <radio id="VIdent_fcc_Settings_Of_Default"
130                    value="2" label="&vident.prefs.vidFccDefault.label;"
131                    oncommand="setPickersState('msgFccFolderPicker', 'msgFccAccountPicker', event)"
132                    observes="VIdent_broadcaster_doFcc"/>
133                <row align="center">
134                    <radio id="VIdent_fcc_selectAccount"
135                        value="0" label="&sentFolderOn.label;"
136                        accesskey="&sentFolderOn.accesskey;"
137                        oncommand="setPickersState('msgFccAccountPicker', 'msgFccFolderPicker', event)"
138                        observes="VIdent_broadcaster_doFcc"/>
139                    <menulist id="msgFccAccountPicker"
140                        oncommand="noteSelectionChange('VIdent_fcc_selectAccount')"
141                        flex="1" observes="VIdent_broadcaster_doFcc"/>
142                </row>
143                <row align="center">
144                    <radio id="VIdent_fcc_selectFolder"
145                        value="1" label="&sentInOtherFolder.label;"
146                        accesskey="&sentInOtherFolder.accesskey;"
147                        oncommand="setPickersState('msgFccFolderPicker', 'msgFccAccountPicker', event)"
148                        observes="VIdent_broadcaster_doFcc"/>
149                    <menulist id="msgFccFolderPicker"
150                        oncommand="noteSelectionChange('VIdent_fcc_selectFolder')"
151                        flex="1" observes="VIdent_broadcaster_doFcc"/>
152                </row>
153            </rows>
154        </grid>
155        </radiogroup>
156
157        </groupbox>
158        </tabpanel>
159        </tabpanels>
160        </tabbox>
161    </tabpanel>
162    <tabpanel orient="vertical" label="&vident.prefs.smartReplyTab.header;">
163        <dialogheader title="&vident.prefs.smartReplyTab.header;"/>
164        <tabbox>
165        <tabs>
166            <tab id="smartReplyTab1" label="&vident.prefs.smartReplyTab.Tab1.label;" />
167            <tab id="smartReplyTab2" label="&vident.prefs.smartReplyTab.Tab2.label;" />
168            <tab id="smartReplyTab3" label="&vident.prefs.smartReplyTab.Tab3.label;" />
169        </tabs>
170        <tabpanels>
171            <tabpanel orient="vertical">
172            <groupbox>
173            <caption label="&vident.prefs.smartReplyTab.caption;"/>
174            <vbox align="left">
175                <description width="500px">&vident.prefs.smartReplyTab.Tab1.desc;</description>
176                <hbox>
177                <vbox><description width="300px">&vident.prefs.smartReply.headers.desc;</description><spacer flex="1"/></vbox>
178                <textbox id="VIdent_identity.smart_reply_headers" multiline="true"
179                    rows="4" size="20" wrap="false" flex="1"
180                    prefstring="smart_reply_headers" />
181                </hbox>
182                <checkbox id="VIdent_identity.smart_reply_prefer_headers" label="&vident.prefs.smartReply.preferHeader.label;"
183                    prefstring="smart_reply_prefer_headers"/>
184            </vbox>
185            </groupbox>
186            </tabpanel>
187            <tabpanel orient="vertical">
188            <groupbox>
189            <caption label="&vident.prefs.smartReplyTab.caption;"/>
190            <vbox align="left">
191                <description width="500px">&vident.prefs.smartReplyTab.Tab2.desc;</description>
192                <hbox>
193                <vbox><description width="300px">&vident.prefs.smartReply.filter.desc;</description><spacer flex="1"/></vbox>
194                <textbox id="VIdent_identity.smart_reply_filter" multiline="true"
195                    rows="4" size="20" wrap="false" flex="1"
196                    prefstring="smart_reply_filter" />
197                </hbox>
198                <checkbox id="VIdent_identity.smart_reply_ignoreFullName" label="&vident.prefs.smartReply.ignoreFullname.label;"
199                    prefstring="smart_reply_ignoreFullName" wrap="true" width="500px"/>
200            </vbox>
201            </groupbox>
202            </tabpanel>
203            <tabpanel orient="vertical">
204            <groupbox>
205            <caption label="&vident.prefs.smartReplyTab.caption;"/>
206            <vbox align="left">
207                <description width="500px">&vident.prefs.smartReplyTab.Tab3.desc;</description>
208                <checkbox id="VIdent_identity.smart_reply_ask" label="&vident.prefs.smartReply.ask.label;"
209                    prefstring="smart_reply_ask"
210                    oncommand="vI_prefDialog.base.smartReplyResultConstraint();"/>
211                <checkbox id="VIdent_identity.smart_reply_ask_always" label="&vident.prefs.smartReply.ask_always.label;"
212                    prefstring="smart_reply_ask_always"
213                    oncommand="vI_prefDialog.base.smartReplyResultConstraint();"/>
214                <hbox>
215                <checkbox id="VIdent_identity.smart_reply_autocreate" label="&vident.prefs.smartReply.autocreate.label;"
216                    prefstring="smart_reply_autocreate"
217                    oncommand="vI_prefDialog.base.smartReplyResultConstraint();"/>
218                </hbox>
219            </vbox>
220            </groupbox>
221            </tabpanel>
222        </tabpanels>
223        </tabbox>
224    </tabpanel>
225    <tabpanel orient="vertical" label="&vident.prefs.notificationTab.header;">
226        <dialogheader title="&vident.prefs.notificationTab.header;"/>
227        <groupbox>
228        <caption label="&vident.prefs.notificationTab.caption;"/>
229        <vbox align="left">
230            <checkbox id="VIdent_identity.get_header_notification" label="&vident.prefs.notifyHeaders.label;"
231                prefstring="get_header_notification"/>
232            <checkbox id="VIdent_identity.smart_reply_notification" label="&vident.prefs.notifySmartIdentity.label;"
233                prefstring="smart_reply_notification"/>
234            <hbox>
235            <vbox><spacer flex="1"/><label value="&vident.prefs.notifyTime.prefix.label;" /><spacer flex="1"/></vbox>
236            <textbox preftype="int" id="VIdent_identity.notification_timeout" flex="1"
237                prefstring="notification_timeout" size="1" />
238            <vbox><spacer flex="1"/><label value="&vident.prefs.notifyTime.postfix.label;" /><spacer flex="1"/></vbox>
239            </hbox>
240        </vbox>
241        </groupbox>
242    </tabpanel>
243    </tabpanels>
244</tabbox>
245</dialog>
Note: See TracBrowser for help on using the repository browser.