mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 20:17:37 +00:00
159 lines
7.0 KiB
XML
159 lines
7.0 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/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">
|
|
|
|
|
|
<dialog xmlns:NC="http://home.netscape.com/NC-rdf#"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
title="&subscribeDialog.title;"
|
|
width="500"
|
|
height="400"
|
|
persist="width height screenX screenY"
|
|
onload="SubscribeOnLoad()"
|
|
onunload="SubscribeOnUnload()"
|
|
ondialogaccept="return subscribeOK();"
|
|
ondialogcancel="return subscribeCancel();">
|
|
|
|
<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"/>
|
|
<script type="application/x-javascript" src="chrome://messenger/content/widgetglue.js"/>
|
|
|
|
<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" align="center">
|
|
<label value="&server.label;" control="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 align="center">
|
|
<label value="&namefield.label;" id="namefieldlabel" control="namefield"/>
|
|
<textbox id="namefield" flex="1" oninput="Search();"/>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<spacer/>
|
|
</row>
|
|
<row>
|
|
<separator class="thin"/>
|
|
<spacer/>
|
|
</row>
|
|
<row flex="1">
|
|
<deck id="subscribedeck" selectedIndex="0">
|
|
<hbox id="normalview">
|
|
<tree 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);">
|
|
<outlinercols>
|
|
<outlinercol id="nameCol" label="..." flex="5" width="0" persist="hidden width" ignoreincolumnpicker="true" />
|
|
<splitter class="tree-splitter" />
|
|
<outlinercol id="subscribedCol" flex="1" width="0" persist="hidden width" label="&subscribedHeader.label;" />
|
|
<splitter class="tree-splitter" />
|
|
<outlinercol id="messagesCol" label="&messagesHeader.label;" flex="1" width="0" persist="hidden width" />
|
|
</outlinercols>
|
|
<outlinerbody id="searchOutlinerBody" flex="1" />
|
|
</outliner>
|
|
</hbox>
|
|
</deck>
|
|
<vbox>
|
|
<button id="subscribe" label="&subscribeButton.label;" oncommand="SetSubscribeState(true)"/>
|
|
<button id="unsubscribe" label="&unsubscribeButton.label;" oncommand="SetSubscribeState(false)"/>
|
|
<button id="refresh" label="&refreshButton.label;" oncommand="Refresh()"/>
|
|
<button id="stop" label="&stopButton.label;" oncommand="Stop()"/>
|
|
<spacer flex="1"/>
|
|
</vbox>
|
|
</row>
|
|
<row>
|
|
<statusbar id="status-bar" class="chromeclass-status"/>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</dialog>
|