This commit is contained in:
rgoodger%ihug.co.nz 2006-05-17 02:22:45 +00:00
Родитель 68b20b3714
Коммит e57fd33426
21 изменённых файлов: 1011 добавлений и 900 удалений

Просмотреть файл

@ -21,115 +21,77 @@
-->
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-advanced.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="return StartUp('Advanced');"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog"
align="vertical" title="&window.title;"
debug="false">
onload="if( parent.handle ) parent.handle.onpageload( 'pref-advanced' ); else parent.queuedTag = 'pref-advanced';">
<html:script language="javascript" src="chrome://pref/content/PrefsWindow.js"/>
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<spring class="header-spring" flex="1"/>
<titledbutton class="right-header-text" value="&rHeader;"/>
</box>
</box>
<box align="vertical" style="width: 100%;">
<html:fieldset style="width: 100%;">
<html:fieldset style="width: 100%;">
<html:div>
<html:input type="checkbox" id="pref:0:bool:advanced.always_load_images" />
<html:label for="pref:0:bool:advanced.always_load_images" accesskey="i" tabindex="0">
&autoLoadImgCheck.label;
</html:label>
<html:input type="checkbox" id="advancedAlwaysLoadImages"
prefdefval="true"
pref="true" preftype="bool" prefstring="advanced.always_load_images"/>
<html:label for="advancedAlwaysLoadImages" accesskey="i" tabindex="0">
&autoLoadImgCheck.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:advanced.java.allow" />
<html:label for="pref:0:bool:advanced.java.allow" accesskey="j" tabindex="0">
<html:input type="checkbox" id="advancedJavaAllow"
prefdefval="true"
pref="true" preftype="bool" prefstring="advanced.java.allow"/>
<html:label for="advancedJavaAllow" accesskey="j" tabindex="0">
&enbJavaCheck.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:javascript.enabled" />
<html:label for="pref:0:bool:javascript.enabled" accesskey="r" tabindex="0">
<html:input type="checkbox" id="javascriptEnabled"
prefdefval="true"
pref="true" preftype="bool" prefstring="javascript.enabled"/>
<html:label for="javascriptEnabled" accesskey="r" tabindex="0">
&enbJsCheck.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:javascript.allow.mailnews" />
<html:label for="pref:0:bool:javascript.allow.mailnews" accesskey="m" tabindex="0">
<html:input type="checkbox" id="javascriptAllowMailNews"
prefdefval="true"
pref="true" preftype="bool" prefstring="javascript.allow.mailnews" />
<html:label for="javascriptAllowMailNews" accesskey="m" tabindex="0">
&enbJsCheck.labelforMailNNews;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:css.allow" />
<html:label for="pref:0:bool:css.allow" accesskey="s" tabindex="0">
<html:input type="checkbox" id="CSSAllow"
prefdefval="true"
pref="true" preftype="bool" prefstring="css.allow" />
<html:label for="CSSAllow" accesskey="s" tabindex="0">
&enbCssCheck.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:advanced.mailftp" />
<html:label for="pref:0:bool:advanced.mailftp" accesskey="e" tabindex="0">
<html:input type="checkbox" id="advancedMailFTP"
prefdefval="true"
pref="true" preftype="bool" prefstring="advanced.mailftp"/>
<html:label for="advancedMailFTP" accesskey="e" tabindex="0">
&sendAddFtpCheck.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:signon.rememberSignons" />
<html:label for="pref:0:bool:signon.rememberSignons" accesskey="r" tabindex="0">
<html:input type="checkbox" id="signonRememberSignons"
prefdefval="true"
pref="true" preftype="bool" prefstring="signon.rememberSignons" />
<html:label for="signonRememberSignons" accesskey="r" tabindex="0">
&remSignCheck.label;
</html:label>
</html:div>
</html:fieldset>
</box>
<box align="vertical" style="width: 100%;">
<html:fieldset style="width: 100%;">
<html:div>
<html:label for="pref:string:wallet.Server" accesskey="c" tabindex="0">
&server.label;
</html:label>
<html:input name="Wallet Server:" type="text" id="pref:string:wallet.Server" size="25" />
</html:div>
</html:fieldset>
</box>
<box align="vertical" style="width: 100%;">
<html:fieldset style="width: 100%;">
<html:legend align="left">
<html:div>&cookies;</html:div>
</html:legend>
<html:div>
<html:input name="cookies" type="radio" id="pref:0:int:network.cookie.cookieBehavior" />
<html:label for="pref:2:int:network.cookie.cookieBehavior" accesskey="a" tabindex="0">
&accAllCookiesRadio.label;
</html:label>
</html:div>
<html:div>
<html:input type="radio" name="cookies" id="pref:1:int:network.cookie.cookieBehavior" />
<html:label for="pref:0:int:network.cookie.cookieBehavior" accesskey="o" tabindex="0">
&accpOrgCookiesRadio.label;
</html:label>
</html:div>
<html:div>
<html:input type="radio" name="cookies" id="pref:2:int:network.cookie.cookieBehavior" />
<html:label for="pref:1:int:network.cookie.cookieBehavior" accesskey="d" tabindex="0">
&disCookRadio.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:network.cookie.warnAboutCookies" />
<html:label for="pref:0:bool:network.cookie.warnAboutCookies" accesskey="w" tabindex="0">
&warnCookCheck.label;
</html:label>
</html:div>
</html:fieldset>
</box>
</window>

Просмотреть файл

@ -25,75 +25,76 @@
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-appearance.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog"
onload="StartUp('Appearance')"
align="vertical">
align="vertical"
onload="if( parent.handle ) parent.handle.onpageload( 'pref-appearance' ); else parent.queuedTag = 'pref-appearance';">
<html:script language="javascript" src="chrome://pref/content/PrefsWindow.js"/>
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<spring class="header-spring" flex="1"/>
<titledbutton class="right-header-text" value="&rHeader;"/>
<titledbutton class="left-header-text" value="&lHeader;"/>
<spring class="header-spring" flex="1"/>
<titledbutton class="right-header-text" value="&rHeader;"/>
</box>
<html:fieldset style="width: 100%;">
<html:legend align="left">&onStartLegend.label;</html:legend>
<html:div>
<html:input type="checkbox" pref="true" preftype="bool"
prefstring="general.startup.browser" id="generalStartupBrowser"/>
<html:label for="generalStartupBrowser" accesskey="n" tabindex="0">
&navCheck.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" pref="true" preftype="bool"
prefstring="general.startup.mail" id="generalStartupMail"/>
<html:label for="generalStartupMail" accesskey="m" tabindex="0">
&mesCheck.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" pref="true" preftype="bool"
prefstring="general.startup.editor" id="generalStartupEditor"/>
<html:label for="generalStartupEditor" accesskey="c" tabindex="0">
&compCheck.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" pref="true" preftype="bool"
prefstring="general.startup.calendar" id="generalStartupCalendar"/>
<html:label for="generalStartupCalendar" accesskey="a" tabindex="0">
&calCheck.label;
</html:label>
</html:div>
</html:fieldset>
<html:fieldset>
<html:legend align="left">
<html:div>&onStartLegend.label;</html:div>
</html:legend>
<html:div>
<html:input type="checkbox" id="pref:0:bool:general.startup.browser" />
<html:label for="pref:0:bool:general.startup.browser" accesskey="n" tabindex="0">
&navCheck.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:general.startup.mail" />
<html:label for="pref:0:bool:general.startup.mail" accesskey="m" tabindex="0">
&mesCheck.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:general.startup.editor" />
<html:label for="pref:0:bool:general.startup.editor" accesskey="c" tabindex="0">
&compCheck.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="ref:0:bool:general.startup.calendar" />
<html:label for="pref:0:bool:general.startup.calendar" accesskey="a" tabindex="0">
&calCheck.label;
</html:label>
</html:div>
</html:fieldset>
<html:fieldset>
<html:legend align="left">
<html:div>&showToolsLegend.label;</html:div>
</html:legend>
<html:div>
<html:input name="showtoolbar" type="radio" id="pref:2:int:browser.chrome.toolbar_style" />
<html:label for="pref:2:int:browser.chrome.toolbar_style" accesskey="p" tabindex="0">
&picsNtextRadio.label;
</html:label>
</html:div>
<html:div>
<html:input name="showtoolbar" type="radio" id="pref:0:int:browser.chrome.toolbar_style" />
<html:label for="pref:0:int:browser.chrome.toolbar_style" accesskey="o" tabindex="0">
&picsOnlyRadio.label;
</html:label>
</html:div>
<html:div>
<html:input name="showtoolbar" type="radio" id="pref:1:int:browser.chrome.toolbar_style" />
<html:label for="pref:1:int:browser.chrome.toolbar_style" accesskey="t" tabindex="0">
&textonlyRadio.label;
</html:label>
</html:div>
</html:fieldset>
<html:fieldset style="width: 100%;">
<html:legend align="left">&showToolsLegend.label;</html:legend>
<html:div>
<html:input name="showtoolbar" type="radio" pref="true" preftype="int"
prefindex="2" prefstring="browser.chrome.toolbar_style"
id="browserChromeToolbarStyle2"/>
<html:label for="browserChromeToolbarStyle2" accesskey="p" tabindex="0">
&picsNtextRadio.label;
</html:label>
</html:div>
<html:div>
<html:input name="showtoolbar" type="radio" pref="true" preftype="int"
prefindex="0" prefstring="browser.chrome.toolbar_style"
id="browserChromeToolbarStyle0"/>
<html:label for="browserChromeToolbarStyle0" accesskey="o" tabindex="0">
&picsOnlyRadio.label;
</html:label>
</html:div>
<html:div>
<html:input name="showtoolbar" type="radio" pref="true" preftype="int"
prefindex="1" prefstring="browser.chrome.toolbar_style"
id="browserChromeToolbarStyle1"/>
<html:label for="browserChromeToolbarStyle1" accesskey="t" tabindex="0">
&textonlyRadio.label;
</html:label>
</html:div>
</html:fieldset>
<spring flex="100%"/>
</window>

Просмотреть файл

