DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
<?xml version="1.0"?> 

<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 

<!DOCTYPE dialog SYSTEM "chrome://global/locale/commonDialog.dtd">

<dialog id="commonDialog"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
        xmlns:xhtml2="http://www.w3.org/TR/xhtml2"
        xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#"
        xhtml2:role="wairole:alert"
        onload="commonDialogOnLoad();"
        ondialogaccept="return commonDialogOnAccept();"
        ondialogextra1="return commonDialogOnExtra1();"
        ondialogextra2="return commonDialogOnExtra2();"
        buttonpack="center"
        style="min-width: 29em; min-height: 8.5em; -moz-user-focus: ignore;"> 
    
  <script type="application/x-javascript" src="chrome://global/content/commonDialog.js"/>

  <hbox flex="1">
    <hbox align="start">
      <image id="info.icon" class="spaced"/>
    </hbox>
    
    <vbox flex="1" style="max-width: 45em;">
#ifdef XP_MACOSX
# On mac, we're exposing the dialog title inside the dialog
      <!-- Dialog title -->
      <description id="info.title" class="dialogTitle"/>
#endif
      <!-- text -->
      <description id="info.header" class="header"/>
      <vbox id="info.box" style="white-space: -moz-pre-wrap;">
        <description/>
      </vbox>

      <!-- textboxes -->
      <vbox id="loginContainer" hidden="true">
        <label id="loginLabel" value="&editfield0.label;" control="loginTextbox"/>
        <textbox id="loginTextbox"/>
        <separator class="thin"/>
      </vbox>
      <vbox id ="password1Container" hidden="true">
        <label id="password1Label" value="&editfield1.label;" control="password1Textbox"/>
        <textbox type="password" id="password1Textbox"/>
        <separator class="thin"/>
      </vbox>
      <vbox id="password2Container" hidden="true">
        <label id="password2Label" value="&editfield2.label;" control="password2Textbox"/>
        <textbox type="password" id="password2Textbox"/>
        <separator class="thin"/>
      </vbox>
  
      <!-- checkbox -->
      <vbox id="checkboxContainer" align="start" collapsed="true">
        <checkbox id="checkbox" oncommand="onCheckboxClick(this);"/>
      </vbox>
    </vbox>
  </hbox>

  <!-- This method is called inline because it may unset hidden="true" on the
       above boxes, causing their frames to be build and bindings to load.  
       So, by calling this inline, we guarantee the textboxes and checkboxes 
       above will have their bindings before initButtons is called, and the
       dialog will be intrinsically sized correctly. -->
  <script type="application/x-javascript">showControls();</script>
</dialog>