releases-comm-central/mailnews/base/content/newFolderDialog.xhtml

68 строки
2.6 KiB
HTML

<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<?xml-stylesheet href="chrome://messenger/skin/dialogs.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/messenger.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/folderMenus.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/input-fields.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/themeableDialog.css" type="text/css"?>
<!DOCTYPE window [
<!ENTITY % newFolderDTD SYSTEM "chrome://messenger/locale/newFolderDialog.dtd">%newFolderDTD;
]>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
title="&newFolderDialog.title;"
lightweightthemes="true"
style="width: 25em;"
onload="onLoad();">
<dialog buttonlabelaccept="&accept.label;"
buttonaccesskeyaccept="&accept.accesskey;">
<script src="chrome://global/content/globalOverlay.js"/>
<script src="chrome://global/content/editMenuOverlay.js"/>
<script src="chrome://messenger/content/newFolderDialog.js"/>
<script src="chrome://messenger/content/dialogShadowDom.js"/>
<label id="nameLabel" value="&name.label;" accesskey="&name.accesskey;"
control="name"/>
<html:input id="name"
type="text"
class="input-inline"
aria-labelledby="nameLabel"
oninput="doEnabling();"/>
<separator/>
<label value="&description.label;" accesskey="&description.accesskey;" control="msgNewFolderPicker"/>
<menulist id="msgNewFolderPicker" class="folderMenuItem"
displayformat="verbose">
<menupopup is="folder-menupopup" id="MsgNewFolderPopup"
showFileHereLabel="true"
class="menulist-menupopup"
mode="newFolder"
oncommand="onFolderSelect(event)"/>
</menulist>
<vbox id="newFolderTypeBox">
<separator class="thin"/>
<label value="&folderRestriction1.label;"/>
<label value="&folderRestriction2.label;"/>
<separator class="thin"/>
<radiogroup id="folderGroup" orient="horizontal" class="indent">
<radio oncommand="onFoldersOnly();" label="&foldersOnly.label;"/>
<radio oncommand="onMessagesOnly();" label="&messagesOnly.label;" selected="true"/>
</radiogroup>
</vbox>
</dialog>
</window>