@ -26,46 +26,44 @@
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-applications.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog"
onload="return StartUp('Applications');" title="&window.title;"
align="vertical">
title="&window.title;" align="vertical"
onload="if( parent.handle ) parent.handle.onpageload( 'pref-applications' ); else parent.queuedTag = 'pref-applications';">
<html:script language="javascript" src="chrome://pref/content/PrefsWindow.js"/>
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<spring class="header-spring" flex="1"/>
<titledbutton class="right-header-text" value="&rHeader;"/>
<!-- NOTE to owner of this panel
- this panel is quite complex. It will probably require a getfields
and setfields function for getting and setting appropriate data.
you will need to write some JS to get the correct names and values
from the list as appropriate to pass to the Data Manager
-->
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<spring class="header-spring" flex="1"/>
<titledbutton class="right-header-text" value="&rHeader;"/>
</box>
<html:fieldset>
<html:legend align="left">
<html:div>&descript;</html:div>
</html:legend>
<box style="width: 100%; height: 100%">
<html:select flex="1" name="textstyle" size="5" >
<html:option>
&aimLaunchSelect.label;</html:option>
</html:select>
<box align="vertical">
<titledbutton class="dialog push" id="newTypeButton" value="&newTypeButton.label;" />
<titledbutton class="dialog push" id="editButton" value="&editButton.label;" />
<titledbutton class="dialog push" id="removeButton" value="&removeButton.label;" />
</box>
</box>
</html:fieldset>
<html:fieldset>
<html:legend align="left">
<html:div>&file;</html:div>
</html:legend>
<html:div>&exten;</html:div>
<html:div>&mimeType;</html:div>
<html:div>&handle;</html:div>
</html:fieldset>
<html:fieldset>
<html:legend align="left">&descript;</html:legend>
<box style="width: 100%; height: 100%">
<html:select flex="1" name="textstyle" size="5" >
<html:option>&aimLaunchSelect.label;</html:option>
</html:select>
<box align="vertical">
<titledbutton class="dialog push" id="newTypeButton" value="&newTypeButton.label;" />
<titledbutton class="dialog push" id="editButton" value="&editButton.label;" />
<titledbutton class="dialog push" id="removeButton" value="&removeButton.label;" />
</box>
</box>
</html:fieldset>
<html:fieldset>
<html:legend align="left">&file;</html:legend>
<html:div>&exten;</html:div>
<html:div>&mimeType;</html:div>
<html:div>&handle;</html:div>
</html:fieldset>
</window>

Просмотреть файл

@ -0,0 +1,9 @@
function prefCacheSelectFolder()
{
bundle = srGetStrBundle("chrome://pref/locale/prefutilities.properties");
var folderField = document.getElementById("browserCacheDirectory");
var url = getFileOrFolderURL( bundle.GetStringFromName("cachefolder"), true );
if( url != -1 )
folderField.value = url;
}

Просмотреть файл

@ -20,96 +20,103 @@
Contributor(s):
-->
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-cache.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog"
onload="return StartUp('Cache');"
align="vertical" title="&title.label;"
debug="false">
align="vertical" title="&title.label;"
onload="if( parent.handle ) parent.handle.onpageload( 'pref-cache' ); else parent.queuedTag = 'pref-cache';">
<html:script language="javascript" src="chrome://pref/content/PrefsWindow.js"/>
<html:script language="javascript" src="chrome://global/content/strres.js" />
<html:script language="javascript" src="chrome://pref/content/prefutilities.js"/>
<html:script language="javascript" src="chrome://pref/content/pref-cache.js"/>
<box class="header" style="width:100%" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<spring class="header-spring" flex="1"/>
<titledbutton class="right-header-text" value="&rHeader;"/>
</box>
<box align="vertical" style="width: 100%;">
<html:div>&cachePara;</html:div><spring flex="100%"/>
<html:div></html:div>
<html:table>
<html:tr>
<html:td>
<html:div>&memCache;</html:div>
</html:td>
<html:td>
<box align="horizontal" style="width: 100%;">
<html:input name="disk" type="text" size="3" id="pref:string:browser.cache.memory_cache_size" />
<html:div>&kbyes;</html:div>
</box>
</html:td>
<html:td>
<titledbutton class="dialog push" name="clearm" value="&clearMemcacheButton.label;" />
</html:td>
</html:tr>
<html:tr>
<html:td>
<html:div>&diskCache;</html:div>
</html:td>
<html:td>
<box align="horizontal" style="width: 100%;">
<html:input name="disk" type="text" size="3" id="pref:string:browser.cache.disk_cache_size" />
<html:div>&kbyes;</html:div>
</box>
</html:td>
<html:td>
<titledbutton class="dialog push" name="clearm" value="&clearDiskcacheButton.label;" />
</html:td>
</html:tr>
</html:table>
<box align="horizontal" style="width: 100%;">
<html:div>&diskCacheFolder;</html:div>
<html:input name="disk" type="text" size="20" id="pref:string:browser.cache.directory" />
<html:div>
<titledbutton class="dialog push" value="&chooseFolder;" align="left" onclick="PrefCacheSelectFolder()"/>
<html:fieldset style="width: 100%">
<box align="vertical" style="width: 100%;" flex="100%">
<html:div>&cachePara;</html:div>
<spring style="height: 15px;"/>
<box align="horizontal" flex="100%">
<box align="vertical">
<box align="horizontal">
<spring flex="100%"/>
<html:div class="spreadlabel" style="padding-top: 2px; padding-bottom: 9px;">&memCache;</html:div>
</box>
<box align="horizontal">
<spring flex="100%"/>
<html:div class="spreadlabel" style="padding-top: 2px; padding-bottom: 9px;">&diskCache;</html:div>
</box>
<box align="horizontal">
<spring flex="100%"/>
<html:div class="spreadlabel" style="padding-top: 2px; padding-bottom: 9px;">&diskCacheFolder;</html:div>
</box>
</box>
<box align="vertical" flex="100%">
<box align="horizontal">
<html:div>
<html:input name="disk" type="text" size="5" id="browserCacheMemoryCacheSize"
pref="true" preftype="int" prefstring="browser.cache.memory_cache_size"/>
</html:div>
<html:div>&kbyes;</html:div>
<spring flex="100%"/>
<titledbutton class="dialog push" name="clearm" value="&clearMemcacheButton.label;" />
</box>
<box align="horizontal">
<html:div>
<html:input name="disk" type="text" size="5" id="browserCacheDiskCacheSize"
pref="true" preftype="int" prefstring="browser.cache.disk_cache_size" />
</html:div>
<html:div>&kbyes;</html:div>
<spring flex="100%"/>
<titledbutton class="dialog push" name="clearm" value="&clearDiskcacheButton.label;" />
</box>
<box align="vertical" flex="100%">
<html:input name="disk" type="text" id="browserCacheDirectory"
pref="true" preftype="string" prefstring="browser.cache.directory" flex="100%"/>
</box>
<box align="horizontal">
<spring flex="100%"/>
<titledbutton class="dialog push" value="&chooseFolder;" align="left" onclick="prefCacheSelectFolder()"/>
</box>
</box>
</box>
</box>
<spring style="height: 45px;"/>
</html:fieldset>
<html:fieldset>
<box align="vertical" style="width: 100%;">
<html:div>&docCache;</html:div>
<html:div>
<html:input name="cacheDocFreq" type="radio" id="browserCacheCheckDocFrequency0"
pref="true" preftype="int" prefindex="0" prefstring="browser.cache.check_doc_frequency"/>
<html:label for="browserCacheCheckDocFrequency0" accesskey="o" tabindex="0">
&oncePsessionRadio.label;
</html:label>
</html:div>
<html:div>
<html:input name="cacheDocFreq" type="radio" id="browserCacheCheckDocFrequency1"
pref="true" preftype="int" prefindex="1" prefstring="browser.cache.check_doc_frequency"/>
<html:label for="browserCacheCheckDocFrequency1" accesskey="e" tabindex="0">
&everyTimeRadio.label;
</html:label>
</html:div>
<html:div>
<html:input name="cacheDocFreq" type="radio" id="browserCacheCheckDocFrequency2"
pref="true" preftype="int" prefinex="1" prefstring="browser.cache.check_doc_frequency"/>
<html:label for="browserCacheCheckDocFrequency2" accesskey="n" tabindex="0">
&neverRadio.label;
</html:label>
</html:div>
</box>
</box>
<box align="vertical" style="width: 100%;">
<html:div>&docCache;</html:div>
<html:div>
<html:input name="cacheDocFreq" type="radio" id="pref:0:int:browser.cache.check_doc_frequency" />
<html:label for="pref:0:int:browser.cache.check_doc_frequency" accesskey="o" tabindex="0">
&oncePsessionRadio.label;
</html:label>
</html:div>
<html:div>
<html:input name="cacheDocFreq" type="radio" id="pref:1:int:browser.cache.check_doc_frequency" />
<html:label for="pref:1:int:browser.cache.check_doc_frequency" accesskey="e" tabindex="0">
&everyTimeRadio.label;
</html:label>
</html:div>
<html:div>
<html:input name="cacheDocFreq" type="radio" id="pref:2:int:browser.cache.check_doc_frequency" />
<html:label for="pref:2:int:browser.cache.check_doc_frequency" accesskey="n" tabindex="0">
&neverRadio.label;
</html:label>
</html:div>
</box>
</html:fieldset>
</window>

Просмотреть файл

