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.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
|
|
|
|
<?xml-stylesheet href="chrome://messenger/skin/folderPane.css" type="text/css"?>
|
|
|
|
|
|
|
|
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
|
|
|
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://messenger/locale/subscribe.dtd">
|
|
|
|
|
|
|
|
|
|
|
|
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
|
|
|
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"
|
|
|
|
align="vertical"
|
2000-03-18 17:27:40 +00:00
|
|
|
class="dialog"
|
2000-03-17 18:28:31 +00:00
|
|
|
onload="SubscribeOnLoad()"
|
|
|
|
style="padding:10px">
|
|
|
|
|
2000-03-17 23:08:51 +00:00
|
|
|
<html:script language="JavaScript" src="chrome://messenger/content/widgetglue.js"/>
|
2000-03-17 18:28:31 +00:00
|
|
|
<html:script language="JavaScript" src="chrome://messenger/content/subscribe.js"/>
|
|
|
|
|
|
|
|
<keyset id="keyset"/>
|
|
|
|
|
|
|
|
<box align="horizontal" flex="100%">
|
|
|
|
<box align="vertical" flex="100%">
|
|
|
|
<box align="horizontal" flex="100%">
|
2000-03-18 17:27:40 +00:00
|
|
|
<html:div>&server.label;</html:div>
|
2000-03-17 23:08:51 +00:00
|
|
|
<titledbutton id="currentserver" value="..."/>
|
2000-03-17 18:28:31 +00:00
|
|
|
</box>
|
|
|
|
<box align="horizontal" flex="100%">
|
2000-03-18 17:27:40 +00:00
|
|
|
<html:div>&newsgroup.label;</html:div>
|
|
|
|
<html:input tabindex="0" type="text" id="name"
|
|
|
|
style="width:100%"/>
|
2000-03-17 18:28:31 +00:00
|
|
|
</box>
|
|
|
|
</box>
|
|
|
|
</box>
|
|
|
|
<box align="horizontal" flex="100%">
|
|
|
|
<box align="vertical" flex="100%">
|
|
|
|
|
|
|
|
<tree style="width:100px;" flex="100%"
|
|
|
|
class="inset"
|
|
|
|
id="subscribetree"
|
2000-03-18 17:27:40 +00:00
|
|
|
datasources="rdf:msgaccountmanager rdf:mailnewsfolders" rdf:ignore="http://home.netscape.com/NC-rdf#MessageChild"
|
|
|
|
ref="rdf:null"
|
2000-03-17 18:28:31 +00:00
|
|
|
onclick="SubscribeOnClick(event);">
|
|
|
|
|
|
|
|
<template>
|
2000-03-18 17:27:40 +00:00
|
|
|
<rule>
|
2000-03-17 18:28:31 +00:00
|
|
|
<treechildren>
|
|
|
|
<treeitem uri="...">
|
|
|
|
<treerow>
|
|
|
|
<treecell indent="true" value="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
2000-03-18 17:27:40 +00:00
|
|
|
<treecell indent="true" value="rdf:http://home.netscape.com/NC-rdf#CanSubscribe"/>
|
2000-03-17 18:28:31 +00:00
|
|
|
</treerow>
|
|
|
|
</treeitem>
|
|
|
|
</treechildren>
|
|
|
|
</rule>
|
|
|
|
</template>
|
2000-03-18 17:27:40 +00:00
|
|
|
<treehead>
|
|
|
|
<treerow id="headRow">
|
|
|
|
<treecell value="&newsgroupHeader.label;"/>
|
|
|
|
<treecell value="&subscribedHeader.label;"/>
|
|
|
|
</treerow>
|
|
|
|
</treehead>
|
2000-03-17 18:28:31 +00:00
|
|
|
</tree>
|
|
|
|
|
|
|
|
</box>
|
|
|
|
<box align="vertical" flex="20%">
|
|
|
|
<spring flex="100%"/>
|
2000-03-17 23:08:51 +00:00
|
|
|
<titledbutton id="subscribe" class="push" value="&subscribeButton.label;" onclick="SubscribeButtonClicked()"/>
|
|
|
|
<titledbutton id="unsubscribe" class="push" value="&unsubscribeButton.label;" onclick="UnsubscribeButtonClicked()"/>
|
2000-03-17 18:28:31 +00:00
|
|
|
<spring flex="100%"/>
|
|
|
|
</box>
|
|
|
|
</box>
|
|
|
|
<box id="okCancelButtons"/>
|
|
|
|
|
|
|
|
</window>
|