fix for #14355, r=alecf.

only show nntp servers in "subscribe" dialog and only show mail servers and mail folders in "new folder" dialog


git-svn-id: svn://10.0.0.236/trunk@54853 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sspitzer%netscape.com 1999-12-01 03:16:14 +00:00
parent 661a51c2e6
commit ddc473bcbf
2 changed files with 16 additions and 7 deletions

View File

@ -25,6 +25,7 @@ Rights Reserved.
<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"
class="dialog"
@ -46,10 +47,17 @@ Rights Reserved.
<html:select id="selectedparentfolder"
datasources="rdf:msgaccountmanager rdf:mailnewsfolders"
ref="msgaccounts:/">
<html:div flex="100%"/>
<template>
<html:option uri="..." value="...">
<text value="rdf:http://home.netscape.com/NC-rdf#Name"/>
</html:option>
<rule nc:ServerType="pop3">
<html:option uri="..." value="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</rule>
<rule nc:ServerType="none">
<html:option uri="..." value="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</rule>
<rule nc:ServerType="imap">
<html:option uri="..." value="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</rule>
</template>
</html:select>
<spring flex="100%"/>

View File

@ -25,6 +25,7 @@ Rights Reserved.
<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"
class="dialog"
@ -43,13 +44,13 @@ Rights Reserved.
<html:input tabindex="0" type="text" id="name" style="width:100%"/>
<html:select id="selectedparentfolder"
<html:select id="selectedparentfolder"
datasources="rdf:msgaccountmanager rdf:mailnewsfolders"
ref="msgaccounts:/">
<template>
<html:option uri="..." value="..." >
<text value="rdf:http://home.netscape.com/NC-rdf#Name"/>
</html:option>
<rule nc:ServerType="nntp" nc:IsServer="true" >
<html:option uri="..." value="..." label="rdf:http://home.netscape.com/NC-rdf#Name" />
</rule>
</template>
</html:select>
<spring flex="100%"/>