@ -25,97 +25,106 @@
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-colors.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog"
onload="StartUp('Colors')" title="&window.title;" align="vertical">
title="&window.title;" align="vertical"
onload="if( parent.handle ) parent.handle.onpageload( 'pref-colors' ); else parent.queuedTag = 'pref-colors'; InitColors();">
<html:script language="JavaScript" src="chrome://pref/content/PrefsWindow.js"/>
<html:script language="JavaScript" src="chrome://pref/content/pref-colors.js"/>
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<spring class="header-spring" flex="1"/>
<titledbutton class="right-header-text" value="&rHeader;"/>
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<spring class="header-spring" flex="1"/>
<titledbutton class="right-header-text" value="&rHeader;"/>
</box>
<box align="horizontal">
<html:fieldset flex="1">
<html:legend align="left">
<html:div>
&color;
</html:div>
</html:legend>
<html:div>
<menu>
<titledbutton value="&text;" class="popup" align="right"/>
<html:div id="pref:#000000:color:browser.foreground_color" style="width:30px; background-color:white"/>
<menupopup>
<colorpicker palettename="standard" onclick="setColorWell(this.parentNode.parentNode,null,false);"/>
</menupopup>
</menu>
</html:div>
<html:div>
<menu>
<titledbutton value="&background;" class="popup" align="right"/>
<html:div id="pref:#000000:color:browser.background_color" style="width:30px; background-color:white"/>
<menupopup>
<colorpicker palettename="standard" onclick="setColorWell(this.parentNode.parentNode,null,false);"/>
</menupopup>
</menu>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:browser.wfe.use_windows_colors"
val="checked" />
<html:label for="pref:0:bool:browser.wfe.use_windows_colors" accesskey="w" tabindex="0">
&useWinColorsCheck.label;
</html:label>
</html:div>
</html:fieldset>
<html:fieldset flex="100%" style="width: 100%">
<html:legend align="left"> &color;</html:legend>
<box style="width: 100%">
<html:label>&text;</html:label>
<spring flex="100%"/>
<menu id="foregroundtextmenu" allowevents="true" class="colorpicker">
<html:div id="browserForegroundColorDiv" style="width:30px; background-color:white"/>
<titledbutton class="popup" align="right"/>
<menupopup id="foregroundMenuPopup">
<colorpicker allowevents="true" id="foregroundColorpicker" palettename="standard" onclick="setColorWell(this.parentNode.parentNode, 'foregroundtext', false);"/>
</menupopup>
</menu>
<html:input type="hidden" id="foregroundText"
pref="true" preftype="string" prefstring="browser.foreground_color"/>
</box>
<box style="width: 100%">
<html:label>&background;</html:label>
<spring flex="100%"/>
<menu id="backgroundmenu" allowevents="true" class="colorpicker">
<html:div id="browserBackgroundColorDiv" style="width:30px; background-color:white"/>
<spring flex="100%"/>
<titledbutton class="popup" align="right"/>
<menupopup id="backgroundMenuPopup">
<colorpicker allowevents="true" id="backgroundColorpicker" palettename="standard" onclick="setColorWell(this.parentNode.parentNode, 'background', false);"/>
</menupopup>
</menu>
<html:input type="hidden" id="background"
pref="true" preftype="string" prefstring="browser.background_color"/>
</box>
<html:div>
<html:input type="checkbox" id="browserWFEUseWindowsColors"
pref="true" preftype="bool" prefstring="browser.wfe.use_windows_colors"/>
<html:label for="browserWFEUseWindowsColors" accesskey="w" tabindex="0">
&useWinColorsCheck.label;
</html:label>
</html:div>
</html:fieldset>
<html:fieldset flex="1">
<html:legend align="left">
<html:div>&links;</html:div>
</html:legend>
<html:div>
<menu>
<titledbutton value="&unvisit;" class="popup" align="right"/>
<html:div id="pref:#000000:color:browser.anchor_color" style="width:30px; background-color:white"/>
<menupopup>
<colorpicker palettename="standard" onclick="setColorWell(this.parentNode.parentNode,null,false);"/>
</menupopup>
</menu>
</html:div>
<html:div>
<menu>
<titledbutton value="&visit;" class="popup" align="right"/>
<html:div id="pref:#000000:color:browser.visited_color" style="width:30px; background-color:white"/>
<menupopup>
<colorpicker palettename="standard" onclick="setColorWell(this.parentNode.parentNode,null,false);"/>
</menupopup>
</menu>
</html:div>
<html:div><html:input type="checkbox" id="pref:0:bool:browser.underline_anchors" val="checked" />
<html:label for="pref:0:bool:browser.underline_anchors" accesskey="u" tabindex="0">
&underLinksCheck.label;
</html:label>
</html:div>
</html:fieldset>
</box>
<html:legend align="left">&links;</html:legend>
<box style="width: 100%">
<html:label>&unvisit;</html:label>
<spring flex="100%"/>
<menu id="unvisitedlinkmenu" allowevents="true" class="colorpicker">
<html:div id="browserUnvisitedLinksColorDiv" style="width:30px; background-color:white"/>
<spring flex="100%"/>
<titledbutton class="popup" align="right" flex="100%"/>
<menupopup id="unvisitedLinksMenuPopup">
<colorpicker allowevents="true" id="unvisitedLinksColorpicker" palettename="standard" onclick="setColorWell(this.parentNode.parentNode, 'background', false);"/>
</menupopup>
</menu>
<html:input type="hidden" id="unvisitedLinks"
pref="true" preftype="string" prefstring="browser.anchor_color"/>
</box>
<box style="width: 100%">
<html:label>&visit;</html:label>
<spring flex="100%"/>
<menu id="visitedlinkmenu" allowevents="true" class="colorpicker">
<html:div id="browserVisitedLinksColorDiv" style="width:30px; background-color:white"/>
<spring flex="100%"/>
<titledbutton class="popup" align="right"/>
<menupopup id="visitedLinksMenuPopup">
<colorpicker allowevents="true" id="visitedLinksColorpicker" palettename="standard" onclick="setColorWell(this.parentNode.parentNode, 'background', false);"/>
</menupopup>
</menu>
<html:input type="hidden" id="visitedLinks"
pref="true" preftype="string" prefstring="browser.visited_color"/>
</box>
<html:div>
<html:input type="checkbox" id="browserUnderlineAnchors" pref="true"
preftype="bool" prefstring="browser.underline_anchors"/>
<html:label for="browserUnderlineAnchors" accesskey="u" tabindex="0">
&underLinksCheck.label;
</html:label>
</html:div>
</html:fieldset>
</box>
<html:fieldset>
<html:legend align="left">
<html:div></html:div>
</html:legend>
<html:fieldset>
<html:div>&someProvColors;</html:div>
<html:div>
&someProvColors;
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:browser.use_document_colors" />
<html:label for="pref:0:bool:browser.use_document_colors" accesskey="a" tabindex="0">
&alwaysOverCheck.label;
</html:label>
<html:input type="checkbox" id="browserUseDocumentColors"
pref="true" preftype="bool" prefstring="browser.use_document_colors"/>
<html:label for="browserUseDocumentColors" accesskey="a" tabindex="0">
&alwaysOverCheck.label;
</html:label>
</html:div>
</html:fieldset>
</window>

Просмотреть файл

@ -0,0 +1,110 @@
<?xml version="1.0"?>
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s):
-->
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-cookies.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog"
align="vertical" title="&window.title;"
onload="if( parent.handle ) parent.handle.onpageload( 'pref-cookies' ); else parent.queuedTag = 'pref-cookies';">
<html:script language="JavaScript">
function viewCookies()
{
window.openDialog("chrome://wallet/content/CookieViewer.xul","","chrome, resizable=no");
}
</html:script>
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<spring class="header-spring" flex="1"/>
<titledbutton class="right-header-text" value="&rHeader;"/>
</box>
<html:fieldset>
<html:legend align="left">
<html:div>&cookies;</html:div>
</html:legend>
<html:table width="100%" cellpadding="0" cellspacing="0">
<html:tr>
<html:td colspan="2">
<html:div>
&cookieDetails;
</html:div>
<html:br/>
</html:td>
</html:tr>
<html:tr>
<html:td>
<html:input name="cookies" type="radio" id="networkCookieBehaviour0"
pref="true" preftype="int" prefindex="0" prefstring="network.cookie.cookieBehaviour"/>
</html:td>
<html:td>
<html:label for="networkCookieBehaviour0" accesskey="a" tabindex="0">
<html:div>&accAllCookiesRadio.label;</html:div>
</html:label>
</html:td>
</html:tr>
<html:tr>
<html:td>
<html:input type="radio" name="cookies" id="networkCookieBehaviour1"
pref="true" preftype="int" prefindex="1" prefstring="network.cookie.cookieBehaviour"/>
</html:td>
<html:td>
<html:label for="networkCookieBehaviour1" accesskey="o" tabindex="0">
<html:div>&accpOrgCookiesRadio.label;</html:div>
</html:label>
</html:td>
</html:tr>
<html:tr>
<html:td>
<html:input type="radio" name="cookies" id="networkCookieBehaviour2"
pref="true" preftype="int" prefindex="2" prefstring="network.cookie.cookieBehaviour"/>
</html:td>
<html:td>
<html:label for="networkCookieBehaviour2" accesskey="d" tabindex="0">
<html:div>&disCookRadio.label;</html:div>
</html:label>
</html:td>
</html:tr>
<html:tr>
<html:td/>
<html:td>
<html:input type="checkbox" id="networkCookieWarnAboutCookies"
pref="true" preftype="bool" prefstring="network.cookie.warnAboutCookies"/>
<html:label for="networkCookieWarnAboutCookies" accesskey="w" tabindex="0">
<html:div>&warnCookCheck.label;</html:div>
</html:label>
</html:td>
</html:tr>
</html:table>
<box align="horizontal" flex="100%" style="width: 100%">
<spring flex="100%"/>
<titledbutton value="&viewCookies.label;" class="dialog push" onclick="viewCookies();"/>
</box>
<spring style="height: 40px;"/>
</html:fieldset>
</window>

Просмотреть файл

