[PALEMOON] Add captive portal preference to the UI.

Tag #860
This commit is contained in:
wolfbeast 2019-01-16 01:57:41 +01:00 • committed by Roy Tam
commit 7f9b5f6329
2 changed files with 15 additions and 0 deletions

View file

@ -48,6 +48,8 @@
type="bool"/> type="bool"/>
#endif #endif
<preference id="pref.general.compatmode" name="general.useragent.compatMode" type="int"/> <preference id="pref.general.compatmode" name="general.useragent.compatMode" type="int"/>
<preference id="pref.general.captiveportal" name="network.captive-portal-service.enabled" type="bool"/>
<!-- Network tab --> <!-- Network tab -->
<preference id="browser.cache.disk.capacity" name="browser.cache.disk.capacity" type="int"/> <preference id="browser.cache.disk.capacity" name="browser.cache.disk.capacity" type="int"/>
@ -179,6 +181,7 @@
</hbox> </hbox>
</groupbox> </groupbox>
#endif #endif
<!-- User Agent compatibility -->
<groupbox id="UACompatGroup" orient="vertical"> <groupbox id="UACompatGroup" orient="vertical">
<caption label="&UACompatGroup.label;"/> <caption label="&UACompatGroup.label;"/>
<hbox align="center"> <hbox align="center">
@ -192,6 +195,15 @@
</menulist> </menulist>
</hbox> </hbox>
</groupbox> </groupbox>
<!-- Captive portal detection -->
<groupbox id="captivePortalGroup" orient="vertical">
<caption label="&captivePortalGroup.label;"/>
<checkbox id="captivePortalDetect"
label="&captivePortalDetect.label;"
preference="pref.general.captiveportal"/>
</groupbox>
</tabpanel> </tabpanel>
<!-- Network --> <!-- Network -->

View file

@ -39,6 +39,9 @@
<!ENTITY UACompat.Gecko "Gecko Compatibility"> <!ENTITY UACompat.Gecko "Gecko Compatibility">
<!ENTITY UACompat.Firefox "Firefox Compatibility"> <!ENTITY UACompat.Firefox "Firefox Compatibility">
<!ENTITY captivePortalGroup.label "Captive portals">
<!ENTITY captivePortalDetect.label "Detect restricted network access">
<!ENTITY dataChoicesTab.label "Data Choices"> <!ENTITY dataChoicesTab.label "Data Choices">
<!ENTITY crashReporterSection.label "Crash Reporter"> <!ENTITY crashReporterSection.label "Crash Reporter">