gecko-dev/minimo/chrome/content/preferences.xul
2005-09-07 21:34:04 +00:00

70 lines
2.9 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
<?xml-stylesheet href="chrome://minimo/skin/minimo.css" type="text/css"?>
<?xml-stylesheet href="chrome://minimo/skin/preferences.css" type="text/css"?>
<!DOCTYPE prefwindow [
<!ENTITY % preferencesDTD SYSTEM "chrome://minimo/locale/preferences.dtd">
%preferencesDTD;
]>
<prefwindow id="main-window"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
windowtype="Browser:page-preferences">
<script type="application/x-javascript" src="chrome://minimo/content/preferences.js"/>
<stringbundle id="bundlePreferences" src="chrome://minimo/locale/minimo.properties"/>
<prefpane id="Privacy">
<button label="&sanitizeButton.label;" oncommand="sanitizeAll();"/>
</prefpane>
<prefpane id="ConnectionsDialogPane">
<preferences>
<preference id="network.proxy.type" name="network.proxy.type" type="int"/>
<preference id="network.proxy.http" name="network.proxy.http" type="string"/>
<preference id="network.proxy.http_port" name="network.proxy.http_port" type="int"/>
</preferences>
<groupbox>
<caption label="&proxyCaption.label;"/>
<checkbox id="UseProxy" label="&useproxyCheckbox.label;" preference="network.proxy.type"
onsyncfrompreference="return readProxyPref();"
onsynctopreference="return writeProxyPref();"/>
<hbox>
<textbox id="networkProxyHTTP" preference="network.proxy.http"/>
<label value="Port"/>
<textbox id="networkProxyHTTP_Port" size="5" preference="network.proxy.http_port"/>
</hbox>
</groupbox>
</prefpane>
<prefpane id="GeneralPane">
<preferences>
<preference id="browser.startup.homepage" name="browser.startup.homepage" type="wstring"/>
<preference id="permissions.default.image" name="permissions.default.image" type="int"/>
<preference id="ssr.enabled" name="ssr.enabled" type="bool"/>
<preference id="ssr.site.enabled" name="ssr.site.enabled" type="bool"/>
</preferences>
<groupbox>
<caption label="&homeCaption.label;"/>
<textbox id="browserStartupHomepage" class="padded" flex="1" preference="browser.startup.homepage"/>
</groupbox>
<groupbox>
<caption label="&sssCaption.label;"/>
<checkbox id="enableImages" label="&imagesCheckbox.label;" preference="permissions.default.image"
onsyncfrompreference="return readEnableImagesPref();"
onsynctopreference="return writeEnableImagesPref();"/>
<checkbox id="ssr" label="&useSSRCheckbox.label;" preference="ssr.enabled"/>
<checkbox id="sitessr" label="&usesiteSSRCheckbox.label;" preference="ssr.site.enabled"/>
</groupbox>
</prefpane>
</prefwindow>