@ -20,123 +20,134 @@
Contributor(s):
-->
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-debug.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog"
onload="return StartUp('Debug');"
align="vertical" title="&window.title;"
debug="false">
align="vertical" title="&window.title;"
onload="if( parent.handle ) parent.handle.onpageload( 'pref-debug' ); else parent.queuedTag = 'pref-debug';">
<html:script language="javascript" src="chrome://pref/content/PrefsWindow.js"/>
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<spring class="header-spring" flex="1"/>
<titledbutton class="right-header-text" value="&rHeader;"/>
</box>
</box>
<!-- Temporary hack to turn on gfx-rendered widgets -->
<box align="vertical" style="width: 100%;">
<html:fieldset style="width: 100%;">
<html:legend align="left">&widgetRendering.label;</html:legend>
<box align="horizontal">
<html:div>
<html:input name="widgetRendering" type="radio" id="nglayoutWidgetMode0"
pref="true" preftype="int" prefindex="0" prefstring="nglayout.widget.mode"/>
<html:label for="nglayoutWidgetMode0" accesskey="n" tabindex="0">
&nativeWidgets.label;
</html:label>
</html:div>
<html:div>
<html:input name="widgetRendering" type="radio" id="nglayoutWidgetMode1"
pref="true" preftype="int" prefindex="1" prefstring="nglayout.widget.mode"/>
<html:label for="nglayoutWidgetMode1" accesskey="n" tabindex="0">
&partialGfxWidgets.label;
</html:label>
</html:div>
<html:div>
<html:input name="widgetRendering" type="radio" id="nglayoutWidgetMode2"
pref="true" preftype="int" prefindex="2" prefstring="nglayout.widget.mode"/>
<html:label for="nglayoutWidgetMode2" accesskey="g" tabindex="0">
&gfxWidgets.label;
</html:label>
</html:div>
</box>
<!-- Temporary hack to turn on gfx-rendered widgets -->
<box align="vertical" style="width: 100%;">
<html:fieldset style="width: 100%;">
<html:legend align="left">
<html:div>&widgetRendering.label;</html:div>
</html:legend>
<html:div>
<html:input type="checkbox" id="pref:0:bool:nglayout.widget.gfxscrollbars" />
<html:label for="pref:0:bool:nglayout.widget.gfxscrollbars" accesskey="n" tabindex="0">
&gfxScrollbars.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:nglayout.widget.debugWindow" />
<html:label for="pref:0:bool:nglayout.widget.debugWindow" accesskey="n" tabindex="0">
&debugWindow.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="nglayoutWidgetGFXScrollbars"
pref="true" preftype="bool" prefstring="nglayout.widget.gfxscrollbars"/>
<html:label for="nglayoutGFXScrollbars" accesskey="n" tabindex="0">
&gfxScrollbars.label;
</html:label>
</html:div>
</html:fieldset>
</box>
</html:fieldset>
</box>
<!-- Event Debugging -->
<box align="vertical" style="width: 100%;">
<html:fieldset style="width: 100%;">
<html:legend align="left">
<html:div>&debugEventDebugging.label;</html:div>
</html:legend>
<html:div>
<html:input type="checkbox" id="pref:0:bool:nglayout.debug.paint_flashing" />
<html:label for="pref:0:bool:nglayout.debug.paint_flashing" accesskey="n" tabindex="0">
&debugPaintFlashing.label;
</html:label>
</html:div>
<!-- Event Debugging -->
<box align="vertical" style="width: 100%;">
<html:fieldset style="width: 100%;">
<html:legend align="left">&debugEventDebugging.label;</html:legend>
<html:div>
<html:input type="checkbox" id="nglayoutDebugPaintFlashing"
pref="true" preftype="bool" prefstring="nglayout.debug.paint_flashing"/>
<html:label for="nglayoutDebugPaintFlashing" accesskey="n" tabindex="0">
&debugPaintFlashing.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:nglayout.debug.paint_dumping" />
<html:label for="pref:0:bool:nglayout.debug.paint_dumping" accesskey="n" tabindex="0">
&debugPaintDumping.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="nglayoutDebugPaintDumping"
pref="true" preftype="bool" prefstring="nglayout.debug.paint_dumping"/>
<html:label for="nglayoutDebugPaintDumping" accesskey="n" tabindex="0">
&debugPaintDumping.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:nglayout.debug.invalidate_dumping" />
<html:label for="pref:0:bool:nglayout.debug.invalidate_dumping" accesskey="n" tabindex="0">
&debugInvalidateDumping.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="nglayoutDebugInvalidateDumping"
pref="true" preftype="bool" prefstring="nglayout.debug.invalidate_dumping"/>
<html:label for="nglayoutDebugInvaliateDumping" accesskey="n" tabindex="0">
&debugInvalidateDumping.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:nglayout.debug.event_dumping" />
<html:label for="pref:0:bool:nglayout.debug.event_dumping" accesskey="n" tabindex="0">
&debugEventDumping.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="nglayoutDebugEventDumping"
pref="true" preftype="bool" prefstring="nglayout.debug.invalidate_dumping"/>
<html:label for="nglayoutDebugEventDumping" accesskey="n" tabindex="0">
&debugEventDumping.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:nglayout.debug.motion_event_dumping" />
<html:label for="pref:0:bool:nglayout.debug.motion_event_dumping" accesskey="n" tabindex="0">
&debugMotionEventDumping.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="nglayoutDebugMotionEventDumping"
pref="true" preftype="bool" prefstring="nglayout.debug.motion_event_dumping"/>
<html:label for="nglayoutDebugMotionEventDumping" accesskey="n" tabindex="0">
&debugMotionEventDumping.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="nglayoutDebugCrossingEventDumping"
pref="true" preftype="bool" prefstring="nglayout.debug.motion_event_dumping"/>
<html:label for="nglayoutDebugCrossingEventDumping" accesskey="n" tabindex="0">
&debugCrossingEventDumping.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:nglayout.debug.crossing_event_dumping" />
<html:label for="pref:0:bool:nglayout.debug.crossing_event_dumping" accesskey="n" tabindex="0">
&debugCrossingEventDumping.label;
</html:label>
</html:div>
</html:fieldset>
</box>
</html:fieldset>
</box>
<box align="vertical" style="width: 100%;">
<html:fieldset style="width: 100%;">
<html:legend align="left">
<html:div>&debugMiscellaneous.label;</html:div>
</html:legend>
<html:div>
<html:input type="checkbox" id="pref:0:bool:nglayout.debug.disable_xul_cache" />
<html:label for="pref:0:bool:nglayout.debug.disable_xul_cache" accesskey="n" tabindex="0">
&debugDisableXULCache.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:browser.cache.enable" />
<html:label for="pref:0:bool:browser.cache.enable" accesskey="n" tabindex="0">
&debugEnableMemCache.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:nglayout.debug.enable_xpcom_refcnt_log" />
<html:label for="pref:0:bool:nglayout.debug.enable_xpcom_refcnt_log" accesskey="n" tabindex="0">
&debugEnableXPCOMRefcntLog.label;
</html:label>
</html:div>
<box align="vertical" style="width: 100%;">
<html:fieldset style="width: 100%;">
<html:legend align="left">&debugMiscellaneous.label;</html:legend>
<html:div>
<html:input type="checkbox" id="nglayoutDebugDisableXULCache"
pref="true" preftype="bool" prefstring="nglayout.debug.disable_xul_cache"/>
<html:label for="nglayoutDebugDisableXULCache" accesskey="n" tabindex="0">
&debugDisableXULCache.label;
</html:label>
<html:input type="checkbox" id="nglayoutDebugEnableXPCOMRefcntLog"
pref="true" preftype="bool" prefstring="nglayout.debug.enable_xpcom_refcnt_log"/>
<html:label for="nglayoutDebugEnableXPCOMRefcntLog" accesskey="n" tabindex="0">
&debugEnableXPCOMRefcntLog.label;
</html:label>
</html:div>
</html:fieldset>
</box>
</box>
</window>

Просмотреть файл

@ -20,16 +20,17 @@
Contributor(s):
-->
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-download.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog"
onload="return StartUp('Composer');" align="vertical" title="&title.label;">
align="vertical" title="&title.label;"
onload="if( parent.handle ) parent.handle.onpageload( 'pref-download' ); else parent.queuedTag = 'pref-download';">
<html:script language="javascript" src="chrome://pref/content/PrefsWindow.js"/>
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<spring class="header-spring" flex="1"/>
@ -42,24 +43,28 @@
<html:div>&newmes;</html:div>
</html:legend>
<html:div>
<html:input type="checkbox" id="pref:0:bool:offline.news.download.unread_only" />
<html:label for="pref:0:bool:offline.news.download.unread_only" accesskey="" tabindex="0">
<html:input type="checkbox" id="offlineNewsDownloadUnreadOnly"
pref="true" preftype="bool" prefstring="offline.news.download.unread_only"/>
<html:label for="offlineNewsDownloadUnreadOnly" accesskey="" tabindex="0">
&downOnlyCheck;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:offline.news.download.by_date" />
<html:label for="pref:0:bool:offline.news.download.by_date" accesskey="" tabindex="0">
<html:input type="checkbox" id="offlineNewsDownloadByDate"
pref="true" preftype="bool" prefstring="offline.news.download.by_date"/>
<html:label for="offlineNewsDownloadByDate" accesskey="" tabindex="0">
&downDateCheck;
</html:label>
</html:div>
<html:p>
<html:div>
<html:input type="radio" name="offline" id="pref:0:bool:offline.news.download.use_days" checked="true" />
<html:label for="pref:0:bool:offline.news.download.use_days" accesskey="f" tabindex="0">
<html:input type="radio" name="offline" id="offlineNewsDownloadUseDays0"
pref="true" preftype="int" prefindex="0" prefstring="offline.news.download.use_days"/>
<html:label for="offlineNewsDownloadUseDays0" accesskey="f" tabindex="0">
&fromRadio.label;
</html:label>
<html:select id="pref:int:offline.news.download.increments">
<html:select id="offlineNewsDownloadIncrements"
pref="true" preftype="string" prefstring="offline.news.download.increments">
<html:option value="0">&yesterday.select;</html:option>
<html:option value="1">&oneW.select;</html:option>
<html:option value="2">&twoW.select;</html:option>
@ -69,11 +74,14 @@
</html:select>
</html:div>
<html:div>
<html:input type="radio" name="offline" id="pref:1:bool:offline.news.download.use_days" />
<html:label for="pref:1:bool:offline.news.download.use_days" accesskey="s" tabindex="0">
<html:input type="radio" name="offline" id="offlineNewsDownloadUseDays1"
pref="true" preftype="int" prefindex="1" prefstring="offline.news.download.use_days"/>
<html:label for="offlineNewsDownloadUseDays1" accesskey="s" tabindex="0">
&sinceRadio.label;
</html:label>
<html:input type="text" size="5" id="pref:30:char:offline.news.download.days" />&daysAgo;
<html:input type="text" size="5" id="offlineNewsDownloadDays"
pref="true" preftype="string" prefstring="offline.news.download.days"/>
&daysAgo;
</html:div>
</html:p>
</html:fieldset>

Просмотреть файл

@ -21,15 +21,13 @@
Contributor(s):
-->
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?>
<?xul-overlay href="chrome://pref/content/fontScalingOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-fonts.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog"
id="fontPanel"
onload="StartUp('Fonts')" title="&window.title;"
align="vertical">
title="&window.title;" align="vertical"
onload="if( parent.handle ) parent.handle.onpageload( 'pref-fonts' ); else parent.queuedTag = 'pref-fonts';">
<html:script language="javascript" src="PrefsWindow.js"/>
<box class="header" align="horizontal">
@ -67,8 +65,11 @@
</html:td>
<html:td>
<html:select>
<html:option>&encod1.option;</html:option>
<html:select id="fontVarSelect"
pref="true" preftype="string" prefstring="layout.variable_font">
<html:option value="0">Font</html:option>
<html:option value="1">Foo</html:option>
<html:option value="2">Bar</html:option>
</html:select>
</html:td>
@ -112,26 +113,28 @@
&header2;
</html:div>
<html:div>
<html:input name="fonts" type="radio" id="pref:0:int:browser.use_document_fonts" val="checked" />
<html:label for="pref:0:int:browser.use_document_fonts" accesskey="t" tabindex="0">
<html:input name="fonts" type="radio" id="browserUseDocumentFonts0"
pref="true" preftype="int" prefindex="0" prefstring="browser.use_document_fonts"/>
<html:label for="browserUseDocumentFonts0" accesskey="t" tabindex="0">
&useDefaultFont;
</html:label>
</html:div>
<html:div>
<html:input name="fonts" type="radio" id="pref:1:int:browser.use_document_fonts" val="checked" />
<html:label for="pref:1:int:browser.use_document_fonts" accesskey="t" tabindex="0">
<html:input name="fonts" type="radio" id="browserUseDocumentFonts1"
pref="true" preftype="int" prefindex="1" prefstring="browser.use_document_fonts"/>
<html:label for="browserUseDocumentFonts1" accesskey="t" tabindex="0">
&useDocFontNonDynamic;
</html:label>
</html:div>
<html:div>
<html:input name="fonts" type="radio" id="pref:2:int:browser.use_document_fonts" val="checked" />
<html:input name="fonts" type="radio" id="browserUseDocumentFonts2"
pref="true" preftype="int" prefindex="2" prefstring="browser.use_document_fonts"/>
<html:label for="pref:2:int:browser.use_document_fonts" accesskey="t" tabindex="0">
&useDocFontDynamic;
</html:label>
</html:div>
</html:fieldset>
<!--
<html:table>
<html:tr>

