pjs/mailnews/addrbook/prefs/resources/content/pref-addressing.xul

82 строки
3.3 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://messenger/locale/addressbook/pref-addressing.dtd">
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="onLoad();"
headertitle="&pane.title;">
<script type="application/x-javascript" src="chrome://messenger/content/addressbook/pref-directory.js"/>
<script type="application/x-javascript">
<![CDATA[
var _elementIDs = ["emailCollectionIncoming", "emailCollectionOutgoing",
"emailCollectionNewsgroup", "addressingAutocomplete",
"enableCABsizeLimit", "CABsizeLimit", "autocompleteLDAP",
"directoriesList"];
function onLoad(){
createDirectoriesList(true);
parent.initPanel('chrome://messenger/content/addressbook/pref-addressing.xul');
}
function Startup(){
enableAutocomplete();
}
]]>
</script>
<groupbox>
<caption label="&emailCollectiontitle.label;"/>
<description>&emailCollectiontext.label;</description>
<vbox align="start" class="indent">
<checkbox id="emailCollectionIncoming" label="&emailCollectionIncomingEnable.label;"
prefstring="mail.collect_email_address_incoming"/>
<checkbox id="emailCollectionOutgoing" label="&emailCollectionOutgoingEnable.label;"
prefstring="mail.collect_email_address_outgoing"/>
<checkbox id="emailCollectionNewsgroup" label="&emailCollectionNewsgroupEnable.label;"
prefstring="mail.collect_email_address_newsgroup"/>
</vbox>
<hbox align="center">
<checkbox id="enableCABsizeLimit" label="&useCABSizelimitPart1.label;"
prefstring="mail.collect_email_address_enable_size_limit"/>
<textbox id="CABsizeLimit" size="6" preftype="int"
prefstring="mail.collect_email_address_size_limit"/>
<label id="useCABSizelimitPart2" class="small-margin" value="&useCABSizelimitPart2.label;"/>
</hbox>
</groupbox>
<groupbox id="addressAutocompletion">
<caption label="&addressingTitle.label;"/>
<description>&autocompleteText.label;</description>
<hbox align="center">
<checkbox id="addressingAutocomplete" label="&addressingEnable.label;"
prefstring="mail.enable_autocomplete"/>
</hbox>
<hbox align="center">
<checkbox id="autocompleteLDAP" label="&directories.label;"
prefstring="ldap_2.autoComplete.useDirectory"
oncommand="enableAutocomplete();"/>
<menulist id="directoriesList" flex="1"
preftype="string"
prefstring="ldap_2.autoComplete.directoryServer">
<menupopup id="directoriesListPopup"
onpopupshowing="createDirectoriesList(true);">
</menupopup>
</menulist>
<button id="editButton" label="&editDirectories.label;"
prefstring="pref.ldap.disable_button.edit_directories"
oncommand="onEditDirectories();"/>
</hbox>
<!--
<description>&matchText.label;</description>
<hbox align="center">
<checkbox id="autocompleteSkipDirectory"
label="&skipDirectory.label;"
prefstring="ldap_2.autoComplete.skipDirectoryIfLocalMatchFound"/>
</hbox>
-->
</groupbox>
</page>