home *** CD-ROM | disk | FTP | other *** search
- <?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/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 type="application/x-javascript" src="chrome://messenger/content/mailCommands.js"/>
- <script type="application/x-javascript" src="chrome://messenger/content/mailWindow.js"/>
- <script type="application/x-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>
- <hbox pack="end">
- <text class="label" value="&server.label;" for="serverMenu"/>
- </hbox>
- <menulist oncommand="onServerClick(event);" id="serverMenu"
- datasources="rdf:msgaccountmanager rdf:mailnewsfolders"
- 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="namefieldlabel" value="&namefield.label;" for="namefield"/>
- <textbox id="namefield" flex="1" oninput="Search();"/>
- </row>
- </rows>
- </grid>
- <spring/>
- </row>
- <row>
- <separator class="thin"/>
- <spring/>
- </row>
- <row flex="1">
- <deck id="subscribedeck" index="0">
- <hbox id="normalview">
- <tree class="inset" flex="1"
- id="subscribetree"
- datasources="rdf:null"
- multiple="true"
- 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 width" width="0" flex="1" 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>
- </hbox>
- <hbox id="searchview">
- <outliner id="searchOutliner" flex="1" onclick="SearchOnClick(event);">
- <outlinercol id="nameCol" label="..." class="outlinercol-header outlinercol-inset-header" flex="5" width="0" persist="hidden width" ignoreincolumnpicker="true" />
- <splitter class="tree-splitter" />
- <outlinercol id="subscribedCol" flex="1" width="0" persist="hidden width" class="outlinercol-header outlinercol-inset-header subscribedColumnHeader" label="&subscribedHeader.label;" />
- <splitter class="tree-splitter" />
- <outlinercol id="messagesCol" label="&messagesHeader.label;" class="outlinercol-header outlinercol-inset-header" flex="1" width="0" persist="hidden width" />
- <outlinerbody id="searchOutlinerBody" flex="1" />
- </outliner>
- </hbox>
- </deck>
- <vbox>
- <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"/>
- </vbox>
- </row>
- <row>
- <statusbar id="status-bar" class="chromeclass-status"/>
- </row>
- </rows>
- </grid>
-
- <separator/>
-
- <hbox id="okCancelButtonsRight"/>
-
- </window>
-