home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 October / Gamestar_77_2005-10_dvd.iso / Programy / nsb-install-8-0.exe / chrome / toolkit.jar / content / mozapps / autofill / UpdatePrompt.xul < prev   
Extensible Markup Language  |  2005-07-29  |  4KB  |  97 lines

  1. <?xml version="1.0"?> 
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 
  4.  
  5. <!DOCTYPE window SYSTEM "chrome://mozapps/locale/autofill/autofill.dtd">
  6.  
  7. <dialog id="UpdatePrompt"
  8.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
  9.         onload="updatePromptOnLoad();"
  10.         ondialogaccept="return updatePromptOnAccept();"
  11.         ondialogextra1="return updatePromptOnExtra1();"
  12.         ondialogextra2="return updatePromptOnExtra2();"
  13.         buttonpack="end"
  14.         buttons="accept,cancel"
  15.         style="min-width: 29em; min-height: 8.5em; -moz-user-focus: ignore;"> 
  16.     
  17.   <script type="application/x-javascript" src="chrome://passwordmgr/content/passwordManager.js"/>
  18.   <script type="application/x-javascript" src="chrome://mozapps/content/autofill/passcard.js" />
  19.   <script type="application/x-javascript" src="chrome://mozapps/content/autofill/UpdatePrompt.js" />
  20.   <script type="application/x-javascript" src="chrome://mozapps/content/autofill/masterpassword.js" />
  21.   
  22.   <stringbundle id="strings" src="chrome://passwordmgr/locale/passwordmgr.properties"/>
  23.   
  24.   <hbox flex="1">
  25.     <hbox align="start">
  26.       <image id="info.icon" class="spaced"/>
  27.     </hbox>
  28.  
  29.     <vbox flex="1" style="max-width: 45em;">
  30.       <!-- text -->
  31.       <description id="info.header" class="header"/>
  32.       <vbox id="info.box"/>
  33.             
  34.       <radiogroup id="radiogroup">
  35.       
  36.           <hbox flex="1" id="updatePasscardContainer">
  37.           <!-- Update passcard button -->
  38.           <hbox id="radio0Container" collapsed="true">
  39.               <radio id="radio0" label="&radio0.label;" selected="true" oncommand="onRadio0Selected();"/>
  40.           </hbox>
  41.           <hbox flex="1" id="dropdown0Container" collapsed="true">
  42.           <menulist maxwidth="300" id="dropdownMenulist0" oncommand="onDropdown0Click(this);">
  43.               <menupopup>
  44.               </menupopup>
  45.             </menulist>
  46.            </hbox>
  47.         </hbox>
  48.       
  49.           <!-- Save a Passcard radio button -->
  50.           <hbox flex="1" id="radio1Container" collapsed="true">
  51.             <radio id="radio1" label="&radio1.label;" oncommand="onRadio1Selected();"/>
  52.         </hbox>
  53.         
  54.         <hbox flex="1" id="nameContainer" hidden="true">
  55.           <separator orient="vertical"/>
  56.           <!-- Passcard Name textbox -->
  57.         <label value="&name.label;" control="nameTextbox" id="nameLabel" disabled="true"/>
  58.           <textbox id="nameTextbox" size="12" maxlength="12" disabled="true"/>
  59.         </hbox>
  60.         
  61.         <hbox flex="1" id="checkboxContainer" collapsed="true">
  62.           <!-- Protect with Master Password checkbox -->
  63.           <separator orient="vertical"/>
  64.           <checkbox label="&checkbox.label;" id="checkbox" oncommand="onCheckboxClick(this);" disabled="true"/>
  65.         </hbox>
  66.         
  67.         <!-- Set hidden=true for datacards? -->
  68.         <hbox flex="1" id="dropdown1Container" collapsed="true">
  69.           <!-- Autofill options dropdown -->
  70.           <separator orient="vertical"/>
  71.           <vbox flex="1">
  72.         <label value="&dropdown.label;" control="dropdownMenulist1" id="dropdownLabel" disabled="true"/>
  73.             <menulist maxwidth="300" id="dropdownMenulist1" oncommand="onDropdown1Click(this);" disabled="true">
  74.           <menupopup id="dropdownMenupopup">
  75.           </menupopup>
  76.         </menulist>
  77.       </vbox>
  78.     </hbox>
  79.     
  80.     <!-- Never Save passwords radio button -->
  81.     <hbox flex="1" id="radio2Container" collapsed="true">
  82.           <radio id="radio2" label="&radio2.label;" oncommand="onRadio2Selected();"/>
  83.       </hbox>
  84.       </radiogroup>  
  85.    </vbox>
  86.  </hbox>
  87.  <separator class="thin"/>
  88.    
  89.    <!-- This method is called inline because it may unset hidden="true" on the
  90.         above boxes, causing their frames to be build and bindings to load.  
  91.         So, by calling this inline, we guarantee the textboxes and checkboxes 
  92.         above will have their bindings before initButtons is called, and the
  93.         dialog will be intrinsically sized correctly. -->
  94.    <script type="application/x-javascript">showControls();</script>
  95.  
  96.  </dialog>
  97.