gecko-dev/mailnews/base/resources/content/subscribe.xul

98 lines
3.2 KiB
Plaintext
Raw Normal View History

<?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"
onload="SubscribeOnLoad()"
style="padding:10px">
<html:script language="JavaScript" src="chrome://messenger/content/widgetglue.js"/>
<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>
<titledbutton id="currentserver" value="..."/>
</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%"/>
</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"
onclick="SubscribeOnClick(event);">
<template>
2000-03-18 17:27:40 +00:00
<rule>
<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"/>
</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>
</tree>
</box>
<box align="vertical" flex="20%">
<spring flex="100%"/>
<titledbutton id="subscribe" class="push" value="&subscribeButton.label;" onclick="SubscribeButtonClicked()"/>
<titledbutton id="unsubscribe" class="push" value="&unsubscribeButton.label;" onclick="UnsubscribeButtonClicked()"/>
<spring flex="100%"/>
</box>
</box>
<box id="okCancelButtons"/>
</window>