Просмотреть файл

@ -26,35 +26,32 @@
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog"
align="vertical"
onload = "return StartUp('Languages')"
title="window.title">
align="vertical" title="window.title"
onload="if( parent.handle ) parent.handle.onpageload( 'pref-languages' ); else parent.queuedTag = 'pref-languages';">
<html:script language="javascript" src="PrefsWindow.js"/>
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<spring class="header-spring" flex="1"/>
<titledbutton class="right-header-text" value="&rHeader;"/>
</box>
</box>
<html:table>
<html:tr><html:td>&prefLangDecript;</html:td></html:tr>
<html:tr>
<html:td>
<html:select name="textstyle" size="5">
<html:fieldset style="width: 100%">
<html:div>&prefLangDecript;</html:div>
<spring style="height: 10px;"/>
<box align="horizontal" flex="100%" style="width: 100%">
<box align="vertical" flex="100%">
<html:select name="textstyle" size="5" id="intlAcceptLanguages"
pref="true" preftype="string" prefstring="intl.accept_languages" flex="100%">
<html:optgroup>
<html:option value="0" id="pref:string:intl.accept_languages">
&engOption.label;
</html:option>
<html:option value="0">&engOption.label;</html:option>
</html:optgroup>
</html:select>
</html:td>
</html:tr>
<html:tr>
<html:td><html:input name="choose" type="button" value="&addButton.label;" /></html:td>
<html:td>
<html:input name="choose" type="button" value="&deleteButton.label;"/>
</html:td>
</html:tr>
</html:table>
</box>
<box align="vertical">
<titledbutton class="dialog push" value="&addButton.label;"/>
<titledbutton class="dialog push" value="&deleteButton.label;"/>
</box>
</box>
<spring style="height: 37px;"/>
</html:fieldset>
</window>

Просмотреть файл

@ -0,0 +1,19 @@
function prefNavSelectFile()
{
bundle = srGetStrBundle("chrome://pref/locale/prefutilities.properties");
var folderField = document.getElementById("browserStartupHomepage");
var url = getFileOrFolderURL( bundle.GetStringFromName("choosehomepage"), false );
if( url != -1 )
folderField.value = url;
}
function setHomePageToCurrentPage()
{
if( !parent.opener.appCore )
return false;
var homePageField = document.getElementById("browserStartupHomepage");
var url = parent.opener.content.location.href;
if( url )
homePageField = url;
}

Просмотреть файл

@ -26,11 +26,15 @@
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-navigator.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog"
onload="return StartUp('Navigator');" align="vertical" title="&title.label;">
align="vertical" title="&title.label;"
onload="if( parent.handle ) parent.handle.onpageload( 'pref-navigator' ); else parent.queuedTag = 'pref-navigator';">
<html:script language="javascript" src="chrome://global/content/strres.js" />
<html:script language="javascript" src="chrome://pref/content/prefutilities.js"/>
<html:script language="javascript" src="chrome://pref/content/pref-navigator.js"/>
<html:script language="javascript" src="chrome://pref/content/PrefsWindow.js"/>
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<spring class="header-spring" flex="1"/>
@ -43,20 +47,23 @@
<html:div>&navRadio;</html:div>
</html:legend>
<html:div>
<html:input name="starts" type="radio" id="pref:0:int:browser.startup.page" />
<html:label for="pref:0:int:browser.startup.page" accesskey="" tabindex="0">
<html:input name="starts" type="radio" id="browserStartupPage0"
pref="true" preftype="int" prefindex="0" prefstring="browser.startup.page"/>
<html:label for="browserStartupPage0" accesskey="" tabindex="0">
&blankRadio;
</html:label>
</html:div>
<html:div>
<html:input name="starts" type="radio" id="pref:1:int:browser.startup.page" />
<html:label for="pref:1:int:browser.startup.page" accesskey="" tabindex="0">
<html:input name="starts" type="radio" id="browserStartupPage1"
pref="true" preftype="int" prefindex="1" prefstring="browser.startup.page"/>
<html:label for="browserStartupPage1" accesskey="" tabindex="0">
&header2.label;
</html:label>
</html:div>
<html:div>
<html:input name="starts" type="radio" id="pref:2:int:browser.startup.page" />
<html:label for="pref:2:int:browser.startup.page" accesskey="" tabindex="0">
<html:input name="starts" type="radio" id="browserStartupPage2"
pref="true" preftype="int" prefindex="2" prefstring="browser.startup.page"/>
<html:label for="browserStartupPage2" accesskey="" tabindex="0">
&lastPageRadio;
</html:label>
</html:div>
@ -68,11 +75,12 @@
</html:legend>
<html:div>&clickRadio;</html:div>
&location;
<html:input name="homepage" type="text" id="pref:string:browser.startup.homepage" size="30" />
<html:input name="homepage" type="text" id="browserStartupHomepage"
pref="true" preftype="string" prefstring="browser.startup.homepage" size="30"/>
<html:div>
<spring flex="100%"/>
<titledbutton class="dialog push" name="starts" type="button" value="&useCurrent;" onclick="SetPrefToCurrentPage('pref:string:browser.startup.homepage');" />
<titledbutton class="dialog push" name="browse" type="button" value="&browseFile;" onclick="PrefNavSelectFile('pref:string:browser.startup.homepage')"/>
<titledbutton class="dialog push" name="starts" type="button" value="&useCurrent;" onclick="setHomePageToCurrentPage();" />
<titledbutton class="dialog push" name="browse" type="button" value="&browseFile;" onclick="prefNavSelectFile()"/>
</html:div>
</html:fieldset>

Просмотреть файл

@ -21,91 +21,74 @@
Contributor(s):
-->
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-offline.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog"
onload="return StartUp('offline');"
align="vertical" title="&title.label;"
debug="false">
title="&title.label;"
align="vertical"
onload="if( parent.handle ) parent.handle.onpageload( 'pref-offline' ); else parent.queuedTag = 'pref-offline';">
<html:script language="javascript" src="PrefsWindow.js"/>
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<spring class="header-spring" flex="1"/>
<titledbutton class="right-header-text" value="&rHeader;"/>
</box>
</box>
<box align="vertical" style="width: 100%;">
<html:fieldset style="width: 100%;">
<html:legend align="left">
<html:div>&header1;</html:div>
</html:legend>
<html:div>
<html:label>
<html:input name="state" type="radio" id="pref:0:int:offline.startup_state" />&prevRadio.label;
<html:br />&communRemember;
</html:label>
</html:div>
<html:div>
<html:label>
<html:input name="state" type="radio" id="pref:1:int:offline.startup_state" />&askOfflineRadio.label;
<html:br />&offlineStartAskEach;
</html:label>
</html:div>
</html:fieldset>
</box>
<box align="vertical" style="width: 100%;">
<html:fieldset style="width: 100%;">
<html:legend align="left">
<html:div>&header2;</html:div>
</html:legend>
<html:div>
<html:label>
<html:input name="offmail" type="radio" id="pref:0:int:offline.send.unsent_messages" />&unsentAskRadio.label;
</html:label>
</html:div>
<html:div>
<html:label>
<html:input name="offmail" type="radio" id="pref:1:int:offline.send.unsent_messages" />&unsentAutoRadio.label;
</html:label>
</html:div>
<html:div>
<html:label>
<html:input name="offmail" type="radio" id="pref:2:int:offline.send.unsent_messages" />&unsentDoNotRadio.label;
</html:label>
</html:div>
</html:fieldset>
</box>
<box align="vertical" style="width: 100%;">
<html:fieldset style="width: 100%;">
<html:legend align="left">
<html:div>&header3;</html:div>
</html:legend>
<html:div>
<html:label>
<html:input type="checkbox" id="pref:0:bool:offline.prompt_synch_on_exit" />&promptSynchCheck.label;
</html:label>
</html:div>
</html:fieldset>
</box>
<html:fieldset>
<html:div>&descipt1;</html:div>
<spring style="height: 10px"/>
<box align="horizontal">
<html:div>
<html:input name="state" type="radio" id="offlineStartupState0"
pref="true" preftype="int" prefindex="0" prefstring="offline.startup_state"/>
</html:div>
<html:label for="offlineStartupState0">&prevRadio.label;</html:label>
</box>
<box align="horizontal">
<html:div>
<html:input name="state" type="radio" id="offlineStartupState1"
pref="true" preftype="int" prefindex="0" prefstring="offline.startup_state"/>
</html:div>
<html:label for="offlineStartupState1">&askOfflineRadio.label;</html:label>
</box>
<spring style="height: 30px;"/>
</html:fieldset>
<html:fieldset>
<html:legend>&header2;</html:legend>
<box align="horizontal">
<html:div>
<html:input name="offmail" type="radio" id="offlineSendUnsentMessages0"
pref="true" preftype="int" prefindex="0" prefstring="offline.send.unsent_messages"/>
</html:div>
<html:label for="offlineSendUnsentMessages0">&unsentAskRadio.label;</html:label>
</box>
<box align="horizontal">
<html:div>
<html:input name="offmail" type="radio" id="offlineSendUnsentMessages1"
pref="true" preftype="int" prefindex="1" prefstring="offline.send.unsent_messages"/>
</html:div>
<html:label for="offlineSendUnsentMessages1">&unsentAutoRadio.label;</html:label>
</box>
<box align="horizontal">
<html:div>
<html:input name="offmail" type="radio" id="offlineSendUnsentMessages2"
pref="true" preftype="int" prefindex="2" prefstring="offline.send.unsent_messages"/>
</html:div>
<html:label for="offlineSendUnsentMessages2">&unsentDoNotRadio.label;</html:label>
</box>
</html:fieldset>
<html:fieldset>
<html:legend>&header3;</html:legend>
<box align="horizontal">
<html:div>
<html:input type="checkbox" id="offlinePromptSynchOnExit"
pref="true" preftype="bool" prefstring="offline.prompt_synch_on_exit"/>
</html:div>
<html:label for="offlinePromptSynchOnExit">&promptSynchCheck.label;</html:label>
</box>
</html:fieldset>
</window>

