2000-03-17 18:28:31 +00:00
|
|
|
<?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.
|
|
|
|
-->
|
|
|
|
|
2000-05-10 10:12:00 +00:00
|
|
|
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
|
2000-04-20 06:39:28 +00:00
|
|
|
<?xml-stylesheet href="chrome://messenger/skin/subscribe.css" type="text/css"?>
|
2000-08-14 21:43:19 +00:00
|
|
|
<?xul-overlay href="chrome://messenger/content/mailWindowOverlay.xul"?>
|
2000-03-17 18:28:31 +00:00
|
|
|
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
|
|
|
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://messenger/locale/subscribe.dtd">
|
|
|
|
|
|
|
|
|
2000-09-14 05:36:52 +00:00
|
|
|
<window xmlns:NC="http://home.netscape.com/NC-rdf#"
|
2000-03-17 18:28:31 +00:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2000-12-16 00:42:48 +00:00
|
|
|
title="subscribeDialog.title;"
|
2000-04-01 01:56:16 +00:00
|
|
|
orient="vertical"
|
2000-12-06 22:54:46 +00:00
|
|
|
class="dialog"
|
2000-12-05 01:15:54 +00:00
|
|
|
width="500"
|
|
|
|
height="400"
|
|
|
|
id="subscribeWindow"
|
|
|
|
persist="width height screenX screenY"
|
2000-04-30 09:39:15 +00:00
|
|
|
onload="SubscribeOnLoad()">
|
2000-03-17 18:28:31 +00:00
|
|
|
|
2000-04-30 09:39:15 +00:00
|
|
|
<script language="JavaScript" src="chrome://global/content/strres.js"/>
|
2000-05-01 21:58:24 +00:00
|
|
|
<script language="JavaScript" src="chrome://messenger/content/mailCommands.js"/>
|
2000-08-14 21:43:19 +00:00
|
|
|
<script language="JavaScript" src="chrome://messenger/content/mailWindow.js"/>
|
2000-04-30 09:39:15 +00:00
|
|
|
<script language="JavaScript" src="chrome://messenger/content/subscribe.js"/>
|
2000-03-17 18:28:31 +00:00
|
|
|
|
|
|
|
<keyset id="keyset"/>
|
|
|
|
|
2000-05-10 10:12:00 +00:00
|
|
|
<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>
|
2000-05-12 06:43:11 +00:00
|
|
|
<text class="label" value="&server.label;" for="serverMenu"/>
|
2000-05-10 10:12:00 +00:00
|
|
|
<menulist oncommand="onServerClick(event);" id="serverMenu"
|
2000-09-14 05:36:52 +00:00
|
|
|
datasources="rdf:msgaccountmanager rdf:mailnewsfolders"
|
|
|
|
ignore="http://home.netscape.com/NC-rdf#MessageChild"
|
|
|
|
containment="http://home.netscape.com/NC-rdf#child"
|
2000-05-10 10:12:00 +00:00
|
|
|
ref="msgaccounts:/" flex="1">
|
|
|
|
<template>
|
|
|
|
<rule NC:CanSubscribe="true">
|
|
|
|
<menupopup>
|
2000-12-02 03:14:41 +00:00
|
|
|
<menuitem class="subscribeMenuItem menuitem-iconic" uri="..." value="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"/>
|
2000-05-10 10:12:00 +00:00
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
</menulist>
|
|
|
|
</row>
|
|
|
|
<row>
|
2000-05-12 06:43:11 +00:00
|
|
|
<text class="label" id="foldertextlabel" value="..." for="namefield"/>
|
|
|
|
<textfield id="namefield" flex="1" oninput="trackGroupInTree();"/>
|
2000-05-10 10:12:00 +00:00
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
<spring/>
|
2000-08-12 06:33:18 +00:00
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<spring/>
|
2000-05-10 10:12:00 +00:00
|
|
|
</row>
|
|
|
|
<row flex="1">
|
|
|
|
<tree class="inset" flex="1"
|
|
|
|
id="subscribetree"
|
2000-11-17 20:47:31 +00:00
|
|
|
datasources="rdf:null"
|
2000-05-10 10:12:00 +00:00
|
|
|
onclick="SubscribeOnClick(event);">
|
|
|
|
<template>
|
|
|
|
<rule>
|
2000-06-17 03:26:47 +00:00
|
|
|
<treechildren flex="1">
|
2000-12-02 03:14:41 +00:00
|
|
|
<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">
|
2000-05-10 10:12:00 +00:00
|
|
|
<treerow>
|
2000-12-02 03:14:41 +00:00
|
|
|
<treecell indent="true" class="treecell-indent tree-cell-subscribe-icon" value="rdf:http://home.netscape.com/NC-rdf#LeafName" ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"/>
|
2000-12-14 21:43:51 +00:00
|
|
|
<treecell class="treecell-image subscribedcol" value="rdf:http://home.netscape.com/NC-rdf#Subscribed" allowevents="true"/>
|
2000-05-10 10:12:00 +00:00
|
|
|
<treecell value="rdf:http://home.netscape.com/NC-rdf#TotalMessages"/>
|
|
|
|
</treerow>
|
|
|
|
</treeitem>
|
|
|
|
</treechildren>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<treecolgroup id="theSubscribeColumns">
|
2000-12-05 23:22:23 +00:00
|
|
|
<treecol persist="hidden width" width="0" flex="5" id="NameColumn" resource="http://home.netscape.com/NC-rdf#Name"/>
|
2000-08-13 17:30:15 +00:00
|
|
|
<splitter class="tree-splitter"/>
|
2000-12-05 21:53:13 +00:00
|
|
|
<treecol persist="hidden" fixed="true" id="SubscribedColumn" resource="http://home.netscape.com/NC-rdf#Subscribed"/>
|
2000-08-13 17:30:15 +00:00
|
|
|
<splitter class="tree-splitter"/>
|
2000-12-05 23:22:23 +00:00
|
|
|
<treecol persist="hidden width" width="0" flex="1" id="TotalMessagesColumn" resource="http://home.netscape.com/NC-rdf#TotalMessages"/>
|
2000-05-10 10:12:00 +00:00
|
|
|
</treecolgroup>
|
|
|
|
|
|
|
|
<treehead>
|
|
|
|
<treerow id="headRow">
|
|
|
|
<treecell class="treecell-header outset" id="foldersheaderlabel" value="..." />
|
|
|
|
<treecell class="treecell-header outset" value="&subscribedHeader.label;"/>
|
|
|
|
<treecell class="treecell-header outset" value="&messagesHeader.label;"/>
|
|
|
|
</treerow>
|
|
|
|
</treehead>
|
|
|
|
</tree>
|
|
|
|
<box orient="vertical">
|
|
|
|
<button id="subscribe" class="dialog" value="&subscribeButton.label;" oncommand="SetSubscribeState(true)"/>
|
|
|
|
<button id="unsubscribe" class="dialog" value="&unsubscribeButton.label;" oncommand="SetSubscribeState(false)"/>
|
2000-11-17 20:47:31 +00:00
|
|
|
<button id="refresh" class="dialog" value="&refreshButton.label;" oncommand="Refresh()"/>
|
|
|
|
<button id="stop" class="dialog" value="&stopButton.label;" oncommand="Stop()"/>
|
2000-08-12 06:33:18 +00:00
|
|
|
<spring flex="1"/>
|
2000-05-10 10:12:00 +00:00
|
|
|
</box>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
2000-04-01 01:56:16 +00:00
|
|
|
|
2000-08-12 06:33:18 +00:00
|
|
|
<separator/>
|
|
|
|
|
2000-12-06 22:54:46 +00:00
|
|
|
<box id="okCancelButtons"/>
|
|
|
|
|
|
|
|
<statusbar id="status-bar" class="chromeclass-status"/>
|
|
|
|
|
2000-03-17 18:28:31 +00:00
|
|
|
</window>
|