home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2005 December
/
PCWorld_2005-12_cd.bin
/
komunikace
/
netscape
/
nsb-install-8-0.exe
/
chrome
/
browser.jar
/
content
/
browser
/
manageEmailDialog.xul
< prev
next >
Wrap
Extensible Markup Language
|
2005-09-26
|
5KB
|
123 lines
<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://browser/content/manageEmailDialog.css" type="text/css"?>
<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
%brandDTD;
<!ENTITY % aboutDialogDTD SYSTEM "chrome://browser/locale/aboutDialog.dtd" >
%aboutDialogDTD;
]>
<!-- xmlns:html="http://www.w3.org/1999/xhtml" -->
<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
id="manageEmailDialog"
buttons="accept,cancel"
onload="init(event);" onunload="uninit(event);"
ondialogaccept="return doOK();" ondialogcancel="return doCancel();"
title="Manage E-mail Accounts"
style="width: 400px">
<!-- <script type="application/x-javascript" src="chrome://browser/content/manageEmailDialog.js"/>-->
<script type="application/x-javascript" src="manageEmailDialog.js"/>
<vbox>
<hbox>
<vbox>
<description value="E-mail Accounts:"/>
<listbox id="accountsListbox" flex="1" onselect="AccountSelect(); updateOkButton();">
<listitem label="Netscape Mail"/>
</listbox>
</vbox>
<vbox>
<hbox>
<description value="Settings for"/>
<description value="accountDescription:" id="acctDesc" />
<spacer flex="1"/>
</hbox>
<vbox style="border:solid;border-width:1px">
<hbox>
<description align="left" value="Provider:"/>
<menulist id="webemailproviders" flex="1" width="250px">
<menupopup onchange="changeprovider(this);" ><!-- datasources="http://spui.dublin.mercurial.ca/components/devemailtest/content/webmail.rdf"
ref="webmail:availableServices" -->
<menuitem label="Other" oncommand="otherSelect();" id="webmail:other" username="User Name"/>
</menupopup>
</menulist>
</hbox>
<hbox>
<description value="Description: "/>
<textbox id="description" flex="1" oninput="changeDescription(); updateOkButton();"/>
</hbox>
<deck id="otherDeck">
<vbox>
<grid>
<columns>
<column flex="1"/>
<column flex="2"/>
</columns>
<rows>
<row>
<description align="left" value="User Name:" id="uname"/>
<textbox flex="1" id="userid" value="" oninput="changeUser(); updateOkButton();"/>
</row>
<row>
<description align="left" value="Password:"/>
<textbox flex="1" id="password" type="password" value="" oninput="changeUser(); updateOkButton();"/>
<description value="(encrypted)"/>
</row>
</rows>
</grid>
<description width="60px">Your User Name and Password for this account will be stored, encrypted, locally on your computer.</description>
<checkbox label="Log in automatically to read E-mail" id="autolog" disabled="true"/>
<checkbox id="dispSep" label="Display separately in toolbar" oncommand="setDispSep2();"/>
<hbox>
<checkbox id="checkUpdates" label="Check for new E-mail every:" notifyonly="true" />
<menulist label="15" id="emailfreq" notifyonly="true">
<menupopup>
<menuitem label="5" value="5" />
<menuitem label="10" value="10" />
<menuitem label="15" selected="true" value="15" />
<menuitem label="30" value="30" />
</menupopup>
</menulist>
<description value="min." notifyonly="true"/>
</hbox>
<hbox>
<description value="Notification:" notifyonly="true"/>
<menulist label="None" id="notification" notifyonly="true">
<menupopup>
<menuitem label="Off" value="None" selected="true"/>
<menuitem label="Display in Message Bar" value="Info-Bar" />
<menuitem label="Display Above Taskbar Tray" value="Toaster" />
</menupopup>
</menulist>
<spacer flex="1"/>
</hbox>
</vbox>
<vbox>
<checkbox id="dispSep2" label="Display separately in toolbar" oncommand="setDispSep();" />
<description value="Inbox URL:"/>
<textbox id="InboxURL" oninput="updateOkButton();"/>
<description value="Write E-mail URL:"/>
<textbox id="WriteURL" oninput="updateOkButton();"/>
<description value="Address Book URL:"/>
<textbox id="AddressURL" oninput="updateOkButton();"/>
</vbox>
</deck>
<hbox>
<spacer flex="1"/>
<button label="Make This My Primary Account" id="setdefault" oncommand="setDefault();" />
</hbox>
</vbox>
</vbox>
</hbox>
<hbox>
<button label="Add Account" oncommand="AddAccount('New Mail Account');"/>
<button id="removeBtn" label="Remove" oncommand="Remove();" />
<spacer flex="1"/>
<button dlgtype="accept"/>
<button dlgtype="cancel"/>
</hbox>
</vbox>
</dialog>