Просмотреть файл

@ -0,0 +1,14 @@
function showManualProxyConfig()
{
var manualRow = document.getElementById("manual-proxy");
bundle = srGetStrBundle("chrome://pref/locale/prefutilities.properties");
var viewHideButton = document.getElementById("viewhideManual");
if( manualRow.style.display == "none" ) {
viewHideButton.value = bundle.GetStringFromName("hiderow");
manualRow.style.display = "inherit";
}
else {
viewHideButton.value = bundle.GetStringFromName("viewrow");
manualRow.style.display = "none"
}
}

Просмотреть файл

@ -24,141 +24,131 @@
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-proxies.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog"
onload="manualSelected();return StartUp('Proxies');"
align="vertical" title="Sample Prefs Panel"
debug="false">
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog" title="Sample Prefs Panel"
align="vertical"
onload="if( parent.handle ) parent.handle.onpageload( 'pref-proxies' ); else parent.queuedTag = 'pref-proxies';">
<html:script language="javascript" src="PrefsWindow.js"/>
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<html:script language="javascript" src="chrome://global/content/strres.js" />
<html:script language="javascript" src="chrome://pref/content/prefutilities.js"/>
<html:script language="JavaScript" src="chrome://pref/content/pref-proxies.js"/>
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<spring class="header-spring" flex="1"/>
<titledbutton class="right-header-text" value="&rHeader;"/>
</box>
</box>
<box align="vertical" style="width: 100%;">
<html:fieldset style="width: 100%;">
<!-- &networkHeader.label; Bug in boxes-->
<html:div>
<html:input name="directManualOrAuto" type="radio" id="pref:0:int:network.proxy.type" />
<html:label for="pref:0:int:network.proxy.type" accesskey="d" tabindex="0">
&directTypeRadio.label;
</html:label>
</html:div>
<html:div>
<html:input name="directManualOrAuto" type="radio" id="pref:1:int:network.proxy.type" />
<html:label for="pref:1:int:network.proxy.type" accesskey="m" tabindex="0">
&manualTypeRadio.label;
</html:label>
<titledbutton class="dialog push" value="&view.label;" align="left" onclick="openit();"/>
</html:div>
<html:div id="manual-proxy" style="display: none">
<html:table width="100%">
<html:tr>
<html:td>
&ftp.label;
</html:td>
<html:td>
<html:input name="ftpproxy" type="text" id="pref:string:network.proxy.ftp" size="20" />
</html:td>
<html:td>
&port.label;
</html:td>
<html:td>
<html:input name="ftpproxyport" type="text" id="pref:0:int:network.proxy.ftp_port" size="5" />
</html:td>
</html:tr>
<html:tr>
<html:td>
&http.label;
</html:td>
<html:td>
<html:input name="httpproxy" type="text" id="pref:string:network.proxy.http" size="20" />
</html:td>
<html:td>
&port.label;
</html:td>
<html:td>
<html:input name="httpproxyport" type="text" id="pref:0:int:network.proxy.http_port" size="5" />
</html:td>
</html:tr>
<html:tr>
<html:td>
&noproxy.label;
</html:td>
<html:td>
<html:input name="noproxy" type="text" id="pref:string:network.proxy.none" size="20" />
</html:td>
</html:tr>
</html:table>
<box align="vertical" style="width: 100%;">
<html:fieldset style="width: 100%;">
<!-- &networkHeader.label; Bug in boxes-->
<box>
<html:div>
<html:input name="directManualOrAuto" type="radio" id="networkProxyType0"
pref="true" preftype="int" prefindex="0" prefstring="network.proxy.type"/>
</html:div>
<html:label for="networkProxyType0" accesskey="d" tabindex="0">
&directTypeRadio.label;
</html:label>
</box>
<box align="horizontal" flex="100%" style="width: 100%">
<html:div>
<html:input name="directManualOrAuto" type="radio" id="networkProxyType1"
pref="true" preftype="int" prefindex="1" prefstring="network.proxy.type"/>
</html:div>
<html:label for="networkProxyType1" accesskey="m" tabindex="0">
&manualTypeRadio.label;
</html:label>
<spring flex="100%"/>
<titledbutton id="viewhideManual" class="dialog push" value="&view.label;" onclick="showManualProxyConfig();"/>
</box>
<html:div align="horizontal" id="manual-proxy" style="display: block; padding-left: 21px">
<html:table width="100%">
<html:tr>
<html:td>&ftp.label;</html:td>
<html:td>
<html:input name="ftpproxy" type="text" id="networkProxyFTP"
pref="true" preftype="string" prefstring="network.proxy.ftp" size="20"/>
</html:td>
<html:td>&port.label;</html:td>
<html:td>
<html:input name="ftpproxyport" type="text" id="networkProxyFTP_Port"
pref="true" preftype="int" prefstring="network.proxy.ftp_port" size="5"/>
</html:td>
</html:tr>
<html:tr>
<html:td>&http.label;</html:td>
<html:td>
<html:input name="httpproxy" type="text" id="networkProxyHTTP"
pref="true" preftype="string" prefstring="network.proxy.http" size="20"/>
</html:td>
<html:td>&port.label;</html:td>
<html:td>
<html:input name="httpproxyport" type="text" id="networkProxyHTTP_Port"
pref="true" preftype="int" prefstring="network.proxy.http_port" size="5"/>
</html:td>
</html:tr>
<html:tr>
<html:td>&noproxy.label;</html:td>
<html:td>
<html:input name="noproxy" type="text" id="networkProxyNone"
pref="true" preftype="int" prefstring="network.proxy.none" size="20"/>
</html:td>
</html:tr>
</html:table>
</html:div>
<!-- Not supporting gopher -->
<!--
<box align="horizontal">
<html:div>&gopher.label;</html:div>
<html:div>&port.label;</html:div>
<html:input name="gopherproxyport" type="text" id="pref:string:network.proxy.gopher_port" size="5" />
</box>
-->
<!-- Not supporting wais right now -->
<!--
<box align="horizontal">
<html:div>&wais.label;</html:div>
<html:input name="waisproxy" type="text" id="pref:string:network.proxy.wais" size="20" />
<spring flex="100%"/>
<html:div>&port.label;</html:div>
<html:input name="waisproxyport" type="text" id="pref:string:network.proxy.wais_port" size="5" />
</box>
-->
<!--
<box align="put name="gopherproxy" type="text" id="pref:string:network.proxy.gopher" size="20" />
<spring flex="100%"/>
<html:div>&direct.label;</html:div>
</box>
-->
<!-- No supporting at this point -->
<!--
<box align="horizontal">
<html:div>&sockhost.label;</html:div>
<html:input name="sockshost" type="text" id="pref:string:network.socks.host" size="20" />
<spring flex="100%"/>
<html:div>&port.label;</html:div>
<html:input name="socksport" type="text" id="pref:string:network.socks.port" size="5" />
</box>
-->
<box align="horizontal">
<html:div>
<html:input name="directManualOrAuto" type="radio" id="networkProxyType"
pref="true" preftype="int" prefindex="2" prefstring="network.proxy.type"/>
</html:div>
<html:label for="networkProxyType" accesskey="a" tabindex="0">&autoTypeRadio.label;</html:label>
</box>
<box align="horizontal">
&configAutoconfigText.label;
</box>
<box align="horizontal" flex="100%" style="width: 100%;">
<spring flex="25%"/>
<html:input name="" type="text" flex="100%" id="networkProxyAutoconfigURL"
pref="true" preftype="string" prefstring="network.proxy.autoconfig_url"/>
<titledbutton class="dialog push" value="&reload.label;"/>
</box>
</html:fieldset>
</box>
<!-- Not supporting gopher -->
<!--
<box align="horizontal">
<html:div>
&gopher.label;
</html:div>
<html:inv>
&port.label;
</html:div>
<html:input name="gopherproxyport" type="text" id="pref:string:network.proxy.gopher_port" size="5" />
</box> -->
<!-- Not supporting wais right now -->
<!--
<box align="horizontal">
<html:div>
&wais.label;
</html:div>
<html:input name="waisproxy" type="text" id="pref:string:network.proxy.wais" size="20" />
<spring flex="100%"/>
<html:div>
&port.label;
</html:div>
<html:input name="waisproxyport" type="text" id="pref:string:network.proxy.wais_port" size="5" />
</box> -->
<!--
<box align="put name="gopherproxy" type="text" id="pref:string:network.proxy.gopher" size="20" />
<spring flex="100%"/>
<html:dihorizontal">
<html:div>
&direct.label;
</html:div>
</box> -->
<!-- No supporting at this point -->
<!--
<box align="horizontal">
<html:div>
&sockhost.label;
</html:div>
<html:input name="sockshost" type="text" id="pref:string:network.socks.host" size="20" />
<spring flex="100%"/>
<html:div>
&port.label;
</html:div>
<html:input name="socksport" type="text" id="pref:string:network.socks.port" size="5" />
</box> -->
</html:div>
<html:div>
<html:input name="directManualOrAuto" type="radio" id="pref:2:int:network.proxy.type" />
<html:label for="pref:2:int:network.proxy.type" accesskey="a" tabindex="0">
&autoTypeRadio.label;
</html:label>
</html:div>
<html:div>
&configAutoconfigText.label;
<html:input name="" type="text" size="15" id="pref:0:string:network.proxy.autoconfig_url" />
</html:div>
<spring flex="1"/><titledbutton class="dialog push" value="&reload.label;" align="right"/>
</html:fieldset>
</box>
</window>

Просмотреть файл

