зеркало из https://github.com/mozilla/pjs.git
Fix abuse of embedded HTML in XUL that was causing an assert b=222220 r+sr=jag
This commit is contained in:
Родитель
588629eb31
Коммит
001f5b4216
|
@ -1,113 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- ***** 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-1999
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
|
||||
Alternatively, the contents of this file may be used under the terms of
|
||||
either of 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 ***** -->
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://communicator/skin/prefpanels.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE page [
|
||||
<!ENTITY % themesDTD SYSTEM "chrome://communicator/locale/pref/pref-themes.dtd" >
|
||||
%themesDTD;
|
||||
<!ENTITY % regionDTD SYSTEM "chrome://global-region/locale/region.dtd" >
|
||||
%regionDTD;
|
||||
]>
|
||||
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
onload="parent.initPanel('chrome://communicator/content/pref/pref-themes.xul');"
|
||||
headertitle="&pref.themes.title;">
|
||||
|
||||
<stringbundle id="bundle_prefutilities"
|
||||
src="chrome://communicator/locale/pref/prefutilities.properties"/>
|
||||
<stringbundle id="bundle_brand"
|
||||
src="chrome://branding/locale/brand.properties"/>
|
||||
<stringbundle id="bundle_navigator"
|
||||
src="chrome://navigator/locale/navigator.properties"/>
|
||||
|
||||
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-themes.js"/>
|
||||
|
||||
<description>&skinIntro.label;</description>
|
||||
|
||||
<label control="skinsList">&installedThemes.label;</label>
|
||||
|
||||
<listbox id="skinsList" datasources="rdf:chrome"
|
||||
onselect="themeSelect();"
|
||||
ref="urn:mozilla:skin:root" rows="5"
|
||||
sortResource="http://www.mozilla.org/rdf/chrome#displayName"
|
||||
sortDirection="ascending">
|
||||
<template>
|
||||
<rule>
|
||||
<listitem uri="..." skin="true"
|
||||
label="rdf:http://www.mozilla.org/rdf/chrome#displayName"
|
||||
author="rdf:http://www.mozilla.org/rdf/chrome#author"
|
||||
displayName="rdf:http://www.mozilla.org/rdf/chrome#displayName"
|
||||
name="rdf:http://www.mozilla.org/rdf/chrome#name"
|
||||
description="rdf:http://www.mozilla.org/rdf/chrome#description"
|
||||
image="rdf:http://www.mozilla.org/rdf/chrome#image"
|
||||
loctype="rdf:http://www.mozilla.org/rdf/chrome#locType"/>
|
||||
</rule>
|
||||
</template>
|
||||
</listbox>
|
||||
|
||||
<separator class="thin"/>
|
||||
|
||||
<hbox id="previewImageContainer" class="inset" align="center" pack="center">
|
||||
<image id="previewImage"/>
|
||||
</hbox>
|
||||
|
||||
<separator class="thin"/>
|
||||
<hbox>
|
||||
<vbox flex="1">
|
||||
<label class="header" id="displayName" value=""/>
|
||||
<hbox align="center">
|
||||
<label value="&author.label;"/>
|
||||
<label id="author"/>
|
||||
</hbox>
|
||||
</vbox>
|
||||
<vbox>
|
||||
<button id="uninstallSkin" label="&uninstallSkin.label;" oncommand="uninstallSkin();"
|
||||
accesskey="&uninstallSkin.accesskey;"/>
|
||||
</vbox>
|
||||
</hbox>
|
||||
<vbox class="inset" style="overflow: auto;" flex="1">
|
||||
<label id="description"/>
|
||||
</vbox>
|
||||
<hbox align="start">
|
||||
<html:a class="themesLink" id="themesLink" href="&getNewThemesURL;"
|
||||
style="display: block;" target="_blank">&getNewThemes.label;</html:a>
|
||||
</hbox>
|
||||
</page>
|
Загрузка…
Ссылка в новой задаче