forked from mirrors/gecko-dev
		
	MozReview-Commit-ID: IjvSZZUHUMt --HG-- extra : rebase_source : a94e212e8af35b77806d1d62e020a511ab62e224
		
			
				
	
	
		
			188 lines
		
	
	
	
		
			10 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			188 lines
		
	
	
	
		
			10 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<!-- This Source Code Form is subject to the terms of the Mozilla Public
 | 
						|
   - License, v. 2.0. If a copy of the MPL was not distributed with this
 | 
						|
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 | 
						|
 | 
						|
<panel id="identity-popup"
 | 
						|
       type="arrow"
 | 
						|
       hidden="true"
 | 
						|
       photon="true"
 | 
						|
       role="alertdialog"
 | 
						|
       onpopupshown="gIdentityHandler.onPopupShown(event);"
 | 
						|
       onpopuphidden="gIdentityHandler.onPopupHidden(event);"
 | 
						|
       orient="vertical">
 | 
						|
 | 
						|
  <broadcasterset>
 | 
						|
    <broadcaster id="identity-popup-mcb-learn-more" class="text-link plain" value="&identity.learnMore;"/>
 | 
						|
    <broadcaster id="identity-popup-insecure-login-forms-learn-more" class="text-link plain" value="&identity.learnMore;"/>
 | 
						|
  </broadcasterset>
 | 
						|
 | 
						|
  <panelmultiview id="identity-popup-multiView"
 | 
						|
                  mainViewId="identity-popup-mainView">
 | 
						|
    <panelview id="identity-popup-mainView"
 | 
						|
               descriptionheightworkaround="true">
 | 
						|
      <!-- Security Section -->
 | 
						|
      <hbox id="identity-popup-security" class="identity-popup-section">
 | 
						|
        <vbox class="identity-popup-security-content" flex="1">
 | 
						|
          <label class="plain">
 | 
						|
            <label class="identity-popup-headline identity-popup-host"></label>
 | 
						|
            <label class="identity-popup-headline identity-popup-hostless" crop="end"/>
 | 
						|
          </label>
 | 
						|
          <description class="identity-popup-connection-not-secure"
 | 
						|
                       when-connection="not-secure secure-cert-user-overridden">&identity.connectionNotSecure;</description>
 | 
						|
          <description class="identity-popup-connection-secure"
 | 
						|
                       when-connection="secure secure-ev">&identity.connectionSecure;</description>
 | 
						|
          <description when-connection="chrome">&identity.connectionInternal;</description>
 | 
						|
          <description when-connection="file">&identity.connectionFile;</description>
 | 
						|
          <description when-connection="extension">&identity.extensionPage;</description>
 | 
						|
 | 
						|
          <vbox id="identity-popup-security-descriptions">
 | 
						|
            <description class="identity-popup-warning-gray"
 | 
						|
                         when-mixedcontent="active-blocked">&identity.activeBlocked;</description>
 | 
						|
            <description class="identity-popup-warning-yellow"
 | 
						|
                         when-mixedcontent="passive-loaded">&identity.passiveLoaded;</description>
 | 
						|
            <description when-mixedcontent="active-loaded">&identity.activeLoaded;</description>
 | 
						|
            <description class="identity-popup-warning-yellow"
 | 
						|
                         when-ciphers="weak">&identity.weakEncryption;</description>
 | 
						|
            <description when-loginforms="insecure">&identity.insecureLoginForms2;</description>
 | 
						|
          </vbox>
 | 
						|
        </vbox>
 | 
						|
        <button id="identity-popup-security-expander"
 | 
						|
                class="identity-popup-expander"
 | 
						|
                when-connection="not-secure secure secure-ev secure-cert-user-overridden"
 | 
						|
                oncommand="gIdentityHandler.showSecuritySubView();"/>
 | 
						|
      </hbox>
 | 
						|
 | 
						|
      <!-- Tracking Protection Section -->
 | 
						|
      <hbox id="tracking-protection-container"
 | 
						|
            class="identity-popup-section"
 | 
						|
            when-connection="not-secure secure secure-ev secure-cert-user-overridden file">
 | 
						|
        <vbox id="tracking-protection-content" flex="1">
 | 
						|
          <label class="identity-popup-headline"
 | 
						|
                 crop="end"
 | 
						|
                 value="&trackingProtection.title;" />
 | 
						|
 | 
						|
          <description id="tracking-blocked"
 | 
						|
                       crop="end">&trackingProtection.detectedBlocked3;</description>
 | 
						|
          <description id="tracking-loaded"
 | 
						|
                       crop="end">&trackingProtection.detectedNotBlocked3;</description>
 | 
						|
          <description id="tracking-not-detected"
 | 
						|
                       crop="end">&trackingProtection.notDetected3;</description>
 | 
						|
 | 
						|
          <button id="tracking-action-unblock"
 | 
						|
                  label="&trackingProtection.unblock.label;"
 | 
						|
                  accesskey="&trackingProtection.unblock.accesskey;"
 | 
						|
                  oncommand="TrackingProtection.disableForCurrentPage();" />
 | 
						|
          <button id="tracking-action-unblock-private"
 | 
						|
                  label="&trackingProtection.unblockPrivate.label;"
 | 
						|
                  accesskey="&trackingProtection.unblockPrivate.accesskey;"
 | 
						|
                  oncommand="TrackingProtection.disableForCurrentPage();" />
 | 
						|
          <button id="tracking-action-block"
 | 
						|
                  label="&trackingProtection.block2.label;"
 | 
						|
                  accesskey="&trackingProtection.block2.accesskey;"
 | 
						|
                  oncommand="TrackingProtection.enableForCurrentPage();" />
 | 
						|
        </vbox>
 | 
						|
      </hbox>
 | 
						|
 | 
						|
      <!-- Permissions Section -->
 | 
						|
      <hbox class="identity-popup-section"
 | 
						|
            when-connection="not-secure secure secure-ev secure-cert-user-overridden file extension">
 | 
						|
        <vbox id="identity-popup-permissions-content" flex="1">
 | 
						|
          <label id="identity-popup-permissions-headline"
 | 
						|
                 class="identity-popup-headline"
 | 
						|
                 value="&identity.permissions;"/>
 | 
						|
          <vbox id="identity-popup-permission-list"/>
 | 
						|
          <description id="identity-popup-permission-reload-hint">&identity.permissionsReloadHint;</description>
 | 
						|
          <description id="identity-popup-permission-empty-hint">&identity.permissionsEmpty;</description>
 | 
						|
        </vbox>
 | 
						|
      </hbox>
 | 
						|
    </panelview>
 | 
						|
 | 
						|
    <!-- Security SubView -->
 | 
						|
    <panelview id="identity-popup-securityView"
 | 
						|
               title="&identity.securityView.label;"
 | 
						|
               descriptionheightworkaround="true">
 | 
						|
      <vbox class="identity-popup-security-content">
 | 
						|
        <label class="plain">
 | 
						|
          <label class="identity-popup-headline identity-popup-host"></label>
 | 
						|
          <label class="identity-popup-headline identity-popup-hostless" crop="end"/>
 | 
						|
        </label>
 | 
						|
        <description class="identity-popup-connection-not-secure"
 | 
						|
                     when-connection="not-secure secure-cert-user-overridden">&identity.connectionNotSecure;</description>
 | 
						|
        <description class="identity-popup-connection-secure"
 | 
						|
                     when-connection="secure secure-ev">&identity.connectionSecure;</description>
 | 
						|
      </vbox>
 | 
						|
 | 
						|
      <vbox id="identity-popup-securityView-body" class="panel-view-body-unscrollable">
 | 
						|
        <!-- (EV) Certificate Information -->
 | 
						|
        <description id="identity-popup-content-verified-by"
 | 
						|
                     when-connection="secure-ev">&identity.connectionVerified2;</description>
 | 
						|
        <description id="identity-popup-content-owner"
 | 
						|
                     when-connection="secure-ev"
 | 
						|
                     class="header"/>
 | 
						|
        <description id="identity-popup-content-supplemental"
 | 
						|
                     when-connection="secure-ev"/>
 | 
						|
        <description id="identity-popup-content-verifier"
 | 
						|
                     when-connection="secure secure-ev secure-cert-user-overridden"/>
 | 
						|
 | 
						|
        <!-- Remove Certificate Exception -->
 | 
						|
        <button when-connection="secure-cert-user-overridden"
 | 
						|
                label="&identity.removeCertException.label;"
 | 
						|
                accesskey="&identity.removeCertException.accesskey;"
 | 
						|
                oncommand="gIdentityHandler.removeCertException()"/>
 | 
						|
 | 
						|
        <!-- Connection is Not Secure -->
 | 
						|
        <description when-connection="not-secure"
 | 
						|
                     and-when-loginforms="secure">&identity.description.insecure;</description>
 | 
						|
 | 
						|
        <!-- Insecure login forms -->
 | 
						|
        <description when-loginforms="insecure">&identity.description.insecureLoginForms; <label observes="identity-popup-insecure-login-forms-learn-more"/></description>
 | 
						|
 | 
						|
        <!-- Weak Cipher -->
 | 
						|
        <description when-ciphers="weak">&identity.description.weakCipher;</description>
 | 
						|
        <description class="identity-popup-warning-yellow"
 | 
						|
                     when-ciphers="weak">&identity.description.weakCipher2;</description>
 | 
						|
 | 
						|
        <!-- Active Mixed Content Blocked -->
 | 
						|
        <description class="identity-popup-warning-gray"
 | 
						|
                     when-mixedcontent="active-blocked">&identity.description.activeBlocked; <label observes="identity-popup-mcb-learn-more"/></description>
 | 
						|
 | 
						|
        <!-- Passive Mixed Content Loaded -->
 | 
						|
        <description when-mixedcontent="passive-loaded">&identity.description.passiveLoaded;</description>
 | 
						|
        <description class="identity-popup-warning-yellow"
 | 
						|
                     when-mixedcontent="passive-loaded">&identity.description.passiveLoaded2; <label observes="identity-popup-mcb-learn-more"/></description>
 | 
						|
 | 
						|
        <!-- Passive Mixed Content Loaded, Active Mixed Content Blocked -->
 | 
						|
        <description when-mixedcontent="passive-loaded active-blocked">&identity.description.passiveLoaded;</description>
 | 
						|
        <description when-mixedcontent="passive-loaded active-blocked"
 | 
						|
                     class="identity-popup-warning-yellow">&identity.description.passiveLoaded3; <label observes="identity-popup-mcb-learn-more"/></description>
 | 
						|
 | 
						|
        <!-- Active Mixed Content Blocking Disabled -->
 | 
						|
        <description when-mixedcontent="active-loaded"
 | 
						|
                     and-when-loginforms="secure">&identity.description.activeLoaded;</description>
 | 
						|
        <description when-mixedcontent="active-loaded"
 | 
						|
                     and-when-loginforms="secure">&identity.description.activeLoaded2; <label observes="identity-popup-mcb-learn-more"/></description>
 | 
						|
        <!-- Show only the first message when there are insecure login forms,
 | 
						|
             and make sure the Learn More link is included. -->
 | 
						|
        <description when-mixedcontent="active-loaded"
 | 
						|
                     and-when-loginforms="insecure">&identity.description.activeLoaded; <label observes="identity-popup-mcb-learn-more"/></description>
 | 
						|
 | 
						|
        <!-- Buttons to enable/disable mixed content blocking. -->
 | 
						|
        <button when-mixedcontent="active-blocked"
 | 
						|
                label="&identity.disableMixedContentBlocking.label;"
 | 
						|
                accesskey="&identity.disableMixedContentBlocking.accesskey;"
 | 
						|
                oncommand="gIdentityHandler.disableMixedContentProtection()"/>
 | 
						|
        <button when-mixedcontent="active-loaded"
 | 
						|
                label="&identity.enableMixedContentBlocking.label;"
 | 
						|
                accesskey="&identity.enableMixedContentBlocking.accesskey;"
 | 
						|
                oncommand="gIdentityHandler.enableMixedContentProtection()"/>
 | 
						|
      </vbox>
 | 
						|
 | 
						|
      <vbox id="identity-popup-securityView-footer">
 | 
						|
        <!-- More Security Information -->
 | 
						|
        <button label="&identity.moreInfoLinkText2;"
 | 
						|
                oncommand="gIdentityHandler.handleMoreInfoClick(event);"/>
 | 
						|
      </vbox>
 | 
						|
 | 
						|
    </panelview>
 | 
						|
  </panelmultiview>
 | 
						|
</panel>
 |