зеркало из https://github.com/mozilla/gecko-dev.git
141 строка
6.7 KiB
XML
141 строка
6.7 KiB
XML
<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
|
|
|
|
<!-- ***** BEGIN LICENSE BLOCK *****
|
|
Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
The contents of this file are subject to the Mozilla 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/MPL/
|
|
|
|
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 the Initial Developer are Copyright (C) 1998-2000
|
|
the Initial Developer. All Rights Reserved.
|
|
|
|
Contributor(s):
|
|
Marcio S. Galli, mgalli@geckonnection.com
|
|
|
|
Alternatively, the contents of this file may be used under the terms of
|
|
either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
in which case the provisions of the GPL or the LGPL are applicable instead
|
|
of those above. If you wish to allow use of your version of this file only
|
|
under the terms of either the GPL or the LGPL, and not to allow others to
|
|
use your version of this file under the terms of the MPL, indicate your
|
|
decision by deleting the provisions above and replace them with the notice
|
|
and other provisions required by the GPL or the LGPL. If you do not delete
|
|
the provisions above, a recipient may use your version of this file under
|
|
the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
***** END LICENSE BLOCK ***** -->
|
|
|
|
<!DOCTYPE overlay [
|
|
<!ENTITY % preferencesDTD SYSTEM "chrome://minimo/locale/preferences.dtd">
|
|
%preferencesDTD;
|
|
]>
|
|
|
|
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<box id="pref-panes">
|
|
|
|
<!-- GENERAL PANE -->
|
|
|
|
<hbox class="panel-container" flex="1" id="general-pane"
|
|
accessfocus="browserStartupHomepage"
|
|
accessnextrule="advanced-pane"
|
|
accessprevrule="pref-bar" >
|
|
|
|
<groupbox flex="1" class="box-floatoptions scrolling" >
|
|
<caption label="&general.label;" />
|
|
<hbox flex="1" >
|
|
<vbox flex="1" style="padding:4px ! important">
|
|
<groupbox class='box-prefgroupitem' id='home-box'>
|
|
|
|
<caption label="&homeCaption.label;"/>
|
|
|
|
<box class="box-prefpadding">
|
|
<textbox id="browserStartupHomepage" keyup="" tabindex="10"
|
|
style="margin:3px ! important;" flex="1" onfocus="prefFocus('home-box')" onblur="prefBlur('home-box')"
|
|
onchange="syncPref(this)" preference="browser.startup.homepage" preftype="string"/>
|
|
</box>
|
|
|
|
<hbox class="box-prefpadding" flex="1">
|
|
|
|
<button id="browserSetHomePage" tabindex="11"
|
|
class='box-prefgroupitem'
|
|
label="&loadHomePageCurrent.label;"
|
|
oncommand="loadHomePageFromBrowser();"/>
|
|
|
|
<button id="browserSetHomePage2" tabindex="12"
|
|
class='box-prefgroupitem'
|
|
label="&loadHomePageBlank.label;"
|
|
oncommand="loadHomePageBlank();"/>
|
|
|
|
</hbox>
|
|
|
|
</groupbox>
|
|
|
|
<groupbox class='box-prefgroupitem' id='ssrimage-box'>
|
|
<caption label="&sssCaption.label;"/>
|
|
|
|
<vbox class="box-prefpadding">
|
|
|
|
<checkbox id="enableImages"
|
|
tabindex="13"
|
|
onfocus="prefFocus('ssrimage-box')" onblur="prefBlur('ssrimage-box')"
|
|
label="&imagesCheckbox.label;"
|
|
preference="permissions.default.image" prefvalue=""
|
|
onsyncfrompreference="readEnableImagesPref();" prefuitype="bool"
|
|
onsynctopreference="writeEnableImagesPref();"
|
|
onclick="syncPref(this)"
|
|
/>
|
|
|
|
<checkbox id="ssr"
|
|
onfocus="prefFocus('ssrimage-box')" onblur="prefBlur('ssrimage-box')"
|
|
tabindex="14"
|
|
label="&useSSRCheckbox.label;"
|
|
preference="ssr.enabled"
|
|
onclick="syncPref(this)"
|
|
/>
|
|
|
|
</vbox>
|
|
</groupbox>
|
|
|
|
<groupbox class='box-prefgroupitem' id='system-box'>
|
|
|
|
<caption label="&systemCaption.label;" />
|
|
|
|
<vbox class="box-prefpadding">
|
|
|
|
<!-- NOTE WARNING: We use the same pref as in FF but we use with a different
|
|
meaning. Our check is actually a *set* -->
|
|
|
|
<checkbox id="setDefaultBrowser"
|
|
tabindex="15"
|
|
onfocus="prefFocus('system-box')" onblur="prefBlur('system-box')"
|
|
label="&setDefaultBrowser.label;"
|
|
preference="browser.shell.checkDefaultBrowser" prefvalue=""
|
|
prefuitype="bool"
|
|
onclick="setDefaultBrowser();syncPref(this);"
|
|
/>
|
|
|
|
</vbox>
|
|
|
|
</groupbox>
|
|
|
|
</vbox>
|
|
</hbox>
|
|
</groupbox>
|
|
</hbox>
|
|
</box>
|
|
</overlay>
|