home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-macos9-1.3.1.sea.bin / Mozilla1.3.1 / Chrome / comm.jar / content / communicator / profile / profileSelection.xul < prev    next >
Extensible Markup Language  |  2003-06-08  |  4KB  |  113 lines

  1. <?xml version="1.0"?> 
  2. <!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
  3. <!--
  4.  
  5.   The contents of this file are subject to the Netscape Public
  6.   License Version 1.1 (the "License"); you may not use this file
  7.   except in compliance with the License. You may obtain a copy of
  8.   the License at http://www.mozilla.org/NPL/
  9.  
  10.   Software distributed under the License is distributed on an "AS
  11.   IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  12.   implied. See the License for the specific language governing
  13.   rights and limitations under the License.
  14.  
  15.   The Original Code is mozilla.org code.
  16.  
  17.   The Initial Developer of the Original Code is Netscape
  18.   Communications Corporation.  Portions created by Netscape are
  19.   Copyright (C) 1998 Netscape Communications Corporation. All
  20.   Rights Reserved.
  21.  
  22.   Contributors:
  23.     Code:     Ben Goodger <ben@netscape.com>
  24.     UI Ideas: Matthew Thomas, Ben Gregory
  25.   
  26. -->
  27.  
  28. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  29. <?xml-stylesheet href="chrome://communicator/skin/profile/profile.css" type="text/css"?>
  30.  
  31. <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
  32.  
  33. <!DOCTYPE window [
  34. <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd">
  35. %brandDTD;
  36. <!ENTITY % profileDTD SYSTEM "chrome://communicator/locale/profile/profileSelection.dtd">
  37. %profileDTD;
  38. ]>
  39.  
  40. <window
  41.   id="profileWindow"
  42.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
  43.   class="color-dialog non-resizable"
  44.   title="&windowtitle.label;"
  45.   orient="vertical"
  46.   style="width: 42em;"
  47.   onclose="onExit();"
  48.   onload="StartUp();"> 
  49.       
  50.   <stringbundle id="bundle_profileManager"
  51.                 src="chrome://communicator/locale/profile/profileManager.properties"/>
  52.   <stringbundle id="bundle_brand"
  53.                 src="chrome://global/locale/brand.properties"/>
  54.   
  55.   <script type="application/x-javascript" src="chrome://global/content/nsJSComponentManager.js"/>
  56.   <script type="application/x-javascript" src="chrome://communicator/content/profile/profileSelection.js"/>
  57.   <script type="application/x-javascript" src="chrome://communicator/content/profile/profileManager.js"/>
  58.   
  59.   <keyset id="dialogKeys"/>
  60.  
  61.   <dialogheader class="header-large" id="header" title="&profilemanager.label;" description="&windowtitle.label;"/>
  62.   
  63.   <hbox class="wizard-box" flex="1">
  64.  
  65.     <!-- instructions -->
  66.     <deck id="prattle">
  67.       <description id="intro" style="width: 17em;border:1px solid transparent;" flex="1">""</description>
  68.       <vbox id="manager">
  69.         <description style="width: 17em;" class="label">&pmTextA.label;</description>
  70.         <separator/>
  71.         <hbox>
  72.           <vbox flex="1" id="managebuttons">
  73.             <button id="newbutton" label="&newButton.label;" oncommand="CreateProfileWizard();"/>
  74.             <button id="renbutton" label="&renameButton.label;" oncommand="RenameProfile();"/>
  75.             <button id="delbutton" label="&deleteButton.label;" oncommand="ConfirmDelete();"/>
  76.           </vbox>
  77.           <spacer flex="2"/>
  78.         </hbox>
  79.       </vbox>
  80.     </deck>  
  81.       
  82.     <separator class="thin" orient="vertical"/>
  83.     
  84.     <vbox flex="1">
  85.       <listbox id="profiles" flex="1" style="height: 0px;" seltype="single"
  86.             onclick="HandleClickEvent( event );"
  87.             onselect="DoEnabling();"
  88.             onkeypress="HandleKeyEvent( event );">
  89.         <listhead>
  90.           <listheader label="&availprofiles.label;"/>
  91.         </listhead>
  92.       </listbox>
  93.       <vbox>
  94.         <checkbox id="offlineState" label="&offlineState.label;" accesskey="&offlineState.accesskey;"/> 
  95.         <checkbox id="autoSelectLastProfile" label="&autoSelectLastProfile.label;" accesskey="&autoSelectLastProfile.accesskey;"/> 
  96.       </vbox>
  97.     </vbox>
  98.   </hbox>
  99.   
  100.   <hbox class="selection">
  101.     <separator class="thin" orient="vertical"/>
  102.     <button id="manage" label="&manage.label;" oncommand="SwitchProfileManagerMode();"/>
  103.     <spacer flex="1"/>
  104.     <hbox id="okCancelButtons"/>
  105.     <separator class="thin" orient="vertical"/>
  106.   </hbox>
  107.   
  108.   <separator class="thin" />
  109.   
  110.   <hbox id="profileManager-status" class="box-status" value="&profilemanager.label;" progress=""/>
  111.   
  112. </window>
  113.