mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 20:17:37 +00:00
149 lines
6.3 KiB
XML
149 lines
6.3 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
The contents of this file are subject to the Netscape Public
|
|
License Version 1.1 (the "License"); you may not use this file
|
|
except in compliance with the License. You may obtain a copy of
|
|
the License at http://www.mozilla.org/NPL/
|
|
|
|
Software distributed under the License is distributed on an "AS
|
|
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
implied. See the License for the specific language governing
|
|
rights and limitations under the License.
|
|
|
|
The Original Code is Mozilla Communicator client code, released
|
|
March 31, 1998.
|
|
|
|
The Initial Developer of the Original Code is Netscape
|
|
Communications Corporation. Portions created by Netscape are
|
|
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
|
Rights Reserved.
|
|
-->
|
|
|
|
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://messenger/skin/subscribe.css" type="text/css"?>
|
|
<?xul-overlay href="chrome://messenger/content/mailWindowOverlay.xul"?>
|
|
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://messenger/locale/subscribe.dtd">
|
|
|
|
|
|
<window xmlns:NC="http://home.netscape.com/NC-rdf#"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
title="&subscribeDialog.title;"
|
|
orient="vertical"
|
|
class="dialog"
|
|
width="500"
|
|
height="400"
|
|
id="subscribeWindow"
|
|
persist="width height screenX screenY"
|
|
onload="SubscribeOnLoad()"
|
|
onunload="SubscribeOnUnload()"
|
|
onclose="Stop()">
|
|
|
|
<stringbundle id="bundle_subscribe" src="chrome://messenger/locale/subscribe.properties"/>
|
|
<stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties"/>
|
|
<stringbundle id="bundle_brand" src="chrome://global/locale/brand.properties"/>
|
|
<script language="JavaScript" src="chrome://messenger/content/mailCommands.js"/>
|
|
<script language="JavaScript" src="chrome://messenger/content/mailWindow.js"/>
|
|
<script language="JavaScript" src="chrome://messenger/content/subscribe.js"/>
|
|
|
|
<keyset id="dialogKeys"/>
|
|
|
|
<grid flex="1" style="width: 40em; height: 25em;">
|
|
<columns>
|
|
<column flex="1"/>
|
|
<column/>
|
|
</columns>
|
|
|
|
<rows>
|
|
<row>
|
|
<grid flex="1">
|
|
<columns>
|
|
<column/>
|
|
<column flex="1"/>
|
|
</columns>
|
|
|
|
<rows>
|
|
<row>
|
|
<text class="label" value="&server.label;" for="serverMenu"/>
|
|
<menulist oncommand="onServerClick(event);" id="serverMenu"
|
|
datasources="rdf:msgaccountmanager rdf:mailnewsfolders"
|
|
ignore="http://home.netscape.com/NC-rdf#MessageChild"
|
|
containment="http://home.netscape.com/NC-rdf#child"
|
|
ref="msgaccounts:/" flex="1">
|
|
<template>
|
|
<rule NC:CanSubscribe="true">
|
|
<menupopup>
|
|
<menuitem class="subscribeMenuItem menuitem-iconic" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name" ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType" IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"/>
|
|
</menupopup>
|
|
</rule>
|
|
</template>
|
|
</menulist>
|
|
</row>
|
|
<row>
|
|
<text class="label" id="foldertextlabel" value="..." for="namefield"/>
|
|
<textbox id="namefield" flex="1" oninput="trackGroupInTree();"/>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<spring/>
|
|
</row>
|
|
<row>
|
|
<separator class="thin"/>
|
|
<spring/>
|
|
</row>
|
|
<row flex="1">
|
|
<tree class="inset" flex="1"
|
|
id="subscribetree"
|
|
datasources="rdf:null"
|
|
onclick="SubscribeOnClick(event);">
|
|
<template>
|
|
<rule>
|
|
<treechildren flex="1">
|
|
<treeitem uri="..." name="rdf:http://home.netscape.com/NC-rdf#Name" Subscribed="rdf:http://home.netscape.com/NC-rdf#Subscribed" ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
|
|
<treerow>
|
|
<treecell indent="true" class="treecell-indent tree-cell-subscribe-icon" label="rdf:http://home.netscape.com/NC-rdf#LeafName" ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"/>
|
|
<treecell class="treecell-image subscribedcol" Subscribed="rdf:http://home.netscape.com/NC-rdf#Subscribed" allowevents="true"/>
|
|
<treecell label="rdf:http://home.netscape.com/NC-rdf#TotalMessages"/>
|
|
</treerow>
|
|
</treeitem>
|
|
</treechildren>
|
|
</rule>
|
|
</template>
|
|
|
|
<treecolgroup id="theSubscribeColumns">
|
|
<treecol persist="hidden width" width="0" flex="5" id="NameColumn" resource="http://home.netscape.com/NC-rdf#Name"/>
|
|
<splitter class="tree-splitter"/>
|
|
<treecol persist="hidden" fixed="true" id="SubscribedColumn" resource="http://home.netscape.com/NC-rdf#Subscribed"/>
|
|
<splitter class="tree-splitter"/>
|
|
<treecol persist="hidden width" width="0" flex="1" id="TotalMessagesColumn" resource="http://home.netscape.com/NC-rdf#TotalMessages"/>
|
|
</treecolgroup>
|
|
|
|
<treehead>
|
|
<treerow id="headRow">
|
|
<treecell class="treecell-header outset" id="foldersheaderlabel" label="..." />
|
|
<treecell class="treecell-header outset" label="&subscribedHeader.label;"/>
|
|
<treecell class="treecell-header outset" label="&messagesHeader.label;"/>
|
|
</treerow>
|
|
</treehead>
|
|
</tree>
|
|
<box orient="vertical">
|
|
<button id="subscribe" class="dialog" label="&subscribeButton.label;" oncommand="SetSubscribeState(true)"/>
|
|
<button id="unsubscribe" class="dialog" label="&unsubscribeButton.label;" oncommand="SetSubscribeState(false)"/>
|
|
<button id="refresh" class="dialog" label="&refreshButton.label;" oncommand="Refresh()"/>
|
|
<button id="stop" class="dialog" label="&stopButton.label;" oncommand="Stop()"/>
|
|
<spring flex="1"/>
|
|
</box>
|
|
</row>
|
|
<row>
|
|
<statusbar id="status-bar" class="chromeclass-status"/>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
|
|
<separator/>
|
|
|
|
<box id="okCancelButtonsRight"/>
|
|
|
|
</window>
|