@ -26,14 +26,13 @@
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-search.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
class="dialog"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="InitSingleEngineList(); return StartUp('search');" title="&title.label;"
align="vertical">
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="if( parent.handle ) parent.handle.onpageload( 'pref-colors' ); else parent.queuedTag = 'pref-colors'; InitSingleEngineList(); " title="&title.label;"
align="vertical">
<html:script language="javascript" src="chrome://pref/content/PrefsWindow.js"/>
<html:script language="javascript" src="chrome://pref/content/pref-search.js"/>
<box class="header" align="horizontal">
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<spring class="header-spring" flex="1"/>
<titledbutton class="right-header-text" value="&rHeader;"/>
@ -47,8 +46,9 @@
</html:legend>
<html:div>
<html:input name="powermode" type="radio" id="pref:0:int:browser.search.powermode" val="checked" />
<html:label for="pref:0:int:browser.search.powermode" accesskey="t" tabindex="0">
<html:input name="powermode" type="radio" id="browserSearchPowermode0"
pref="true" preftype="int" prefindex="0" prefstring="browser.search.powermode"/>
<html:label for="browserSearchPowermode0" accesskey="t" tabindex="0">
&browserSearchButtonText.label;
</html:label>
@ -72,16 +72,18 @@
</html:div>
<html:div>
<html:input name="powermode" type="radio" id="pref:1:int:browser.search.powermode" val="checked" />
<html:label for="pref:1:int:browser.search.powermode" accesskey="t" tabindex="1">
<html:input name="powermode" type="radio" id="browserSearchPowermode1"
pref="true" preftype="int" prefindex="1" prefstring="browser.search.powermode"/>
<html:label for="browserSearchPowermode1" accesskey="t" tabindex="1">
&enablePowerSearch.label;
</html:label>
</html:div>
</html:fieldset>
<html:div>
<html:input name="opensearchpanel" type="checkbox" id="pref:0:bool:browser.search.opensidebarsearchpanel" val="checked" />
<html:label for="pref:0:bool:browser.search.opensidebarsearchpanel" accesskey="t" tabindex="2">
<html:input name="opensearchpanel" type="checkbox" id="browserSearchOpenSidebarSearchPanel"
pref="true" preftype="bool" prefstring="browser.search.opensidebarsearchpanel"/>
<html:label for="browserSearchOpenSidebarSearchPanel" accesskey="t" tabindex="2">
&openSidebarSearchPanel.label;
</html:label>
</html:div>

Просмотреть файл

@ -26,11 +26,9 @@
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-smart_browsing.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
class="dialog"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="return StartUp('smart_browsing');" title="&title.label;"
align="vertical">
<html:script language="javascript" src="chrome://pref/content/PrefsWindow.js"/>
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&title.label;" align="vertical"
onload="if( parent.handle ) parent.handle.onpageload( 'pref-smart_browsing' ); else parent.queuedTag = 'pref-smart_browsing';">
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
@ -44,38 +42,42 @@
<html:legend align="left">
<html:div>&lHeader;</html:div>
</html:legend>
<!-- rjc: comment out Related Links preferences from 4.x that aren't used in 5.x
<html:div>
<html:input name="related" type="checkbox" id="pref:0:bool:browser.related.enabled"/>
<html:label for="pref:0:bool:browser.related.enabled" accesskey="n" tabindex="0">
<html:input name="related" type="checkbox" id="browserRelatedEnabled"
pref="true" preftype="bool" prefstring="browser.related.enabled"/>
<html:label for="browserRelatedEnabled" accesskey="n" tabindex="0">
&enableRelatedRadio.label;
</html:label>
</html:div>
&autoDecp.label;
<html:div>
<html:input name="related" type="radio" id="pref:0:int:browser.related.autoload" />
<html:label for="pref:0:int:browser.related.autoload" accesskey="n" tabindex="0">
<html:input name="related" type="radio" id="browserRelatedAutoLoad0"
pref="true" preftype="int" prefindex="0" prefstring="browser.related.autoload"/>
<html:label for="browserRelatedAutoLoad0" accesskey="n" tabindex="0">
&neverRadio;
</html:label>
</html:div>
<html:div>
<html:input name="related" type="radio" id="pref:1:int:browser.related.autoload" />
<html:label for="pref:1:int:browser.related.autoload" accesskey="n" tabindex="0">
<html:input name="related" type="radio" id="browserRelatedAutoLoad1"
pref="true" preftype="int" prefindex="1" prefstring="browser.related.autoload"/>
<html:label for="browserRelatedAutoLoad1" accesskey="n" tabindex="0">
&afterAutoloadFirstRadio;
</html:label>
</html:div>
<html:div>
<html:input name="related" type="radio" id="pref:2:int:browser.related.autoload" />
<html:label for="pref:2:int:browser.related.autoload" accesskey="n" tabindex="0">
<html:input name="related" type="radio" id="browserRelatedAutoLoad2"
pref="true" preftype="int" prefindex="2" prefstring="browser.related.autoload"/>
<html:label for="browserRelatedAutoLoad2" accesskey="n" tabindex="0">
&afterAutoloadAlwaysRadio;
</html:label>
</html:div>
-->
<html:div>
&doNotDecp.label;
</html:div>
<html:div>
<html:input name="textstyle" id="pref:string:browser.related.disabledForDomains" />
<html:textarea name="textstyle" ROWS="2" COLS="30" id="browserRelatedDisabledForDomains"
pref="true" preftype="string" prefstring="browser.related.disabledForDomains">
</html:textarea>
</html:div>
</html:fieldset>
</box>
@ -86,8 +88,9 @@
<html:div>&internetKeywordsHeader.label;</html:div>
</html:legend>
<html:div>
<html:input name="keyword" type="checkbox" id="pref:0:bool:browser.goBrowsing.enabled" />
<html:label for="pref:0:bool:browser.goBrowsing.enabled" accesskey="n" tabindex="0">
<html:input name="keyword" type="checkbox" id="browserGoBrowsingEnabled"
pref="true" preftype="bool" prefstring="browser.goBrowsing.enabled"/>
<html:label for="browserGoBrowsingEnabled" accesskey="n" tabindex="0">
&enableKeyCheck.label;
</html:label>
</html:div>

Просмотреть файл

@ -1,63 +1,51 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-smartupdate.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="return StartUp('smartupdate');"
class="dialog"
align="vertical"
title="&title.label;">
title="&title.label;"
onload="if( parent.handle ) parent.handle.onpageload( 'pref-smartupdate' ); else parent.queuedTag = 'pref-smartupdate';">
<html:script language="JavaScript" src="chrome://pref/content/PrefsWindow.js">
</html:script>
<box align="vertical">
<box id="header" align="horizontal">
<spring style="width:20px"/>
<html:div style="vertical-align: middle;">
<html:B>&header;</html:B>
</html:div>
<spring flex="100%"/><spring style="width:60px"/>
<html:div ></html:div><spring style="width:5px"/>
</box>
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<spring class="header-spring" flex="1"/>
<titledbutton class="right-header-text" value="&rHeader;"/>
</box>
<box align="vertical">
<html:fieldset style="width: 100%;">
<html:div>
<html:input type="checkbox" id="pref:0:bool:xpinstall.enabled" />
<html:label for="pref:0:bool:xpinstall.enabled">
&enableSU.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:xpinstall.notifications.enabled" />
<html:label for="pref:0:bool:xpinstall.notifications.enabled">
&enableNotification.label;
</html:label>
</html:div>
<html:fieldset style="width: 100%;">
<html:div>
<html:input type="checkbox" id="XPInstallEnabled"
pref="true" preftype="bool" prefstring="xpinstall.enabled" />
<html:label for="XPInstallEnabled">&enableSU.label;</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="XPInstallNotificationsEnabled"
pref="true" preftype="bool" prefstring="xpinstall.notifications.enabled"/>
<html:label for="XPInstallNotificationsEnabled">&enableNotification.label;</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="XPInstallManualConfirm"
pref="true" preftype="bool" prefstring="xpinstall.manual_confirm"/>
<html:label for="XPInstallManualConfirm">&requireConfirmation.label;</html:label>
</html:div>
</html:fieldset>
<html:div>
<html:input type="checkbox" id="pref:0:bool:xpinstall.manual_confirm" />
<html:label for="pref:0:bool:xpinstall.manual_confirm">
&requireConfirmation.label;
</html:label>
</html:div>
</html:fieldset>
<html:fieldset style="width: 100%;">
<box align="horizontal">
&selectUninstall.label;
<html:textarea name="textstyle" ROWS="40" COLS="30" id="pref:string:browser.related.disabledForDomains">
</html:textarea>
<spring flex="15%"/>
<titledbutton class="dialog push" id="pref:0:bool:smartupdate" value="&uninstallButton.label;" flex="1" style="max-height:13px;"/>
</box>
</html:fieldset>
</box>
</box>
<html:fieldset style="width: 100%;">
<html:div>&selectUninstall.label;</html:div>
<spring style="height: 10px;"/>
<html:select id="smartUpdatePackages" style="width: 100%; height: 100%" flex="100%" size="4">
<html:option/>
</html:select>
<spring flex="15%"/>
<box align="horizontal" style="width: 100%">
<spring flex="100%"/>
<titledbutton class="dialog push" id="pref:0:bool:smartupdate" value="&uninstallButton.label;"/>
</box>
<spring style="height: 18px;"/>
</html:fieldset>
</window>

Просмотреть файл

@ -1,56 +1,71 @@
<?xml version="1.0"?>
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s):
-->
<!-- -*- Mode: HTML -*- -->
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<!-- The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s): ______________________________________. -->
<!DOCTYPE window SYSTEM "chrome://pref/locale/PrefsWindow.dtd" >
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?>
<?xul-overlay href="chrome://pref/content/preftree.xul"?>
<?xul-overlay href="chrome://global/content/platformDialogOverlay.xul"?>
<window xmlns:html="http://www.w3.org/TR/REC-html40"
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref.dtd" >
<window id="prefWindow"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&prefWindow.title;"
align="vertical"
class="dialog"
onload="StartUp('Top'); OnLoadPref();"
title="&window.title;"
height="436"
width="600"
align="vertical">
onload="window.handle = new PrefWindow( 'panelFrame' );"
width="550" height="410">
<html:script language="javascript" src="PrefsWindow.js"/>
<html:script language="javascript" src="chrome://global/content/strres.js" />
<html:script language="javascript" src="chrome://global/content/dialogOverlay.js" />
<html:script language="javascript" src="chrome://global/content/widgetStateManager.js" />
<html:script language="javascript" src="chrome://pref/content/pref.js" />
<keyset id="keyset"/>
<keyset id="keyset"/>
<html:div>
&categoryHeader;
</html:div>
<spring style="height: 7px"/>
<box align="horizontal" flex="100%" style="width: 100%">
<!-- we may like to load this into a tabpanel set as per mpt's post -->
<spring style="width: 7px;"/>
<!-- tree sidebar -->
<html:div flex="40%">
<tree id="prefsTree" class="inset"/>
</html:div>
<spring style="width: 10px;"/>
<!-- content frame -->
<html:iframe id="panelFrame" name="panelFrame" src="chrome://pref/content/pref-appearance.xul" flex="60%"/>
<spring style="width: 7px;"/>
</box>
<html:div class="separator" align="horizontal" style="margin-bottom: -2px;"/>
<box align="horizontal">
<spring flex="100%"/>
<box id="okCancelButtons" style="margin-bottom: -2px;"/>
</box>
<spring style="height: 7px"/>
<box align="horizontal" flex="1">
<html:iframe name="preftree" id="preftree" src="chrome://pref/content/preftree.xul" style="width: 150px; height: 600px; overflow: auto"/>
<splitter/>
<html:iframe name="pref-appearance" id="pref-appearance"
src="chrome://pref/content/pref-appearance.xul" flex="1" style="width: 378px; height: 600px; overflow: auto"/>
</box>
<box id="okCancelButtons"/>
<keyset>
<key id="fooKey" key="p" xulkey="true" shift="true" onkeydown="foo()"/>
</keyset>
</window>

