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 >
Extensible Markup Language  |  2005-09-26  |  5KB  |  123 lines

  1. <?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
  2.  
  3.  
  4. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  5. <?xml-stylesheet href="chrome://browser/content/manageEmailDialog.css" type="text/css"?>
  6.  
  7. <!DOCTYPE window [
  8. <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
  9. %brandDTD;
  10. <!ENTITY % aboutDialogDTD SYSTEM "chrome://browser/locale/aboutDialog.dtd" >
  11. %aboutDialogDTD;
  12. ]>
  13. <!-- xmlns:html="http://www.w3.org/1999/xhtml" -->
  14. <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  15.         id="manageEmailDialog"
  16.         buttons="accept,cancel"
  17.         onload="init(event);" onunload="uninit(event);"
  18.         ondialogaccept="return doOK();" ondialogcancel="return doCancel();"
  19.         title="Manage E-mail Accounts"
  20.         style="width: 400px">
  21.  
  22. <!--  <script type="application/x-javascript" src="chrome://browser/content/manageEmailDialog.js"/>--> 
  23. <script type="application/x-javascript" src="manageEmailDialog.js"/>
  24.         <vbox>
  25.         <hbox>
  26.             <vbox>
  27.                 <description value="E-mail Accounts:"/>
  28.               <listbox id="accountsListbox" flex="1" onselect="AccountSelect(); updateOkButton();">
  29.                 <listitem label="Netscape Mail"/>
  30.               </listbox>
  31.           </vbox>
  32.           <vbox>
  33.               <hbox>
  34.                   <description value="Settings for"/>
  35.                   <description value="accountDescription:" id="acctDesc" />
  36.                   <spacer flex="1"/>
  37.               </hbox>
  38.               <vbox style="border:solid;border-width:1px">
  39.                   <hbox>
  40.                       <description align="left" value="Provider:"/>
  41.                       <menulist id="webemailproviders" flex="1" width="250px">
  42.                         <menupopup  onchange="changeprovider(this);" ><!-- datasources="http://spui.dublin.mercurial.ca/components/devemailtest/content/webmail.rdf"
  43.                                        ref="webmail:availableServices" -->
  44.                             <menuitem label="Other" oncommand="otherSelect();" id="webmail:other" username="User Name"/>
  45.                         </menupopup>
  46.                       </menulist>
  47.                   </hbox>
  48.                   <hbox>
  49.                       <description value="Description: "/>
  50.                       <textbox id="description" flex="1" oninput="changeDescription(); updateOkButton();"/>
  51.                   </hbox>
  52.                   <deck id="otherDeck">
  53.                       <vbox>
  54.                         <grid>
  55.                             <columns>
  56.                                 <column flex="1"/>
  57.                                 <column flex="2"/>
  58.                             </columns>
  59.                             <rows>
  60.                                 <row>
  61.                                     <description align="left" value="User Name:" id="uname"/>
  62.                                          <textbox flex="1" id="userid" value="" oninput="changeUser(); updateOkButton();"/>
  63.                                   </row>
  64.                                   <row>
  65.                                     <description align="left" value="Password:"/>
  66.                                     <textbox flex="1" id="password" type="password" value="" oninput="changeUser(); updateOkButton();"/>
  67.                                     <description value="(encrypted)"/>
  68.                                   </row>
  69.                             </rows>
  70.                         </grid>
  71.                         <description width="60px">Your User Name and Password for this account will be stored, encrypted, locally on your computer.</description>
  72.                         <checkbox label="Log in automatically to read E-mail" id="autolog" disabled="true"/>
  73.                           <checkbox id="dispSep" label="Display separately in toolbar" oncommand="setDispSep2();"/>
  74.                       <hbox>
  75.                         <checkbox id="checkUpdates" label="Check for new E-mail every:" notifyonly="true" />
  76.                         <menulist label="15" id="emailfreq" notifyonly="true">
  77.                           <menupopup>
  78.                             <menuitem label="5" value="5" />
  79.                             <menuitem label="10" value="10" />
  80.                             <menuitem label="15" selected="true" value="15" />
  81.                             <menuitem label="30" value="30" />
  82.                           </menupopup>
  83.                         </menulist>
  84.                         <description value="min." notifyonly="true"/>
  85.                       </hbox>
  86.                       <hbox>
  87.                           <description value="Notification:" notifyonly="true"/>
  88.                           <menulist label="None" id="notification" notifyonly="true">
  89.                               <menupopup>
  90.                                   <menuitem label="Off" value="None" selected="true"/>
  91.                                   <menuitem label="Display in Message Bar" value="Info-Bar" />
  92.                                   <menuitem label="Display Above Taskbar Tray" value="Toaster" />
  93.                             </menupopup>
  94.                           </menulist>
  95.                           <spacer flex="1"/>
  96.                       </hbox>
  97.                     </vbox>
  98.                     <vbox>
  99.                           <checkbox id="dispSep2" label="Display separately in toolbar" oncommand="setDispSep();" />
  100.                         <description value="Inbox URL:"/>
  101.                         <textbox id="InboxURL" oninput="updateOkButton();"/>
  102.                         <description value="Write E-mail URL:"/>
  103.                         <textbox id="WriteURL" oninput="updateOkButton();"/>
  104.                         <description value="Address Book URL:"/>
  105.                         <textbox id="AddressURL" oninput="updateOkButton();"/>
  106.                     </vbox>
  107.               </deck>
  108.               <hbox>
  109.                   <spacer flex="1"/>
  110.                   <button label="Make This My Primary Account" id="setdefault" oncommand="setDefault();" />
  111.               </hbox>
  112.               </vbox>
  113.           </vbox>
  114.         </hbox>
  115.         <hbox>
  116.             <button label="Add Account" oncommand="AddAccount('New Mail Account');"/>
  117.             <button id="removeBtn" label="Remove" oncommand="Remove();" />
  118.             <spacer flex="1"/>
  119.             <button dlgtype="accept"/>
  120.             <button dlgtype="cancel"/>
  121.         </hbox>
  122.     </vbox>
  123. </dialog>