SOURCES: mozilla-firefox-prefs.patch - immediately show "Add exception" but...

hawk hawk at pld-linux.org
Sun Jun 22 13:57:34 CEST 2008


Author: hawk                         Date: Sun Jun 22 11:57:34 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- immediately show "Add exception" button on SSL errors (instead of link which
  then shows the button), prefer "Add exception" over "Get me out of here!"

---- Files affected:
SOURCES:
   mozilla-firefox-prefs.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/mozilla-firefox-prefs.patch
diff -u SOURCES/mozilla-firefox-prefs.patch:1.2 SOURCES/mozilla-firefox-prefs.patch:1.3
--- SOURCES/mozilla-firefox-prefs.patch:1.2	Sun Jun 22 12:59:17 2008
+++ SOURCES/mozilla-firefox-prefs.patch	Sun Jun 22 13:57:29 2008
@@ -77,3 +77,28 @@
              <checkbox id="enableAddonUpdate"
                        label="&enableAddonsUpdate.label;"
                        accesskey="&enableAddonsUpdate.accesskey;"
+diff -ur mozilla.orig/docshell/resources/content/netError.xhtml mozilla/docshell/resources/content/netError.xhtml
+--- mozilla.orig/docshell/resources/content/netError.xhtml	2008-06-21 12:55:24.000000000 +0200
++++ mozilla/docshell/resources/content/netError.xhtml	2008-06-22 13:08:20.000000000 +0200
+@@ -334,8 +334,8 @@
+         <!-- Override section - For ssl errors only.  Removed on init for other
+              error types.  -->
+         <div id="securityOverrideDiv">
+-          <a id="securityOverrideLink" href="javascript:showSecuritySection();" >&securityOverride.linkText;</a>
+-          <div id="securityOverrideContent" style="display: none;">&securityOverride.warningText;</div>
++          <a id="securityOverrideLink" href="javascript:showSecuritySection();" style="display: none;">&securityOverride.linkText;</a>
++          <div id="securityOverrideContent">&securityOverride.warningText;</div>
+         </div>
+       </div>
+ 
+diff -ur mozilla.orig/browser/locales/en-US/chrome/overrides/netError.dtd mozilla/browser/locales/en-US/chrome/overrides/netError.dtd
+--- mozilla.orig/browser/locales/en-US/chrome/overrides/netError.dtd	2008-06-21 12:55:30.000000000 +0200
++++ mozilla/browser/locales/en-US/chrome/overrides/netError.dtd	2008-06-22 13:52:26.000000000 +0200
+@@ -175,6 +175,6 @@
+ <!ENTITY securityOverride.warningText "
+ <p>You should not add an exception if you are using an internet connection that you do not trust completely or if you are not used to seeing a warning for this server.</p>
+ 
+-<xul:button xmlns:xul='http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul' id='getMeOutOfHereButton' label='&securityOverride.getMeOutOfHereButton;'/>
+ <xul:button xmlns:xul='http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul' id='exceptionDialogButton' label='&securityOverride.exceptionButtonLabel;'/>
++<xul:button xmlns:xul='http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul' id='getMeOutOfHereButton' label='&securityOverride.getMeOutOfHereButton;'/>
+ ">
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/mozilla-firefox-prefs.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list