Просмотреть файл

@ -22,78 +22,41 @@
Contributor(s):
-->
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://pref/locale/preftree.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="ChangePanelURL('pref-appearance.xul');"
style="overflow: auto;">
<overlay id="prefTreeOverlay"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<html:script>
var prefwindow = null;
function ClickChangePanel(node)
{
dump("node = " + node + "\n");
url = node.getAttribute('name');
dump("url = " + url + "\n");
ChangePanelURL(url);
}
function ChangePanelURL(url)
{
dump("\Loading " + url + "...\n");
dump("Looking up prefwindow object...\n");
if (prefwindow == null)
{
dump("Creating prefwindow object...");
prefwindow = Components.classes['component://netscape/prefwindow'].getService(Components.interfaces.nsIPrefWindow);
dump("...created\n");
}
else
{
dump("prefwindow has already been created! Hurrah!\n");
}
if (prefwindow)
{
prefwindow.changePanel(url);
}
return true;
}
</html:script>
<html:div flex="100%">
<tree onclick="return ClickChangePanel(event.target);">
<tree id="prefsTree"
onclick="window.handle.SwitchPage( event.target )"
flex="100%" style="height: 100%">
<treehead name="tree">
<treecol style="width:100%" />
</treehead>
<treechildren id="panelChildren">
<treerow>
<treecell url="__header" value="&categoryHeader;"/>
</treerow>
</treehead>
<treechildren>
<treeitem open="true" container="true">
<treerow>
<treecell indent="true" name="chrome://pref/content/pref-appearance.xul" value="&appear.label;"/>
<treecell indent="true" url="chrome://pref/content/pref-appearance.xul" value="&appear.label;"/>
</treerow>
<treechildren>
<treeitem open="true">
<treerow>
<treecell indent="true" name="chrome://pref/content/pref-fonts.xul" value="&fonts.label;"/>
<treecell indent="true" url="chrome://pref/content/pref-fonts.xul" value="&fonts.label;"/>
</treerow>
</treeitem>
<treeitem open="true">
<treerow>
<treecell indent="true" name="chrome://pref/content/pref-colors.xul" value="&colors.label;"/>
<treecell indent="true" url="chrome://pref/content/pref-colors.xul" value="&colors.label;"/>
</treerow>
</treeitem>
<treeitem open="true">
<treerow>
<treecell indent="true" name="chrome://pref/content/pref-themes.xul" value="&themes.label;"/>
<treecell indent="true" url="chrome://pref/content/pref-themes.xul" value="&themes.label;"/>
</treerow>
</treeitem>
@ -102,30 +65,30 @@
<treeitem container="true" open="true">
<treerow>
<treecell indent="true" name="chrome://pref/content/pref-navigator.xul" value="&navigator.label;"/>
<treecell indent="true" url="chrome://pref/content/pref-navigator.xul" value="&navigator.label;"/>
</treerow>
<treechildren>
<treeitem open="true">
<treerow>
<treecell indent="true" name="chrome://pref/content/pref-languages.xul" value="&languages.label;"/>
<treecell indent="true" url="chrome://pref/content/pref-languages.xul" value="&languages.label;"/>
</treerow>
</treeitem>
<treeitem open="true">
<treerow>
<treecell indent="true" name="chrome://pref/content/pref-applications.xul" value="&applications.label;"/>
<treecell indent="true" url="chrome://pref/content/pref-applications.xul" value="&applications.label;"/>
</treerow>
</treeitem>
<treeitem open="true">
<treerow>
<treecell indent="true" name="chrome://pref/content/pref-search.xul" value="&search.label;"/>
<treecell indent="true" url="chrome://pref/content/pref-smart_browsing.xul" value="&smartBrowse.label;"/>
</treerow>
</treeitem>
<treeitem open="true">
<treerow>
<treecell indent="true" name="chrome://pref/content/pref-smart_browsing.xul" value="&smartBrowse.label;"/>
<treecell indent="true" url="chrome://pref/content/pref-search.xul" value="&search.label;"/>
</treerow>
</treeitem>
</treechildren>
@ -133,43 +96,43 @@
<treeitem container="true" open="true">
<treerow>
<treecell indent="true" name="chrome://messenger/content/pref-mailnews.xul" value="&mail.label;"/>
<treecell indent="true" url="chrome://messenger/content/pref-mailnews.xul" value="&mail.label;"/>
</treerow>
<treechildren>
<treeitem open="true">
<treerow>
<treecell indent="true" name="chrome://addressbook/content/pref-addressing.xul" value="&address.label;"/>
<treecell indent="true" url="chrome://addressbook/content/pref-addressing.xul" value="&address.label;"/>
</treerow>
</treeitem>
<treeitem open="true">
<treerow>
<treecell indent="true" name="chrome://messengercompose/content/pref-messages.xul" value="&mess.label;"/>
<treecell indent="true" url="chrome://messengercompose/content/pref-messages.xul" value="&mess.label;"/>
</treerow>
</treeitem>
<treeitem open="true">
<treerow>
<treecell indent="true" name="chrome://messenger/content/pref-winsetting.xul" value="&windowSet.label;"/>
<treecell indent="true" url="chrome://messenger/content/pref-winsetting.xul" value="&windowSet.label;"/>
</treerow>
</treeitem>
<treeitem open="true">
<treerow>
<treecell indent="true" name="chrome://messengercompose/content/pref-formatting.xul" value="&format.label;"/>
<treecell indent="true" url="chrome://messengercompose/content/pref-formatting.xul" value="&format.label;"/>
</treerow>
</treeitem>
<treeitem open="true">
<treerow>
<treecell indent="true" name="chrome://messenger/content/pref-receipts.xul" value="&return.label;"/>
<treecell indent="true" url="chrome://messenger/content/pref-receipts.xul" value="&return.label;"/>
</treerow>
</treeitem>
<treeitem open="true">
<treerow>
<treecell indent="true" name="chrome://messenger/content/pref-diskspace.xul" value="&disk.label;"/>
<treecell indent="true" url="chrome://messenger/content/pref-diskspace.xul" value="&disk.label;"/>
</treerow>
</treeitem>
</treechildren>
@ -177,13 +140,13 @@
<treeitem container="true" open="true">
<treerow>
<treecell indent="true" name="chrome://pref/content/pref-composer.xul" value="&compose.label;"/>
<treecell indent="true" url="chrome://pref/content/pref-composer.xul" value="&compose.label;"/>
</treerow>
<treechildren>
<treerow>
<treeitem open="true">
<treecell indent="true" name="chrome://pref/content/pref-publish.xul" value="&publish.label;"/>
<treecell indent="true" url="chrome://pref/content/pref-publish.xul" value="&publish.label;"/>
</treeitem>
</treerow>
</treechildren>
@ -191,45 +154,57 @@
<treeitem open="true">
<treerow>
<treecell indent="true" name="chrome://pref/content/pref-smartupdate.xul" value="&smart.label;"/>
<treecell indent="true" url="chrome://pref/content/pref-smartupdate.xul" value="&smart.label;"/>
</treerow>
</treeitem>
<treeitem container="true" open="true">
<treerow>
<treecell indent="true" name="chrome://pref/content/pref-offline.xul" value="&offline.label;"/>
<treecell indent="true" url="chrome://pref/content/pref-offline.xul" value="&offline.label;"/>
</treerow>
<treechildren>
<treeitem open="true">
<treerow>
<treecell indent="true" name="chrome://pref/content/pref-download.xul" value="&down.label;"/>
<treecell indent="true" url="chrome://pref/content/pref-download.xul" value="&down.label;"/>
</treerow>
</treeitem>
</treechildren>
</treeitem>
<treeitem container="true" open="true">
<treeitem container="true" open="true" id="advancedItem">
<treerow>
<treecell indent="true" name="chrome://pref/content/pref-advanced.xul" value="&advance.label;"/>
<treecell indent="true" url="chrome://pref/content/pref-advanced.xul" value="&advance.label;"/>
</treerow>
<treechildren>
<treeitem open="true">
<treerow>
<treecell indent="true" name="chrome://pref/content/pref-cache.xul" value="&cache.label;"/>
<treecell indent="true" url="chrome://pref/content/pref-cookies.xul" value="&cookies.label;"/>
</treerow>
</treeitem>
<treeitem open="true">
<treerow>
<treecell indent="true" url="chrome://pref/content/pref-wallet.xul" value="&wallet.label;"/>
</treerow>
</treeitem>
<treeitem open="true">
<treerow>
<treecell indent="true" name="chrome://pref/content/pref-proxies.xul" value="&proxies.label;"/>
<treecell indent="true" url="chrome://pref/content/pref-mousewheel.xul" value="&mousewheel.label;"/>
</treerow>
</treeitem>
<treeitem open="true">
<treerow>
<treecell indent="true" name="chrome://pref/content/pref-mousewheel.xul" value="&mousewheel.label;"/>
<treecell indent="true" url="chrome://pref/content/pref-cache.xul" value="&cache.label;"/>
</treerow>
</treeitem>
<treeitem open="true">
<treerow>
<treecell indent="true" url="chrome://pref/content/pref-proxies.xul" value="&proxies.label;"/>
</treerow>
</treeitem>
@ -239,12 +214,11 @@
<treeitem open="true">
<treerow>
<treecell indent="true" name="chrome://pref/content/pref-debug.xul" value="&debug.label;"/>
<treecell indent="true" url="chrome://pref/content/pref-debug.xul" value="&debug.label;"/>
</treerow>
</treeitem>
</tree>
</html:div>
</window>
</overlay>