mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
135 lines
5.4 KiB
XML
135 lines
5.4 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://global/content/dialogOverlay.xul"?>
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://messenger/locale/subscribe.dtd">
|
|
|
|
|
|
<window xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
xmlns:NC="http://home.netscape.com/NC-rdf#"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
orient="vertical"
|
|
class="dialog"
|
|
onload="SubscribeOnLoad()">
|
|
|
|
<script language="JavaScript" src="chrome://global/content/strres.js"/>
|
|
<script language="JavaScript" src="chrome://messenger/content/mailCommands.js"/>
|
|
<script language="JavaScript" src="chrome://messenger/content/subscribe.js"/>
|
|
|
|
<keyset id="keyset"/>
|
|
|
|
<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"
|
|
rdf:datasources="rdf:msgaccountmanager rdf:mailnewsfolders"
|
|
rdf:ignore="http://home.netscape.com/NC-rdf#MessageChild"
|
|
rdf:containment="http://home.netscape.com/NC-rdf#child"
|
|
ref="msgaccounts:/" flex="1">
|
|
<template>
|
|
<rule NC:CanSubscribe="true">
|
|
<menupopup>
|
|
<menuitem uri="..." value="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
</menupopup>
|
|
</rule>
|
|
</template>
|
|
</menulist>
|
|
</row>
|
|
<row>
|
|
<text class="label" id="foldertextlabel" value="..." for="namefield"/>
|
|
<textfield id="namefield" flex="1" oninput="trackGroupInTree();"/>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<spring/>
|
|
</row>
|
|
<row flex="1">
|
|
<tree class="inset" flex="1"
|
|
id="subscribetree"
|
|
datasources="rdf:subscribe"
|
|
onclick="SubscribeOnClick(event);">
|
|
<template>
|
|
<rule>
|
|
<treechildren>
|
|
<treeitem uri="..." name="rdf:http://home.netscape.com/NC-rdf#Name" Subscribed="rdf:http://home.netscape.com/NC-rdf#Subscribed">
|
|
<treerow>
|
|
<treecell indent="true" class="treecell-indent" value="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
<treecell class="treecell-image subscribedcol" allowevents="true" onclick="return top.ReverseStateFromNode(event.target.parentNode.parentNode.parentNode)" value="rdf:http://home.netscape.com/NC-rdf#Subscribed"/>
|
|
<treecell value="rdf:http://home.netscape.com/NC-rdf#TotalMessages"/>
|
|
</treerow>
|
|
</treeitem>
|
|
</treechildren>
|
|
</rule>
|
|
</template>
|
|
|
|
<treecolgroup id="theSubscribeColumns">
|
|
<treecol width="7*" id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name"/>
|
|
<treecol width="1*" id="SubscribedColumn" rdf:resource="http://home.netscape.com/NC-rdf#Subscribed"/>
|
|
<treecol width="1*" id="TotalMessagesColumn" rdf:resource="http://home.netscape.com/NC-rdf#TotalMessages"/>
|
|
</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)"/>
|
|
<button id="refresh" class="dialog" value="&refreshButton.label;" oncommand="RefreshList()"/>
|
|
<button id="stop" class="dialog" value="&stopButton.label;" oncommand="Stop()"/>
|
|
</box>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
|
|
<separator class="groove"/>
|
|
|
|
<box>
|
|
<progressmeter id="statusbar-icon" mode="normal" value="0" style="width:100px;height:10px"/>
|
|
<text id="statusText" class="status-bar" value="this space for rent"/>
|
|
<spring flex="1"/>
|
|
<box id="okCancelButtons"/>
|
|
</box>
|
|
|
|
</window>
|